From: Gonzalo Merayo Date: Tue, 24 Jun 2003 18:32:14 +0000 (+0000) Subject: - Se cambiaron los nombres y ubicaciones de los archivos genericos (imagenes, estilos... X-Git-Tag: svn_import~455 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/a72f9aa39abfcdf716559d2a295c7e68f6ca571b - Se cambiaron los nombres y ubicaciones de los archivos genericos (imagenes, estilos y js). --- diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php index 0b0ead5..4e38125 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 diff --git a/lib/MECON/Marco/Imagen.php b/lib/MECON/Marco/Imagen.php index 8e6c5f4..7ad5373 100644 --- a/lib/MECON/Marco/Imagen.php +++ b/lib/MECON/Marco/Imagen.php @@ -77,7 +77,7 @@ class Imagen { $this->_imgComun = $directorio.'/'.$imagen; } else { - $this->_imgComun = '/www/images/'.$imagen; + $this->_imgComun = '/MECON/images/'.$imagen; } $this->_alt = $imagen; $this->_directorio = $directorio; diff --git a/lib/MECON/Marco/ImagenAnimada.php b/lib/MECON/Marco/ImagenAnimada.php index fbdd28c..b15f4f9 100644 --- a/lib/MECON/Marco/ImagenAnimada.php +++ b/lib/MECON/Marco/ImagenAnimada.php @@ -78,14 +78,14 @@ class ImagenAnimada extends Imagen { $this->_imgMouseOn = $directorio.'/'.$imagenMouseOn; } else { - $this->_imgMouseOn = '/www/images/'.$imagenMouseOn; + $this->_imgMouseOn = '/MECON/images/'.$imagenMouseOn; } } elseif (is_readable($_SERVER['DOCUMENT_ROOT'].$directorio.'/'.$imagenComun.'_f2.gif')) { $this->_imgMouseOn = $directorio.'/'.$imagenComun.'_f2'; } else { - $this->_imgMouseOn = '/www/images/'.$imagenComun.'_f2'; + $this->_imgMouseOn = '/MECON/images/'.$imagenComun.'_f2'; } if (!is_null($imagenSelect) && $imagenSelect != ''){ @@ -93,14 +93,14 @@ class ImagenAnimada extends Imagen { $this->_imgSelect = $directorio.'/'.$imagenSelect; } else { - $this->_imgSelect = '/www/images/'.$imagenSelect; + $this->_imgSelect = '/MECON/images/'.$imagenSelect; } } elseif (is_readable($_SERVER['DOCUMENT_ROOT'].$directorio.'/'.$imagenComun.'_f3.gif')) { $this->_imgSelect = $directorio.'/'.$imagenComun.'_f3'; } else { - $this->_imgSelect = '/www/images/'.$imagenComun.'_f3'; + $this->_imgSelect = '/MECON/images/'.$imagenComun.'_f3'; } } } diff --git a/lib/MECON/Marco/MenuVertical.php b/lib/MECON/Marco/MenuVertical.php index 7e91148..16a4848 100644 --- a/lib/MECON/Marco/MenuVertical.php +++ b/lib/MECON/Marco/MenuVertical.php @@ -75,13 +75,13 @@ class MenuVertical extends Menu { $this->_armarArraySecciones($tmp); $TABLA = new HTML_Table('width=160 align="left" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0" height="1"'); - $menu =' '.$titulo.''; + $menu =' '.$titulo.''; $row = array ($menu); $TABLA->addRow($row,'align="left" bgcolor="#FFFFFF" height="1"'); $TABLA->updateCellAttributes(0,0,'colspan="2"'); foreach ($this->_componentesVertical as $comp) { - $row = array ('',' '); + $row = array ('',' '); $TABLA->addRow($row); $TABLA->addRow($comp,'align="left" bgcolor="#FFFFFF" height="1"'); $TABLA->updateColAttributes(0,'align="right" width="34"'); diff --git a/lib/MECON/Marco/Seccion.php b/lib/MECON/Marco/Seccion.php index 19c1712..4d3b060 100644 --- a/lib/MECON/Marco/Seccion.php +++ b/lib/MECON/Marco/Seccion.php @@ -272,18 +272,18 @@ Devuelve 1 si pertenece a la seccion, en caso contrario 0. $sec = array (); if ($this->verifSeccionSeleccionada($link_sel)) { if ($ultimo) { - $sec[] = $link_start.''.$link_end; + $sec[] = $link_start.''.$link_end; } else { - $sec[] = $link_start.''.$link_end; + $sec[] = $link_start.''.$link_end; } } else { if ($ultimo) { - $sec[] = $link_start.''.$link_end; + $sec[] = $link_start.''.$link_end; } else { - $sec[] = $link_start.''.$link_end; + $sec[] = $link_start.''.$link_end; } }