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/backend_login.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/backend_login.html')
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/backend_login.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/backend_login.html b/ratatoeskr/templates/src/systemtemplates/backend_login.html index 5662221..73c2710 100755 --- a/ratatoeskr/templates/src/systemtemplates/backend_login.html +++ b/ratatoeskr/templates/src/systemtemplates/backend_login.html @@ -12,24 +12,24 @@ <div id="bar_top"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.1)</div> <div class="vcenter_outer"><div class="vcenter_inner"> <div id="login_box"> - <h1><ste:escape><ste:get_translation for="login_form_header" /></ste:escape></h1> + <h1><ste:get_translation for="login_form_header" /></h1> <ste:if> $login_failed <ste:then> <div class="error"> - <ste:escape><ste:get_translation for="login_failed" /></ste:escape> + <ste:get_translation for="login_failed" /> </div> </ste:then> </ste:if> <form action="$rel_path_to_root/backend/login" method="POST" accept-charset="utf-8"> - <p><ste:escape><ste:capitalize><ste:get_translation for="username" /></ste:capitalize></ste:escape>: <input type="text" name="user" /></p> - <p><ste:escape><ste:capitalize><ste:get_translation for="password" /></ste:capitalize></ste:escape>: <input type="password" name="password" /></p> - <p class="loginbtn"><input type="submit" value="<ste:escape><ste:get_translation for='login_form_button' /></ste:escape>" /></p> + <p><ste:escape><ste:capitalize><ste:get_translation for="username" raw="y" /></ste:capitalize></ste:escape>: <input type="text" name="user" /></p> + <p><ste:escape><ste:capitalize><ste:get_translation for="password" raw="y" /></ste:capitalize></ste:escape>: <input type="password" name="password" /></p> + <p class="loginbtn"><input type="submit" value="<ste:get_translation for='login_form_button' />" /></p> </form> </div> </div></div> <div id="image_copyright"> - <ste:l10n_replace URL="http://en.wikipedia.org/wiki/File:Helkivad_ööpilved_Kuresoo_kohal.jpg" FILENAME="Helkivad ööpilved Kuresoo kohal.jpg" AUTHOR="Martin Koitmäe" LICENSE="<a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed.en\">CC BY-SA</a>"><ste:get_translation for="login_background_image" /></ste:l10n_replace> + <ste:l10n_replace URL="http://en.wikipedia.org/wiki/File:Helkivad_ööpilved_Kuresoo_kohal.jpg" FILENAME="Helkivad ööpilved Kuresoo kohal.jpg" AUTHOR="Martin Koitmäe" LICENSE="<a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed.en\">CC BY-SA</a>"><ste:get_translation for="login_background_image" raw="y" /></ste:l10n_replace> </div> </div> </body> |