\${h1(qq{$Lang{Admin_Options}})}
<br>
\${h2("Controllo server")}
-<form action="\$MyURL" method="get">
+<form name="ReloadForm" action="\$MyURL" method="get">
+<input type="hidden" name="action" value="">
<table class="tableStnd">
-<!--<tr><td>Arresta il server:<td><input type="submit" name="action" value="Stop">-->
- <tr><td>Ricarica la configurazione del server:<td><input type="submit" name="action" value="Reload">
+ <tr><td>Ricarica la configurazione del server:<td><input type="button" value="Reload"
+ onClick="document.ReloadForm.action.value='Reload';
+ document.ReloadForm.submit();">
</table>
</form>
<!--
<td align="center"> Velocità (MB/s) </td>
<td align="center"> Incrementali </td>
<td align="center"> Età incrementali (giorni) </td>
+ <td align="center"> ENG Last Backup (days) </td>
<td align="center"> Stato </td>
<td align="center"> Ultimo tentativo </td></tr>
\$strGood
<td align="center"> Velocità (MB/s) </td>
<td align="center"> Incrementali </td>
<td align="center"> Età incrementali (giorni) </td>
+ <td align="center"> ENG Last Backup (days) </td>
<td align="center"> Stato </td>
<td align="center"> Ultimo tentativo </td></tr>
\$strNone
<table class="tableStnd" border cellspacing="1" cellpadding="3">
\$paramStr
<tr>
- <td colspan=2><input type="submit" value="Avvia archiviazione" name=""></td>
+ <td colspan=2><input type="submit" value="Avvia archiviazione" name="ignore"></td>
</tr>
</form>
</table>
<p>
Si sta per avviare un backup \$type per \$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="">
Avviare veramente?
-<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>
Si sta per arrestare/disaccodare i backup per \$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="">
Also, please don\'t start another backup for
<input type="text" name="backoff" size="10" value="\$backoff"> hours.
<p>
Arrestare veramente?
-<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
<input type="hidden" name="type" value="3">
\$hiddenStr
<input type="hidden" value="\$In{action}" name="action">
-<table border="0">
+<table class="tableStnd" border="0">
<tr>
<td>Ripristino dei file sull\'host</td>
<td><!--<input type="text" size="40" value="\${EscHTML(\$host)}"
<td valign="top"><input type="text" size="40" maxlength="256"
value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td>
</tr><tr>
- <td><input type="submit" value="Avvio ripristino" name=""></td>
+ <td><input type="submit" value="Avvio ripristino" name="ignore"></td>
</table>
</form>
EOF
Compressione (0=off, 1=fast,...,9=best)
<input type="text" size="6" value="5" name="compressLevel">
<br>
-<input type="submit" value="Scarica file zip" name="">
+<input type="submit" value="Scarica file zip" name="ignore">
</form>
EOF
l\'archivio relativamente a \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
(altrimenti l\'archivio conterrà percorsi completi).
<br>
-<input type="submit" value="Scarica file tar" name="">
+<input type="submit" value="Scarica file tar" name="ignore">
</form>
EOF
I file seguenti saranno ripristinati sulla condivisione \$In{shareDest}
dal backup numero \$num:
<p>
-<table border>
-<tr><td>File/directory originale</td><td>Ripristinato su</td></tr>
+<table class="tableStnd" border>
+<tr class="tableheader"><td>File/directory originale</td><td>Ripristinato su</td></tr>
\$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
Avviare veramente?
-<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("Azioni utente")}
<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>
\${h2("Prospetto backup")}
<p>
\${h2("Azioni utente")}
<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">
- <br><table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
+<tr><td valign="top" width="30%">
+ <table align="left" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
\$dirStr
</table>
</td><td width="3%">
</td><td valign="top">
<br>
- <table border="0" width="100%" align="left" cellpadding="3" cellspacing="1">
+ <table border width="100%" align="left" cellpadding="3" cellspacing="1">
\$fileHeader
\$topCheckAll
\$fileStr
\${h2("Cronologia di \${EscHTML(\$dirDisplay)}")}
<br>
-<table cellspacing="2" cellpadding="3">
+<table border cellspacing="2" cellpadding="3">
<tr class="fviewheader"><td>Numero backup</td>\$backupNumStr</tr>
<tr class="fviewheader"><td>Data backup</td>\$backupTimeStr</tr>
\$fileStr
$Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF;
<li>I backup sono stati posticipati per \$hours ore
-(<a href=\"\$MyURL?action=\${EscURI(\$Lang->{Stop_Dequeue_Archive})}&host=\$host\">modifica questo numero</a>).
+(<a href=\"\$MyURL?action=Stop_Dequeue_Backup&host=\$host\">modifica questo numero</a>).
EOF
$Lang{tryIP} = " e \$StatusHost{dhcpHostIP}";
$Lang{Reason_backup_canceled_by_user} = "backup annullato dall\'utente";
$Lang{Reason_restore_canceled_by_user} = "ripristino annullato dall\'utente";
$Lang{Reason_archive_canceled_by_user} = "archivio annullato dall\'utente";
+$Lang{Disabled_OnlyManualBackups} = "ENG auto disabled";
+$Lang{Disabled_AllBackupsDisabled} = "ENG disabled";
# ---------
# Email messages
\${h1("Host \$host Configuration Editor")}
<p>
Note: Check Override if you want to modify a value specific to this host.
+<p>
EOF
$Lang{CfgEdit_Button_Save} = "Save";
$Lang{CfgEdit_Button_Override} = "Override";
$Lang{CfgEdit_Button_New_Key} = "New Key";
+$Lang{CfgEdit_Error_No_Save}
+ = "ENG Error: No save due to errors";
$Lang{CfgEdit_Error__must_be_an_integer}
= "Error: \$var must be an integer";
$Lang{CfgEdit_Error__must_be_real_valued_number}