From 8a082efeb45bfd6f1defeed00c477fe2427e7d65 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sun, 9 Nov 2008 18:00:32 +0000 Subject: [PATCH] Additional standard mesages, handle array prefs (which aren't actually arrays) properly --- e107_files/utilities/pluginxmlgen.php | 6 +++--- e107_languages/English/English.php | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/e107_files/utilities/pluginxmlgen.php b/e107_files/utilities/pluginxmlgen.php index 468531725..5f7c642a4 100644 --- a/e107_files/utilities/pluginxmlgen.php +++ b/e107_files/utilities/pluginxmlgen.php @@ -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.''."\n"; + $text .= TAB_CHAR.TAB_CHAR.''."\n"; } return $text; } diff --git a/e107_languages/English/English.php b/e107_languages/English/English.php index b9732347c..d8999a8a2 100644 --- a/e107_languages/English/English.php +++ b/e107_languages/English/English.php @@ -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'); ?> \ No newline at end of file