From 0ee40b75d50dc67524fa43edd0e2a911ba7da8e4 Mon Sep 17 00:00:00 2001 From: Pim Snel Date: Thu, 9 Oct 2003 23:12:41 +0000 Subject: [PATCH] added template var for logout icon in setup --- phpgwapi/inc/class.setup_html.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpgwapi/inc/class.setup_html.inc.php b/phpgwapi/inc/class.setup_html.inc.php index 00c160d27c..63ad55e2e5 100644 --- a/phpgwapi/inc/class.setup_html.inc.php +++ b/phpgwapi/inc/class.setup_html.inc.php @@ -85,11 +85,13 @@ $GLOBALS['setup_tpl']->set_var($style); if ($nologoutbutton) { + $icon_logout=' '; $btn_logout = ' '; } else { $btn_logout = '' . lang('Logout').''; + $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',''); */