Added in a $phpgw_info = array() before header is called up. There is a possiablity of people passing a multidemension array through the URL to change the variables in phpgw_info array. Any questions, please ask me. (jengo)

This commit is contained in:
jengo 2000-11-21 00:41:31 +00:00
parent 4e42f06b0e
commit ddbe64e26d
18 changed files with 19 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -11,6 +11,8 @@
/* $Id$ */
$phpgw_info = array();
if ($confirm || ! $account_id) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
}

View File

@ -11,6 +11,7 @@
/* $Id$ */
$phpgw_info = array();
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
if (! $group_id)

View File

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

View File

@ -11,6 +11,7 @@
/* $Id$ */
$phpgw_info = array();
if ($submit) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
}

View File

@ -11,6 +11,7 @@
/* $Id$ */
$phpgw_info = array();
if ($submit) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
}

View File

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

View File

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

View File

@ -11,6 +11,7 @@
/* $Id$ */
$phpgw_info = array();
if ($confirm) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
}

View File

@ -1,4 +1,5 @@
<?php
$phpgw_info = array();
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["server"]["site_title"] = "Create a selected navbar image";
include("../header.inc.php");

View File

@ -36,7 +36,7 @@ function getRGB($web_color) {
return $retval;
}
}
$phpgw_info = array();
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"]["nonavbar"] = True;
$phpgw_info["flags"]["noheader"] = True;

View File

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

View File

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

View File

@ -11,6 +11,7 @@
/* $Id$ */
$phpgw_info = array();
if ($submit) {
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
}

View File

@ -12,6 +12,7 @@
/* $Id$ */
$phpgw_info = array();
if (! $account_id) {
$phpgw_info["flags"] = array("nonavbar" => True, "noheader" => True);
}