Fax Queue - Edit: Add Response field and translations.

This commit is contained in:
fusionate 2023-09-28 18:37:36 +00:00
parent 3c170f8597
commit 7984ddeb64
No known key found for this signature in database
2 changed files with 85 additions and 23 deletions

View File

@ -744,29 +744,77 @@ $text['label-fax_command']['zh-cn'] = "命令";
$text['label-fax_command']['ja-jp'] = "指図";
$text['label-fax_command']['ko-kr'] = "명령";
$text['description-fax_command']['en-us'] = "Enter the fax command.";
$text['description-fax_command']['en-gb'] = "Enter the fax command.";
$text['description-fax_command']['ar-eg'] = "أدخل أمر الفاكس";
$text['description-fax_command']['de-at'] = "Geben Sie den Faxbefehl ein.";
$text['description-fax_command']['de-ch'] = "Geben Sie den Faxbefehl ein.";
$text['description-fax_command']['de-de'] = "Geben Sie den Faxbefehl ein.";
$text['description-fax_command']['es-cl'] = "Introduzca el comando de fax.";
$text['description-fax_command']['es-mx'] = "Introduzca el comando de fax.";
$text['description-fax_command']['fr-ca'] = "Entrez la commande fax.";
$text['description-fax_command']['fr-fr'] = "Entrez la commande fax.";
$text['description-fax_command']['he-il'] = "היכנסו לפקודת הפקס";
$text['description-fax_command']['it-it'] = "Inserisci il comando fax.";
$text['description-fax_command']['nl-nl'] = "Voer het faxcommando in.";
$text['description-fax_command']['pl-pl'] = "Wejście do faksu.";
$text['description-fax_command']['pt-br'] = "Insira o comando de fax.";
$text['description-fax_command']['pt-pt'] = "Insira o comando de fax.";
$text['description-fax_command']['ro-ro'] = "Introduceți comanda de fax.";
$text['description-fax_command']['ru-ru'] = "Введите команду факса.";
$text['description-fax_command']['sv-se'] = "Ange kommandot fax.";
$text['description-fax_command']['uk-ua'] = "Введіть команду факсу.";
$text['description-fax_command']['zh-cn'] = "输入传真命令。";
$text['description-fax_command']['ja-jp'] = "ファクスコマンドを入力します。";
$text['description-fax_command']['ko-kr'] = "팩스 명령을 입력합니다.";
$text['description-fax_command']['en-us'] = "Command used to send the fax.";
$text['description-fax_command']['en-gb'] = "Command used to send the fax.";
$text['description-fax_command']['ar-eg'] = "الأمر المستخدم لإرسال الفاكس.";
$text['description-fax_command']['de-at'] = "Befehl zum Versenden des Faxes.";
$text['description-fax_command']['de-ch'] = "Befehl zum Versenden des Faxes.";
$text['description-fax_command']['de-de'] = "Befehl zum Versenden des Faxes.";
$text['description-fax_command']['es-cl'] = "Comando utilizado para enviar el fax.";
$text['description-fax_command']['es-mx'] = "Comando utilizado para enviar el fax.";
$text['description-fax_command']['fr-ca'] = "Commande utilisée pour envoyer le fax.";
$text['description-fax_command']['fr-fr'] = "Commande utilisée pour envoyer le fax.";
$text['description-fax_command']['he-il'] = "הפקודה משמשת לשליחת הפקס.";
$text['description-fax_command']['it-it'] = "Comando utilizzato per inviare il fax.";
$text['description-fax_command']['nl-nl'] = "Commando dat wordt gebruikt om de fax te verzenden.";
$text['description-fax_command']['pl-pl'] = "Polecenie użyte do wysłania faksu.";
$text['description-fax_command']['pt-br'] = "Comando utilizado para enviar o fax.";
$text['description-fax_command']['pt-pt'] = "Comando utilizado para enviar o fax.";
$text['description-fax_command']['ro-ro'] = "Comanda folosită pentru a trimite faxul.";
$text['description-fax_command']['ru-ru'] = "Команда, используемая для отправки факса.";
$text['description-fax_command']['sv-se'] = "Kommandot används för att skicka faxet.";
$text['description-fax_command']['uk-ua'] = "Команда для надсилання факсу.";
$text['description-fax_command']['zh-cn'] = "用于发送传真的命令。";
$text['description-fax_command']['ja-jp'] = "FAX を送信するために使用されるコマンド。";
$text['description-fax_command']['ko-kr'] = "팩스를 보내는 데 사용되는 명령입니다.";
$text['label-fax_response']['en-us'] = "Response";
$text['label-fax_response']['en-gb'] = "Response";
$text['label-fax_response']['ar-eg'] = "إجابة";
$text['label-fax_response']['de-at'] = "Antwort";
$text['label-fax_response']['de-ch'] = "Antwort";
$text['label-fax_response']['de-de'] = "Antwort";
$text['label-fax_response']['es-cl'] = "Respuesta";
$text['label-fax_response']['es-mx'] = "Respuesta";
$text['label-fax_response']['fr-ca'] = "Réponse";
$text['label-fax_response']['fr-fr'] = "Réponse";
$text['label-fax_response']['he-il'] = "תְגוּבָה";
$text['label-fax_response']['it-it'] = "Risposta";
$text['label-fax_response']['nl-nl'] = "Antwoord";
$text['label-fax_response']['pl-pl'] = "Odpowiedź";
$text['label-fax_response']['pt-br'] = "Resposta";
$text['label-fax_response']['pt-pt'] = "Resposta";
$text['label-fax_response']['ro-ro'] = "Raspuns";
$text['label-fax_response']['ru-ru'] = "Ответ";
$text['label-fax_response']['sv-se'] = "Svar";
$text['label-fax_response']['uk-ua'] = "Відповідь";
$text['label-fax_response']['zh-cn'] = "回复";
$text['label-fax_response']['ja-jp'] = "応答";
$text['label-fax_response']['ko-kr'] = "응답";
$text['description-fax_response']['en-us'] = "Response recieved from sending the fax.";
$text['description-fax_response']['en-gb'] = "Response recieved from sending the fax.";
$text['description-fax_response']['ar-eg'] = "تم تلقي الرد من إرسال الفاكس.";
$text['description-fax_response']['de-at'] = "Vom Senden des Faxes erhaltene Antwort.";
$text['description-fax_response']['de-ch'] = "Vom Senden des Faxes erhaltene Antwort.";
$text['description-fax_response']['de-de'] = "Vom Senden des Faxes erhaltene Antwort.";
$text['description-fax_response']['es-cl'] = "Respuesta recibida del envío del fax.";
$text['description-fax_response']['es-mx'] = "Respuesta recibida del envío del fax.";
$text['description-fax_response']['fr-ca'] = "Réponse reçue suite à l'envoi du fax.";
$text['description-fax_response']['fr-fr'] = "Réponse reçue suite à l'envoi du fax.";
$text['description-fax_response']['he-il'] = "התקבלה תגובה משליחת הפקס.";
$text['description-fax_response']['it-it'] = "Risposta ricevuta dall'invio del fax.";
$text['description-fax_response']['nl-nl'] = "Antwoord ontvangen na het verzenden van de fax.";
$text['description-fax_response']['pl-pl'] = "Odpowiedź otrzymana po wysłaniu faksu.";
$text['description-fax_response']['pt-br'] = "Resposta recebida do envio do fax.";
$text['description-fax_response']['pt-pt'] = "Resposta recebida do envio do fax.";
$text['description-fax_response']['ro-ro'] = "Răspuns primit de la trimiterea faxului.";
$text['description-fax_response']['ru-ru'] = "Получен ответ на отправку факса.";
$text['description-fax_response']['sv-se'] = "Svar mottaget från att skicka faxet.";
$text['description-fax_response']['uk-ua'] = "Отримано відповідь від надсилання факсу.";
$text['description-fax_response']['zh-cn'] = "发送传真收到的响应。";
$text['description-fax_response']['ja-jp'] = "FAX送信からの応答を受信しました。";
$text['description-fax_response']['ko-kr'] = "팩스 전송에서 응답을 받았습니다.";
$text['label-waiting']['en-us'] = "waiting";
$text['label-waiting']['en-gb'] = "waiting";

View File

@ -66,6 +66,7 @@
$fax_retry_count = $_POST["fax_retry_count"];
$fax_accountcode = $_POST["fax_accountcode"];
$fax_command = $_POST["fax_command"];
$fax_response = $_POST["fax_response"];
}
//process the user data and save it to the database
@ -164,6 +165,7 @@
$array['fax_queue'][0]['fax_retry_count'] = $fax_retry_count;
$array['fax_queue'][0]['fax_accountcode'] = $fax_accountcode;
$array['fax_queue'][0]['fax_command'] = $fax_command;
$array['fax_queue'][0]['fax_response'] = $fax_response;
//save the data
$database = new database;
@ -226,6 +228,7 @@
$fax_retry_count = $row["fax_retry_count"];
$fax_accountcode = $row["fax_accountcode"];
$fax_command = $row["fax_command"];
$fax_response = $row["fax_response"];
}
unset($sql, $parameters, $row);
}
@ -445,6 +448,17 @@
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-fax_response']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <textarea class='formfld' name='fax_response' style='width: 185px; height: 80px;'>".($fax_response ?? '')."</textarea>\n";
echo "<br />\n";
echo $text['description-fax_response']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>";
echo "<br /><br />";