diff options
author | irina <irinagomez@us.es> | 2012-03-15 13:52:22 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2012-03-15 13:52:22 +0000 |
commit | 23078868a3aebecf9edca5c77123a2d8b0f51515 (patch) | |
tree | 2a1513989e5f058441205d8c2ecd966f40aee55c /admin/WebConsole/images | |
parent | 203691d78561434768b770cc8577d104838d0303 (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')
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> Tipo </TH> + <TH> <? echo $TbMsg["TYPE"] ?> </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> Descripcion </TH> + <TH> <? echo $TbMsg["DESCRIP"] ?> </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> Icono </TH> + <TH> <? echo $TbMsg["ICON"] ?> </TH> <TD><?echo basename($urlicono)?></TD> </TR> <?}else{ if ($opcion==$INSERTAR || ($opcion==$MODIFICAR && empty($urlicono))){?> <TR> - <TH> Icono </TH> + <TH> <? echo $TbMsg["ICON"] ?> </TH> <TD><INPUT type=file class=cajatexto name="urlicono" style="width:500" value="<? echo $urlicono?>"> </TR> <?}else{?> <TR> - <TH> Icono </TH> + <TH> <? echo $TbMsg["ICON"] ?> </TH> <TD><?echo basename($urlicono)?></TD> </TR> <TR> - <TH> Sustituir Fichero </TH> + <TH> <? echo $TbMsg["REPLACE"] ?> </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 Binary files differnew file mode 100644 index 00000000..f44edbab --- /dev/null +++ b/admin/WebConsole/images/boton_aceptar_cat.gif diff --git a/admin/WebConsole/images/boton_aceptar_eng.gif b/admin/WebConsole/images/boton_aceptar_eng.gif Binary files differnew file mode 100644 index 00000000..d85916b5 --- /dev/null +++ b/admin/WebConsole/images/boton_aceptar_eng.gif diff --git a/admin/WebConsole/images/boton_aceptar_esp.gif b/admin/WebConsole/images/boton_aceptar_esp.gif Binary files differnew file mode 100644 index 00000000..f44edbab --- /dev/null +++ b/admin/WebConsole/images/boton_aceptar_esp.gif diff --git a/admin/WebConsole/images/boton_cancelar_cat.gif b/admin/WebConsole/images/boton_cancelar_cat.gif Binary files differnew file mode 100644 index 00000000..95e3bd7f --- /dev/null +++ b/admin/WebConsole/images/boton_cancelar_cat.gif diff --git a/admin/WebConsole/images/boton_cancelar_eng.gif b/admin/WebConsole/images/boton_cancelar_eng.gif Binary files differnew file mode 100644 index 00000000..b57c1c88 --- /dev/null +++ b/admin/WebConsole/images/boton_cancelar_eng.gif diff --git a/admin/WebConsole/images/boton_cancelar_esp.gif b/admin/WebConsole/images/boton_cancelar_esp.gif Binary files differnew file mode 100644 index 00000000..95e3bd7f --- /dev/null +++ b/admin/WebConsole/images/boton_cancelar_esp.gif diff --git a/admin/WebConsole/images/boton_cerrar.gif b/admin/WebConsole/images/boton_cerrar.gif Binary files differindex a989c567..f7da1b8a 100644 --- a/admin/WebConsole/images/boton_cerrar.gif +++ b/admin/WebConsole/images/boton_cerrar.gif diff --git a/admin/WebConsole/images/boton_cerrar_cat.gif b/admin/WebConsole/images/boton_cerrar_cat.gif Binary files differnew file mode 100644 index 00000000..f7da1b8a --- /dev/null +++ b/admin/WebConsole/images/boton_cerrar_cat.gif diff --git a/admin/WebConsole/images/boton_cerrar_eng.gif b/admin/WebConsole/images/boton_cerrar_eng.gif Binary files differnew file mode 100644 index 00000000..a989c567 --- /dev/null +++ b/admin/WebConsole/images/boton_cerrar_eng.gif diff --git a/admin/WebConsole/images/boton_cerrar_esp.gif b/admin/WebConsole/images/boton_cerrar_esp.gif Binary files differnew file mode 100644 index 00000000..f7da1b8a --- /dev/null +++ b/admin/WebConsole/images/boton_cerrar_esp.gif diff --git a/admin/WebConsole/images/boton_confirmar_cat.gif b/admin/WebConsole/images/boton_confirmar_cat.gif Binary files differnew file mode 100644 index 00000000..bee63151 --- /dev/null +++ b/admin/WebConsole/images/boton_confirmar_cat.gif diff --git a/admin/WebConsole/images/boton_confirmar_eng.gif b/admin/WebConsole/images/boton_confirmar_eng.gif Binary files differnew file mode 100644 index 00000000..b0e33488 --- /dev/null +++ b/admin/WebConsole/images/boton_confirmar_eng.gif diff --git a/admin/WebConsole/images/boton_confirmar_esp.gif b/admin/WebConsole/images/boton_confirmar_esp.gif Binary files differnew file mode 100644 index 00000000..bee63151 --- /dev/null +++ b/admin/WebConsole/images/boton_confirmar_esp.gif diff --git a/admin/WebConsole/images/boton_insertar_cat.gif b/admin/WebConsole/images/boton_insertar_cat.gif Binary files differnew file mode 100644 index 00000000..ccff6b08 --- /dev/null +++ b/admin/WebConsole/images/boton_insertar_cat.gif diff --git a/admin/WebConsole/images/boton_insertar_eng.gif b/admin/WebConsole/images/boton_insertar_eng.gif Binary files differnew file mode 100644 index 00000000..4da7dcca --- /dev/null +++ b/admin/WebConsole/images/boton_insertar_eng.gif diff --git a/admin/WebConsole/images/boton_insertar_esp.gif b/admin/WebConsole/images/boton_insertar_esp.gif Binary files differnew file mode 100644 index 00000000..ccff6b08 --- /dev/null +++ b/admin/WebConsole/images/boton_insertar_esp.gif diff --git a/admin/WebConsole/images/login_cat.jpg b/admin/WebConsole/images/login_cat.jpg Binary files differnew file mode 100644 index 00000000..e9be8e20 --- /dev/null +++ b/admin/WebConsole/images/login_cat.jpg |