[dev] Patch: Ansel NEXT,PREVIOUS
Ron Cooper
rcooper at jamesconeyisland.com
Tue Oct 28 09:49:57 PST 2003
Cosmetic patch to Ansel - replaces text "Previous", "Next" when
navigating in the gallery with arrows (nav/right.gif, nav/left.gif) as
is done in IMP.
Ron
---
---
-------------- next part --------------
--- description-image.org.inc 2003-10-28 10:08:42.000000000 -0600
+++ description-image.inc 2003-10-28 11:29:18.000000000 -0600
@@ -17,7 +17,8 @@
$back_url = Util::addParameter('view.php', 'gallery', $galleryId);
$back_url = Util::addParameter($back_url, 'image', $image_id - 1);
$back_url = Util::addParameter($back_url, 'actionID', 'viewimage');
- echo Horde::link(Horde::applicationUrl($back_url), _("Previous")) . _("Previous") . '</a>';
+ echo Horde::link(Horde::applicationUrl($back_url), _("Previous")) . Horde::img('nav/left.gif',_("Previous"),
+ 'width="16" height="16" align="middle"', $registry->getParam('graphics','horde')) . '</a>';
} ?>
</td>
<td width="80%" class="light" align="center">
@@ -28,7 +29,8 @@
$next_url = Util::addParameter('view.php', 'gallery', $galleryId);
$next_url = Util::addParameter($next_url, 'image', $image_id + 1);
$next_url = Util::addParameter($next_url, 'actionID', 'viewimage');
- echo Horde::link(Horde::applicationUrl($next_url), _("Next")) . _("Next") . '</a>';
+ echo Horde::link(Horde::applicationUrl($next_url), _("Next")) . Horde::img('nav/right.gif',_("Next"),
+ 'width="16" height="16" align="middle"', $registry->getParam('graphics','horde')) . '</a>';
} ?>
</td>
</tr>
More information about the dev
mailing list