aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-28 04:38:36 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-28 04:38:36 +0000
commit0510cfdc5ad38487600f8f1bf8e4d4f9747781df (patch)
tree5ca76dc04fa5e1e93eb9f2e781bfec5ed227c55c /template/yoga/picture.tpl
parentb0751afea224486bb4b423e569e2c75a502b4e35 (diff)
merge -r1285 in from branch-1_6 to trunk
bug 359: transform rating html A links to FORM because some bots rate pictures (even if rel="nofollow" is set) git-svn-id: http://piwigo.org/svn/trunk@1286 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/picture.tpl15
1 files changed, 11 insertions, 4 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 2464490f4..163dfc827 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -153,12 +153,19 @@
<!-- END metadata -->
<!-- BEGIN rate -->
-<p>
-{rate.SENTENCE} :
+<form action="{rate.F_ACTION}" method="post">
+<div>{rate.SENTENCE} :
<!-- BEGIN rate_option -->
-{rate.rate_option.SEPARATOR} <a href="{rate.rate_option.URL}" rel="nofollow" {TAG_INPUT_ENABLED}>{rate.rate_option.OPTION}</a>
+{rate.rate_option.SEPARATOR}
+<!-- BEGIN my_rate -->
+<input type="button" name="rate" value="{rate.rate_option.OPTION}" class="rateButtonSelected" />
+<!-- END my_rate -->
+<!-- BEGIN not_my_rate -->
+<input type="submit" name="rate" value="{rate.rate_option.OPTION}" class="rateButton" />
+<!-- END not_my_rate -->
<!-- END rate_option -->
-</p>
+</div>
+</form>
<!-- END rate -->
<hr class="separation">