diff --git a/preferences/index.php b/preferences/index.php index dfad6cabbe..a8ceaf458c 100755 --- a/preferences/index.php +++ b/preferences/index.php @@ -29,12 +29,13 @@ $pref_tpl->set_block('pref','spacer_row'); // This func called by the includes to dump a row header - function section_start($name='',$icon='') + function section_start($name='',$icon='',$appname='') { global $phpgw_info, $pref_tpl; $pref_tpl->set_var('icon_backcolor',$phpgw_info['theme']['row_off']); // $pref_tpl->set_var('link_backcolor',$phpgw_info['theme']['row_off']); + $pref_tpl->set_var('a_name',$appname); $pref_tpl->set_var('app_name',lang($name)); $pref_tpl->set_var('app_icon',$icon); if ($icon) @@ -66,7 +67,7 @@ function display_section($appname,$title,$file) { global $phpgw; - section_start($title,$phpgw->common->image($appname,Array('navbar.gif',$appname.'.gif'))); + section_start($title,$phpgw->common->image($appname,Array('navbar.gif',$appname.'.gif')),$appname); while(list($text,$url) = each($file)) { diff --git a/preferences/templates/default/index.tpl b/preferences/templates/default/index.tpl index c66c193553..21d21b36f5 100644 --- a/preferences/templates/default/index.tpl +++ b/preferences/templates/default/index.tpl @@ -6,14 +6,14 @@ - [ {app_name} ] + [ {app_name} ]   {app_name} -   {app_name} +   {app_name}