From 83a8e5ea7f108bef2e915f4c2d8629b5d30e6fdd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 20 Nov 2005 01:32:45 +0000 Subject: [PATCH] Using the new ISSO callback --- printer.css.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/printer.css.php b/printer.css.php index 4646f51..5ef0f79 100755 --- a/printer.css.php +++ b/printer.css.php @@ -19,12 +19,14 @@ || ################################################################### \*=====================================================================*/ -$included = method_exists($this->registry, 'load'); +error_reporting(E_ALL & ~E_NOTICE); + +$included = method_exists($GLOBALS['isso:null-framework'], 'load'); if (!$included) { $path = ($_SERVER['SCRIPT_URL'] ? $_SERVER['SCRIPT_URL'] : $_SERVER['REQUEST_URI']); - $this->registry->webpath = dirname($path) . '/'; + $GLOBALS['isso:null-framework']->webpath = dirname($path) . '/'; } $css = <<registry->webpath}images/tcat.gif); + background: #38495E url({$GLOBALS['isso:null-framework']->webpath}images/tcat.gif); border-bottom: outset 1px; } @@ -96,7 +98,7 @@ td.thead, .thead td, .alt3 { color: #D6E1EC; font-weight: bold; - background: #445B78 url({$this->registry->webpath}images/thead.gif); + background: #445B78 url({$GLOBALS['isso:null-framework']->webpath}images/thead.gif); border: inset 1px; } -- 2.22.5