X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/a72f9aa39abfcdf716559d2a295c7e68f6ca571b..03be513c148fa5a12a313476ca407e8a5265e2e8:/lib/MECON/Marco.php
diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php
index 4e38125..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,7 +294,7 @@ class Marco extends HTML_Page {
*/
function addTitle($titulo) // ~X2C
{
- $this->_titulo2 = ' - '.$titulo;
+ $this->_titulo2.= ' - '.$titulo;
}
// -X2C