forked from extern/egroupware
putting back in my changes
This commit is contained in:
parent
abc91c7f3e
commit
235a4d42d0
@ -219,8 +219,8 @@
|
|||||||
// PHP won't allow you to set a var to a var
|
// PHP won't allow you to set a var to a var
|
||||||
// or function for default values
|
// or function for default values
|
||||||
if (! $url) {
|
if (! $url) {
|
||||||
#$url_root = split ("/", $phpgw_info["server"]["webserver_url"]);
|
$url_root = split ("/", $phpgw_info["server"]["webserver_url"]);
|
||||||
#$url = $url_root[0]."//".$url_root[2].$PHP_SELF;
|
$url = $url_root[0]."//".$url_root[2].$PHP_SELF;
|
||||||
$url = $PHP_SELF;
|
$url = $PHP_SELF;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -234,7 +234,9 @@
|
|||||||
$url .= "&kp3=" . $kp3;
|
$url .= "&kp3=" . $kp3;
|
||||||
$url .= "&domain=" . $phpgw_info["user"]["domain"];
|
$url .= "&domain=" . $phpgw_info["user"]["domain"];
|
||||||
// This doesn't belong in the API.
|
// This doesn't belong in the API.
|
||||||
// Its up to the app to pass this value. (jengo)
|
// Its up to the app to pass this value. (jengo)
|
||||||
|
// Putting it into the app requires a massive number of updates in email app.
|
||||||
|
// Until that happens this needs to stay here (seek3r)
|
||||||
if ($phpgw_info["flags"]["newsmode"]) {
|
if ($phpgw_info["flags"]["newsmode"]) {
|
||||||
$url .= "&newsmode=on";
|
$url .= "&newsmode=on";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user