Changeset 5986


Ignore:
Timestamp:
Apr 28, 2010, 6:52:28 PM (10 years ago)
Author:
plg
Message:

bug 1484: after a "quick connect" you are correctly redirect to the same page.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/block.class.php

    r5196 r5986  
    135135
    136136    $template->set_filename('menubar', $file);
     137    $template->assign(array('U_REDIRECT' => $_SERVER['REQUEST_URI']));
    137138    trigger_action('blockmanager_apply', array(&$this) );
    138139
  • trunk/themes/default/template/menubar_identification.tpl

    r5535 r5986  
    2929        {if isset($U_LOGIN)}
    3030        <form method="post" action="{$U_LOGIN}" id="quickconnect">
     31        <input type="hidden" name="redirect" value="{$U_REDIRECT}">
    3132        <fieldset>
    3233        <legend>{'Quick connect'|@translate}</legend>
Note: See TracChangeset for help on using the changeset viewer.