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:
plegall
2010-04-28 16:52:28 +00:00
parent 056668c9ae
commit 8849bd5fbc
2 changed files with 2 additions and 0 deletions

View File

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

View File

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