summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-06 09:57:29 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-06 09:57:29 +0100
commitd0ba69737f67bd7beb7f2050082b5e043375749c (patch)
tree603818b00a65daab7e7d6e29471659477e7e6a2e
parentb808ecb188d4745f7b72c71311a0b03964298372 (diff)
issue59, fixed position of photo-index navigation after removing html tables
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--themes/default/templates/photo_index.tpl30
1 files changed, 18 insertions, 12 deletions
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index 3e0f9e7..6453725 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -58,6 +58,21 @@
</div>
<br class="clearboth" />
<div style="width: 100%; margin-top: 20px;">
+
+ <!-- the right nav arrow -->
+ <div style="float: right; width: 40px; margin-right: 0px; padding-right: 10px;">
+ { if $next_url == "" }
+ { if $count != 0 }
+ <img src="resources/arrow_right_gray.png" alt="last page reached" />
+ { /if }
+ { else }
+ <a href="{$next_url}">
+ <img src="resources/arrow_right.png" alt="next photo" />
+ </a>
+ { /if}
+ </div>
+
+ <!-- the left nav arrow -->
<div style="float: left; margin: 0px; padding-left: 10px; width: 40px;">
{ if $previous_url == "" }
{ if $count != 0 }
@@ -69,22 +84,13 @@
</a>
{ /if }
</div>
- <div style="float: left; margin: 0px;">
+
+ <!-- the middle page selector -->
+ <div style="text-align: center;">
{ if $page_selector != "" }
{$page_selector}
{ /if}
</div>
- <div style="width: 40px; margin-right: 0px; padding-right: 10px;">
- { if $next_url == "" }
- { if $count != 0 }
- <img src="resources/arrow_right_gray.png" alt="last page reached" />
- { /if }
- { else }
- <a href="{$next_url}">
- <img src="resources/arrow_right.png" alt="next photo" />
- </a>
- { /if}
- </div>
</div>
<br class="clearboth" />
<script type="text/javascript">