* 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
+* ISSO_PRINTER_NO_NAVIGATION - Do not show the navigation frame from ISSO.Printer.Navigation
*
* Hooks:
* $this->page_start_hook - Define function to echo() data after the page header
echo "<div style=\"margin: {$pagemargin}px;\">\n<!-- / page head -->\n\n";
+ if ($this->registry->is_loaded('Printer_Navigation') AND (!defined('ISSO_PRINTER_NO_NAVIGATION') OR (defined('ISSO_PRINTER_NO_NAVIGATION') AND constant('ISSO_PRINTER_NO_NAVIGATION') == true)))
+ {
+ echo $this->registry->modules['printer_navigation']->generate_head_html();
+ }
+
if (!defined('ISSO_PRINTER_DONE_HEADER'))
{
define('ISSO_PRINTER_DONE_HEADER', 1);
--- /dev/null
+<?php
+/*=====================================================================*\
+|| ###################################################################
+|| # Iris Studios Shared Object Framework [#]issoversion[#]
+|| # Copyright ©2002-[#]year[#] Iris Studios, Inc.
+|| #
+|| # This program is free software; you can redistribute it and/or modify
+|| # it under the terms of the GNU General Public License as published by
+|| # the Free Software Foundation; version [#]gpl[#] of the License.
+|| #
+|| # This program is distributed in the hope that it will be useful, but
+|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+|| # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+|| # more details.
+|| #
+|| # You should have received a copy of the GNU General Public License along
+|| # with this program; if not, write to the Free Software Foundation, Inc.,
+|| # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+|| ###################################################################
+\*=====================================================================*/
+
+/**
+* Printer - Navigation Generator
+* printer_navigation.php
+*
+* @package ISSO
+*/
+
+/**
+* Printer - Navigation Generator
+*
+* This framework works in conjunction with ISSO.Printer to generate a page header
+* and sidebar to be used for navigation. You set the navigation array and then can
+* specify a given key to highlight elements. Elements are broken into three types:
+* tabs (top of the page), groups (blocks of link actions), and links
+*
+* @author Iris Studios, Inc.
+* @copyright Copyright ©2002 - [#]year[#], Iris Studios, Inc.
+* @version $Revision$
+* @package ISSO
+*
+*/
+class Printer_Navigation
+{
+ /**
+ * Framework registry object
+ * @var object
+ * @access private
+ */
+ var $registry = null;
+
+ // ###################################################################
+ /**
+ * Constructor
+ */
+ function __construct(&$registry)
+ {
+ $this->registry =& $registry;
+ }
+
+ // ###################################################################
+ /**
+ * (PHP 4) Constructor
+ */
+ function Printer_Navigation(&$registry)
+ {
+ $this->__construct($registry);
+ }
+
+ // ###################################################################
+ /**
+ * Generates the header HTML that is called in ISSO.Printer->page_start()
+ * to setup the navigation frame
+ *
+ * @access public
+ *
+ * @return string Generated HTML content
+ */
+ function generate_header_html()
+ {
+ return $output;
+ }
+}
+
+/*=====================================================================*\
+|| ###################################################################
+|| # $HeadURL$
+|| # $Id$
+|| ###################################################################
+\*=====================================================================*/
+?>
\ No newline at end of file