forked from extern/egroupware
added template var for logout icon in setup
This commit is contained in:
parent
72299b948a
commit
0ee40b75d5
@ -85,11 +85,13 @@
|
||||
$GLOBALS['setup_tpl']->set_var($style);
|
||||
if ($nologoutbutton)
|
||||
{
|
||||
$icon_logout=' ';
|
||||
$btn_logout = ' ';
|
||||
}
|
||||
else
|
||||
{
|
||||
$btn_logout = '<a href="index.php?FormLogout=' . $logoutfrom . '" class="link">' . lang('Logout').'</a>';
|
||||
$icon_logout='*';
|
||||
}
|
||||
|
||||
$GLOBALS['setup_tpl']->set_var('lang_setup', lang('setup'));
|
||||
@ -103,6 +105,7 @@
|
||||
$GLOBALS['setup_tpl']->set_var('configdomain',' - ' . lang('Domain') . ': ' . $configdomain);
|
||||
}
|
||||
$GLOBALS['setup_tpl']->set_var('pgw_ver',@$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
|
||||
$GLOBALS['setup_tpl']->set_var('logouticon',$icon_logout);
|
||||
$GLOBALS['setup_tpl']->set_var('logoutbutton',$btn_logout);
|
||||
$GLOBALS['setup_tpl']->pparse('out','T_head');
|
||||
/* $setup_tpl->set_var('T_head',''); */
|
||||
|
Loading…
Reference in New Issue
Block a user