"manual link was not working, if session.use_transsid was switched on - thought it seems not to be used, as we take care of transporting the session-id. Maybe it's different between php4 and php5, as I remember is was necessary some time ago. Anyway ... "

This commit is contained in:
Ralf Becker 2007-04-24 12:49:25 +00:00
parent 0214de953e
commit 47f6358788

View File

@ -448,8 +448,7 @@ class egw_framework
if ($data['status'] == 4)
{
$apps[$app]['target'] = ' target="'.$app.'" onClick="'."if (this != '') { window.open(this+'".
(strstr($apps[$app]['url'],'?') ||
ini_get('session.use_trans_sid') && substr($GLOBALS['egw_info']['server']['sessions_type'],0,4) == 'php4' ?'&':'?').
(strstr($apps[$app]['url'],'?') ? '&' : '?').
"referer='+encodeURI(location),this.target,'width=800,height=600,scrollbars=yes,resizable=yes'); return false; } else { return true; }".'"';
}
elseif(isset($GLOBALS['egw_info']['flags']['navbar_target']) && $GLOBALS['egw_info']['flags']['navbar_target'])