diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/templates/photo_index.tpl | 8 | ||||
-rw-r--r-- | themes/default/templates/search.tpl | 23 | ||||
-rw-r--r-- | themes/default/templates/single_photo.tpl | 7 |
3 files changed, 38 insertions, 0 deletions
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 @@ <br /> {$img_name[thumb]} </a> + <!-- show lightbox eyes, if enabled --> { if $use_lightbox } <a href="{$web_path}/phpfspot_img.php?idx={$images[thumb]}&width={$preview_width}" alt="thumb_{$images[thumb]}" rel="lightbox[photoidx]" title="Preview of {$img_fullname[thumb]}"><img src="{$web_path}/resources/eyes.png" /></a> { /if } + <!-- show F-Spot photo rating value, if available --> + { if $img_rating[thumb] } + <br /> + {section name="rating" loop=$img_rating[thumb] step=1} + <img src="{$web_path}/resources/star.png" /> + {/section} + { /if } </div> {/if} 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 @@ <input type="image" class="submit" src="{$web_path}/resources/doit.png" alt="start search" title="start search" onclick="click(this);" /> </td> </tr> + { if $has_rating } + <tr> + <td>Rating:</td> + <td class="nowarp"> + { if ! $rate_search_enabled } + <input type="checkbox" class="checkbox" name="consider_rate" value="Y" /> + { else } + <input type="checkbox" class="checkbox" name="consider_rate" value="Y" checked="checked" /> + { /if } + consider rate-range + </td> + <td> </td> + </tr> + <tr> + <td> </td> + <td> + { $rate_search } + </td> + <td> + <input type="image" class="submit" src="{$web_path}/resources/doit.png" alt="start search" title="start search" onclick="click(this);" /> + </td> + </tr> + { /if } <tr> <td> Sort-Order: diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 9b690ff..20b59f8 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -42,6 +42,13 @@ {$ExifOrigResolution}px<br /> { /if } <u>Size:</u> {$ExifFileSize}<br /> + { if $image_rating } + <u><img src="{$web_path}/resources/rating.png" alt="rating" /> Rating:</u><br /> + {section name="rating" loop=$image_rating step=1} + <img src="{$web_path}/resources/star.png" /> + {/section} + <br /> + { /if } { if $tags } <br /> <u><img src="{$web_path}/resources/small_available_tags.png" alt="available tags" /> Tagged with:</u><br /> |