From b722180e6667345d95133cb74c5e0f5c1a38687f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 2 Apr 2006 01:26:42 +0000 Subject: [PATCH] On full page generators, don't show the navigation --- printer.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/printer.php b/printer.php index 7046ee9..b1fbb03 100644 --- a/printer.php +++ b/printer.php @@ -208,6 +208,11 @@ JS; JS; } + if (!defined('ISSO_PRINTER_NO_NAVIGATION')) + { + define('ISSO_PRINTER_NO_NAVIGATION', 1); + } + $this->page_start($this->registry->modules['localize']->string('Redirect')); if ($postvars) @@ -252,6 +257,11 @@ JS; */ function error($message) { + if (!defined('ISSO_PRINTER_NO_NAVIGATION')) + { + define('ISSO_PRINTER_NO_NAVIGATION', 1); + } + $this->page_start($this->registry->modules['localize']->string('Error')); $this->page_message($this->registry->modules['localize']->string('Error'), $message); $this->page_end(); @@ -405,6 +415,11 @@ JS; */ function page_confirm($message, $location, $action, $params) { + if (!defined('ISSO_PRINTER_NO_NAVIGATION')) + { + define('ISSO_PRINTER_NO_NAVIGATION', 1); + } + $this->page_start($this->registry->modules['localize']->string('Confirm')); $this->form_start($location, $action); -- 2.43.5