use some icons in single photo view
authorAndreas Unterkircher <unki@netshadow.at>
Thu, 7 Jun 2007 19:56:12 +0000 (19:56 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Thu, 7 Jun 2007 19:56:12 +0000 (19:56 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@45 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot_cfg.php
resources/arrow_left.png [new file with mode: 0644]
resources/arrow_right.png [new file with mode: 0644]
resources/information.png [new file with mode: 0644]
templates/single_photo.tpl

index e7997612a97751fb839a021a976c035c88f08a3e..71e01929328a431bd3f10da5a05285924ac643ab 100644 (file)
@@ -13,7 +13,7 @@ class PHPFSPOT_CFG {
 
    var $thumb_width = "150";
    
-   var $photo_width = "800";
+   var $photo_width = "640";
 
    var $db = "/var/www/images.netshadow.at/htdocs/phpfspot/photos.db";
 
diff --git a/resources/arrow_left.png b/resources/arrow_left.png
new file mode 100644 (file)
index 0000000..5dc6967
Binary files /dev/null and b/resources/arrow_left.png differ
diff --git a/resources/arrow_right.png b/resources/arrow_right.png
new file mode 100644 (file)
index 0000000..b1a1819
Binary files /dev/null and b/resources/arrow_right.png differ
diff --git a/resources/information.png b/resources/information.png
new file mode 100644 (file)
index 0000000..12cd1ae
Binary files /dev/null and b/resources/information.png differ
index 3965edcb3f6b55e4045a5e24c5bcfc55b47b8285..4501333261d606e3a46bada08ec63c1de4a63e6f 100644 (file)
@@ -1,12 +1,15 @@
 <!-- Single photo -->
 <table>
  <tr>
-  <td class="index_header">
+  <td class="index_header" style="text-align: left;">
    <b>Photo {$image_name}</b><br />
   </td>
+  <td class="index_header" style="text-align: right;">
+   <img src="resources/information.png" />
+  </td>
  </tr>
  <tr>
-  <td>
+  <td colspan="2">
    <div id='matrix'>
    <table>
     <tr>
@@ -21,7 +24,9 @@
       { if $previous_url == "" }
        &nbsp;
       { else }
-      <a href="{$previous_url}">Previous</a>
+      <a href="{$previous_url}">
+       <img src="resources/arrow_left.png" />
+      </a>
       { /if }
      </td>
      <td>&nbsp;</td>
@@ -29,7 +34,9 @@
       { if $next_url == "" }
       &nbsp;
       { else }
-      <a href="{$next_url}">Next</a>
+      <a href="{$next_url}"> 
+       <img src="resources/arrow_right.png" />
+      </a>
       { /if}
      </td>
     </tr>