mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
make preferences called via sidebox menu of an app, to behave like a part of that app
This commit is contained in:
parent
6d33f91046
commit
e36705e012
@ -40,7 +40,7 @@
|
|||||||
{
|
{
|
||||||
$this->bo->session_data['referer'] = $referer;
|
$this->bo->session_data['referer'] = $referer;
|
||||||
}
|
}
|
||||||
echo '<p align="right">'."referer='{$this->bo->session_data['referer']}'</p>\n";
|
//echo '<p align="right">'."referer='{$this->bo->session_data['referer']}'</p>\n";
|
||||||
if (substr($this->bo->session_data['referer'],0,strlen('/preferences')) != '/preferences')
|
if (substr($this->bo->session_data['referer'],0,strlen('/preferences')) != '/preferences')
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_info']['flags']['currentapp'] = $_GET['appname'];
|
$GLOBALS['egw_info']['flags']['currentapp'] = $_GET['appname'];
|
||||||
|
Loading…
Reference in New Issue
Block a user