summaryrefslogtreecommitdiff
path: root/themes/default/views/sidebar.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/views/sidebar.html.php')
-rw-r--r--themes/default/views/sidebar.html.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/themes/default/views/sidebar.html.php b/themes/default/views/sidebar.html.php
index 7ef24217..d454804d 100644
--- a/themes/default/views/sidebar.html.php
+++ b/themes/default/views/sidebar.html.php
@@ -1,11 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<ul id="gViewMenu" class="sf-menu">
- <li><a href="#" id="gFullsizeLink" title="<?= _("View full size image") ?>"><?= _("View full size image") ?></a></li>
- <li><a href="#comments" id="gCommentsLink" title="<?= _("View this item's comments") ?>"><?= _("View this item's comments") ?></a></li>
- <li><a href="#" id="gAlbumLink" title="<?= _("View album") ?>"><?= _("Album view") ?></a></li>
- <li><a href="#" id="gHybridLink" title="<?= _("View album in hybrid mode") ?>"><?= _("Hybrid view") ?></a></li>
- <li><?= $theme->sidebar_top() ?></li>
-</ul>
+<div id="gViewMenu">
+<? if ($page_type == "album"):?>
+ <?= $theme->album_menu() ?>
+<? elseif ($page_type == "photo") : ?>
+ <?= $theme->photo_menu() ?>
+<? endif ?>
+</div>
<?= $theme->sidebar_blocks() ?>
<?= $theme->sidebar_bottom() ?>