Commit 50567f1e authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

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

quotas and al
parent ddab3792
......@@ -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 } ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment