summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-01 09:04:03 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-01 09:04:03 +0000
commit7258a4139baaaace3ce9bbeeeab8a20da1b12ff7 (patch)
tree8d4c1562f53368667b8b689b236e69e732ae179c /templates
parentf02f5af73dc6dea8e56824edba0fa187a19ac54f (diff)
issue6, page selector - a first try
git-svn-id: file:///var/lib/svn/phpfspot/trunk@152 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates')
-rw-r--r--templates/photo_index.tpl57
1 files changed, 35 insertions, 22 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index 61f54d4..28a933d 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -1,29 +1,35 @@
<!-- Image Matrix -->
<table>
<tr>
- <td class="index_header">
- <b>Photo Index,</b>
- {if ! $searchfor }
- {if $count == 1}
- {$count} image has been found for the selected tags
- {else}
- {$count} images have been found for the selected tags
- {/if}
- {else}
- {if $count == 1}
- {$count} image is the result for your search about "{$searchfor}"
- {else}
- {$count} images are the result for your search about "{$searchfor}"
- {/if}
- {/if}
- </td>
- <td class="index_header" style="text-align: right;">
- <a href="{$extern_link}">Extern</a>
- <img src="resources/photo_index.png" alt="photo index" />
+ <td colspan="3">
+ <table style="width: 100%;">
+ <tr>
+ <td class="index_header"style="width: 80%;">
+ <b>Photo Index,</b>
+ {if ! $searchfor }
+ {if $count == 1}
+ {$count} image has been found for the selected tags
+ {else}
+ {$count} images have been found for the selected tags
+ {/if}
+ {else}
+ {if $count == 1}
+ {$count} image is the result for your search about "{$searchfor}"
+ {else}
+ {$count} images are the result for your search about "{$searchfor}"
+ {/if}
+ {/if}
+ </td>
+ <td class="index_header" style="text-align: right;">
+ <a href="{$extern_link}">Extern</a>
+ <img src="resources/photo_index.png" alt="photo index" />
+ </td>
+ </tr>
+ </table>
</td>
</tr>
<tr>
- <td colspan="2">
+ <td colspan="3">
<div id="matrix">
<table>
{section name="row" loop=$rows step=1}
@@ -50,7 +56,7 @@
</td>
</tr>
<tr>
- <td style="text-align: left; width: 33%;">
+ <td style="text-align: left; width: 32px;">
{ if $previous_url == "" }
&nbsp;
{ else }
@@ -59,7 +65,14 @@
</a>
{ /if }
</td>
- <td style="text-align: right; width: 33%;">
+ <td style="text-align: center;">
+ { if $page_selector == "" }
+ &nbsp;
+ { else }
+ {$page_selector}
+ { /if}
+ </td>
+ <td style="text-align: right; width: 32px;">
{ if $next_url == "" }
&nbsp;
{ else }