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/default/templates') 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