Converted the flags to use the new style

This commit is contained in:
jengo 2000-11-16 08:00:18 +00:00
parent 38b0173707
commit 07bf8a2a7c
15 changed files with 11 additions and 46 deletions

View File

@ -11,7 +11,7 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
include("../header.inc.php");
$phpgw->template->set_file(array( "header" => "accesslog.tpl",

View File

@ -11,11 +11,7 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
$phpgw_info["flags"]["parent_page"] = "index.php";
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["auth_type"] . ".inc.php");

View File

@ -12,7 +12,6 @@
/* $Id$ */
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
include("../header.inc.php");
if ($order)

View File

@ -11,7 +11,7 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
include("../header.inc.php");
$phpgw->template->set_file(array("header" => "currentusers.tpl",

View File

@ -16,8 +16,6 @@
}
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["auth_type"] . ".inc.php");

View File

@ -11,14 +11,11 @@
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" = "admin");
if (! $app_name)
Header("Location: " . $phpgw->link("applications.php"));
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
$phpgw_info["flags"]["currentapp"] = "admin";
include("../header.inc.php");
if ($confirm) {

View File

@ -11,15 +11,11 @@
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
if (! $group_id)
Header("Location: " . $phpgw->link("groups.php"));
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
include("../header.inc.php");
if ((($group_id) && ($confirm)) || $removeusers) {

View File

@ -11,11 +11,7 @@
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["auth_type"] . ".inc.php");

View File

@ -12,12 +12,8 @@
/* $Id$ */
if ($submit) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
}
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
$phpgw_info["flags"]["currentapp"] = "admin";
include("../header.inc.php");
$phpgw->template->set_file(array("form" => "application_form.tpl"));

View File

@ -12,12 +12,8 @@
/* $Id$ */
if ($submit) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
}
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
$phpgw_info["flags"]["currentapp"] = "admin";
include("../header.inc.php");
if (! $group_id) {

View File

@ -11,7 +11,7 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
include("../header.inc.php");
if (! $start)

View File

@ -15,7 +15,6 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "admin";
include("../header.inc.php");
check_code($cd);

View File

@ -14,7 +14,6 @@
if ($confirm) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
}
$phpgw_info["flags"]["currentapp"] = "admin";
include("../header.inc.php");
if ($ksessionid == $phpgw_info["user"]["sessionid"]) {

View File

@ -11,10 +11,7 @@
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True,
"disable_message_class" => True, "disable_send_class" => True,
"currentapp" => "admin");
$phpgw_info["flags"] = array("currentapp" => "admin", "noheader" => True, "nonavbar" => True);
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["auth_type"] . ".inc.php");

View File

@ -11,11 +11,7 @@
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
$phpgw_info["flags"]["disable_message_class"] = True;
$phpgw_info["flags"]["disable_send_class"] = True;
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"] = array("currentapp" => "admin", "noheader" => True, "nonavbar" => True);
include("../header.inc.php");
//$phpgw->template->set_unknowns("remove");