X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=themes%2Fdefault%2Ftemplates%2Fphoto_index.tpl;h=d83456803e30aa560b29ec397c2c23f975477e09;hp=f4a38d2d368d09827f63dfb2f04f57bc0fba7811;hb=0b79deeea3e8d6058eb5651200dbe127c02e0019;hpb=558ff608a5e718cf10ae47414f4b784382554478 diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index f4a38d2..d834568 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -1,88 +1,102 @@ -
- Photo Index - {if $searchfor } - {if $count == 1} - {$count} image is the result for your search about "{$searchfor}". +
+
+ Photo Index + {if $searchfor } + {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} + {elseif $tag_result} + {if $count == 1} + {$count} image has been found for the selected tags. + {else} + {$count} images have been found for the selected tags. + {/if} {else} - {$count} images are the result for your search about "{$searchfor}". + {if $count == 1} + {$count} image has been found. + {else} + {$count} images have been found. + {/if} {/if} - {elseif $tag_result} - {if $count == 1} - {$count} image has been found for the selected tags. - {else} - {$count} images have been found for the selected tags. + {if $from_date && $to_date } +
+ Results are limited to a date within {$from_date} to {$to_date}. {/if} - {else} - {if $count == 1} - {$count} image has been found. - {else} - {$count} images have been found. +
+
+ {if $slideshow_link } + {/if} - {/if} - {if $from_date && $to_date } - Results are limited to a date within {$from_date} to {$to_date}. - {/if} -
-
- {if $slideshow_link } - - {/if} - {if $extern_link } - - {/if} - {if $export_link } - - {/if} - {if $rss_link } - - {/if} + {if $extern_link } + + {/if} + {if $export_link } + + {/if} + {if $rss_link } + + {/if} +
-
- {section name="row" loop=$rows step=1} - {section name="col" loop=$columns step=1} - {if $images[row][col] } - - {/if} - {/section} +
+ + {section name="thumb" loop=$thumbs step=1} + + {if $images[thumb] } + + + + {/if} + {/section} +

+ + +
+ { if $next_url == "" } + { if $count != 0 } + last page reached + { /if } + { else } + + next photo + + { /if} +
+ +
{ if $previous_url == "" } { if $count != 0 } first page reached { /if } { else } - + previous photo { /if }
-
+ + +
{ if $page_selector != "" } {$page_selector} { /if}
-
- { if $next_url == "" } - { if $count != 0 } - last page reached - { /if } - { else } - - next photo - - { /if} -