summaryrefslogtreecommitdiff
path: root/themes/default/views
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2008-12-05 06:06:02 +0000
committerChad Kieffer <chad@2tbsp.com>2008-12-05 06:06:02 +0000
commitbfd3a21dfdffcae86e695c8b50802e5c7ee3cf79 (patch)
tree71657bd5b0196fa9991296f813082dba1ab9d6f6 /themes/default/views
parent0d1c04060579b13b648d0dbdbb4577bda58b34a2 (diff)
Added album and item view icons (album, hybrid, slideshow, full size). Added "Options" menu placeholder to display item options (add, edit, subscribe, permissions, etc.). Renamed gAlbumHeaderMenu to gItemMenu which can be used on both album and item views.
Diffstat (limited to 'themes/default/views')
-rw-r--r--themes/default/views/album.html.php10
-rw-r--r--themes/default/views/photo.html.php16
2 files changed, 16 insertions, 10 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index ac02ba6e..8cc11b3e 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -1,8 +1,12 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gAlbumHeader">
- <div id="gAlbumHeaderButtons">
- <?= $theme->album_top() ?>
- </div>
+ <ul id="gItemMenu">
+ <li><?= $theme->album_top() ?></li>
+ <li><a href="#"><img src="<?= $theme->url("images/ico-view-album.png") ?>" alt="<?= _("View album") ?>" /></a></li>
+ <li><a href="#"><img src="<?= $theme->url("images/ico-view-hybrid.png") ?>" alt="<?= _("View album in hybrid mode") ?>" /></a></li>
+ <li><a href="#"><img src="<?= $theme->url("images/ico-view-slideshow.png") ?>" alt="<?= _("View slideshow") ?>" /></a></li>
+ <li><a href="#" id="gAddItemLink" class="gButtonLink">v <?= _("Options") ?></a></li>
+ </ul>
<h1><?= $item->title_edit ?></h1>
<div class="gDescription"><?= $item->description_edit ?></div>
</div>
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index 6ac30d86..54188e7f 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -1,18 +1,20 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gItemHeader">
- <div id="gItemHeaderButtons">
- <a href="" class="gButtonLink">
- <?= sprintf(_("Full size (%dx%d)"), $item->width, $item->height) ?>
- </a>
- <?= $theme->photo_top() ?>
- </div>
+ <ul id="gItemMenu">
+ <li><?= $theme->photo_top() ?></li>
+ <li><a href="#"><img src="<?= $theme->url("images/ico-view-fullsize.png") ?>" alt="<?= sprintf(_("View full size image (%dx%d)"), $item->width, $item->height) ?>" /></a></li>
+ <li><a href="#"><img src="<?= $theme->url("images/ico-view-album.png") ?>" alt="<?= _("View album") ?>" /></a></li>
+ <li><a href="#"><img src="<?= $theme->url("images/ico-view-hybrid.png") ?>" alt="<?= _("View album in hybrid mode") ?>" /></a></li>
+ <li><a href="#"><img src="<?= $theme->url("images/ico-view-slideshow.png") ?>" alt="<?= _("View slideshow") ?>" /></a></li>
+ <li><a href="#" id="gAddItemLink" class="gButtonLink">v <?= _("Options") ?></a></li>
+ </ul>
+ <h1><?= $item->title_edit ?></h1>
</div>
<div id="gItem">
<img id="gPhotoID-<?= $item->id ?>" alt="photo" src="<?= $item->resize_url() ?>"
width="<?= $item->resize_width ?>"
height="<?= $item->resize_height ?>" />
- <h1><?= $item->title_edit ?></h1>
<div><?= $item->description_edit ?></div>
<?= $theme->photo_bottom() ?>