instead of empty cells, show now grayed icons if first or last object reached
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 1 Jul 2007 09:09:58 +0000 (09:09 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 1 Jul 2007 09:09:58 +0000 (09:09 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@153 fa6a889d-dae6-447d-9e79-4ba9a3039384

resources/arrow_left_gray.png [new file with mode: 0644]
resources/arrow_right_gray.png [new file with mode: 0644]
templates/photo_index.tpl
templates/single_photo.tpl

diff --git a/resources/arrow_left_gray.png b/resources/arrow_left_gray.png
new file mode 100644 (file)
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 (file)
index 0000000..550e2dc
Binary files /dev/null and b/resources/arrow_right_gray.png differ
index 28a933d808e39e1aaa67725a0007650cd37454e6..57cf2ff1f7126e8511ae108759142cdc5ea81993 100644 (file)
@@ -58,7 +58,7 @@
  <tr>
   <td style="text-align: left; width: 32px;">
   { if $previous_url == "" }
-   &nbsp;
+    <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 == "" }
-   &nbsp;
+    <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" />
index e5bcadad54b9cd1536d5f191bec410ed9c027726..536f1dbc4b52458daa363891712c68f9fa5fd3fa 100644 (file)
@@ -30,7 +30,7 @@
     <tr>
      <td style="text-align: left; width: 33%;">
       { if $previous_url == "" }
-       &nbsp;
+       <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 == "" }
-      &nbsp;
+       <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" />