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$ */ /* $Id$ */
$phpgw_info = array();
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True); $phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
include("../header.inc.php"); include("../header.inc.php");

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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