summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/propiedades
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-06-01 18:01:54 +0200
committerRamón M. Gómez <ramongomez@us.es>2020-06-01 18:22:33 +0200
commit34f40d6cc0ee6e8dff503da93ce4b61b13cd5d88 (patch)
treef91dcfe2364d76e3967c6e01fa47696ca5a3b156 /admin/WebConsole/propiedades
parent994e4133f431fc1bbfcd3f2f76f92a09ecda541d (diff)
parent2421c50ddfcca9b32385eb139e83edbb50bdd883 (diff)
#944: Merge branch 'labgrid'
Diffstat (limited to 'admin/WebConsole/propiedades')
-rw-r--r--admin/WebConsole/propiedades/propiedades_ordenadores.php32
1 files changed, 29 insertions, 3 deletions
diff --git a/admin/WebConsole/propiedades/propiedades_ordenadores.php b/admin/WebConsole/propiedades/propiedades_ordenadores.php
index e00f33ee..6e7c60c2 100644
--- a/admin/WebConsole/propiedades/propiedades_ordenadores.php
+++ b/admin/WebConsole/propiedades/propiedades_ordenadores.php
@@ -26,6 +26,8 @@ $idordenador=0;
$ordprofesor=false;
$nombreordenador="";
$numserie="";
+$n_row=0;
+$n_col=0;
$ip="";
$mac="";
$idperfilhard=0;
@@ -99,7 +101,7 @@ function abrir_ventana(URL){
$fotomenu=$fotoordenador;
$dirfotos="../images/fotos";
?>
- <td colspan="2" valign="top" align="left" rowspan="4">
+ <td colspan="2" valign="top" align="left" rowspan="5">
<img border="2" style="border-color:#63676b" src="<?php echo $dirfotos.'/'.$fotoordenador?>" />
<?php if ($opcion!=$op_eliminacion) {
echo '<br />(150X110)-(jpg - gif - png) ---- '.$TbMsg[5091].'><br />';
@@ -128,7 +130,7 @@ function abrir_ventana(URL){
</tr>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<tr>
- <th align="center">&nbsp;<?php echo $TbMsg["PROP_SERIALNO"]?>&nbsp;</th>
+ <th align="center">&nbsp;<?php echo $TbMsg["LABEL_SERIALNO"]?>&nbsp;</th>
<?php if ($opcion==$op_eliminacion) {
echo '<td>'.(isset($numserie)?$numserie:$TbMsg["WARN_NOTDETECTED"]).'</td>';
} else {
@@ -140,6 +142,27 @@ function abrir_ventana(URL){
}
?>
</tr>
+<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
+ <tr>
+ <th align="center">&nbsp;<?php echo $TbMsg["LABEL_LOCATION"] ?>&nbsp;</th>
+ <?php if ($opcion==$op_eliminacion) {
+ echo '<td>'.$n_row.', '.$n_col.'</td>';
+ } else {
+ echo "<td>\n";
+ $row="0=".$TbMsg["VAL_UNSPECIFIED"].chr(13);
+ foreach (range(1, 15) as $n) {
+ $row.="$n=".$TbMsg["PROP_ROW"]." $n".chr(13);
+ }
+ echo HTMLCTESELECT($row,"n_row","estilodesple","",$n_row,100);
+ $col="0=".$TbMsg["VAL_UNSPECIFIED"].chr(13);
+ foreach (range(1, 15) as $n) {
+ $col.="$n=".$TbMsg["PROP_COLUMN"]." $n".chr(13);
+ }
+ echo HTMLCTESELECT($col,"n_col","estilodesple","",$n_col,100);
+ echo "</td>\n";
+ }
+ ?>
+ </tr>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
<th align=center>&nbsp;<?php echo $TbMsg[509]?>&nbsp;</th>
@@ -355,6 +378,8 @@ function TomaPropiedades($cmd,$id){
global $ordprofesor;
global $nombreordenador;
global $numserie;
+ global $n_row;
+ global $n_col;
global $ip;
global $mac;
global $fotoordenador;
@@ -400,7 +425,8 @@ EOD;
$paginavalidacion=$rs->campos["paginavalidacion"];
########################### Ramón
$arranque=$rs->campos["arranque"];
-
+ $n_row=$rs->campos["n_row"];
+ $n_col=$rs->campos["n_col"];
$rs->Cerrar();
return(true);
}