summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-29 02:00:17 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-29 02:00:17 +1100
commit80955172e98938f96a9b6c08ec9886d74500552f (patch)
tree8fb8931802c488705fcaf4d3cff8530ad4493176 /mod.php
parentff1fedca48aa51f44815b6dc4cd57beee5635e61 (diff)
Show number of pending reports in title, and "unread PM" notice on dashboard
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod.php b/mod.php
index 55f769a0..c47d7b78 100644
--- a/mod.php
+++ b/mod.php
@@ -117,8 +117,8 @@
echo Element('page.html', Array(
'config'=>$config,
'title'=>'Dashboard',
- 'body'=>$body
- //,'mod'=>true /* All 'mod' does, at this point, is put the "Return to dashboard" link in. */
+ 'body'=>$body,
+ '__mod'=>true
)
);
} elseif(preg_match('/^\/logout$/', $query)) {
@@ -576,7 +576,7 @@
echo Element('page.html', Array(
'config'=>$config,
- 'title'=>'Report queue',
+ 'title'=>'Report queue (' . $count['count'] . ')',
'body'=>$body,
'mod'=>true
));