mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 03:33:01 +02:00
- 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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user