From 8b95bffc3331f9584f5102c303c544554187ccce Mon Sep 17 00:00:00 2001 From: Jerry Ruhe Date: Thu, 18 Jan 2007 04:48:18 +0000 Subject: [PATCH] as idots, removed manual from appbar. interesting development which allows easier addition of onclick event on icon cell so I added the onclick event to the icon 'cell' as opposed to href on the icon image itself. --- phpgwapi/templates/jerryr/class.jerryr_framework.inc.php | 7 +++++-- phpgwapi/templates/jerryr/navbar.tpl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/phpgwapi/templates/jerryr/class.jerryr_framework.inc.php b/phpgwapi/templates/jerryr/class.jerryr_framework.inc.php index d9cf54d407..2605560831 100644 --- a/phpgwapi/templates/jerryr/class.jerryr_framework.inc.php +++ b/phpgwapi/templates/jerryr/class.jerryr_framework.inc.php @@ -49,8 +49,11 @@ class jerryr_framework extends idots_framework { $this->_add_topmenu_item('preferences'); } - - $this->_add_topmenu_item('about',lang('About %1',$GLOBALS['egw_info']['apps'][$GLOBALS['egw_info']['flags']['currentapp']]['title'])); + if($GLOBALS['egw_info']['user']['apps']['manual'] && $this->apps['manual']) + { + $this->_add_topmenu_item('manual'); + } + //$this->_add_topmenu_item('about',lang('About %1',$GLOBALS['egw_info']['apps'][$GLOBALS['egw_info']['flags']['currentapp']]['title'])); $this->_add_topmenu_item('logout'); $this->tplsav2->assign('info_icons',$this->topmenu_icon_arr); diff --git a/phpgwapi/templates/jerryr/navbar.tpl b/phpgwapi/templates/jerryr/navbar.tpl index 19da99f963..44ef66823b 100644 --- a/phpgwapi/templates/jerryr/navbar.tpl +++ b/phpgwapi/templates/jerryr/navbar.tpl @@ -47,7 +47,7 @@ - +
{title}{title}