1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Notice removal, undefined forum shortcode

This commit is contained in:
e107steved
2007-05-17 20:15:04 +00:00
parent d27ad1867b
commit c3559b5729
4 changed files with 47 additions and 38 deletions

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.9 $
| $Date: 2007-02-07 21:22:09 $
| $Revision: 1.10 $
| $Date: 2007-05-17 20:14:57 $
| $Author: e107steved $
+---------------------------------------------------------------+
*/
@@ -358,7 +358,7 @@ if (!function_exists('show_admin_menu')) {
}
$replace[0] = str_replace(" ", " ", $e107_vars[$act]['text']);
$replace[1] = $e107_vars[$act]['link'];
if ($e107_vars[$act]['include']!='') {
if (!empty($e107_vars[$act]['include'])) {
$replace[2] = $e107_vars[$act]['include'];
} else {
$replace[2] = $js ? "onclick=\"showhideit('".$act."');\"" : "onclick=\"document.location='".$e107_vars[$act]['link']."'; disabled=true;\"";
@@ -458,4 +458,4 @@ if (strpos(e_SELF.'?'.e_QUERY, 'menus.php?configure') === FALSE) {
}
$sql->db_Mark_Time('(End: Parse Admin Header)');
}
?>
?>