new photo index icon
[phpfspot.git] / templates / photo_index.tpl
index 1647f5a9040d8170df823f83092a6aacd7284f98..d94db182e82b091e0df6431c06f15f46bae94ad7 100644 (file)
@@ -2,16 +2,27 @@
 <table>
  <tr>
   <td class="index_header">
-   <b>Photo Index</b><br />
-   {if $count == 1}
-      {$count} image has been found for the selected tags
-   {else}
+   <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;">
+   <img src="resources/photo_index.png" />
+  </td>
  </tr>
  <tr>
-  <td>
+  <td colspan="2">
    <div id="matrix">
    <table>
    {section name="row" loop=$rows step=1}