[Linpha-cvs] SF.net SVN: linpha: [4808] trunk/linpha2/lib/classes/linpha.imgview.class. php
Status: Inactive
Brought to you by:
bzrudi
From: <bz...@us...> - 2007-12-09 15:13:51
|
Revision: 4808 http://linpha.svn.sourceforge.net/linpha/?rev=4808&view=rev Author: bzrudi Date: 2007-12-09 07:13:48 -0800 (Sun, 09 Dec 2007) Log Message: ----------- "remove filemanager from menu if plugin is disabled, even for admin user. would fail else and makes not to much sense imho" Modified Paths: -------------- trunk/linpha2/lib/classes/linpha.imgview.class.php Modified: trunk/linpha2/lib/classes/linpha.imgview.class.php =================================================================== --- trunk/linpha2/lib/classes/linpha.imgview.class.php 2007-12-09 15:11:00 UTC (rev 4807) +++ trunk/linpha2/lib/classes/linpha.imgview.class.php 2007-12-09 15:13:48 UTC (rev 4808) @@ -280,8 +280,7 @@ if($GLOBALS['linpha']->sql->isLoggedIn()) { if( isset($GLOBALS['linpha']->sql->config->value['plugins_filemanager_enable']) - && $GLOBALS['linpha']->sql->config->value['plugins_filemanager_enable'] == 1 - OR $GLOBALS['linpha']->sql->isAdmin()) + && $GLOBALS['linpha']->sql->config->value['plugins_filemanager_enable'] == 1 ) { $GLOBALS['linpha']->template->output['menu_My Settings']['filemanager'] = array('name' => i18n("Filemanager"), 'value' => LINPHA_LINK.'&linCat=filemanager'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |