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=ddc3229df5a6b00ed6da0dafa0a99a5fd7890e68;hp=39df0c0265da18ae6914016630a51d38b33c1110;hb=ea36e81b91c8689ae44d413eca4697d1993ac30b;hpb=fab120581e9289abfb7d2bffeccebac873227587 diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index 39df0c0..ddc3229 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -1,102 +1,188 @@ - - - - - - - -
- - - - - -
- 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} + + + +
+
+ Photo Index + {if isset($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 isset($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 isset($from_date) && isset($to_date) } +
+ Results are limited to a date within {$from_date} to {$to_date}. + {/if} +
+
+ {if isset($slideshow_link) } +  Slideshow + {/if} + {if isset($extern_link) } +  External Link + {/if} + {if isset($export_link) } +  Export + {/if} + {if isset($rss_link) } +  RSS-Feed + {/if} +
+
+ + + +{ if isset($tag_result) } + +
+ +
+ Tags: +
+
+ { $selected_tags } +
+{ /if } + + + +
+ + {section name="thumb" loop=$thumbs step=1} + + {if isset($images[thumb]) } + +
+ { if isset($user_friendly_url) } + + { else } + + { /if } + +
+ {$img_name[thumb]} +
+ + { if isset($use_lightbox) } + + { /if } + + { if isset($img_rating[thumb]) } +
+ {section name="rating" loop=$img_rating[thumb] step=1} + + {/section} + { /if }
-
-
-
-
- { if $previous_url == "" } + + {/if} + + {/section} + +
+
+
+ + +
+ { if !isset($next_url) || $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 !isset($previous_url) || $previous_url == "" } { if $count != 0 } - last page reached + first page reached { /if } { else } - - next photo + + previous photo + { /if } +
+ + +
+ { if isset($page_selector) && $page_selector != "" } + {$page_selector} { /if}
-
-