summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/images
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2012-03-15 13:52:22 +0000
committeririna <irinagomez@us.es>2012-03-15 13:52:22 +0000
commit23078868a3aebecf9edca5c77123a2d8b0f51515 (patch)
tree2a1513989e5f058441205d8c2ecd966f40aee55c /admin/WebConsole/images
parent203691d78561434768b770cc8577d104838d0303 (diff)
version 1.0.4 #245 Internacionalizacion: botones acceptar y gestion iconos
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2897 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/images')
-rw-r--r--admin/WebConsole/images/M_Iconos.php51
-rw-r--r--admin/WebConsole/images/boton_aceptar_cat.gifbin0 -> 397 bytes
-rw-r--r--admin/WebConsole/images/boton_aceptar_eng.gifbin0 -> 367 bytes
-rw-r--r--admin/WebConsole/images/boton_aceptar_esp.gifbin0 -> 397 bytes
-rw-r--r--admin/WebConsole/images/boton_cancelar_cat.gifbin0 -> 653 bytes
-rw-r--r--admin/WebConsole/images/boton_cancelar_eng.gifbin0 -> 554 bytes
-rw-r--r--admin/WebConsole/images/boton_cancelar_esp.gifbin0 -> 653 bytes
-rw-r--r--admin/WebConsole/images/boton_cerrar.gifbin175 -> 320 bytes
-rw-r--r--admin/WebConsole/images/boton_cerrar_cat.gifbin0 -> 320 bytes
-rw-r--r--admin/WebConsole/images/boton_cerrar_eng.gifbin0 -> 175 bytes
-rw-r--r--admin/WebConsole/images/boton_cerrar_esp.gifbin0 -> 320 bytes
-rw-r--r--admin/WebConsole/images/boton_confirmar_cat.gifbin0 -> 573 bytes
-rw-r--r--admin/WebConsole/images/boton_confirmar_eng.gifbin0 -> 588 bytes
-rw-r--r--admin/WebConsole/images/boton_confirmar_esp.gifbin0 -> 573 bytes
-rw-r--r--admin/WebConsole/images/boton_insertar_cat.gifbin0 -> 462 bytes
-rw-r--r--admin/WebConsole/images/boton_insertar_eng.gifbin0 -> 451 bytes
-rw-r--r--admin/WebConsole/images/boton_insertar_esp.gifbin0 -> 462 bytes
-rw-r--r--admin/WebConsole/images/login_cat.jpgbin0 -> 85838 bytes
18 files changed, 26 insertions, 25 deletions
diff --git a/admin/WebConsole/images/M_Iconos.php b/admin/WebConsole/images/M_Iconos.php
index 824f6cda..98019e54 100644
--- a/admin/WebConsole/images/M_Iconos.php
+++ b/admin/WebConsole/images/M_Iconos.php
@@ -14,6 +14,7 @@ include_once("../includes/TomaDato.php");
include_once("../includes/HTMLCTESELECT.php");
include_once("../clases/SockHidra.php");
include_once("../includes/FicherosPost.php");
+include_once("../idiomas/php/".$idioma."/iconos_".$idioma.".php");
//-------------------------------------------------------------------------------------------------------------------------------------------------
// Captura de parámetros
//-------------------------------------------------------------------------------------------------------------------------------------------------
@@ -82,7 +83,7 @@ if($accion==$INSERTAR_REGISTRO || $accion==$MODIFICAR_REGISTRO){
$NombreFicheroPost_urlicono = $HTTP_POST_FILES['urlicono']['tmp_name'];
$tamano_archivo = $HTTP_POST_FILES['urlicono']['size'];
if($tamano_archivo>100000){
- $msg="El tamaño del archivo no corresponde con los límites permitidos, debe ser mayor que 0 y menor de 100 KB";
+ $msg='$TbMsg["MSG_SIZE_FILE"]';
IncializaCampos();
$opcion=$INSERTAR;
$accion=$SIN_ACCION;
@@ -91,7 +92,7 @@ if($accion==$INSERTAR_REGISTRO || $accion==$MODIFICAR_REGISTRO){
if(!SalvaFichero_POST($UrlPagina,$NombreFicheroPost_urlicono,$NombreFichero_urlicono,&$UrlFichero_urlicono))
Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D.
else{
- $msg="Se ha enviado al servidor web el fichero de Icono, correctamente";
+ $msg='$TbMsg["SUCCESS_SEND"]';
$cmd->ParamSetValor("@urlicono",basename($UrlFichero_urlicono));
}
}
@@ -112,7 +113,7 @@ if($accion==$INSERTAR_REGISTRO || $accion==$MODIFICAR_REGISTRO){
if(!EliminaFichero($UrlPagina,$filebaja_urlicono))
Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D.
else
- $msg="Se ha sustituido del servidor web el fichero de Icono, correctamente";
+ $msg='$TbMsg["SUCCESS_UPDATE"]';
}
}
else{
@@ -141,7 +142,7 @@ if($accion==$INSERTAR_REGISTRO || $accion==$MODIFICAR_REGISTRO){
if(!EliminaFichero($UrlPagina,$filebaja_urlicono))
Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D.
else
- $msg="Se ha eliminado del servidor web el fichero de Icono, correctamente";
+ $msg='$TbMsg["SUCCESS_DELETE"]';
}
IncializaCampos();
$opcion=$INSERTAR;
@@ -187,31 +188,31 @@ if($accion==$INSERTAR_REGISTRO || $accion==$MODIFICAR_REGISTRO){
<input name="fileexist_urlicono" type="hidden" value="<? echo $urlicono?>">
<!--------------------------------------------------------------------------------------------------------------------------------------------------->
<DIV align=center id="Layer_Datos">
- <P class=cabeceras>Iconos<BR>
- <SPAN class="subcabeceras"><?=$mopciones[$opcion]?></SPAN></P>
- <P align="center"><SPAN class=textos>____ Datos de Iconos ____</SPAN></P>
+ <P class=cabeceras><? echo $TbMsg["TITLE"] ?><BR>
+ <SPAN class="subcabeceras"><? echo $TbMsg["$mopciones[$opcion]"] ?></SPAN></P>
+ <P align="center"><SPAN class=textos><? echo $TbMsg["TABLE_TITLE"] ?></SPAN></P>
<TABLE class="tabla_datos" align="center">
<!--------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH>&nbsp;Tipo&nbsp;</TH>
+ <TH>&nbsp;<? echo $TbMsg["TYPE"] ?> &nbsp;</TH>
<?if ($opcion==$CONSULTAR || $opcion==$ELIMINAR){?>
<TD><?
- $TBtipo[1]="Iconos web";
- $TBtipo[2]="Iconos items";
- $TBtipo[3]="Fondo menu";
+ $TBtipo[1]=$TbMsg["TYPE_WEB"];
+ $TBtipo[2]=$TbMsg["TYPE_ITEMS"];
+ $TBtipo[3]=$TbMsg["TYPE_MENU"];
echo $TBtipo[$idtipoicono];
}else{
- $parametros="0=".chr(13);
- $parametros.="1=iconos web".chr(13);
- $parametros.="2=iconos items".chr(13);
- $parametros.="3=Fondo menu";
+ $parametros='0='.chr(13);
+ $parametros.=$TbMsg["SELECT_WEB"].chr(13);
+ $parametros.=$TbMsg["SELECT_ITEMS"].chr(13);
+ $parametros.=$TbMsg["SELECT_MENU"];
echo '<TD>'.HTMLCTESELECT($parametros, "idtipoicono","estilodesple","",$idtipoicono,100).'</TD>';
}?>
</TR>
<!-------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH>&nbsp;Descripcion&nbsp;</TH>
+ <TH>&nbsp;<? echo $TbMsg["DESCRIP"] ?> &nbsp;</TH>
<?if ($opcion==$CONSULTAR || $opcion==$ELIMINAR){?>
<TD><?echo $descripcion?></TD>
<?}else{?>
@@ -221,22 +222,22 @@ if($accion==$INSERTAR_REGISTRO || $accion==$MODIFICAR_REGISTRO){
<!--------------------------------------------------------------------------------------------------------------------------------------------------->
<?if ($opcion==$CONSULTAR || $opcion==$ELIMINAR){?>
<TR>
- <TH>&nbsp;Icono&nbsp;</TH>
+ <TH>&nbsp; <? echo $TbMsg["ICON"] ?> &nbsp;</TH>
<TD><?echo basename($urlicono)?></TD>
</TR>
<?}else{
if ($opcion==$INSERTAR || ($opcion==$MODIFICAR && empty($urlicono))){?>
<TR>
- <TH>&nbsp;Icono&nbsp;</TH>
+ <TH>&nbsp; <? echo $TbMsg["ICON"] ?> &nbsp;</TH>
<TD><INPUT type=file class=cajatexto name="urlicono" style="width:500" value="<? echo $urlicono?>">
</TR>
<?}else{?>
<TR>
- <TH>&nbsp;Icono&nbsp;</TH>
+ <TH>&nbsp; <? echo $TbMsg["ICON"] ?> &nbsp;</TH>
<TD><?echo basename($urlicono)?></TD>
</TR>
<TR>
- <TH>&nbsp;Sustituir Fichero&nbsp;</TH>
+ <TH>&nbsp; <? echo $TbMsg["REPLACE"] ?> &nbsp;</TH>
<TD><INPUT type=file class=cajatexto name="urlicono" style="width:500" value="<? echo $urlicono?>">
</TR>
<?}?>
@@ -252,15 +253,15 @@ if($accion==$INSERTAR_REGISTRO || $accion==$MODIFICAR_REGISTRO){
<TR>
<?switch($opcion){
case $CONSULTAR:
- echo '<TD><img style="cursor:hand" SRC="../images/boton_insertar.gif" onclick="Cancelar()"></TD>';
+ echo '<TD><img style="cursor:hand" SRC="../images/boton_insertar_'.$idioma.'.gif" onclick="Cancelar()"></TD>';
break;
case $ELIMINAR:
- echo '<TD><img SRC="../images/boton_confirmar.gif" style="cursor:hand" onclick="Confirmar()"></TD>';
- echo '<TD><img SRC="../images/boton_cancelar.gif" style="cursor:hand" onclick="Cancelar()"></TD>';
+ echo '<TD><img SRC="../images/boton_confirmar_'.$idioma.'.gif" style="cursor:hand" onclick="Confirmar()"></TD>';
+ echo '<TD><img SRC="../images/boton_cancelar_'.$idioma.'.gif" style="cursor:hand" onclick="Cancelar()"></TD>';
break;
default:
- echo '<TD><img style="cursor:hand" SRC="../images/boton_confirmar.gif" onclick="Confirmar()"></TD>';
- echo '<TD><img style="cursor:hand" SRC="../images/boton_cancelar.gif" onclick="Cancelar()"></TD>';
+ echo '<TD><img style="cursor:hand" SRC="../images/boton_confirmar_'.$idioma.'.gif" onclick="Confirmar()"></TD>';
+ echo '<TD><img style="cursor:hand" SRC="../images/boton_cancelar_'.$idioma.'.gif" onclick="Cancelar()"></TD>';
break;
}?>
</TR>
diff --git a/admin/WebConsole/images/boton_aceptar_cat.gif b/admin/WebConsole/images/boton_aceptar_cat.gif
new file mode 100644
index 00000000..f44edbab
--- /dev/null
+++ b/admin/WebConsole/images/boton_aceptar_cat.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_aceptar_eng.gif b/admin/WebConsole/images/boton_aceptar_eng.gif
new file mode 100644
index 00000000..d85916b5
--- /dev/null
+++ b/admin/WebConsole/images/boton_aceptar_eng.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_aceptar_esp.gif b/admin/WebConsole/images/boton_aceptar_esp.gif
new file mode 100644
index 00000000..f44edbab
--- /dev/null
+++ b/admin/WebConsole/images/boton_aceptar_esp.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_cancelar_cat.gif b/admin/WebConsole/images/boton_cancelar_cat.gif
new file mode 100644
index 00000000..95e3bd7f
--- /dev/null
+++ b/admin/WebConsole/images/boton_cancelar_cat.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_cancelar_eng.gif b/admin/WebConsole/images/boton_cancelar_eng.gif
new file mode 100644
index 00000000..b57c1c88
--- /dev/null
+++ b/admin/WebConsole/images/boton_cancelar_eng.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_cancelar_esp.gif b/admin/WebConsole/images/boton_cancelar_esp.gif
new file mode 100644
index 00000000..95e3bd7f
--- /dev/null
+++ b/admin/WebConsole/images/boton_cancelar_esp.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_cerrar.gif b/admin/WebConsole/images/boton_cerrar.gif
index a989c567..f7da1b8a 100644
--- a/admin/WebConsole/images/boton_cerrar.gif
+++ b/admin/WebConsole/images/boton_cerrar.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_cerrar_cat.gif b/admin/WebConsole/images/boton_cerrar_cat.gif
new file mode 100644
index 00000000..f7da1b8a
--- /dev/null
+++ b/admin/WebConsole/images/boton_cerrar_cat.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_cerrar_eng.gif b/admin/WebConsole/images/boton_cerrar_eng.gif
new file mode 100644
index 00000000..a989c567
--- /dev/null
+++ b/admin/WebConsole/images/boton_cerrar_eng.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_cerrar_esp.gif b/admin/WebConsole/images/boton_cerrar_esp.gif
new file mode 100644
index 00000000..f7da1b8a
--- /dev/null
+++ b/admin/WebConsole/images/boton_cerrar_esp.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_confirmar_cat.gif b/admin/WebConsole/images/boton_confirmar_cat.gif
new file mode 100644
index 00000000..bee63151
--- /dev/null
+++ b/admin/WebConsole/images/boton_confirmar_cat.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_confirmar_eng.gif b/admin/WebConsole/images/boton_confirmar_eng.gif
new file mode 100644
index 00000000..b0e33488
--- /dev/null
+++ b/admin/WebConsole/images/boton_confirmar_eng.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_confirmar_esp.gif b/admin/WebConsole/images/boton_confirmar_esp.gif
new file mode 100644
index 00000000..bee63151
--- /dev/null
+++ b/admin/WebConsole/images/boton_confirmar_esp.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_insertar_cat.gif b/admin/WebConsole/images/boton_insertar_cat.gif
new file mode 100644
index 00000000..ccff6b08
--- /dev/null
+++ b/admin/WebConsole/images/boton_insertar_cat.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_insertar_eng.gif b/admin/WebConsole/images/boton_insertar_eng.gif
new file mode 100644
index 00000000..4da7dcca
--- /dev/null
+++ b/admin/WebConsole/images/boton_insertar_eng.gif
Binary files differ
diff --git a/admin/WebConsole/images/boton_insertar_esp.gif b/admin/WebConsole/images/boton_insertar_esp.gif
new file mode 100644
index 00000000..ccff6b08
--- /dev/null
+++ b/admin/WebConsole/images/boton_insertar_esp.gif
Binary files differ
diff --git a/admin/WebConsole/images/login_cat.jpg b/admin/WebConsole/images/login_cat.jpg
new file mode 100644
index 00000000..e9be8e20
--- /dev/null
+++ b/admin/WebConsole/images/login_cat.jpg
Binary files differ