aboutsummaryrefslogtreecommitdiff
path: root/pages/lists/recentlycommented.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-13 00:50:11 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-13 00:50:11 +0000
commite7a7c88d81f494d8a0c99f36338247caaf6b4bd3 (patch)
tree7d2d5281ce85fae048b4a399ba305f2f6c8c658c /pages/lists/recentlycommented.php
parentb1f340a7041a92541b4e4220fa6c780f596dcc39 (diff)
downloadelgg-e7a7c88d81f494d8a0c99f36338247caaf6b4bd3.tar.gz
elgg-e7a7c88d81f494d8a0c99f36338247caaf6b4bd3.tar.bz2
added slideshows to the lists
Diffstat (limited to 'pages/lists/recentlycommented.php')
-rw-r--r--pages/lists/recentlycommented.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/pages/lists/recentlycommented.php b/pages/lists/recentlycommented.php
index a39caf6ae..1d5f7aea7 100644
--- a/pages/lists/recentlycommented.php
+++ b/pages/lists/recentlycommented.php
@@ -13,6 +13,15 @@
set_page_owner(get_loggedin_userid());
}
+ // allow other plugins to override the slideshow
+ $slideshow_link = trigger_plugin_hook('tp_slideshow', 'album', array(), null);
+ if ($slideshow_link) {
+ add_submenu_item(elgg_echo('album:slideshow'),
+ $slideshow_link,
+ 'photos' );
+ }
+
+
global $CONFIG;
$prefix = $CONFIG->dbprefix;
$max_limit = 200; //get extra because you'll have multiple views per image in the result set