forked from extern/egroupware
fix for bug [ 1002325 ] Manual error:
if session.use_trans_sid was enabled, we created a wrong link for the manual
This commit is contained in:
parent
6b8f6a3d87
commit
ce2045bae1
@ -1122,7 +1122,10 @@
|
||||
// create popup target
|
||||
if ($data['status'] == 4)
|
||||
{
|
||||
$GLOBALS['phpgw_info']['navbar'][$app]['target'] = ' target="'.$app.'" onClick="'."if (this != '') { window.open(this+'".(strstr($GLOBALS['phpgw_info']['navbar'][$app]['url'],'?')?'&':'?')."referer='+encodeURI(location),this.target,'width=800,height=600,scrollbars=yes,resizable=yes'); return false; } else { return true; }".'"';
|
||||
$GLOBALS['phpgw_info']['navbar'][$app]['target'] = ' target="'.$app.'" onClick="'."if (this != '') { window.open(this+'".
|
||||
(strstr($GLOBALS['phpgw_info']['navbar'][$app]['url'],'?') ||
|
||||
ini_get('session.use_trans_sid') && $GLOBALS['phpgw_info']['server']['sessions_type'] == 'php4' ?'&':'?').
|
||||
"referer='+encodeURI(location),this.target,'width=800,height=600,scrollbars=yes,resizable=yes'); return false; } else { return true; }".'"';
|
||||
}
|
||||
|
||||
if ($app != $GLOBALS['phpgw_info']['flags']['currentapp'])
|
||||
|
Loading…
Reference in New Issue
Block a user