diff options
author | Sem <sembrestels@riseup.net> | 2012-07-28 23:35:01 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-07-28 23:35:01 +0200 |
commit | 61566a3689a08460031d28925b7285b4a909a0ef (patch) | |
tree | 57000ebbe7637d071ce04d964b699aa523929aa3 /start.php | |
parent | 534c8b15a7c11035cf918e983c82efa3bea567a9 (diff) | |
download | elgg-61566a3689a08460031d28925b7285b4a909a0ef.tar.gz elgg-61566a3689a08460031d28925b7285b4a909a0ef.tar.bz2 |
Moved 'sort' link to title menu.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -343,7 +343,7 @@ function tidypics_entity_menu_setup($hook, $type, $return, $params) { } } - // only show these options if there are images + // only show slideshow link 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); @@ -355,16 +355,6 @@ function tidypics_entity_menu_setup($hook, $type, $return, $params) { 'priority' => 80, ); $return[] = ElggMenuItem::factory($options); - - if ($entity->canEdit()) { - $options = array( - 'name' => 'sort', - 'text' => elgg_echo('album:sort'), - 'href' => "photos/sort/" . $entity->getGUID(), - 'priority' => 90, - ); - $return[] = ElggMenuItem::factory($options); - } } return $return; |