summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-07 19:56:12 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-07 19:56:12 +0000
commitf54ac86a8a53196b268c086c8d5c43fe85aa9e1a (patch)
treeed721e65cf87f32c100f69d4008e2a6e603d1431
parent588923cbaafe421b32ec55e2dd4c4bb04df625dd (diff)
use some icons in single photo view
git-svn-id: file:///var/lib/svn/phpfspot/trunk@45 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot_cfg.php2
-rw-r--r--resources/arrow_left.pngbin0 -> 345 bytes
-rw-r--r--resources/arrow_right.pngbin0 -> 349 bytes
-rw-r--r--resources/information.pngbin0 -> 778 bytes
-rw-r--r--templates/single_photo.tpl15
5 files changed, 12 insertions, 5 deletions
diff --git a/phpfspot_cfg.php b/phpfspot_cfg.php
index e799761..71e0192 100644
--- a/phpfspot_cfg.php
+++ b/phpfspot_cfg.php
@@ -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
index 0000000..5dc6967
--- /dev/null
+++ b/resources/arrow_left.png
Binary files differ
diff --git a/resources/arrow_right.png b/resources/arrow_right.png
new file mode 100644
index 0000000..b1a1819
--- /dev/null
+++ b/resources/arrow_right.png
Binary files differ
diff --git a/resources/information.png b/resources/information.png
new file mode 100644
index 0000000..12cd1ae
--- /dev/null
+++ b/resources/information.png
Binary files differ
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl
index 3965edc..4501333 100644
--- a/templates/single_photo.tpl
+++ b/templates/single_photo.tpl
@@ -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>