Disabling applications system wide now works properly with navbar()

This commit is contained in:
jengo 2000-09-05 03:59:26 +00:00
parent e08b04a148
commit b30c63963d
2 changed files with 6 additions and 6 deletions

View File

@ -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"));

View File

@ -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"));