\${h1(qq{$Lang{Admin_Options}})}
<br>
\${h2("Control del Servidor")}
-<form action="\$MyURL" method="get">
+<form name="ReloadForm" action="\$MyURL" method="get">
+<input type="hidden" name="action" value="">
<table class="tableStnd">
-<!--<tr><td>Para el servidor:<td><input type="submit" name="action" value="Stop">-->
- <tr><td>Actualizar configuración del servidor:<td><input type="submit" name="action" value="Reload">
+ <tr><td>Actualizar configuración del servidor:<td><input type="button" value="Reload"
+ onClick="document.ReloadForm.action.value='Reload';
+ document.ReloadForm.submit();">
</table>
</form>
<!--
<table class="tableStnd" border cellspacing="1" cellpadding="3">
\$paramStr
<tr>
- <td colspan=2><input type="submit" value="Start the Archive" name=""></td>
+ <td colspan=2><input type="submit" value="Start the Archive" name="ignore"></td>
</tr>
</form>
</table>
<p>
Va a hacer comenzar una copia de seguridad \$type en \$host.
-<form action="\$MyURL" method="get">
+<form name="Confirm" action="\$MyURL" method="get">
<input type="hidden" name="host" value="\$host">
<input type="hidden" name="hostIP" value="\$ipAddr">
<input type="hidden" name="doit" value="1">
+<input type="hidden" name="action" value="">
¿Realmente quiere hacer esto?
-<input type="submit" value="\$In{action}" name="action">
-<input type="submit" value="No" name="">
+<input type="button" value="\$buttonText"
+ onClick="document.Confirm.action.value='\$In{action}';
+ document.Confirm.submit();">
+<input type="submit" value="No" name="ignore">
</form>
EOF
# --------------------------------
<p>
Está a punto de parar/quitar de la cola las copias de seguridad en \$host;
-<form action="\$MyURL" method="get">
-<input type="hidden" name="host" value="\$host">
-<input type="hidden" name="doit" value="1">
+<form name="Confirm" action="\$MyURL" method="get">
+<input type="hidden" name="host" value="\$host">
+<input type="hidden" name="doit" value="1">
+<input type="hidden" name="action" value="">
Asimismo, por favor no empiece otra copia de seguridad durante
<input type="text" name="backoff" size="10" value="\$backoff"> horas.
<p>
¿Realmente quiere hacer esto?
-<input type="submit" value="\$In{action}" name="action">
-<input type="submit" value="No" name="">
+<input type="button" value="\$buttonText"
+ onClick="document.Confirm.action.value='\$In{action}';
+ document.Confirm.submit();">
+<input type="submit" value="No" name="ignore">
</form>
EOF
<td valign="top"><input type="text" size="40" maxlength="256"
value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td>
</tr><tr>
- <td><input type="submit" value="Start Restore" name=""></td>
+ <td><input type="submit" value="Start Restore" name="ignore"></td>
</table>
</form>
EOF
Compresión (0=desactivada, 1=rápida,...,9=máxima)
<input type="text" size="6" value="5" name="compressLevel">
<br>
-<input type="submit" value="Download Zip File" name="">
+<input type="submit" value="Download Zip File" name="ignore">
</form>
EOF
relativo a \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
(en caso contrario el archivo contendrá las rutas completas).
<br>
-<input type="submit" value="Download Tar File" name="">
+<input type="submit" value="Download Tar File" name="ignore">
</form>
EOF
\$fileListStr
</table>
-<form action="\$MyURL" method="post">
+<form name="RestoreForm" action="\$MyURL" method="post">
<input type="hidden" name="host" value="\${EscHTML(\$host)}">
<input type="hidden" name="hostDest" value="\${EscHTML(\$In{hostDest})}">
<input type="hidden" name="shareDest" value="\${EscHTML(\$In{shareDest})}">
<input type="hidden" name="pathHdr" value="\${EscHTML(\$In{pathHdr})}">
<input type="hidden" name="num" value="\$num">
<input type="hidden" name="type" value="4">
+<input type="hidden" name="action" value="">
\$hiddenStr
¿Realmente quiere hacer esto?
-<input type="submit" value="\$In{action}" name="action">
-<input type="submit" value="No" name="">
+<input type="button" value="\$Lang->{Restore}"
+ onClick="document.RestoreForm.action.value='Restore';
+ document.RestoreForm.submit();">
+<input type="submit" value="No" name="ignore">
</form>
EOF
</p>
\${h2("Acciones del Usuario")}
<p>
-<form action="\$MyURL" method="get">
-<input type="hidden" name="host" value="\$host">
+<form name="StartStopForm" action="\$MyURL" method="get">
+<input type="hidden" name="host" value="\$host">
+<input type="hidden" name="action" value="">
\$startIncrStr
-<input type="submit" value="$Lang{Start_Full_Backup}" name="action">
-<input type="submit" value="$Lang{Stop_Dequeue_Backup}" name="action">
+<input type="button" value="\$Lang->{Start_Full_Backup}"
+ onClick="document.StartStopForm.action.value='Start_Full_Backup';
+ document.StartStopForm.submit();">
+<input type="button" value="\$Lang->{Stop_Dequeue_Backup}"
+ onClick="document.StartStopForm.action.value='Stop_Dequeue_Backup';
+ document.StartStopForm.submit();">
</form>
</p>
\${h2("Resumen de Copia de Seguridad")}
\${h2("Acciones de usuario")}
<p>
-<form action="\$MyURL" method="get">
+<form name="StartStopForm" action="\$MyURL" method="get">
<input type="hidden" name="archivehost" value="\$host">
<input type="hidden" name="host" value="\$host">
-<input type="submit" value="$Lang{Start_Archive}" name="action">
-<input type="submit" value="$Lang{Stop_Dequeue_Archive}" name="action">
+<input type="hidden" name="action" value="">
+<input type="button" value="\$Lang->{Start_Archive}"
+ onClick="document.StartStopForm.action.value='Start_Archive';
+ document.StartStopForm.submit();">
+<input type="button" value="\$Lang->{Stop_Dequeue_Archive}"
+ onClick="document.StartStopForm.action.value='Stop_Dequeue_Archive';
+ document.StartStopForm.submit();">
</form>
\$ArchiveStr
<input type="hidden" name="host" value="\$host">
<input type="hidden" name="share" value="\${EscHTML(\$share)}">
<input type="hidden" name="fcbMax" value="\$checkBoxCnt">
-<input type="hidden" name="action" value="$Lang{Restore}">
+<input type="hidden" name="action" value="Restore">
<br>
<table width="100%">
<tr><td valign="top">
$Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF;
<li>Las copias de seguridad se retrasarán durante \$hours hours
-(<a href=\"\$MyURL?action=\${EscURI(\$Lang->{Stop_Dequeue_Archive})}&host=\$host\">Cambie este número</a>).
+(<a href=\"\$MyURL?action=Stop_Dequeue_Backup&host=\$host\">Cambie este número</a>).
EOF
$Lang{tryIP} = " y \$StatusHost{dhcpHostIP}";