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=a1e19a795bfabb619d2729c02cc596666c2143ed;hb=29136b0fe2cbc7c1ba524f3483701f1a257ecb7c;hpb=f64bb236d8b62cb459a6c37b03d96d72c40387a1 diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index a1e19a7..5d11c14 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,57 +1,107 @@ - + - - -
- Photo Index, - {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} - - + + + + + + +
+ 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} - {/section} {/section}
{if $images[row][col] } -
-
+ + 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}
- +