mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fax Queue - Added new Sending status to select filter.
This commit is contained in:
@@ -741,6 +741,26 @@
|
||||
$text['label-trying']['sv-se'] = '';
|
||||
$text['label-trying']['uk-ua'] = '';
|
||||
|
||||
$text['label-sending']['en-us'] = 'sending';
|
||||
$text['label-sending']['ar-eg'] = '';
|
||||
$text['label-sending']['de-at'] = '';
|
||||
$text['label-sending']['de-ch'] = '';
|
||||
$text['label-sending']['de-de'] = '';
|
||||
$text['label-sending']['es-cl'] = '';
|
||||
$text['label-sending']['es-mx'] = '';
|
||||
$text['label-sending']['fr-ca'] = '';
|
||||
$text['label-sending']['fr-fr'] = '';
|
||||
$text['label-sending']['he-il'] = '';
|
||||
$text['label-sending']['it-it'] = '';
|
||||
$text['label-sending']['nl-nl'] = '';
|
||||
$text['label-sending']['pl-pl'] = '';
|
||||
$text['label-sending']['pt-br'] = '';
|
||||
$text['label-sending']['pt-pt'] = '';
|
||||
$text['label-sending']['ro-ro'] = '';
|
||||
$text['label-sending']['ru-ru'] = '';
|
||||
$text['label-sending']['sv-se'] = '';
|
||||
$text['label-sending']['uk-ua'] = '';
|
||||
|
||||
$text['label-busy']['en-us'] = 'busy';
|
||||
$text['label-busy']['ar-eg'] = '';
|
||||
$text['label-busy']['de-at'] = '';
|
||||
|
||||
@@ -252,36 +252,12 @@
|
||||
echo " <select class='formfld' name='fax_status'>\n";
|
||||
echo " <option value='' selected='selected' disabled hidden>".$text['label-fax_status']."...</option>";
|
||||
echo " <option value=''></option>\n";
|
||||
if (isset($_GET["fax_status"]) && $_GET["fax_status"] == "waiting") {
|
||||
echo " <option value='waiting' selected='selected'>".$text['label-waiting']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='waiting'>".$text['label-waiting']."</option>\n";
|
||||
}
|
||||
if (isset($_GET["fax_status"]) && $_GET["fax_status"] == "failed") {
|
||||
echo " <option value='failed' selected='selected'>".$text['label-failed']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='failed'>".$text['label-failed']."</option>\n";
|
||||
}
|
||||
if (isset($_GET["fax_status"]) && $_GET["fax_status"] == "sent") {
|
||||
echo " <option value='sent' selected='selected'>".$text['label-sent']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='sent'>".$text['label-sent']."</option>\n";
|
||||
}
|
||||
if (isset($_GET["fax_status"]) && $_GET["fax_status"] == "trying") {
|
||||
echo " <option value='trying' selected='selected'>".$text['label-trying']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='trying'>".$text['label-trying']."</option>\n";
|
||||
}
|
||||
if (isset($_GET["fax_status"]) && $_GET["fax_status"] == "busy") {
|
||||
echo " <option value='busy' selected='selected'>".$text['label-busy']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='busy'>".$text['label-busy']."</option>\n";
|
||||
}
|
||||
echo " <option value='waiting' ".(isset($_GET["fax_status"]) && $_GET["fax_status"] == "waiting" ? "selected='selected'" : null).">".$text['label-waiting']."</option>\n";
|
||||
echo " <option value='sending' ".(isset($_GET["fax_status"]) && $_GET["fax_status"] == "sending" ? "selected='selected'" : null).">".$text['label-sending']."</option>\n";
|
||||
echo " <option value='trying' ".(isset($_GET["fax_status"]) && $_GET["fax_status"] == "trying" ? "selected='selected'" : null).">".$text['label-trying']."</option>\n";
|
||||
echo " <option value='sent' ".(isset($_GET["fax_status"]) && $_GET["fax_status"] == "sent" ? "selected='selected'" : null).">".$text['label-sent']."</option>\n";
|
||||
echo " <option value='busy' ".(isset($_GET["fax_status"]) && $_GET["fax_status"] == "busy" ? "selected='selected'" : null).">".$text['label-busy']."</option>\n";
|
||||
echo " <option value='failed' ".(isset($_GET["fax_status"]) && $_GET["fax_status"] == "failed" ? "selected='selected'" : null).">".$text['label-failed']."</option>\n";
|
||||
echo " </select>\n";
|
||||
if (permission_exists('fax_queue_all')) {
|
||||
if ($_GET['show'] == 'all') {
|
||||
|
||||
Reference in New Issue
Block a user