diff options
| author | Hash9 <hash9@users.sourceforge.net> | 2006-06-20 23:45:39 +0000 |
|---|---|---|
| committer | Hash9 <hash9@users.sourceforge.net> | 2006-06-20 23:45:39 +0000 |
| commit | e504cdcf69ddc4243f5f81a3abc34e1ad5b72d40 (patch) | |
| tree | 1e5ff416c58f63009f22d1c580a93f2279c1d275 /menus.php | |
| parent | 1b17d3ce5fa72b76ac8b57563550bc18f6c872b3 (diff) | |
| download | nexus-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.php | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; } } |
