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