make a real "Web statistics" section, independent of the raw web stats

quotas and al
This commit is contained in:
Antoine Beaupré 2008-04-27 03:25:54 +00:00
parent ddab3792e8
commit 50567f1edd
1 changed files with 3 additions and 1 deletions

View File

@ -28,11 +28,13 @@
----------------------------------------------------------------------
*/
?>
<dt id="stats"><?php __("Web statistics"); ?></dt>
<?php
/* ############# STATS ############# */
$q=$quota->getquota("sta2");
$r=$quota->getquota("dom");
if ($q["t"]>0 && $r["u"]>0) {
?>
<dt id="stats"><?php __("Raw web statistics"); ?></dt>
<dd><a href="sta2_list.php"><?php __("Raw web statistics"); ?></a></dd>
<?php } ?>