From cf343ac9d66ec4fda65dfc46c513db90616ce017 Mon Sep 17 00:00:00 2001 From: ceb Date: Sun, 20 Apr 2003 02:16:22 +0000 Subject: [PATCH] update hook_admin --- phpgwapi/inc/class.common.inc.php | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 90bbe66fd3..4d98d6227f 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -1644,17 +1644,12 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info' } } - /**************************************************************************\ - * function to display the applications preferences and admin links * - \**************************************************************************/ - - function display_mainscreen($appname,$file,$file2=False) + /*! + @function display_mainscreen + @abstract shows the applications preferences and admin links + */ + function display_mainscreen($appname,$file) { - if ($file2) - { - $file = $file2; - } - if(is_array($file)) { $icon = $GLOBALS['phpgw']->common->image($appname,'navbar','',True);