update hook_admin

This commit is contained in:
ceb 2003-04-20 02:16:22 +00:00
parent 84bd58f9ba
commit cf343ac9d6

View File

@ -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);