- 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
This commit is contained in:
rvelices 2010-06-01 19:52:44 +00:00
commit 2a99a22130
5 changed files with 9 additions and 24 deletions

View file

@ -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>

View file

@ -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>