aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-01 13:52:51 +0200
committerSem <sembrestels@riseup.net>2012-08-01 13:52:51 +0200
commit048c1b586989caa3a8bd0b11ad19442d919dbd67 (patch)
treef653b4482a3e38b32e97f574b2a894ddcff15cde /start.php
parent24c32ef7df44d9dcad567b54f630d074bedef76e (diff)
downloadelgg-048c1b586989caa3a8bd0b11ad19442d919dbd67.tar.gz
elgg-048c1b586989caa3a8bd0b11ad19442d919dbd67.tar.bz2
Removed slideshow from plugin.
Diffstat (limited to 'start.php')
-rw-r--r--start.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/start.php b/start.php
index 1e851b8f3..1b487321d 100644
--- a/start.php
+++ b/start.php
@@ -45,7 +45,6 @@ function tidypics_init() {
elgg_register_simplecache_view('js/photos/uploading');
elgg_register_js('tidypics:uploading', $js, 'footer');
- elgg_register_js('tidypics:slideshow', 'mod/tidypics/vendors/PicLensLite/piclens_optimized.js', 'footer');
elgg_register_js('swfobject', 'mod/tidypics/vendors/uploadify/swfobject.js', 'footer');
elgg_register_js('jquery.uploadify-tp', 'mod/tidypics/vendors/uploadify/jquery.uploadify.v2.1.1.min.js', 'footer');
@@ -145,7 +144,6 @@ function tidypics_page_handler($page) {
case "album": // view an album individually
set_input('guid', $page[1]);
- elgg_load_js('tidypics:slideshow');
require "$base/album/view.php";
break;
@@ -345,17 +343,6 @@ function tidypics_entity_menu_setup($hook, $type, $return, $params) {
// only show these options if there are images
if (elgg_instanceof($entity, 'object', 'album') && $entity->getSize() > 0) {
- $url = $entity->getURL() . '?limit=50&view=rss';
- $url = elgg_format_url($url);
- $slideshow_link = "javascript:PicLensLite.start({maxScale:0, feedUrl:'$url'})";
- $options = array(
- 'name' => 'slideshow',
- 'text' => elgg_echo('album:slideshow'),
- 'href' => $slideshow_link,
- 'priority' => 80,
- );
- $return[] = ElggMenuItem::factory($options);
-
if ($entity->canEdit()) {
$options = array(
'name' => 'sort',