On full page generators, don't show the navigation
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 2 Apr 2006 01:26:42 +0000 (01:26 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 2 Apr 2006 01:26:42 +0000 (01:26 +0000)
printer.php

index 7046ee9bfd12ce59be969462d12369ecc2dd7a2e..b1fbb034ab08e1c4789389433ddde13367737365 100644 (file)
@@ -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);