X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=08c8999f81f0d746ba0eae73b5828ad7742ade76;hp=f4fc0edbd6a35da6dcfdd4020a699b11d4959a98;hb=5369d6897b8d04f8733b852a16639b949077b0b8;hpb=ff6ed7098b6ba27d97eb80223f5e8338fad33741;ds=sidebyside diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index f4fc0ed..08c8999 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,57 +1,106 @@ - + - - -
- 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 + + + + + + +
+ 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}
- +