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=95fbb726b3ec6b136f12dff366352dff958b3053;hp=f4a38d2d368d09827f63dfb2f04f57bc0fba7811;hb=8a0c796bed6602ba3c328fce79071deebb93402d;hpb=7fb51129a3375bfa36750994ce12833623d0cb6e diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index f4a38d2..95fbb72 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -1,93 +1,174 @@ -
- 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 } +  Slideshow + {/if} + {if $extern_link } +  External Link + {/if} + {if $export_link } +  Export {/if} - {/if} - {if $from_date && $to_date } - Results are limited to a date within {$from_date} to {$to_date}. - {/if} + {if $rss_link } +  RSS-Feed + {/if} +
-
- {if $slideshow_link } - - {/if} - {if $extern_link } - - {/if} - {if $export_link } - - {/if} - {if $rss_link } - - {/if} + + + +{ if $tag_result } + +
+ +
+ Tags: +
+
+ { $selected_tags }
+{ /if } + + + +
+ + {section name="thumb" loop=$thumbs step=1} + + {if $images[thumb] } + +
+ { if $user_friendly_url } + + { else } + + { /if } + +
+ {$img_name[thumb]} +
+ { if $use_lightbox } + + { /if } +
+ + {/if} -
- {section name="row" loop=$rows step=1} - {section name="col" loop=$columns step=1} - {if $images[row][col] } - - {/if} - {/section} {/section} +

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

-