aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-02 21:15:33 +0200
committerSem <sembrestels@riseup.net>2012-08-02 21:15:33 +0200
commita7fd00b23708431d9875f1e7cd1743558ff25c5b (patch)
treeb4f0fad648a5c88875d6337b5ffd7dfad66b33f3 /pages
parent71e6db3c3dff9c9ec7e8109fc990f0d960273c9f (diff)
parent3ef058394574c630726c955ba2a54a63df453d08 (diff)
downloadelgg-a7fd00b23708431d9875f1e7cd1743558ff25c5b.tar.gz
elgg-a7fd00b23708431d9875f1e7cd1743558ff25c5b.tar.bz2
Merge branch 'colorbox' of git://github.com/sembrestels/Tidypics
Conflicts: manifest.xml start.php
Diffstat (limited to 'pages')
-rw-r--r--pages/lists/mostrecentimages.php8
-rw-r--r--pages/lists/mostviewedimages.php8
-rw-r--r--pages/lists/recentlycommented.php8
-rw-r--r--pages/lists/recentlyviewed.php8
4 files changed, 0 insertions, 32 deletions
diff --git a/pages/lists/mostrecentimages.php b/pages/lists/mostrecentimages.php
index 0a2595c85..83ec3e988 100644
--- a/pages/lists/mostrecentimages.php
+++ b/pages/lists/mostrecentimages.php
@@ -32,14 +32,6 @@ if ($username) {
}
}
-// 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' );
-}
-
// how many do we display
$max = 12;
diff --git a/pages/lists/mostviewedimages.php b/pages/lists/mostviewedimages.php
index eb87bc17c..c113c39e2 100644
--- a/pages/lists/mostviewedimages.php
+++ b/pages/lists/mostviewedimages.php
@@ -50,14 +50,6 @@ $photos = tp_get_entities_from_annotations_calculate_x(
*/
//error_log("custom query is " . (float)(microtime(true) - $start));
-// 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' );
-}
-
if ($owner_guid) {
if ($owner_guid == get_loggedin_userid()) {
$title = elgg_echo("tidypics:yourmostviewed");
diff --git a/pages/lists/recentlycommented.php b/pages/lists/recentlycommented.php
index f070e8563..08f69603a 100644
--- a/pages/lists/recentlycommented.php
+++ b/pages/lists/recentlycommented.php
@@ -13,14 +13,6 @@ if (isloggedin()) {
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;
diff --git a/pages/lists/recentlyviewed.php b/pages/lists/recentlyviewed.php
index 419576d8e..851804e99 100644
--- a/pages/lists/recentlyviewed.php
+++ b/pages/lists/recentlyviewed.php
@@ -13,14 +13,6 @@ if (isloggedin()) {
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;