summaryrefslogtreecommitdiff
path: root/themes/default/views
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/views')
-rw-r--r--themes/default/views/album.html.php4
-rw-r--r--themes/default/views/photo.html.php13
2 files changed, 11 insertions, 6 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index 70d9e944..84afdc35 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -8,8 +8,8 @@
<img src="<?= $theme->url("images/ico-view-hybrid.png") ?>"
alt="<?= _("View album in hybrid mode") ?>" /></a></li>
<li><?= $theme->album_top() ?></li>
- <li><a href="<?= url::site("photos/add") ?>" title="<?= _("Add a photo") ?>"
- class="gButtonLink gDialogLink"><?= _("Add Items") ?></a></li>
+ <li><a href="<?= url::site("/form/add/photos/$item->id") ?>" title="<?= _("Add an item") ?>"
+ class="gButtonLink gDialogLink"><?= _("Add an item") ?></a></li>
</ul>
<h1><?= $item->title_edit ?></h1>
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index f58c51d1..0f5799ce 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -1,10 +1,15 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gItemHeader">
<ul id="gItemMenu">
- <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-hybrid.png") ?>" alt="<?= _("View album in hybrid mode") ?>" /></a></li>
- <li><?= $theme->photo_top() ?></li>
- <li><a href="#" id="gAddItemLink" class="gButtonLink">v <?= _("Options") ?></a></li>
+ <li><a href="#" title="<?= _("View full size image") ?>">
+ <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="#" title="<?= _("View album in hybrid mode") ?>">
+ <img src="<?= $theme->url("images/ico-view-hybrid.png") ?>"
+ alt="<?= _("View album in hybrid mode") ?>" /></a></li>
+ <li><?= $theme->album_top() ?></li>
+ <li><a href="#" title="<?= _("Options for this item") ?>"
+ class="gButtonLink gDialogLink">v <?= _("Options") ?></a></li>
</ul>
<h1><?= $item->title_edit ?></h1>
</div>