[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc class.uicurrentsessions.inc.php,1.11
From: |
fipsfuchs |
Subject: |
[Phpgroupware-cvs] admin/inc class.uicurrentsessions.inc.php,1.11 |
Date: |
Thu, 12 May 2005 19:58:00 +0200 |
Update of admin/inc
Modified Files:
Branch: MAIN
class.uicurrentsessions.inc.php lines: +27 -16
Log Message:
patch 3955
session list reviewed
====================================================
Index: admin/inc/class.uicurrentsessions.inc.php
diff -u admin/inc/class.uicurrentsessions.inc.php:1.10
admin/inc/class.uicurrentsessions.inc.php:1.11
--- admin/inc/class.uicurrentsessions.inc.php:1.10 Wed May 11 07:23:06 2005
+++ admin/inc/class.uicurrentsessions.inc.php Thu May 12 17:58:58 2005
@@ -59,26 +59,35 @@
$this->store_location($info);
}
- if ($GLOBALS['start'] || $GLOBALS['sort'] ||
$GLOBALS['order'])
+ if(isset($_POST['start']))
{
- if ($GLOBALS['start'] == 0 || $GLOBALS['start']
&& $GLOBALS['start'] != $info['start'])
- {
- $info['start'] = $GLOBALS['start'];
- }
-
- if ($GLOBALS['sort'] && $GLOBALS['sort'] !=
$info['sort'])
- {
- $info['sort'] = $GLOBALS['sort'];
- }
+ $info['start'] = intval($_POST['start']);
+ }
+ else
+ {
+ $start = 0;
+ }
- if ($GLOBALS['order'] && $GLOBALS['order'] !=
$info['order'])
- {
- $info['order'] = $GLOBALS['order'];
- }
+ if(isset($_GET['order']))
+ {
+ $info['order'] = $_GET['order'];
+ }
+ else
+ {
+ $order = 'session_dla';
+ }
- $this->store_location($info);
+ if(isset($_GET['sort']))
+ {
+ $info['sort'] = $_GET['sort'];
+ }
+ else
+ {
+ $sort = 'ASC';
}
+ $this->store_location($info);
+
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('Admin').' - '.lang('List of current users');
$this->header();
@@ -111,6 +120,8 @@
$values =
$this->bo->list_sessions($info['start'],$info['order'],$info['sort']);
+ $this->template->set_var('lang_sessions',lang('%1 - %2
of %3 sessions',$info['start']+1,$start+count($values),$total));
+
while (list(,$value) = @each($values))
{
$this->nextmatchs->template_alternate_row_color($this->template);
- Prev by Date:
[Phpgroupware-cvs] calendar/inc hook_deleteaccount.inc.php, 1.7 hook_admin.inc.php, 1.15 hook_add_def_pref.inc.php, 1.4 hook_email.inc.php, 1.8 hook_home.inc.php, 1.42 hook_home_month.inc.php, 1.6 hook_home_day.inc.php, 1.6 class.uiicalendar.inc.php, 1.9 class.uiholiday.inc.php, 1.9 class.socalendar_sql.inc.php, 1.37 class.socalendar__.inc.php, 1.16 class.soholiday.inc.php, 1.6 class.uialarm.inc.php, 1.9 class.uicalendar.inc.php, 1.108 hook_home_planner.inc.php, 1.5 hook_home_week.inc.php, 1.6 hook_manual.inc.php, 1.7 hook_home_year.inc.php, 1.6 hook_preferences.inc.php, 1.26 hook_settings.inc.php, 1.5 class.socalendar_.inc.php, 1.7 class.socalendar.inc.php, 1.29 class.calendar_holiday.inc.php, 1.26 class.boicalendar.inc.php, 1.25 class.calendar_icap.inc.php, 1.18 class.holidaycalc.inc.php, 1.8 class.html.inc.php, 1.5 class.holidaycalc_US.inc.php, 1.10 class.boholiday.inc.php, 1.14 class.bocalendar.inc.php, 1.93 class.boalarm.inc.php, 1.7 class.holidaycalc_JP.inc.php, 1.6 class.uicustom_fields.inc.php, 1.2 hook_sidebo x_menu.inc.php,1.2 class.bocustom_fields.inc.php,1.2
- Next by Date:
[Phpgroupware-cvs] phpgroupware/ipc_test_suite/sources/app class.ipc_addressbook.inc.php, 1.1 class.ipc_calendar.inc.php, 1.1 class.ipc_todo.inc.php, 1.1 class.ipc_notes.inc.php, 1.1 class.ipc_bookmarks.inc.php, 1.1
- Previous by thread:
[Phpgroupware-cvs] admin/inc class.uicurrentsessions.inc.php,1.11
- Next by thread:
[Phpgroupware-cvs] admin/inc class.uicurrentsessions.inc.php,1.11
- Index(es):