X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/c49c4882cf7f68c039797ec1fe9d2fb036597965..3608c37d4d11ce577e26c58a81d127c860b6d08f:/lib/MECON/Marco.php diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php index 0852c56..b96d016 100644 --- a/lib/MECON/Marco.php +++ b/lib/MECON/Marco.php @@ -41,10 +41,10 @@ define ('DIR_WWW' , 'www' ); define ('DIR_CACHE' , '/tmp' ); // //Defino las constantes -define ('SCRIPT_DIR_BASE', '/MECON/js/' ); -define ('ESTILO_DIR_BASE', '/MECON/css/' ); -define ('SCRIPT_GENERICO', 'general_script.js' ); -define ('ESTILO_GENERICO', 'general_estilos.css'); +define ('SCRIPT_DIR_BASE', '/MECON/js/' ); +define ('ESTILO_DIR_BASE', '/MECON/css/'); +define ('SCRIPT_GENERICO', 'marco.js' ); +define ('ESTILO_GENERICO', 'marco.css' ); // // +X2C Class 3 :MECON_Marco @@ -170,9 +170,6 @@ Si es un objeto debe tener un metodo toHtml y opcionalmente puede tener un getCS */ function addBody($body) // ~X2C { - if ((is_object($body)) && (method_exists($body, 'getcss'))) { - $this->addStyleSheet($body->getCSS()); - } $this->addBodyContent($body); } // -X2C