mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Additional standard mesages, handle array prefs (which aren't actually arrays) properly
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
| e107 website system - Converter for plugin.php to plugin.xml
|
| e107 website system - Converter for plugin.php to plugin.xml
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_files/utilities/pluginxmlgen.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_files/utilities/pluginxmlgen.php,v $
|
||||||
| $Revision: 1.6 $
|
| $Revision: 1.7 $
|
||||||
| $Date: 2008-08-16 16:34:44 $
|
| $Date: 2008-11-09 18:00:27 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -138,7 +138,7 @@ function listPrefs($prefList, $arrayPrefList)
|
|||||||
if (!is_array($arrayPrefList)) return $text;
|
if (!is_array($arrayPrefList)) return $text;
|
||||||
foreach ($arrayPrefList as $k => $v)
|
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;
|
return $text;
|
||||||
}
|
}
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
| e107 website system - Language File.
|
| e107 website system - Language File.
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/English.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/English.php,v $
|
||||||
| $Revision: 1.6 $
|
| $Revision: 1.7 $
|
||||||
| $Date: 2008-10-19 11:35:00 $
|
| $Date: 2008-11-09 18:00:32 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -54,5 +54,7 @@ define("LAN_WARNING", "Warning!");
|
|||||||
define("LAN_ERROR", "Error");
|
define("LAN_ERROR", "Error");
|
||||||
define("LAN_ANONYMOUS", "Anonymous");
|
define("LAN_ANONYMOUS", "Anonymous");
|
||||||
define("LAN_EMAIL_SUBS", "-email-");
|
define("LAN_EMAIL_SUBS", "-email-");
|
||||||
|
define('LAN_YES', 'Yes');
|
||||||
|
define('LAN_NO', 'No');
|
||||||
|
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user