From: Roland Häder Date: Sat, 28 Feb 2009 00:05:21 +0000 (+0000) Subject: CSS variable set in all root scripts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d2b67884c1d4c5aba9ea85400355bc23f7a2dcad;p=mailer.git CSS variable set in all root scripts --- diff --git a/index.php b/index.php index c19e9a2f77..f52f5fb2de 100644 --- a/index.php +++ b/index.php @@ -39,6 +39,9 @@ require("inc/libs/security_functions.php"); global $what, $action; $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; +// Set "CSS-Mode" +$CSS = "0"; + // Set module $GLOBALS['module'] = "index"; diff --git a/lead-confirm.php b/lead-confirm.php index 25662f7b5f..1214fec931 100644 --- a/lead-confirm.php +++ b/lead-confirm.php @@ -42,6 +42,9 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; // Set module $GLOBALS['module'] = "lead-confirm"; +// Set "CSS-Mode" +$CSS = "0"; + // Load config.php require("inc/config.php"); diff --git a/login.php b/login.php index d1eaf6c640..afeee16760 100644 --- a/login.php +++ b/login.php @@ -41,6 +41,9 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; // Set module $GLOBALS['module'] = "login"; +// Set "CSS-Mode" +$CSS = "0"; + // Load the required file(s) require("inc/config.php"); diff --git a/sponsor_confirm.php b/sponsor_confirm.php index 7bc65670df..32fbdd5195 100644 --- a/sponsor_confirm.php +++ b/sponsor_confirm.php @@ -33,6 +33,16 @@ // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) require("inc/libs/security_functions.php"); +// Init "action" and "what" +global $what, $action; +$GLOBALS['what'] = ""; $GLOBALS['action'] = ""; + +// Set module +$GLOBALS['module'] = "sponsor_confirm"; + +// Set "CSS-Mode" +$CSS = "0"; + // Load the required file(s) require("inc/config.php"); diff --git a/sponsor_ref.php b/sponsor_ref.php index cd35f52e16..ba8819687e 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -33,6 +33,16 @@ // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) require("inc/libs/security_functions.php"); +// Init "action" and "what" +global $what, $action; +$GLOBALS['what'] = ""; $GLOBALS['action'] = ""; + +// Set module +$GLOBALS['module'] = "sponsor_ref"; + +// Set "CSS-Mode" +$CSS = "0"; + // Load the required file(s) require("inc/config.php");