From 867cf65e5ec98f5be8529a584329385814543e4d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 4 May 2008 09:44:14 +0200 Subject: issue118, user-friendly-url to directly address a photo or a photo-view Signed-off-by: Andreas Unterkircher --- themes/default/templates/single_photo.tpl | 24 ++++++++++++------------ themes/default/templates/tags.tpl | 6 +++++- 2 files changed, 17 insertions(+), 13 deletions(-) (limited to 'themes/default/templates') diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 04a3502..8526053 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -15,14 +15,14 @@ {/if}
- - - + + +  Auto-Browse {if $extern_link }  External Link {/if} - original resolution Fullsize + original resolution Fullsize
@@ -45,19 +45,19 @@
available tags Tagged with:
{ foreach from=$tags key=id item=name } - {$name}
+ {$name}
{ /foreach } { /if }
{ if $prev_img } photo icon Previous:
- +
{ /if} { if $next_img } photo icon Next:
- +
{ /if} @@ -67,9 +67,9 @@
{ if $next_url == "" } - + { else } - + { /if } {$image_filename} @@ -81,17 +81,17 @@ { if $previous_url == "" } first photo reached { else } - + previous photo { /if } - + photo index { if $next_url == "" } last photo reached { else } - + next photo { /if} diff --git a/themes/default/templates/tags.tpl b/themes/default/templates/tags.tpl index 326c095..42a20ff 100644 --- a/themes/default/templates/tags.tpl +++ b/themes/default/templates/tags.tpl @@ -8,4 +8,8 @@   || && -
no tags selected
+{ if $preset_selected_tags } +
{ $preset_selected_tags }
+{ else } +
no tags selected
+{ /if } -- cgit v1.2.3-18-g5258