diff options
author | ramon <ramongomez@us.es> | 2014-12-09 14:18:32 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-12-09 14:18:32 +0000 |
commit | de16f79997897632686c64aa4af3d3375a70a880 (patch) | |
tree | 01d2795d1b174d6a682338509bd4f8f088f5c485 /admin/WebConsole/propiedades/propiedades_imagenes.php | |
parent | a710997abaf0d49c1d6b33430c4636121fa9a698 (diff) |
#677: Indicar tipo de tabla de particiones y tipo de particiĆ³n en formulario de propiedades de imagen.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4454 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/propiedades/propiedades_imagenes.php')
-rw-r--r-- | admin/WebConsole/propiedades/propiedades_imagenes.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/admin/WebConsole/propiedades/propiedades_imagenes.php b/admin/WebConsole/propiedades/propiedades_imagenes.php index 86e9f288..9abad942 100644 --- a/admin/WebConsole/propiedades/propiedades_imagenes.php +++ b/admin/WebConsole/propiedades/propiedades_imagenes.php @@ -12,7 +12,8 @@ include_once("../includes/ctrlacc.php"); include_once("../clases/AdoPhp.php"); include_once("../includes/constantes.php"); include_once("../includes/opciones.php"); -include_once("../includes/CreaComando.php");include_once("../includes/HTMLSELECT.php"); +include_once("../includes/CreaComando.php"); +include_once("../includes/HTMLSELECT.php"); include_once("../includes/TomaDato.php"); include_once("../idiomas/php/".$idioma."/propiedades_imagenes_".$idioma.".php"); //________________________________________________________________________________________________________ @@ -165,10 +166,10 @@ if ( $opcion == 1 && $datospost == 1) <th align="center"> <?php echo $TbMsg[9]?> </th> <?php if ($opcion==$op_eliminacion || !empty($idperfilsoft)) - echo '<td>'.$tipopar.' - <INPUT type="hidden" name="codpar" value="'.$codpar.'"></TD>'; + echo '<td>'.$tipopar.' ('.$codpar.') + <input type="hidden" name="codpar" value="'.$codpar.'"></td>'; else - echo '<td>'.HTMLSELECT($cmd,0,'tipospar',$codpar,'codpar',"CONCAT(tipopar,' (',HEX(codpar),')')",170,"","","clonable=1").'</td>'; + echo '<td>'.HTMLSELECT($cmd,0,'tipospar',$codpar,'codpar',"CONCAT(CASE WHEN codpar BETWEEN 1 AND 255 THEN '1-MSDOS' WHEN codpar BETWEEN 256 AND 65535 THEN '2-GPT' ELSE codpar END,': ',tipopar,' (',HEX(codpar),')')",170,"","","clonable=1").'</td>'; ?> </tr> <!--------------------------------------------------------------------------------------> |