aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/areyousure.html
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-11-17 22:17:48 +0100
committerKevin Chabowski <kevin@kch42.de>2011-11-17 22:17:48 +0100
commitcc9d722cf738da41224c7c803a27c2532da73beb (patch)
treef78232c0847dc6c2a01c84a4cfe92b72a8e84010 /ratatoeskr/templates/src/systemtemplates/areyousure.html
parent2ec78d505342e2bc241b32eac29164994ed911eb (diff)
downloadratatoeskr-cms-cc9d722cf738da41224c7c803a27c2532da73beb.tar.gz
ratatoeskr-cms-cc9d722cf738da41224c7c803a27c2532da73beb.tar.bz2
ratatoeskr-cms-cc9d722cf738da41224c7c803a27c2532da73beb.zip
ste:get_translation now escapes HTML.
So we do not longer need to write: <ste:escape><ste:get_translation for="foo" /></ste:escape> We can now omit the ste:escape tags. Setting the parameter raw to something non-empty will return the raw translation.
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/areyousure.html')
-rw-r--r--ratatoeskr/templates/src/systemtemplates/areyousure.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/areyousure.html b/ratatoeskr/templates/src/systemtemplates/areyousure.html
index 7159826..6663f7a 100644
--- a/ratatoeskr/templates/src/systemtemplates/areyousure.html
+++ b/ratatoeskr/templates/src/systemtemplates/areyousure.html
@@ -4,8 +4,8 @@
<h2><ste:escape>$question</ste:escape></h2>
?{$moredetails|<p><ste:escape>$moredetails</ste:escape></p>|}
<form action="$callback" method="POST">
- <input type="submit" class="yes_btn" name="yes" value="<ste:escape>?{$yestext|$yestext|<ste:get_translation for='yes' />}</ste:escape>" />
- <input type="submit" class="no_btn" name="no" value="<ste:escape>?{$notext|$notext|<ste:get_translation for='no' />}</ste:escape>" />
+ <input type="submit" class="yes_btn" name="yes" value="<ste:escape>?{$yestext|$yestext|<ste:get_translation for='yes' raw='y' />}</ste:escape>" />
+ <input type="submit" class="no_btn" name="no" value="<ste:escape>?{$notext|$notext|<ste:get_translation for='no' raw='y' />}</ste:escape>" />
</form>
</div>
</ste:block>