aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-12-15 04:57:45 +0000
committerrvelices <rv-github@modusoptimus.com>2006-12-15 04:57:45 +0000
commiteae01904a5369eb6422bd118c1519914aee9efd0 (patch)
tree41b462de68bf8d31a18eb7a81d64aa8863cdd639 /template/yoga/picture.tpl
parentc012c22df671dce2f5d29adfda6063baf5401a8f (diff)
feature 603: rating buttons presented with stars (full Javascript
on compatible browsers, otherwise default presentation) git-svn-id: http://piwigo.org/svn/trunk@1657 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/picture.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 585678247..02453e9af 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -145,7 +145,7 @@
<!-- END metadata -->
<!-- BEGIN rate -->
-<form action="{rate.F_ACTION}" method="post">
+<form action="{rate.F_ACTION}" method="post" id="rateForm">
<div>{rate.SENTENCE} :
<!-- BEGIN rate_option -->
{rate.rate_option.SEPARATOR}
@@ -156,6 +156,7 @@
<input type="submit" name="rate" value="{rate.rate_option.OPTION}" class="rateButton" />
<!-- END not_my_rate -->
<!-- END rate_option -->
+<script type="text/javascript" src="{pwg_root}{themeconf:template_dir}/rating.js"></script>
</div>
</form>
<!-- END rate -->