diff options
| author | Chad Kieffer <chad@2tbsp.com> | 2008-12-07 07:04:58 +0000 |
|---|---|---|
| committer | Chad Kieffer <chad@2tbsp.com> | 2008-12-07 07:04:58 +0000 |
| commit | ba18542527531798abca1881497eac60827cb0f8 (patch) | |
| tree | 985633195ae2be261fd322deb3f0e7966e7a4e08 /themes/default/views | |
| parent | c65ae1203295ce07f43bc836dbeda82d1591ccdd (diff) | |
Yay! Working item upload dialog from the album page!
Diffstat (limited to 'themes/default/views')
| -rw-r--r-- | themes/default/views/album.html.php | 4 | ||||
| -rw-r--r-- | themes/default/views/photo.html.php | 13 |
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> |
