bug 1484: after a "quick connect" you are correctly redirect to the same page.
git-svn-id: http://piwigo.org/svn/trunk@5986 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
056668c9ae
commit
8849bd5fbc
2 changed files with 2 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ class BlockManager
|
|||
global $template;
|
||||
|
||||
$template->set_filename('menubar', $file);
|
||||
$template->assign(array('U_REDIRECT' => $_SERVER['REQUEST_URI']));
|
||||
trigger_action('blockmanager_apply', array(&$this) );
|
||||
|
||||
foreach( $this->display_blocks as $id=>$block)
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
{if isset($U_LOGIN)}
|
||||
<form method="post" action="{$U_LOGIN}" id="quickconnect">
|
||||
<input type="hidden" name="redirect" value="{$U_REDIRECT}">
|
||||
<fieldset>
|
||||
<legend>{'Quick connect'|@translate}</legend>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue