1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-07-10 03:16:49 +02:00

make preferences called via sidebox menu of an app, to behave like a part of that app

This commit is contained in:
Ralf Becker
2005-11-08 09:43:17 +00:00
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'];