X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/bf5e13802a852ae3d121bb9a88237e9f1da2c33f..556d7550dd118fcf4d4ad9944c506b1d73d51d03:/lib/MECON/Marco.php?ds=sidebyside diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php index 9f1a24c..6bae9f7 100644 --- a/lib/MECON/Marco.php +++ b/lib/MECON/Marco.php @@ -36,9 +36,9 @@ require_once 'HTML/Page.php'; require_once 'HTML/Table.php'; //Defino los directorios por default -define ('DIR_IMAGENES' , '/www/images'); -define ('DIR_ESTILOS' , '/www/css'); -define ('DIR_JS' , '/www/js'); +define ('DIR_IMAGENES' , 'images'); +define ('DIR_ESTILOS' , 'css'); +define ('DIR_JS' , 'js'); define ('DIR_WWW' , 'www'); define ('DIR_CACHE' , '/tmp'); // @@ -140,7 +140,6 @@ class Marco extends HTML_Page { $this->_menu = new MenuPrincipal ($this->_configuracion); $this->_pie = new Pie ($this->_configuracion); $this->_contenido = array (); - $this->_contenido[] = '
'; $this->_titulo2 = ''; } @@ -275,7 +274,6 @@ class Marco extends HTML_Page { */ function _body_display() // ~X2C { - $this->_contenido[] = '
 '; $body = array ( 'copete' => $this->_copete->toHtml(), 'body' => $this->_contenido, 'pie' => $this->_pie->toHtml(), @@ -296,10 +294,10 @@ class Marco extends HTML_Page { */ function addTitle($titulo) // ~X2C { - $this->_titulo2 = ' - '.$titulo; + $this->_titulo2.= ' - '.$titulo; } // -X2C } // -X2C Class :Marco -?> \ No newline at end of file +?>