diff options
Diffstat (limited to 'views/default/object/image/navigation.php')
-rw-r--r-- | views/default/object/image/navigation.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/views/default/object/image/navigation.php b/views/default/object/image/navigation.php deleted file mode 100644 index 155b76364..000000000 --- a/views/default/object/image/navigation.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/** - * Photo navigation - * - * @uses $vars['entity'] - */ - -$photo = $vars['entity']; - -$album = $photo->getContainerEntity(); -$previous_photo = $album->getPreviousImage($photo->getGUID()); -$next_photo = $album->getNextImage($photo->getGUID()); -$size = $album->getSize(); -$index = $album->getIndex($photo->getGUID()); - -echo '<ul class="elgg-menu elgg-menu-hz tidypics-album-nav">'; -echo '<li>'; -echo elgg_view('output/url', array( - 'text' => elgg_view_icon('arrow-left'), - 'href' => $previous_photo->getURL(), -)); -echo '</li>'; - -echo '<li>'; -echo '<span>' . elgg_echo('image:index', array($index, $size)) . '</span>'; -echo '</li>'; - -echo '<li>'; -echo elgg_view('output/url', array( - 'text' => elgg_view_icon('arrow-right'), - 'href' => $next_photo->getURL(), -)); -echo '</li>'; -echo '</ul>'; |