X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/53e18344699b0c7545128534f757e4d4f3ec639f..acd5bb16fb991f217e8115fcfa215eec1979bf50:/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 fd11a0a..5294057 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 @@ -75,5 +79,20 @@ class HTML_DietMarco extends HTML_Page { } // -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 Class :HTML_DietMarco -?> \ No newline at end of file +?>