, 'direction' =>, 'charset' =>) * @var array */ private $language = array('langcode' => 'en_US', 'direction' => 'ltr', 'charset' => 'utf-8'); /** * The CSS stylesheet * @var string */ private $stylesheet; // ################################################################### /** * Constructor * * @param string Page title */ function __construct($title) { $this->title = $title; } // ################################################################### /** * Sets the language array information * * @param array Language array */ public function setLanguageInformation($lang) { $this->language = $lang; } // ################################################################### /** * Sets the path to the CSS style sheet * * @param string Path */ public function setStylesheet($stylesheet) { $this->stylesheet = $stylesheet; } // ################################################################### /** * Returns the HTML for all printed children elements * * @return string Printed HTML */ protected function _paintChildren() { $builder = ''; foreach ($this->children AS $child) { $this->builder .= "\n" . $child->paint() . "\n"; } return $this->builder; } // ################################################################### /** * Tells the element to paint itself (and any children) */ public function paint() { echo("\n"); echo("language['langcode'] . "\" lang=\"" . $this->language['langcode'] . "\" dir=\"" . $this->language['direction'] . "\">\n"); echo("\n\t" . sprintf(_('%1$s - %2$s'), BSRegister::GetApplication(), $this->title) . ""); echo("\n\t"); echo("\n\tstylesheet . "\" />"); // echo $this->code; echo("\n\n\n"); if (BSRegister::GetType('PrinterNavigation') AND (!defined('ISSO_PRINTER_NO_NAVIGATION') OR (defined('ISSO_PRINTER_NO_NAVIGATION') AND constant('ISSO_PRINTER_NO_NAVIGATION') != true))) { echo BSRegister::GetType('PrinterNavigation')->generate_header_html(); } echo($this->_paintChildren()); if (BSRegister::GetDebug() AND isset($_GET['query'])) { ob_clean(); ob_end_clean(); if (is_array($this->registry->modules[ISSO_DB_LAYER]->history)) { foreach ($this->registry->modules[ISSO_DB_LAYER]->history AS $query) { echo $this->registry->modules[ISSO_DB_LAYER]->construct_query_debug($query); } } exit; } if (BSRegister::GetType('PrinterNavigation') AND (!defined('ISSO_PRINTER_NO_NAVIGATION') OR (defined('ISSO_PRINTER_NO_NAVIGATION') AND constant('ISSO_PRINTER_NO_NAVIGATION') != true))) { echo BSRegister::GetType('PrinterNavigation')->generate_footer_html(); } $copyright = "\n
\n

\n\t" . BSRegister::GetApplication() . ' ' . BSRegister::GetAppVersion() . ", ©2002 - " . gmdate('Y') . " Blue Static\n

"; if (!defined('ISSO_PRINTER_HIDE_SETUP')) { echo("\n$copyright"); //echo $this->registry->construct_debug_block(false); } echo("\n\n\n"); // exit; } } /*=====================================================================* || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>