1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Additional standard mesages, handle array prefs (which aren't actually arrays) properly

This commit is contained in:
e107steved
2008-11-09 18:00:32 +00:00
parent 7b14040068
commit 8a082efeb4
2 changed files with 7 additions and 5 deletions

View File

@@ -4,8 +4,8 @@
| e107 website system - Converter for plugin.php to plugin.xml
|
| $Source: /cvs_backup/e107_0.8/e107_files/utilities/pluginxmlgen.php,v $
| $Revision: 1.6 $
| $Date: 2008-08-16 16:34:44 $
| $Revision: 1.7 $
| $Date: 2008-11-09 18:00:27 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -138,7 +138,7 @@ function listPrefs($prefList, $arrayPrefList)
if (!is_array($arrayPrefList)) return $text;
foreach ($arrayPrefList as $k => $v)
{
$text .= TAB_CHAR.TAB_CHAR.'<array_pref name="'.$k.'" value="'.$v.'" />'."\n";
$text .= TAB_CHAR.TAB_CHAR.'<listPref name="'.$k.'" value="'.$v.'" />'."\n";
}
return $text;
}