summaryrefslogtreecommitdiff
path: root/menus.php
diff options
context:
space:
mode:
authorHash9 <hash9@users.sourceforge.net>2006-06-20 23:45:39 +0000
committerHash9 <hash9@users.sourceforge.net>2006-06-20 23:45:39 +0000
commite504cdcf69ddc4243f5f81a3abc34e1ad5b72d40 (patch)
tree1e5ff416c58f63009f22d1c580a93f2279c1d275 /menus.php
parent1b17d3ce5fa72b76ac8b57563550bc18f6c872b3 (diff)
downloadnexus-e504cdcf69ddc4243f5f81a3abc34e1ad5b72d40.tar.gz
nexus-e504cdcf69ddc4243f5f81a3abc34e1ad5b72d40.tar.bz2
nexus-e504cdcf69ddc4243f5f81a3abc34e1ad5b72d40.zip
fix nexus so that replacing the top_bar works
Diffstat (limited to 'menus.php')
-rw-r--r--menus.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/menus.php b/menus.php
index cd73d70..5f97c8e 100644
--- a/menus.php
+++ b/menus.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
* @package nexus
* @subpackage functions
*/
@@ -88,8 +88,9 @@ $gBitSmarty->assign( 'formfeedback', $formfeedback );
if( is_file( TEMP_PKG_PATH.'nexus/modules/top_bar_inc.tpl' ) ) {
// if the top bar is set and we don't need it, remove it.
foreach( $menuList as $menu ) {
- if( !( $menu['plugin_guid'] == NEXUS_PLUGIN_GUID_SUCKERFISH && $menu['menu_type'] == 'hor' ) ) {
- $nuke_top_bar = TRUE;
+ $nuke_top_bar = TRUE;
+ if( $menu['plugin_guid'] == NEXUS_PLUGIN_GUID_SUCKERFISH && $menu['menu_type'] == 'hor' ) {
+ $nuke_top_bar = FALSE;
}
}