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.

This commit is contained in:
Jerry Ruhe 2007-01-18 04:48:18 +00:00
parent 8aa8cd4e2a
commit 8b95bffc33
2 changed files with 6 additions and 3 deletions

View File

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

View File

@ -47,7 +47,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- BEGIN app_icon_block -->
<td width="{tdwidth}%" align="center" class="iconBack" onmouseover="this.className='iconBackHover'" onmouseout="this.className='iconBack'" ><a href="{url}" {target}><img src="{icon}" alt="{title}" title="{title}" border="0" /></a></td>
<td width="{tdwidth}%" align="center" class="iconBack" onmouseover="this.className='iconBackHover'" onmouseout="this.className='iconBack'" onclick="location.href='{url}'"><img src="{icon}" alt="{title}" title="{title}" border="0" /></td>
<!-- END app_icon_block -->
<!-- BEGIN app_extra_icons_icon -->
<td width="26" valign="top" align="right" style="padding-right:3px; padding-top:20px;">