From 38599c2345c2cd49dec2e7ae25093cdb15eb5a23 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher <unki@netshadow.at> Date: Sun, 1 Jul 2007 09:09:58 +0000 Subject: instead of empty cells, show now grayed icons if first or last object reached git-svn-id: file:///var/lib/svn/phpfspot/trunk@153 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- resources/arrow_left_gray.png | Bin 0 -> 915 bytes resources/arrow_right_gray.png | Bin 0 -> 917 bytes templates/photo_index.tpl | 4 ++-- templates/single_photo.tpl | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 resources/arrow_left_gray.png create mode 100644 resources/arrow_right_gray.png diff --git a/resources/arrow_left_gray.png b/resources/arrow_left_gray.png new file mode 100644 index 0000000..669a7a0 Binary files /dev/null and b/resources/arrow_left_gray.png differ diff --git a/resources/arrow_right_gray.png b/resources/arrow_right_gray.png new file mode 100644 index 0000000..550e2dc Binary files /dev/null and b/resources/arrow_right_gray.png differ diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 28a933d..57cf2ff 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -58,7 +58,7 @@ <tr> <td style="text-align: left; width: 32px;"> { if $previous_url == "" } - + <img src="resources/arrow_left_gray.png" alt="first page reached" /> { else } <a href="{$previous_url}"> <img src="resources/arrow_left.png" alt="previous photo" /> @@ -74,7 +74,7 @@ </td> <td style="text-align: right; width: 32px;"> { if $next_url == "" } - + <img src="resources/arrow_right_gray.png" alt="last page reached" /> { else } <a href="{$next_url}"> <img src="resources/arrow_right.png" alt="next photo" /> diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index e5bcada..536f1db 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -30,7 +30,7 @@ <tr> <td style="text-align: left; width: 33%;"> { if $previous_url == "" } - + <img src="resources/arrow_left_gray.png" alt="first photo reached" /> { else } <a href="{$previous_url}"> <img src="resources/arrow_left.png" alt="previous photo" /> @@ -44,7 +44,7 @@ </td> <td style="text-align: right; width: 33%;"> { if $next_url == "" } - + <img src="resources/arrow_right_gray.png" alt="last photo reached" /> { else } <a href="{$next_url}"> <img src="resources/arrow_right.png" alt="next photo" /> -- cgit v1.2.3-18-g5258