X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/3160012cdccbdc9fa1743e66da33b699504d5c84..eb86d04858357c87d5d7a7e3cb528ef24949b725:/sistema/local_lib/HTML_DietMarco.php?ds=sidebyside diff --git a/sistema/local_lib/HTML_DietMarco.php b/sistema/local_lib/HTML_DietMarco.php index a0ec461..fd11a0a 100644 --- a/sistema/local_lib/HTML_DietMarco.php +++ b/sistema/local_lib/HTML_DietMarco.php @@ -38,50 +38,9 @@ require_once 'HTML/Page.php'; * @access public */ class HTML_DietMarco extends HTML_Page { - /** - * @var int $body - * @access public - */ - var $body; - - /** - * @var int $title - * @access public - */ - var $title; - - /** - * @var int $copete - * @access public - */ - var $copete; - // ~X2C - // +X2C Operation 155 - /** - * @return void - * @access public - */ - function toHTML() // ~X2C - { - $html =& $this->copete->toHTML(); - return $html; - } - // -X2C - // +X2C Operation 156 - /** - * @param int $body - * - * @return void - * @access public - */ - function addBody($body) // ~X2C - { - $this->body[] = $body - } - // -X2C // +X2C Operation 157 /** @@ -92,7 +51,7 @@ class HTML_DietMarco extends HTML_Page { */ function addTitle($title) // ~X2C { - trigger_error('Not implemented!', E_USER_WARNING); + $this->_title .= ' - '.$title; } // -X2C @@ -105,9 +64,14 @@ class HTML_DietMarco extends HTML_Page { */ function HTML_DietMarco($seccion) // ~X2C { - $this->title = 'Intranet bla bla..'; - $this->copete = new HTML_Copete($seccion); - $this->body = array(); + parent::HTML_Page(array ('doctype'=>'HTML 4.01 Transitional', + 'charset' => 'iso-8859-1', + 'lineend' => 'unix', + 'language' => 'es', + 'cache' => 'false', + 'simple' => 'true')); + $this->_title = 'Intranet bla bla..'; + $this->addBodyContent(new HTML_Copete($seccion)); } // -X2C