X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/3160012cdccbdc9fa1743e66da33b699504d5c84..d1deedb84f2094d50bf021ed51582fbf858fb7c4:/sistema/local_lib/HTML_DietMarco.php?ds=inline diff --git a/sistema/local_lib/HTML_DietMarco.php b/sistema/local_lib/HTML_DietMarco.php index a0ec461..ec9eded 100644 --- a/sistema/local_lib/HTML_DietMarco.php +++ b/sistema/local_lib/HTML_DietMarco.php @@ -1,7 +1,7 @@ copete->toHTML(); - return $html; + $this->_title .= ' - '.$title; } // -X2C - // +X2C Operation 156 + // +X2C Operation 158 /** - * @param int $body + * @param string $seccion + * @param string $titulo * * @return void * @access public */ - function addBody($body) // ~X2C + function HTML_DietMarco($seccion, $titulo) // ~X2C { - $this->body[] = $body + parent::HTML_Page(array ('doctype'=>'HTML 4.01 Transitional', + 'charset' => 'iso-8859-1', + 'lineend' => 'unix', + 'language' => 'es', + 'cache' => 'false', + 'simple' => 'true')); + $this->_title = 'Intranet XP'; + $copete =& new HTML_Copete($seccion); + $copete->setTitulo($titulo); + $this->addBodyContent($copete); } // -X2C - // +X2C Operation 157 + // +X2C Operation 168 /** - * @param int $title + * @param int $content * * @return void * @access public */ - function addTitle($title) // ~X2C + function addBodyContent($content) // ~X2C { - trigger_error('Not implemented!', E_USER_WARNING); + if(method_exists($content, 'getcss')) + $this->addStyleSheet($content->getCSS()); + parent::addBodyContent($content); } // -X2C - // +X2C Operation 158 + // +X2C Operation 179 /** - * @param string $seccion + * @param int $titulo * * @return void * @access public */ - function HTML_DietMarco($seccion) // ~X2C + function setTituloCopete($titulo) // ~X2C { - $this->title = 'Intranet bla bla..'; - $this->copete = new HTML_Copete($seccion); - $this->body = array(); } // -X2C