mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Re-added the powered by section and current users
This commit is contained in:
parent
93877426a3
commit
a403215f2f
@ -58,16 +58,15 @@
|
||||
}
|
||||
$tpl->set_var("logout_img",$ir . "/logout-grey.gif");
|
||||
|
||||
/* if ($phpgw_info["server"]["showpoweredbyon"] == "top") {
|
||||
$tpl->set_var("powered_by",lang("Powered by phpGroupWare version x",$phpgw_info["server"]["versions"]["phpgwapi"]));
|
||||
}
|
||||
$tpl->set_var("powered_by",lang("Powered by phpGroupWare version x",$phpgw_info["server"]["versions"]["phpgwapi"]));
|
||||
|
||||
if (isset($phpgw_info["navbar"]["admin"]) && isset($phpgw_info["user"]["preferences"]["common"]["show_currentusers"])) {
|
||||
$db = $phpgw->db;
|
||||
$db->query("select count(*) from phpgw_sessions");
|
||||
$db->next_record();
|
||||
$tpl->set_var("current_users",'<a href="' . $phpgw->link("/admin/currentusers.php") . '"> '
|
||||
. lang("Current users") . ': ' . $db->f(0) . '</a>');
|
||||
} */
|
||||
}
|
||||
$tpl->set_var("user_info",$phpgw->common->display_fullname() . " - "
|
||||
. lang($phpgw->common->show_date(time(),"l")) . " "
|
||||
. lang($phpgw->common->show_date(time(),"F")) . " "
|
||||
|
@ -16,4 +16,14 @@
|
||||
{applications}
|
||||
</td>
|
||||
<td width="100%">
|
||||
<table border="0" cellspacing="1" cellpadding="1" width="100%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
{current_users}
|
||||
</td>
|
||||
<td align="right">
|
||||
{powered_by}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END navbar -->
|
||||
|
Loading…
Reference in New Issue
Block a user