aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/single_comment.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/single_comment.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/single_comment.html')
-rw-r--r--ratatoeskr/templates/src/systemtemplates/single_comment.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/single_comment.html b/ratatoeskr/templates/src/systemtemplates/single_comment.html
index e53ced3..81b209a 100644
--- a/ratatoeskr/templates/src/systemtemplates/single_comment.html
+++ b/ratatoeskr/templates/src/systemtemplates/single_comment.html
@@ -13,49 +13,49 @@
<div class="triplecolumns">
<div class="column_left">
- <h2><ste:escape><ste:get_translation for="comment_perform_action" /></ste:escape></h2>
+ <h2><ste:get_translation for="comment_perform_action" /></h2>
<form action="$rel_path_to_root/backend/content/comments/$id" method="POST">
<select name="action_on_comment">
<option value="" selected="selected"></option>
- <option value="make_visible"><ste:escape><ste:get_translation for="commentaction_make_visible" /></ste:escape></option>
- <option value="make_invisible"><ste:escape><ste:get_translation for="commentaction_make_invisible" /></ste:escape></option>
- <option value="delete"><ste:escape><ste:get_translation for="delete" /></ste:escape></option>
+ <option value="make_visible"><ste:get_translation for="commentaction_make_visible" /></option>
+ <option value="make_invisible"><ste:get_translation for="commentaction_make_invisible" /></option>
+ <option value="delete"><ste:get_translation for="delete" /></option>
</select>
<input type="submit" />
</form>
</div>
<div class="column_right">
<p>
- <strong><ste:escape><ste:get_translation for="author" /></ste:escape></strong><br />
+ <strong><ste:get_translation for="author" /></strong><br />
<ste:escape>$author</ste:escape>
</p>
<p>
- <strong><ste:escape><ste:get_translation for="visible" /></ste:escape></strong><br />
+ <strong><ste:get_translation for="visible" /></strong><br />
?{$visible|<ste:get_translation for="yes" />|<ste:get_translation for="no" />}
</p>
<p>
- <strong><ste:escape><ste:get_translation for="date_time" /></ste:escape></strong><br />
+ <strong><ste:get_translation for="date_time" /></strong><br />
<ste:date timestamp="$date">%Y-%m-%d %H:%M:%S</ste:date>
</p>
<p>
- <strong><ste:escape><ste:get_translation for="article" /></ste:escape></strong><br />
+ <strong><ste:get_translation for="article" /></strong><br />
<a href="$rel_path_to_root/backend/content/write/<ste:escape>$article</ste:escape>"><ste:escape>$article</ste:escape></a>
</p>
<p>
- <strong><ste:escape><ste:get_translation for="language" /></ste:escape></strong><br />
+ <strong><ste:get_translation for="language" /></strong><br />
$language
</p>
</div>
<div class="column_main">
- <h2><ste:escape><ste:get_translation for="comment_text" /></ste:escape></h2>
+ <h2><ste:get_translation for="comment_text" /></h2>
$comment_text
<hr />
- <h2><ste:escape><ste:get_translation for="comment_text_raw" /></ste:escape></h2>
- <pre><code><ste:escape>$comment_raw</ste:escape></code></pre>
+ <h2><ste:get_translation for="comment_text_raw" /></h2>
+ <code><pre>$comment_raw</pre></code>
</div>
</div>
<div class="triplecolumns_stop"></div>