1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01: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;
}

View File

@ -4,8 +4,8 @@
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/English.php,v $
| $Revision: 1.6 $
| $Date: 2008-10-19 11:35:00 $
| $Revision: 1.7 $
| $Date: 2008-11-09 18:00:32 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -54,5 +54,7 @@ define("LAN_WARNING", "Warning!");
define("LAN_ERROR", "Error");
define("LAN_ANONYMOUS", "Anonymous");
define("LAN_EMAIL_SUBS", "-email-");
define('LAN_YES', 'Yes');
define('LAN_NO', 'No');
?>