mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
idots subtile fixes
This commit is contained in:
parent
246d3f55fb
commit
b75db41684
@ -21,7 +21,7 @@ body
|
||||
background-image:url(../images/body-background.png);
|
||||
font-size: 11px;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
padding:14px;
|
||||
padding:3px;
|
||||
}
|
||||
|
||||
img
|
||||
@ -221,7 +221,7 @@ a.textSidebox
|
||||
{
|
||||
position:absolute;
|
||||
left:20px;
|
||||
top:14px;
|
||||
top:5px;
|
||||
z-index:51;
|
||||
}
|
||||
|
||||
|
@ -12,6 +12,18 @@
|
||||
/* $Id$ */
|
||||
create_section('Preferences for the idots template set');
|
||||
|
||||
$start_and_logout_icons = array(
|
||||
'yes' => lang('yes'),
|
||||
'no' => lang('no')
|
||||
);
|
||||
|
||||
create_select_box(
|
||||
'Show home and logout button in main application bar?',
|
||||
'start_and_logout_icons',
|
||||
$start_and_logout_icons,
|
||||
'When you say yes the home and logout buttons are presented as applications in the main top applcation bar.'
|
||||
);
|
||||
|
||||
create_input_box(
|
||||
'Max number of icons in navbar',
|
||||
'max_icons',
|
||||
|
@ -63,7 +63,17 @@
|
||||
$icon = '<img src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" />';
|
||||
|
||||
// 020204 ndee
|
||||
if($app == 'home') $title = "Home";
|
||||
if($app == 'home') $title = lang('Home');
|
||||
|
||||
if($app=='home')
|
||||
{
|
||||
if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']=='no')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if($i<$max_icons)
|
||||
{
|
||||
@ -132,9 +142,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
$app_icons .= '<td height="32" valign="bottom" align="center"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'"><img src="'.$GLOBALS['phpgw_info']['navbar']['logout']['icon'].'"></a></td>';
|
||||
$app_titles .= '<td align=center valign="top" class="appTitles"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'">'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'</a></td>';
|
||||
if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']!='no')
|
||||
{
|
||||
$app_icons .= '<td height="32" valign="bottom" align="center"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'"><img src="'.$GLOBALS['phpgw_info']['navbar']['logout']['icon'].'"></a></td>';
|
||||
$app_titles .= '<td align=center valign="top" class="appTitles"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'">'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'</a></td>';
|
||||
|
||||
}
|
||||
// $var['app_icons'] = $app_icons;
|
||||
if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user