From b6266c5c17856e8e42e16fb14861bf0a7c51bdec Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 29 Dec 2005 22:00:18 +0000 Subject: [PATCH] Changing constant names --- printer.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/printer.php b/printer.php index 50005aa..6698338 100644 --- a/printer.php +++ b/printer.php @@ -32,6 +32,12 @@ * This framework generates standard HTML through various functions. The purpose * is generally so that things like the admin system can be created without templates. * +* Constants: +* ISSO_PRINTER_DONE_HEADER - An internal constant that is used to check to see +* if the page header has already been printed +* ISSO_PRINTER_HIDE_SETUP - Will stop the page footer data (copyright and debug +* box) from being printed +* * @author Iris Studios, Inc. * @copyright Copyright ©2002 - [#]year[#], Iris Studios, Inc. * @version $Revision$ @@ -202,9 +208,9 @@ JS; ob_start(); } - if (defined('DONE_HEADER') AND !$override) + if (defined('ISSO_PRINTER_DONE_HEADER') AND !$override) { - if (constant('DONE_HEADER') AND !$override) + if (constant('ISSO_PRINTER_DONE_HEADER') AND !$override) { return; } @@ -220,16 +226,16 @@ JS; echo ($extra ? "\n$extra" : ''); echo "\n\n\n"; - if (!defined('HIDE_SETUP') AND function_exists('_printer_page_start')) + if (!defined('ISSO_PRINTER_HIDE_SETUP') AND function_exists('_printer_page_start')) { _printer_page_start(); } echo "
\n\n\n"; - if (!defined('DONE_HEADER')) + if (!defined('ISSO_PRINTER_DONE_HEADER')) { - define('DONE_HEADER', 1); + define('ISSO_PRINTER_DONE_HEADER', 1); } } @@ -356,7 +362,7 @@ JS; $copyright = "\n
\n

\n\t" . $this->registry->application . ' ' . $this->registry->appversion . ", © 2002 - " . date('Y') . " Iris Studios, Inc.\n

"; - if (!defined('HIDE_SETUP')) + if (!defined('ISSO_PRINTER_HIDE_SETUP')) { echo "\n\n
\n$copyright"; echo $this->registry->construct_debug_block(false); -- 2.43.5