- 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:
parent
d7b71e2167
commit
2a99a22130
5 changed files with 9 additions and 24 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue