aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/image_embed.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/image_embed.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/image_embed.html')
-rw-r--r--ratatoeskr/templates/src/systemtemplates/image_embed.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/image_embed.html b/ratatoeskr/templates/src/systemtemplates/image_embed.html
index 387dbaa..d8a3444 100644
--- a/ratatoeskr/templates/src/systemtemplates/image_embed.html
+++ b/ratatoeskr/templates/src/systemtemplates/image_embed.html
@@ -3,11 +3,11 @@
<div class="pos_center">
<ste:if>$embed_code
<ste:then>
- <p><strong><ste:escape><ste:get_translation for="embed_code" /></ste:escape>:</strong> <code><ste:escape>$embed_code</ste:escape></code></p>
+ <p><strong><ste:get_translation for="embed_code" />:</strong> <code>$embed_code</code></p>
</ste:then>
</ste:if>
<form action="$rel_path_to_root/backend/content/images/$image_id/$markup_variant" method="POST">
- <p><strong><ste:escape><ste:get_translation for="image_alt" /></ste:escape>:</strong> <input type="text" name="img_alt" /></p>
+ <p><strong><ste:get_translation for="image_alt" />:</strong> <input type="text" name="img_alt" /></p>
<p><input type="submit" /></p>
</form>
</div>