mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fixes the preference pages for the different apps
This commit is contained in:
parent
f1bb2f6bef
commit
8345e26b12
@ -565,6 +565,7 @@
|
|||||||
reset ($phpgw_info["user"]["apps"]);
|
reset ($phpgw_info["user"]["apps"]);
|
||||||
while ($permission = each($phpgw_info["user"]["apps"])) {
|
while ($permission = each($phpgw_info["user"]["apps"])) {
|
||||||
if ($completed_hooks[$permission[0]] != True){
|
if ($completed_hooks[$permission[0]] != True){
|
||||||
|
$appname = $permission[0];
|
||||||
$f = $phpgw_info["server"]["server_root"] . "/" . $permission[0] . "/inc/hook_".$phpgw_info["flags"]["currentapp"];
|
$f = $phpgw_info["server"]["server_root"] . "/" . $permission[0] . "/inc/hook_".$phpgw_info["flags"]["currentapp"];
|
||||||
if ($location != ""){$f .= "_".$location.".inc.php";}else{$f .= ".inc.php"; }
|
if ($location != ""){$f .= "_".$location.".inc.php";}else{$f .= ".inc.php"; }
|
||||||
if (file_exists($f)) {include($f);}
|
if (file_exists($f)) {include($f);}
|
||||||
|
Loading…
Reference in New Issue
Block a user