aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-06-05 20:57:31 +0000
committerGreg Froese <greg.froese@gmail.com>2009-06-05 20:57:31 +0000
commit529d3775aba062679fcfcfe848e41a31328e86e8 (patch)
tree7affa91ab2b65d6b1abf78fe436ebc98260117d7 /start.php
parent21165f5f200b122389ef3feb9a23e647a64fa46b (diff)
downloadelgg-529d3775aba062679fcfcfe848e41a31328e86e8.tar.gz
elgg-529d3775aba062679fcfcfe848e41a31328e86e8.tar.bz2
added a bunch of new pages based on comments and views, none of these are in the default menus, must hit the mostvieweddashboard manually, these are more admin type pages
Diffstat (limited to 'start.php')
-rw-r--r--start.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/start.php b/start.php
index 374b99b99..b812bfb8c 100644
--- a/start.php
+++ b/start.php
@@ -153,7 +153,23 @@
}
}
-
+
+ /**
+ * Sets up submenus for tidypics most viewed pages
+ */
+ function tidypics_mostviewed_submenus() {
+
+ global $CONFIG;
+
+ add_submenu_item(elgg_echo('tidypics:mostvieweddashboard'), $CONFIG->url . "mod/tidypics/mostviewed.php");
+ add_submenu_item(elgg_echo('tidypics:mostviewedthisyear'), $CONFIG->url . "mod/tidypics/mostviewedimagesthisyear.php");
+ add_submenu_item(elgg_echo('tidypics:mostviewedthismonth'), $CONFIG->url . "mod/tidypics/mostviewedimagesthismonth.php");
+ add_submenu_item(elgg_echo('tidypics:mostviewedlastmonth'), $CONFIG->url . "mod/tidypics/mostviewedimageslastmonth.php");
+ add_submenu_item(elgg_echo('tidypics:mostviewedtoday'), $CONFIG->url . "mod/tidypics/mostviewedimageslastmonth.php");
+ add_submenu_item(elgg_echo('tidypics:mostcommented'), $CONFIG->url . "mod/tidypics/mostcommentedimages.php");
+ add_submenu_item(elgg_echo('tidypics:mostcommentedthismonth'), $CONFIG->url . "mod/tidypics/mostcommentedimagesthismonth.php");
+ add_submenu_item(elgg_echo('tidypics:mostcommentedtoday'), $CONFIG->url . "mod/tidypics/mostcommentedimagestoday.php");
+ }
/**
* Sets up tidypics admin menu. Triggered on pagesetup.
*/