forked from extern/egroupware
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);
|
$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'])
|
if ($_REQUEST['start'] == 0 || $_REQUEST['start'] && $_REQUEST['start'] != $info['start'])
|
||||||
{
|
{
|
||||||
@ -90,10 +90,9 @@
|
|||||||
|
|
||||||
$total = $this->bo->total();
|
$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('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('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'],
|
$this->template->set_var('sort_loginid',$this->nextmatchs->show_sort_order($info['sort'],'session_lid',$info['order'],
|
||||||
'/admin/currentusers.php',lang('LoginID')));
|
'/admin/currentusers.php',lang('LoginID')));
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
<table border="0" width="95%" align="center">
|
<table border="0" width="95%" align="center">
|
||||||
<tr>
|
<tr>
|
||||||
{left_next_matchs}
|
{left_next_matchs}
|
||||||
<td> </td>
|
<td align="center">{start_total}</td>
|
||||||
<td> </td>
|
|
||||||
{right_next_matchs}
|
{right_next_matchs}
|
||||||
</tr>
|
</tr>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user