forked from extern/egroupware
I forgot to remove a $t = new Template() from before
This commit is contained in:
parent
09c61ac8c7
commit
3231a12e2a
@ -14,18 +14,18 @@
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
$phpgw->template = new Template($phpgw_info["server"]["template_dir"]);
|
||||
$phpgw->template->set_file(array( "header" => "currentusers.tpl",
|
||||
$phpgw->template->set_file(array("header" => "currentusers.tpl",
|
||||
"row" => "currentusers.tpl",
|
||||
"footer" => "currentusers.tpl" ));
|
||||
"footer" => "currentusers.tpl"));
|
||||
|
||||
$phpgw->template->set_block("header","row","footer","output");
|
||||
|
||||
if (! $start)
|
||||
if (! $start) {
|
||||
$start = 0;
|
||||
}
|
||||
|
||||
$limit = $phpgw->nextmatchs->sql_limit($start);
|
||||
$phpgw->db->query("select count(*) from sessions");
|
||||
$phpgw->db->query("select count(*) from sessions",__LINE__,__FILE__);
|
||||
$phpgw->db->next_record();
|
||||
|
||||
$phpgw->templateotal = $phpgw->db->f(0);
|
||||
@ -56,7 +56,7 @@
|
||||
$ordermethod = "order by session_dla asc";
|
||||
}
|
||||
|
||||
$phpgw->db->query("select * from sessions $ordermethod limit $limit");
|
||||
$phpgw->db->query("select * from sessions $ordermethod limit $limit",__LINE__,__FILE__);
|
||||
|
||||
$i = 0;
|
||||
while ($phpgw->db->next_record()) {
|
||||
|
Loading…
Reference in New Issue
Block a user