From a6f239235c6f8df3bcc138ed1b83e3f83ff8f530 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 6 Oct 2001 07:56:34 +0000 Subject: [PATCH] show notify-window-link only if that app is enabled, some cleanup of the html (as talked with seek3r) --- home.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/home.php b/home.php index 172536108b..ef22cb6d3a 100755 --- a/home.php +++ b/home.php @@ -118,7 +118,7 @@ } if ((isset($GLOBALS['phpgw_info']['user']['apps']['admin']) && - $GLOBALS['phpgw_info']['user']['apps']['admin']) && + $GLOBALS['phpgw_info']['user']['apps']['admin']) && (isset($GLOBALS['phpgw_info']['server']['checkfornewversion']) && $GLOBALS['phpgw_info']['server']['checkfornewversion'])) { @@ -170,6 +170,10 @@ unset($_app_string); } } + + if (isset($GLOBALS['phpgw_info']['user']['apps']['notifywindow']) && + $GLOBALS['phpgw_info']['user']['apps']['notifywindow']) + { ?> '; - //Uncomment the next line to enable the notify window. It will not work until a notifywindow app is added. - echo '' . lang('Open notify window') . ''; - + echo '' . lang('Open notify window') . ''; + } $GLOBALS['phpgw']->common->hook('home',array('email','calendar','news','addressbook','squirrelmail')); //$phpgw->common->debug_phpgw_info(); //$phpgw->common->debug_list_core_functions(); -?> - -
-common->phpgw_footer(); ?>