Re-added the powered by section and current users

This commit is contained in:
jengo 2001-02-10 03:27:02 +00:00
parent 93877426a3
commit a403215f2f
2 changed files with 13 additions and 4 deletions

View File

@ -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") . '">&nbsp;'
. 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")) . " "

View File

@ -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 -->