X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/53e18344699b0c7545128534f757e4d4f3ec639f..daa75f7b88ce0276032b259cf65ab2c1985a2edd:/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 fd11a0a..e76d275 100644 --- a/sistema/local_lib/HTML_DietMarco.php +++ b/sistema/local_lib/HTML_DietMarco.php @@ -27,6 +27,10 @@ // $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $ // +session_start();//FIXME esto va en algun otro lado... + +define('PATH_RAIZ','/sistemas/intranet/'); + require_once 'HTML_Copete.php'; // +X2C includes @@ -62,7 +66,7 @@ class HTML_DietMarco extends HTML_Page { * @return void * @access public */ - function HTML_DietMarco($seccion) // ~X2C + function HTML_DietMarco($seccion, $titulo) // ~X2C { parent::HTML_Page(array ('doctype'=>'HTML 4.01 Transitional', 'charset' => 'iso-8859-1', @@ -70,10 +74,39 @@ class HTML_DietMarco extends HTML_Page { 'language' => 'es', 'cache' => 'false', 'simple' => 'true')); - $this->_title = 'Intranet bla bla..'; - $this->addBodyContent(new HTML_Copete($seccion)); + $this->_title = 'Intranet XP'; + $copete =& new HTML_Copete($seccion); + $copete->setTitulo($titulo); + $this->addBodyContent($copete); + } + // -X2C + + // +X2C Operation 168 + /** + * @param int $content + * + * @return void + * @access public + */ + function addBodyContent($content) // ~X2C + { + if(method_exists($content, 'getcss')) + $this->addStyleSheet($content->getCSS()); + parent::addBodyContent($content); + } + // -X2C + + // +X2C Operation 179 + /** + * @param int $titulo + * + * @return void + * @access public + */ + function setTituloCopete($titulo) // ~X2C + { } // -X2C } // -X2C Class :HTML_DietMarco -?> \ No newline at end of file +?>