aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-06-01 19:52:44 +0000
committerrvelices <rv-github@modusoptimus.com>2010-06-01 19:52:44 +0000
commit2a99a22130e448409e05aa58d314ce2b1ecfb7eb (patch)
tree9c31e3a7bbdb5d3fdd32fbcc696b6d9b6f797578 /themes
parentd7b71e2167dc0a9d551af08b6fc53c03b431cee3 (diff)
- do not remove slashes before calling insert_user_comment (homogeneity with update_user_comment and general use of slashes in piwigo)
- when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster) git-svn-id: http://piwigo.org/svn/trunk@6437 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/identification.tpl2
-rw-r--r--themes/default/template/menubar_identification.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/identification.tpl b/themes/default/template/identification.tpl
index 1d7e6d873..ca9bd04f7 100644
--- a/themes/default/template/identification.tpl
+++ b/themes/default/template/identification.tpl
@@ -48,7 +48,7 @@
</fieldset>
<p>
- <input type="hidden" name="redirect" value="{$U_REDIRECT|urlencode}">
+ <input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
<input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
</p>
diff --git a/themes/default/template/menubar_identification.tpl b/themes/default/template/menubar_identification.tpl
index b686b9601..bf932141e 100644
--- a/themes/default/template/menubar_identification.tpl
+++ b/themes/default/template/menubar_identification.tpl
@@ -28,7 +28,7 @@
{if isset($U_LOGIN)}
<form method="post" action="{$U_LOGIN}" id="quickconnect">
- <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|urlencode}">
+ <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
<fieldset>
<legend>{'Quick connect'|@translate}</legend>
<div>