diff --git a/admin/inc/class.uicurrentsessions.inc.php b/admin/inc/class.uicurrentsessions.inc.php index d38b6ed692..0819ae4b2c 100644 --- a/admin/inc/class.uicurrentsessions.inc.php +++ b/admin/inc/class.uicurrentsessions.inc.php @@ -57,7 +57,7 @@ $this->store_location($info); } - if ($_REQUEST['start'] || $_REQUEST['sort'] || $_REQUEST['order']) + if (isset($_REQUEST['start']) || $_REQUEST['sort'] || $_REQUEST['order']) { if ($_REQUEST['start'] == 0 || $_REQUEST['start'] && $_REQUEST['start'] != $info['start']) { @@ -90,10 +90,9 @@ $total = $this->bo->total(); - $this->template->set_var('bg_color',$GLOBALS['egw_info']['theme']['bg_color']); $this->template->set_var('left_next_matchs',$this->nextmatchs->left('/admin/currentusers.php',$info['start'],$total)); $this->template->set_var('right_next_matchs',$this->nextmatchs->right('/admin/currentusers.php',$info['start'],$total)); - $this->template->set_var('th_bg',$GLOBALS['egw_info']['theme']['th_bg']); + $this->template->set_var('start_total',$this->nextmatchs->show_hits($total,$info['start'])); $this->template->set_var('sort_loginid',$this->nextmatchs->show_sort_order($info['sort'],'session_lid',$info['order'], '/admin/currentusers.php',lang('LoginID'))); diff --git a/admin/templates/default/currentusers.tpl b/admin/templates/default/currentusers.tpl index d08ff54ec1..0c4f8a4932 100644 --- a/admin/templates/default/currentusers.tpl +++ b/admin/templates/default/currentusers.tpl @@ -3,10 +3,9 @@
- | + | {start_total} | {right_next_matchs} -