From 9b39dcefb3c77f877af077c2a93c425d27e299df Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Wed, 2 Sep 2009 16:39:32 +0000 Subject: [PATCH] CSS fixes and some comments --- e107_admin/sql/extended_timezones.php | 10 +++--- e107_admin/users_extended.php | 51 +++++++++++++++------------ e107_handlers/e_parse_class.php | 43 +++++++++++++--------- 3 files changed, 60 insertions(+), 44 deletions(-) diff --git a/e107_admin/sql/extended_timezones.php b/e107_admin/sql/extended_timezones.php index 52c36f8ef..9d5388c67 100644 --- a/e107_admin/sql/extended_timezones.php +++ b/e107_admin/sql/extended_timezones.php @@ -3,7 +3,7 @@ + ----------------------------------------------------------------------------+ | e107 website system | -| ©Steve Dunstan 2001-2002 +| �Steve Dunstan 2001-2002 | http://e107.org | jalist@e107.org | @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/sql/extended_timezones.php,v $ -| $Revision: 1.1 $ -| $Date: 2008-01-15 21:57:15 $ -| $Author: e107steved $ +| $Revision: 1.2 $ +| $Date: 2009-09-02 16:39:31 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } @@ -24,6 +24,8 @@ The variable name must be 'timezones_list', and is an array of possible values, The text is displayed in a drop-down; the value is returned. If function timezones_value() exists, it is called to create the displayed text */ + +//FIXME - remove globals. global $timezones_list; if (!is_array($timezones_list)) { diff --git a/e107_admin/users_extended.php b/e107_admin/users_extended.php index 957938518..9f65a7230 100755 --- a/e107_admin/users_extended.php +++ b/e107_admin/users_extended.php @@ -3,7 +3,7 @@ + ----------------------------------------------------------------------------+ | e107 website system | -| ©Steve Dunstan 2001-2002 +| �Steve Dunstan 2001-2002 | http://e107.org | jalist@e107.org | @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/users_extended.php,v $ -| $Revision: 1.19 $ -| $Date: 2009-08-28 16:10:58 $ -| $Author: marj_nl_fr $ +| $Revision: 1.20 $ +| $Date: 2009-09-02 16:39:31 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ require_once('../class2.php'); @@ -381,7 +381,7 @@ class users_ext $i=0; $category_name = $this->catList[$cn][0]['user_extended_struct_name']; - if(count($extendedList)) // Show current extended fields + if(count($extendedList[$cn])) // Show current extended fields { foreach($extendedList[$cn] as $ext) { @@ -414,7 +414,7 @@ class users_ext } $text .= " - + ".ADMIN_EDIT_ICON." @@ -428,7 +428,7 @@ class users_ext { $text .= " - ".EXTLAN_28." + ".EXTLAN_28." "; } @@ -505,7 +505,7 @@ class users_ext $text .= " ".EXTLAN_14." - + "; @@ -805,7 +808,7 @@ class users_ext $text .= " - +
@@ -822,13 +825,13 @@ class users_ext { $text .= " - ".EXTLAN_37." + ".EXTLAN_37." "; } //Show add/edit form - $text .= " + $text .= " "; @@ -1050,7 +1053,7 @@ class users_ext { if (is_readable(e_ADMIN.'sql/extended_'.$f.'.php')) { - $ret .= (process_sql($f)) ? LAN_CREATED." user_extended_{$f}
" : LAN_CREATED_FAILED." user_extended_{$f}
"; + $ret .= ($this->process_sql($f)) ? LAN_CREATED." user_extended_{$f}
" : LAN_CREATED_FAILED." user_extended_{$f}
"; } else { @@ -1137,6 +1140,8 @@ class users_ext function headerjs() { + + //FIXME include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_user_extended.php"); $text = "