X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=css.php;h=3babf5ce26356ea6ac7d5ba34e340fc4d475ea06;hb=5d9f65a4efafdeda1f03cf03fc95421bc600b9dc;hp=1496f788b10b41e00fd157a750704000b80dd5f1;hpb=397eb5dee2611cfaa1ff494d73e6785b88109cd6;p=mailer.git diff --git a/css.php b/css.php index 1496f788b1..3babf5ce26 100644 --- a/css.php +++ b/css.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Ausgabe der Cascading-Style-Sheets (CSS) * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -31,40 +36,34 @@ * MA 02110-1301 USA * ************************************************************************/ -// Deactivate caching system in CSS mode -define('_OB_CACHING', "old"); - // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) -require_once("inc/libs/security_functions.php"); - -// Init "action" and "what" -global $what, $action, $footer; +require('inc/libs/security_functions.php'); // Footer is disabled in CSS mode -$footer = "-1"; +$GLOBALS['footer_sent'] = "-1"; // Init variables -$GLOBALS['what'] = ""; -$GLOBALS['action'] = ""; +$GLOBALS['what'] = ''; +$GLOBALS['action'] = ''; // This is a CSS file loader! -$CSS = "1"; -$GLOBALS['module'] = "css"; +$GLOBALS['output_mode'] = '1'; +$GLOBALS['module'] = 'css'; // Set header -header("Content-type: text/css"); +header('Content-type: text/css'); // Load the required file(s) -require_once("inc/config.php"); +require('inc/config.php'); // Load header -LOAD_INC_ONCE("inc/header.php"); +LOAD_INC('inc/header.php'); // Load CSS code -LOAD_INC_ONCE("inc/stylesheet.php"); +LOAD_INC('inc/stylesheet.php'); // Load footer -LOAD_INC_ONCE("inc/footer.php"); +LOAD_INC('inc/footer.php'); // ?>