1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

bugfix: notices

This commit is contained in:
mrpete
2007-01-17 13:43:40 +00:00
parent d250aad939
commit cca83a3aff
2 changed files with 9 additions and 7 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/class2.php,v $ | $Source: /cvs_backup/e107_0.8/class2.php,v $
| $Revision: 1.8 $ | $Revision: 1.9 $
| $Date: 2007-01-12 02:36:18 $ | $Date: 2007-01-17 13:39:54 $
| $Author: mcfly_e107 $ | $Author: mrpete $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
// //
@@ -717,6 +717,8 @@ $sql->db_Mark_Time('Start: Get menus');
$menu_data = $e107cache->retrieve("menus_".USERCLASS_LIST."_".md5(e_LANGUAGE)); $menu_data = $e107cache->retrieve("menus_".USERCLASS_LIST."_".md5(e_LANGUAGE));
$menu_data = $eArrayStorage->ReadArray($menu_data); $menu_data = $eArrayStorage->ReadArray($menu_data);
$eMenuList=array();
$eMenuActive=array();
if(!is_array($menu_data)) { if(!is_array($menu_data)) {
if ($sql->db_Select('menus', '*', "menu_location > 0 AND menu_class IN (".USERCLASS_LIST.") ORDER BY menu_order")) { if ($sql->db_Select('menus', '*', "menu_location > 0 AND menu_class IN (".USERCLASS_LIST.") ORDER BY menu_order")) {
while ($row = $sql->db_Fetch()) { while ($row = $sql->db_Fetch()) {

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/signup_template.php,v $ | $Source: /cvs_backup/e107_0.8/e107_themes/templates/signup_template.php,v $
| $Revision: 1.2 $ | $Revision: 1.3 $
| $Date: 2006-12-27 22:26:56 $ | $Date: 2007-01-17 13:43:40 $
| $Author: e107steved $ | $Author: mrpete $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -35,7 +35,7 @@ $sc_style['SIGNUP_DISPLAYNAME']['post'] = "
$sc_style['SIGNUP_REALNAME']['pre'] = " $sc_style['SIGNUP_REALNAME']['pre'] = "
<tr> <tr>
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_308."".req($pref['signup_option_realname'])."</td> <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_308."".req($pref['signup_option_realname'])."<br /><span class='smalltext'>".LAN_310."</span></td>
<td class='forumheader3' style='width:70%' > <td class='forumheader3' style='width:70%' >
"; ";
$sc_style['SIGNUP_REALNAME']['post'] = " $sc_style['SIGNUP_REALNAME']['post'] = "