aboutsummaryrefslogtreecommitdiff
path: root/pages/viewalbum.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-10-03 17:16:08 +0000
committerCash Costello <cash.costello@gmail.com>2009-10-03 17:16:08 +0000
commit6263b1d67488acd66f457aee0ec8a70e418ea5dc (patch)
tree17fc837c3b5ed559efbf0cf78fa25e2ee581c7a8 /pages/viewalbum.php
parent3979ea2bbe19b5f4666736901dcc918b259c33d3 (diff)
downloadelgg-6263b1d67488acd66f457aee0ec8a70e418ea5dc.tar.gz
elgg-6263b1d67488acd66f457aee0ec8a70e418ea5dc.tar.bz2
first version of an album slideshow - initial integration by Torsten
Diffstat (limited to 'pages/viewalbum.php')
-rw-r--r--pages/viewalbum.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/pages/viewalbum.php b/pages/viewalbum.php
index b451b6993..4b3e6d703 100644
--- a/pages/viewalbum.php
+++ b/pages/viewalbum.php
@@ -31,6 +31,14 @@
add_submenu_item( sprintf(elgg_echo('album:group'),$owner->name),
$CONFIG->wwwroot . "pg/photos/owned/" . $owner->username);
}
+
+ // allow other plugins to override the slideshow
+ $slideshow_link = trigger_plugin_hook('tidypics:slideshow', 'album', $album, false);
+ if ($slideshow_link) {
+ add_submenu_item(elgg_echo('album:slideshow'),
+ $slideshow_link,
+ 'photos' );
+ }
if (can_write_to_container(0, $album->container_guid)) {
if ($owner instanceof ElggGroup) {