X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/759433afd1d046c486722a77b2e32e90ff0dc469..a46244b7b3a02d446a3034add0a2efcbfecf8fdf:/lib/MECON/Marco.php
diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php
index 0b0ead5..6bae9f7 100644
--- a/lib/MECON/Marco.php
+++ b/lib/MECON/Marco.php
@@ -36,17 +36,17 @@ 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');
//
//Defino las constantes
-define ('SCRIPT_DIR_BASE' , '/www/js/');
-define ('ESTILO_DIR_BASE' , '/www/css/');
-define ('SCRIPT_GENERICO' , 'script.js');
-define ('ESTILO_GENERICO' , 'estilos.css');
+define ('SCRIPT_DIR_BASE' , '/MECON/js/');
+define ('ESTILO_DIR_BASE' , '/MECON/css/');
+define ('SCRIPT_GENERICO' , 'general_script.js');
+define ('ESTILO_GENERICO' , 'general_estilos.css');
//
// +X2C Class 3 :Marco
@@ -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