diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index 00adcdcab9..2fb15be179 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -143,7 +143,6 @@ $total = $GLOBALS['phpgw']->accounts->total; $var = Array( - 'th_bg' => $GLOBALS['phpgw_info']['theme']['th_bg'], 'left_next_matchs' => $this->nextmatchs->left('/index.php',$start,$total,'menuaction=admin.uiaccounts.list_groups'), 'right_next_matchs' => $this->nextmatchs->right('/index.php',$start,$total,'menuaction=admin.uiaccounts.list_groups'), 'lang_groups' => lang('%1 - %2 of %3 user groups',$start+1,$start+count($account_info),$total), @@ -177,9 +176,8 @@ foreach($account_info as $account) { - $tr_color = $this->nextmatchs->alternate_row_color($tr_color); $var = Array( - 'tr_color' => $tr_color, + 'class' => $this->nextmatchs->alternate_row_color('', True), 'group_name' => (!$account['account_lid']?' ':$account['account_lid']), 'delete_link' => $this->row_action('delete','group',$account['account_id']) ); @@ -744,7 +742,6 @@ $t->set_block('account','link_row'); $var = Array( - 'th_bg' => $GLOBALS['phpgw_info']['theme']['th_bg'], 'tr_color1' => $GLOBALS['phpgw_info']['theme']['row_on'], 'tr_color2' => $GLOBALS['phpgw_info']['theme']['row_off'], 'lang_action' => lang('View user account'), @@ -999,8 +996,8 @@ $app = $perm_display[$i][0]; if(!($i & 1)) { - $tr_color = $this->nextmatchs->alternate_row_color(); - $perm_html .= ''; + $tr_class = $this->nextmatchs->alternate_row_color('',True); + $perm_html .= ''; } $perm_html .= '' . $perm_display[$i][1] . '' . 't->set_var('th_bg',$GLOBALS['phpgw_info']['theme']['th_bg']); - if(strpos($_menuData[0]['extradata'],'user')) { $destination = 'users'; diff --git a/admin/index.php b/admin/index.php index 0a6d60d404..d7f21504b8 100755 --- a/admin/index.php +++ b/admin/index.php @@ -36,7 +36,6 @@ // This func called by the includes to dump a row header function section_start($appname='',$icon='') { - $GLOBALS['admin_tpl']->set_var('icon_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']); $GLOBALS['admin_tpl']->set_var('link_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']); $GLOBALS['admin_tpl']->set_var('app_name',$GLOBALS['phpgw_info']['apps'][$appname]['title']); $GLOBALS['admin_tpl']->set_var('a_name',$appname); diff --git a/admin/templates/default/groups.tpl b/admin/templates/default/groups.tpl index 121f6af689..0cb105ebd7 100644 --- a/admin/templates/default/groups.tpl +++ b/admin/templates/default/groups.tpl @@ -9,7 +9,7 @@ - + @@ -36,7 +36,7 @@ - + diff --git a/admin/templates/default/index.tpl b/admin/templates/default/index.tpl index 7896d9d6fc..66a2e8669a 100755 --- a/admin/templates/default/index.tpl +++ b/admin/templates/default/index.tpl @@ -6,14 +6,14 @@ - + - + diff --git a/admin/templates/default/menurow.tpl b/admin/templates/default/menurow.tpl index faef389cad..c0ddd8282e 100644 --- a/admin/templates/default/menurow.tpl +++ b/admin/templates/default/menurow.tpl @@ -1,6 +1,6 @@
{sort_name} {header_edit} {header_delete}
{group_name} {edit_link} {delete_link}
[ {app_name} ]   {app_name}
  {app_name}
- + {all_rows} @@ -13,7 +13,7 @@
 
- +   {row_text} diff --git a/admin/templates/idots/index.tpl b/admin/templates/idots/index.tpl index 09ef803a21..552839f2d0 100644 --- a/admin/templates/idots/index.tpl +++ b/admin/templates/idots/index.tpl @@ -26,14 +26,14 @@ - + [ {app_name} ]   {app_name} - +   {app_name}