X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=5d11c145cdd8d6f5a834299831428f01ce772ef4;hp=7f3af463864b9a14723a83dcae17469af3464d44;hb=29136b0fe2cbc7c1ba524f3483701f1a257ecb7c;hpb=ca33ffdcbb65a0b344e450966c2fcff1d9e9212b diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 7f3af46..5d11c14 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,20 +1,107 @@ - + - -{section name="row" loop=$rows step=1} - {section name="col" loop=$columns step=1} - + + + + + - {/section} -{/section}
- {$count} images have been found for the selected tags + + + + + + +
+ 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} + {if $count == 1} + {$count} image has been found. + {else} + {$count} images have been found. + {/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} + +
- - + +
+
+ + {section name="row" loop=$rows step=1} + + {section name="col" loop=$columns step=1} + {if $images[row][col] } + + {/if} + {/section} + + {/section} +
+ + thumb_{$images[row][col]} +
+ {$img_name[row][col]} +
+ + {else} +
 
+
+ { if $previous_url == "" } + { if $count != 0 } + first page reached + { /if } + { else } + + previous photo + + { /if } + + { if $page_selector == "" } +   + { else } + {$page_selector} + { /if} + + { if $next_url == "" } + { if $count != 0 } + last page reached + { /if } + { else } + + next photo + { /if}
- + +