mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
session list:
- fixed not working "go to start or list" button - added start/total display
This commit is contained in:
parent
04ddf51d90
commit
563ac8c71c
@ -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')));
|
||||
|
@ -3,8 +3,7 @@
|
||||
<table border="0" width="95%" align="center">
|
||||
<tr>
|
||||
{left_next_matchs}
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td align="center">{start_total}</td>
|
||||
{right_next_matchs}
|
||||
</tr>
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user