mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Disabling applications system wide now works properly with navbar()
This commit is contained in:
parent
e08b04a148
commit
b30c63963d
@ -48,9 +48,7 @@
|
||||
} else {
|
||||
$t->set_var("error","");
|
||||
}
|
||||
$t->set_var("session_hidden_var","<input type=\"hidden\" "
|
||||
. "name=\"old_app_name\" value=\""
|
||||
. $phpgw->db->f("app_name") . "\">");
|
||||
$t->set_var("hidden_vars",'<input type="hidden" name="old_app_name" value="' . $phpgw->db->f("app_name") . '">');
|
||||
|
||||
$t->set_var("form_action",$phpgw->link("editapplication.php"));
|
||||
$t->set_var("lang_app_name",lang_admin("application name"));
|
||||
|
@ -15,11 +15,13 @@
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
if (! $group_id)
|
||||
Header("Location: " . $phpgw->link("groups.php"));
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
if (! $group_id) {
|
||||
Header("Location: " . $phpgw->link("groups.php"));
|
||||
}
|
||||
|
||||
|
||||
$t = new Template($phpgw_info["server"]["template_dir"]);
|
||||
$t->set_file(array("form" => "groups_form.tpl"));
|
||||
|
Loading…
Reference in New Issue
Block a user