diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-11-17 22:17:48 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-11-17 22:17:48 +0100 |
commit | cc9d722cf738da41224c7c803a27c2532da73beb (patch) | |
tree | f78232c0847dc6c2a01c84a4cfe92b72a8e84010 /ratatoeskr/templates/src/systemtemplates/articles.html | |
parent | 2ec78d505342e2bc241b32eac29164994ed911eb (diff) | |
download | ratatoeskr-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/articles.html')
-rw-r--r-- | ratatoeskr/templates/src/systemtemplates/articles.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/articles.html b/ratatoeskr/templates/src/systemtemplates/articles.html index 06b04ff..cb40fae 100644 --- a/ratatoeskr/templates/src/systemtemplates/articles.html +++ b/ratatoeskr/templates/src/systemtemplates/articles.html @@ -13,10 +13,10 @@ <form action="$rel_path_to_root/backend/content/articles" method="GET" accept-charset="UTF-8"> <div> - <strong><ste:escape><ste:get_translation for="filter" /></ste:escape>:</strong> - <ste:escape><ste:get_translation for="filter_urlname" /></ste:escape> <input type="text" name="filter_urlname" value="<ste:escape>$filter_urlname</ste:escape>" /> - <ste:escape><ste:get_translation for="filter_tag" /></ste:escape> <input type="text" name="filter_tag" value="<ste:escape>$filter_tag</ste:escape>" /> - <ste:escape><ste:get_translation for="filter_section" /></ste:escape> <input type="text" name="filter_section" value="<ste:escape>$filter_section</ste:escape>" /> + <strong><ste:get_translation for="filter" />:</strong> + <ste:get_translation for="filter_urlname" /> <input type="text" name="filter_urlname" value="<ste:escape>$filter_urlname</ste:escape>" /> + <ste:get_translation for="filter_tag" /> <input type="text" name="filter_tag" value="<ste:escape>$filter_tag</ste:escape>" /> + <ste:get_translation for="filter_section" /> <input type="text" name="filter_section" value="<ste:escape>$filter_section</ste:escape>" /> <input type="hidden" name="sort_$sorting[dir]" value="$sorting[by]" /> <input type="submit" /> </div> @@ -68,16 +68,16 @@ </ste:foreach> </ste:then> <ste:else> - <tr><td colspan="6" style="text-align: center;"><em><ste:escape><ste:get_translation for="no_articles" /></ste:escape></em></td></tr> + <tr><td colspan="6" style="text-align: center;"><em><ste:get_translation for="no_articles" /></em></td></tr> </ste:else> </ste:if> </tbody> </table> <div> - <input type="submit" name="delete" value="<ste:escape><ste:get_translation for='delete' /></ste:escape>" /> + <input type="submit" name="delete" value="<ste:get_translation for='delete' />" /> <select name="really_delete"> - <option value="no" selected="selected"><ste:escape><ste:get_translation for="notext_default" /></ste:escape></option> - <option value="yes"><ste:escape><ste:get_translation for="yestext_default" /></ste:escape></option> + <option value="no" selected="selected"><ste:get_translation for="notext_default" /></option> + <option value="yes"><ste:get_translation for="yestext_default" /></option> </select> </div> </form> |