X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/f1e8dd28b05b78b0992493d8508bddaab2bd13d6..a420f0a24fe60b19c139999a970efa9c85596752:/lib/MECON/Marco.php
diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php
index 4153536..575718e 100644
--- a/lib/MECON/Marco.php
+++ b/lib/MECON/Marco.php
@@ -43,10 +43,10 @@ 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,6 +140,7 @@ class Marco extends HTML_Page {
$this->_menu = new MenuPrincipal ($this->_configuracion);
$this->_pie = new Pie ($this->_configuracion);
$this->_contenido = array ();
+ $this->_contenido[] = '
';
$this->_titulo2 = '';
}
@@ -196,7 +197,7 @@ class Marco extends HTML_Page {
trigger_error('Es obligatorio ingresar el directorio root!', E_USER_ERROR);
}
if (!@$this->_configuracion['directorios']['imagenes']){
- $this->_configuracion['directorios']['imagenes'] = $this->_configuracion['directorio']['root'].'/'.DIR_IMAGENES;
+ $this->_configuracion['directorios']['imagenes'] = $this->_configuracion['directorios']['root'].'/'.DIR_IMAGENES;
}
if (!@$this->_configuracion['directorios']['estilos']){
$this->_configuracion['directorios']['estilos'] = $this->_configuracion['directorios']['root'].'/'.DIR_ESTILOS;
@@ -274,6 +275,7 @@ class Marco extends HTML_Page {
*/
function _body_display() // ~X2C
{
+ $this->_contenido[] = '
';
$body = array ( 'copete' => $this->_copete->toHtml(),
'body' => $this->_contenido,
'pie' => $this->_pie->toHtml(),