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=717b3f21f4eaf8a61ce19a3e3e99da165b95bd4f;hp=f4a38d2d368d09827f63dfb2f04f57bc0fba7811;hb=6dfc3761155121a3f63ef41e048dedf05b170eff;hpb=35efccbba53481402a9146911bb786781c1e3dc3 diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index f4a38d2..717b3f2 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -1,61 +1,77 @@ -
- 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] } +
+ {section name="thumb" loop=$thumbs step=1} + {if $images[thumb] } {/if} - {/section} {/section}

+ + +
+ { if $next_url == "" } + { if $count != 0 } + last page reached + { /if } + { else } + + next photo + + { /if} +
+ +
{ if $previous_url == "" } { if $count != 0 } @@ -67,22 +83,13 @@ { /if }
-
+ + +
{ if $page_selector != "" } {$page_selector} { /if}
-
- { if $next_url == "" } - { if $count != 0 } - last page reached - { /if } - { else } - - next photo - - { /if} -