From 2ea665ef86c5573c244ebbba797fb31cadf6752b Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 24 May 2008 09:26:11 +0200 Subject: issue121, show rating value in photo-index- and single-photo-view Signed-off-by: Andreas Unterkircher --- themes/default/templates/photo_index.tpl | 8 ++++++++ themes/default/templates/single_photo.tpl | 7 +++++++ 2 files changed, 15 insertions(+) (limited to 'themes') diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index c9da477..7fe04ab 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -78,9 +78,17 @@
{$img_name[thumb]} + { if $use_lightbox } { /if } + + { if $img_rating[thumb] } +
+ {section name="rating" loop=$img_rating[thumb] step=1} + + {/section} + { /if } {/if} diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 97ef0cf..b141517 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -42,6 +42,13 @@ {$ExifOrigResolution}
{ /if } Size: {$ExifFileSize}
+ { if $image_rating } + rating Rating:
+ {section name="rating" loop=$image_rating step=1} + + {/section} +
+ { /if } { if $tags }
available tags Tagged with:
-- cgit v1.2.3-18-g5258 From 6da6a0bae7001a35ac6530fbd6ff9aeab140983f Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 24 May 2008 09:27:22 +0200 Subject: add unit-name to exif-resolution-field Signed-off-by: Andreas Unterkircher --- themes/default/templates/single_photo.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index b141517..20b59f8 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -39,7 +39,7 @@ { /if } { if $ExifOrigResolution } resolution icon Original resolution:
- {$ExifOrigResolution}
+ {$ExifOrigResolution}px
{ /if } Size: {$ExifFileSize}
{ if $image_rating } -- cgit v1.2.3-18-g5258 From f36faab3aed613fc0e1e10a34a88bf1065c80f79 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 24 May 2008 11:39:39 +0200 Subject: issue121, search for a specific rate-limit Signed-off-by: Andreas Unterkircher --- themes/default/templates/search.tpl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'themes') diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl index c1d152c..672bb35 100644 --- a/themes/default/templates/search.tpl +++ b/themes/default/templates/search.tpl @@ -60,6 +60,29 @@ + { if $has_rating } + + Rating: + + { if ! $rate_search_enabled } + + { else } + + { /if } + consider rate-range + +   + + +   + + { $rate_search } + + + + + + { /if } Sort-Order:  -- cgit v1.2.3-18-g5258