MDL-21227 - convert Feedback to new files api

This commit is contained in:
Andreas Grabs
2010-04-22 11:26:02 +00:00
parent 67bf124159
commit 30ec6bc9ed
2 changed files with 49 additions and 57 deletions
+10
View File
@@ -81,6 +81,16 @@ function feedback_get_xml_data($feedbackid) {
//end of itemtext
$data .= $space.$space.$space.'</ITEMTEXT>'."\n";
//start of itemtext
$data .= $space.$space.$space.'<ITEMLABEL>'."\n";
//start of CDATA
$data .= $space.$space.$space.$space.'<![CDATA[';
$data .= $item->label;
//end of CDATA
$data .= ']]>'."\n";
//end of itemtext
$data .= $space.$space.$space.'</ITEMLABEL>'."\n";
//start of presentation
$data .= $space.$space.$space.'<PRESENTATION>'."\n";
//start of CDATA