summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-24 06:01:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-24 06:01:07 +0000
commit166452b0335dcf136cd2d296abf8473786df2af1 (patch)
treea7210c64e6f5533cbd603227894ca78cd236da2d /lib/ui.lib.php
parentd93527bece43eb4a3a564d892ba9ddc653ac11b0 (diff)
downloadampache-166452b0335dcf136cd2d296abf8473786df2af1.tar.gz
ampache-166452b0335dcf136cd2d296abf8473786df2af1.tar.bz2
ampache-166452b0335dcf136cd2d296abf8473786df2af1.zip
updated ajax so it works with IE
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 9fdd2cdb..1d11ea7f 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -1321,11 +1321,11 @@ function xml_from_array($array,$callback=0) {
if (is_numeric($key)) { $key = 'item'; }
if (is_array($value)) {
$value = xml_from_array($value,1);
- $string .= "\t<$key>$value</$key>\n";
+ $string .= "\t<content div=\"$key\">$value</content>\n";
}
else {
/* We need to escape the value */
- $string .= "\t<$key><![CDATA[$value]]></$key>\n";
+ $string .= "\t<content div=\"$key\"><![CDATA[$value]]></content>\n";
}
} // end foreach elements