diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2019-02-05 16:00:57 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-02-05 16:00:57 +0100 |
commit | e32794a35463c64d133eec3a879d9e1ee2de3a06 (patch) | |
tree | 4566b38fa3dd68b8d2d0f05d13ea42c2a85d23b8 /admin/WebConsole/comandos/EliminarImagenRepositorio.php | |
parent | a7406f2d0506a289ac28dd7ec92401ba27698c5b (diff) |
#834: Fixing more code cleanup: file encoding, CSS units, HTML tags, and trailing spaces.
Diffstat (limited to 'admin/WebConsole/comandos/EliminarImagenRepositorio.php')
-rw-r--r-- | admin/WebConsole/comandos/EliminarImagenRepositorio.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/admin/WebConsole/comandos/EliminarImagenRepositorio.php b/admin/WebConsole/comandos/EliminarImagenRepositorio.php index 7131415d..5708679c 100644 --- a/admin/WebConsole/comandos/EliminarImagenRepositorio.php +++ b/admin/WebConsole/comandos/EliminarImagenRepositorio.php @@ -263,10 +263,10 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> <?php if ($espaciorepo != ""){?> <TR> - <TH align=center> <?php echo $TbMsg[18]?> </TD> - <TH align=center> <?php echo $TbMsg[19]?> </TD> - <TH align=center> <?php echo $TbMsg[20]?> </TD> - <TH align=center> <?php echo $TbMsg[21]?> </TD> + <TH align=center> <?php echo $TbMsg[18]?> </TH> + <TH align=center> <?php echo $TbMsg[19]?> </TH> + <TH align=center> <?php echo $TbMsg[20]?> </TH> + <TH align=center> <?php echo $TbMsg[21]?> </TH> </TR> <TR> <TD align=center width=110> <?php echo $totalrepo?> </TD> @@ -276,7 +276,7 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me </TR> <?php }else {?> <TR> - <TH align=center width=485> <?php echo $TbMsg[22]?> </TD> + <TH align=center width=485> <?php echo $TbMsg[22]?> </TH> </TR> <?php } ?> @@ -512,11 +512,11 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me if ($bustor<>"") { - echo '<TD align=center><font color=red><strong> '.$TbMsg[14].'</strong></TD>'.chr(13); + echo '<TD align=center><div style="color: red; font-weight: bold;"> '.$TbMsg[14].'</div></TD>'.chr(13); } elseif (file_exists($ficherodelete)) { - echo '<TD align=center><font color=red><strong> '.$TbMsg[15].'</strong></TD>'.chr(13);} + echo '<TD align=center><div style="color: red; font-weight: bold;"><div> '.$TbMsg[15].'</div></TD>'.chr(13);} else { echo '<TD align=center ><input type="checkbox" name="checkbox'.$contar.'" value="si"></TD>'.chr(13); @@ -525,11 +525,11 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me // ########## Tipo #################################################################### if ($tipo[$contandotipo]=="D") { - echo '<TD align=center ><font color=blue>'.$tipo[$contandotipo].'</TD>'.chr(13); + echo '<TD align=center ><div style="color: blue;">'.$tipo[$contandotipo].'</div></TD>'.chr(13); } elseif ($tipo[$contandotipo]=="B") { - echo '<TD align=center><font color=red> '.$tipo[$contandotipo].' </TD>'.chr(13); + echo '<TD align=center><div style="color: red;"> '.$tipo[$contandotipo].' </div></TD>'.chr(13); }else{ echo '<TD align=center >'.$tipo[$contandotipo].'</TD>'.chr(13); } @@ -543,8 +543,8 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me // ########## Aviso si directorio distinto al del centro - en vista repositorio ########## $aviso=''; if ($separarogunit == 1) { - if ( $nombrecaidcentro != 0 and "/".$imgdir != $dircentros[$nombrecaidcentro]){ - $aviso="<font color=red> * </font>"; + if ( $nombrecaidcentro != 0 and "/".$imgdir != $dircentros[$nombrecaidcentro]){ + $aviso="<style=\"color: red;\"> * </div>"; $textoaviso="<tr>\n <th colspan='7' align='center'>". " <sup>*</sup> $TbMsg[33] </th>\n". "</tr>\n"; @@ -554,7 +554,7 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me // ########## Nombre de Imagen ######################################################## if ($tipo[$contandotipo]=="D") { - echo '<TD align=center><font color=blue> '.str_replace(":"," / ",$value).' '.$aviso.' </TD>'.chr(13); + echo '<TD align=center><div style="color: blue;"> '.str_replace(":"," / ",$value).' '.$aviso.' </div></TD>'.chr(13); } else { @@ -574,9 +574,9 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me } elseif (preg_match("/.ant/",$nombrefichero)) { - echo '<TD align=center><font color=red> ------</strong></TD>'.chr(13); + echo '<TD align=center><div style="color: red;"> ------</div></TD>'.chr(13); }else{ - echo '<TD align=center><font color=red> '.$TbMsg[25].'</strong></TD>'.chr(13); + echo '<TD align=center><div style="color: red;"> '.$TbMsg[25].'</div></TD>'.chr(13); } // VISTA REPOSITORIO COMPLETO if ($modov == 1){ @@ -621,4 +621,4 @@ function confirmeliminar() {var mensaje="<?php echo $TbMsg[17];?>";if(confirm(me </BODY> </HTML> -<?php } ?>
\ No newline at end of file +<?php } ?> |