mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-25 10:09:21 +00:00
Fax Queue: Updates for PHP 8.1
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
}
|
||||
|
||||
//process the http post data by action
|
||||
if ($action != '' && is_array($fax_queue) && @sizeof($fax_queue) != 0) {
|
||||
if (!empty($action) && !empty($fax_queue) && is_array($fax_queue) && @sizeof($fax_queue) != 0) {
|
||||
|
||||
switch ($action) {
|
||||
case 'copy':
|
||||
@@ -96,15 +96,15 @@
|
||||
}
|
||||
|
||||
//get order and order by
|
||||
$order_by = $_GET["order_by"];
|
||||
$order = $_GET["order"];
|
||||
$order_by = $_GET["order_by"] ?? null;
|
||||
$order = $_GET["order"] ?? null;
|
||||
|
||||
|
||||
|
||||
//get the count
|
||||
$sql = "select count(fax_queue_uuid) ";
|
||||
$sql .= "from v_fax_queue as q ";
|
||||
if ($_GET['show'] == "all" && permission_exists('fax_queue_all')) {
|
||||
if (!empty($_GET['show']) && $_GET['show'] == "all" && permission_exists('fax_queue_all')) {
|
||||
//show faxes for all domains
|
||||
$sql .= "where true ";
|
||||
}
|
||||
@@ -141,14 +141,14 @@
|
||||
$parameters['fax_status'] = $_GET["fax_status"];
|
||||
}
|
||||
$database = new database;
|
||||
$num_rows = $database->select($sql, $parameters, 'column');
|
||||
$num_rows = $database->select($sql, $parameters ?? null, 'column');
|
||||
unset($sql, $parameters);
|
||||
|
||||
//prepare to page the results
|
||||
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||
$param = $search ? "&search=".$search : null;
|
||||
$param = ($_GET['show'] == 'all' && permission_exists('fax_queue_all')) ? "&show=all" : null;
|
||||
$page = is_numeric($_GET['page']) ? $_GET['page'] : 0;
|
||||
$param = !empty($search) ? "&search=".$search : null;
|
||||
$param = (!empty($_GET['show']) && $_GET['show'] == 'all' && permission_exists('fax_queue_all')) ? "&show=all" : null;
|
||||
$page = !empty($_GET['page']) && is_numeric($_GET['page']) ? $_GET['page'] : 0;
|
||||
list($paging_controls, $rows_per_page) = paging($num_rows, $param, $rows_per_page);
|
||||
list($paging_controls_mini, $rows_per_page) = paging($num_rows, $param, $rows_per_page, true);
|
||||
$offset = $rows_per_page * $page;
|
||||
@@ -180,7 +180,7 @@
|
||||
$sql .= "q.fax_accountcode, \n";
|
||||
$sql .= "q.fax_command \n";
|
||||
$sql .= "from v_fax_queue as q, v_domains as d \n";
|
||||
if ($_GET['show'] == "all" && permission_exists('fax_queue_all')) {
|
||||
if (!empty($_GET['show']) && $_GET['show'] == "all" && permission_exists('fax_queue_all')) {
|
||||
//show faxes for all domains
|
||||
$sql .= "where true \n";
|
||||
}
|
||||
@@ -249,7 +249,7 @@
|
||||
echo button::create(['type'=>'button','label'=>$text['button-delete'],'icon'=>$_SESSION['theme']['button_icon_delete'],'id'=>'btn_delete','name'=>'btn_delete','style'=>'display:none;','onclick'=>"modal_open('modal-delete','btn_delete');"]);
|
||||
}
|
||||
if (permission_exists('fax_queue_all')) {
|
||||
if ($_GET['show'] == 'all') {
|
||||
if (!empty($_GET['show']) && $_GET['show'] == 'all') {
|
||||
echo " <input type='hidden' name='show' value='all'>\n";
|
||||
}
|
||||
else {
|
||||
@@ -260,14 +260,14 @@
|
||||
echo " <select class='formfld' name='fax_status' style='margin-left: 15px;'>\n";
|
||||
echo " <option value='' selected='selected' disabled hidden>".$text['label-fax_status']."...</option>";
|
||||
echo " <option value=''></option>\n";
|
||||
echo " <option value='waiting' ".($_GET["fax_status"] == "waiting" ? "selected='selected'" : null).">".ucwords($text['label-waiting'])."</option>\n";
|
||||
echo " <option value='sending' ".($_GET["fax_status"] == "sending" ? "selected='selected'" : null).">".ucwords($text['label-sending'])."</option>\n";
|
||||
echo " <option value='trying' ".($_GET["fax_status"] == "trying" ? "selected='selected'" : null).">".ucwords($text['label-trying'])."</option>\n";
|
||||
echo " <option value='sent' ".($_GET["fax_status"] == "sent" ? "selected='selected'" : null).">".ucwords($text['label-sent'])."</option>\n";
|
||||
echo " <option value='busy' ".($_GET["fax_status"] == "busy" ? "selected='selected'" : null).">".ucwords($text['label-busy'])."</option>\n";
|
||||
echo " <option value='failed' ".($_GET["fax_status"] == "failed" ? "selected='selected'" : null).">".ucwords($text['label-failed'])."</option>\n";
|
||||
echo " <option value='waiting' ".(!empty($_GET["fax_status"]) && $_GET["fax_status"] == "waiting" ? "selected='selected'" : null).">".ucwords($text['label-waiting'])."</option>\n";
|
||||
echo " <option value='sending' ".(!empty($_GET["fax_status"]) && $_GET["fax_status"] == "sending" ? "selected='selected'" : null).">".ucwords($text['label-sending'])."</option>\n";
|
||||
echo " <option value='trying' ".(!empty($_GET["fax_status"]) && $_GET["fax_status"] == "trying" ? "selected='selected'" : null).">".ucwords($text['label-trying'])."</option>\n";
|
||||
echo " <option value='sent' ".(!empty($_GET["fax_status"]) && $_GET["fax_status"] == "sent" ? "selected='selected'" : null).">".ucwords($text['label-sent'])."</option>\n";
|
||||
echo " <option value='busy' ".(!empty($_GET["fax_status"]) && $_GET["fax_status"] == "busy" ? "selected='selected'" : null).">".ucwords($text['label-busy'])."</option>\n";
|
||||
echo " <option value='failed' ".(!empty($_GET["fax_status"]) && $_GET["fax_status"] == "failed" ? "selected='selected'" : null).">".ucwords($text['label-failed'])."</option>\n";
|
||||
echo " </select>\n";
|
||||
echo "<input type='text' class='txt list-search' name='search' id='search' value=\"".escape($search)."\" placeholder=\"".$text['label-search']."\" />";
|
||||
echo "<input type='text' class='txt list-search' name='search' id='search' value=\"".escape($search ?? '')."\" placeholder=\"".$text['label-search']."\" />";
|
||||
echo button::create(['label'=>$text['button-search'],'icon'=>$_SESSION['theme']['button_icon_search'],'type'=>'submit','id'=>'btn_search']);
|
||||
if ($paging_controls_mini != '') {
|
||||
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>\n";
|
||||
@@ -290,16 +290,16 @@
|
||||
|
||||
echo "<form id='form_list' method='post'>\n";
|
||||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search ?? '')."\">\n";
|
||||
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('fax_queue_add') || permission_exists('fax_queue_edit') || permission_exists('fax_queue_delete')) {
|
||||
echo " <th class='checkbox'>\n";
|
||||
echo " <input type='checkbox' id='checkbox_all' name='checkbox_all' onclick='list_all_toggle(); checkbox_on_change(this);' ".($fax_queue ?: "style='visibility: hidden;'").">\n";
|
||||
echo " <input type='checkbox' id='checkbox_all' name='checkbox_all' onclick='list_all_toggle(); checkbox_on_change(this);' ".(empty($fax_queue) ? "style='visibility: hidden;'" : null).">\n";
|
||||
echo " </th>\n";
|
||||
}
|
||||
if ($_GET['show'] == 'all' && permission_exists('fax_queue_all')) {
|
||||
if (!empty($_GET['show']) && $_GET['show'] == 'all' && permission_exists('fax_queue_all')) {
|
||||
echo th_order_by('domain_name', $text['label-domain'], $order_by, $order);
|
||||
}
|
||||
//echo th_order_by('fax_date', $text['label-fax_date'], $order_by, $order);
|
||||
@@ -315,7 +315,7 @@
|
||||
echo th_order_by('fax_retry_date', $text['label-fax_retry_date'], $order_by, $order);
|
||||
echo th_order_by('fax_notify_date', $text['label-fax_notify_date'], $order_by, $order);
|
||||
echo th_order_by('fax_retry_count', $text['label-fax_retry_count'], $order_by, $order);
|
||||
if (permission_exists('fax_queue_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
if (permission_exists('fax_queue_edit') && !empty($_SESSION['theme']['list_row_edit_button']['boolean']) && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'> </td>\n";
|
||||
}
|
||||
echo "</tr>\n";
|
||||
@@ -333,7 +333,7 @@
|
||||
echo " <input type='hidden' name='fax_queue[$x][fax_queue_uuid]' value='".escape($row['fax_queue_uuid'])."' />\n";
|
||||
echo " </td>\n";
|
||||
}
|
||||
if ($_GET['show'] == 'all' && permission_exists('fax_queue_all')) {
|
||||
if (!empty($_GET['show']) && $_GET['show'] == 'all' && permission_exists('fax_queue_all')) {
|
||||
echo " <td>".escape($row['domain_name'])."</td>\n";
|
||||
}
|
||||
echo " <td nowrap='nowrap'>".escape($row['fax_date_formatted'])."</td>\n";
|
||||
@@ -348,7 +348,7 @@
|
||||
echo " <td>".escape($row['fax_retry_date_formatted'])." ".escape($row['fax_retry_time_formatted'])."</td>\n";
|
||||
echo " <td>".escape($row['fax_notify_date_formatted'])." ".escape($row['fax_notify_time_formatted'])."</td>\n";
|
||||
echo " <td>".escape($row['fax_retry_count'])."</td>\n";
|
||||
if (permission_exists('fax_queue_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
if (permission_exists('fax_queue_edit') && !empty($_SESSION['theme']['list_row_edit_button']['boolean']) && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'>\n";
|
||||
echo button::create(['type'=>'button','title'=>$text['button-edit'],'icon'=>$_SESSION['theme']['button_icon_edit'],'link'=>$list_row_url]);
|
||||
echo " </td>\n";
|
||||
@@ -368,4 +368,4 @@
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2022
|
||||
Portions created by the Initial Developer are Copyright (C) 2022-2023
|
||||
the Initial Developer. All Rights Reserved.
|
||||
*/
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
$text = $language->get();
|
||||
|
||||
//action add or update
|
||||
if (is_uuid($_REQUEST["id"])) {
|
||||
if (!empty($_REQUEST["id"]) && is_uuid($_REQUEST["id"])) {
|
||||
$action = "update";
|
||||
$fax_queue_uuid = $_REQUEST["id"];
|
||||
$id = $_REQUEST["id"];
|
||||
@@ -54,8 +54,8 @@
|
||||
}
|
||||
|
||||
//get http post variables and set them to php variables
|
||||
if (is_array($_POST)) {
|
||||
$fax_uuid = $_POST["fax_uuid"];
|
||||
if (!empty($_POST) && is_array($_POST)) {
|
||||
//$fax_uuid = $_POST["fax_uuid"];
|
||||
$fax_date = $_POST["fax_date"];
|
||||
$hostname = $_POST["hostname"];
|
||||
$fax_caller_id_name = $_POST["fax_caller_id_name"];
|
||||
@@ -66,7 +66,7 @@
|
||||
$fax_file = $_POST["fax_file"];
|
||||
$fax_status = $_POST["fax_status"];
|
||||
$fax_retry_date = $_POST["fax_retry_date"];
|
||||
$fax_notify_date = $_POST["fax_notify_date"];
|
||||
$fax_notify_date = $_POST["fax_notify_date"] ?? null;
|
||||
$fax_retry_count = $_POST["fax_retry_count"];
|
||||
$fax_accountcode = $_POST["fax_accountcode"];
|
||||
$fax_command = $_POST["fax_command"];
|
||||
@@ -84,7 +84,7 @@
|
||||
}
|
||||
|
||||
//process the http post data by submitted action
|
||||
if ($_POST['action'] != '' && !empty($_POST['action'])) {
|
||||
if (!empty($_POST['action'])) {
|
||||
|
||||
//prepare the array(s)
|
||||
//send the array to the database class
|
||||
@@ -190,7 +190,7 @@
|
||||
}
|
||||
|
||||
//pre-populate the form
|
||||
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
|
||||
if (!empty($_GET) && is_array($_GET) && (empty($_POST["persistformvar"]) || $_POST["persistformvar"] != "true")) {
|
||||
$sql = "select ";
|
||||
$sql .= " fax_uuid, ";
|
||||
$sql .= " fax_date, ";
|
||||
@@ -244,7 +244,7 @@
|
||||
|
||||
//show the content
|
||||
echo "<form name='frm' id='frm' method='post' action=''>\n";
|
||||
echo "<input class='formfld' type='hidden' name='fax_queue_uuid' value='".escape($fax_queue_uuid)."'>\n";
|
||||
echo "<input class='formfld' type='hidden' name='fax_queue_uuid' value='".escape($fax_queue_uuid ?? '')."'>\n";
|
||||
|
||||
echo "<div class='action_bar' id='action_bar'>\n";
|
||||
echo " <div class='heading'><b>".$text['title-fax_queue']."</b></div>\n";
|
||||
@@ -293,7 +293,7 @@
|
||||
echo " ".$text['label-fax_date']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_date' maxlength='255' value='".escape($fax_date)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_date' maxlength='255' value='".escape($fax_date ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_date']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -304,7 +304,7 @@
|
||||
echo " ".$text['label-hostname']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='hostname' maxlength='255' value='".escape($hostname)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='hostname' maxlength='255' value='".escape($hostname ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-hostname']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -315,7 +315,7 @@
|
||||
echo " ".$text['label-fax_caller_id_name']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_caller_id_name' maxlength='255' value='".escape($fax_caller_id_name)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_caller_id_name' maxlength='255' value='".escape($fax_caller_id_name ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_caller_id_name']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -326,7 +326,7 @@
|
||||
echo " ".$text['label-fax_caller_id_number']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_caller_id_number' maxlength='255' value='".escape($fax_caller_id_number)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_caller_id_number' maxlength='255' value='".escape($fax_caller_id_number ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_caller_id_number']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -337,7 +337,7 @@
|
||||
echo " ".$text['label-fax_number']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_number' maxlength='255' value='".escape($fax_number)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_number' maxlength='255' value='".escape($fax_number ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_number']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -348,7 +348,7 @@
|
||||
echo " ".$text['label-fax_prefix']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_prefix' maxlength='255' value='".escape($fax_prefix)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_prefix' maxlength='255' value='".escape($fax_prefix ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_prefix']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -359,7 +359,7 @@
|
||||
echo " ".$text['label-fax_email_address']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_email_address' maxlength='255' value='".escape($fax_email_address)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_email_address' maxlength='255' value='".escape($fax_email_address ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_email_address']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -370,7 +370,7 @@
|
||||
echo " ".$text['label-fax_file']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_file' maxlength='255' value='".escape($fax_file)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_file' maxlength='255' value='".escape($fax_file ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_file']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -382,12 +382,12 @@
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <select class='formfld' name='fax_status'>\n";
|
||||
echo " <option value='waiting' ".($fax_status == 'waiting' ? "selected='selected'" : null).">".ucwords($text['label-waiting'])."</option>\n";
|
||||
echo " <option value='trying' ".($fax_status == 'trying' ? "selected='selected'" : null).">".ucwords($text['label-trying'])."</option>\n";
|
||||
echo " <option value='sending' ".($fax_status == 'sending' ? "selected='selected'" : null).">".ucwords($text['label-sending'])."</option>\n";
|
||||
echo " <option value='sent' ".($fax_status == 'sent' ? "selected='selected'" : null).">".ucwords($text['label-sent'])."</option>\n";
|
||||
echo " <option value='busy' ".($fax_status == 'busy' ? "selected='selected'" : null).">".ucwords($text['label-busy'])."</option>\n";
|
||||
echo " <option value='failed' ".($fax_status == 'failed' ? "selected='selected'" : null).">".ucwords($text['label-failed'])."</option>\n";
|
||||
echo " <option value='waiting' ".(!empty($fax_status) && $fax_status == 'waiting' ? "selected='selected'" : null).">".ucwords($text['label-waiting'])."</option>\n";
|
||||
echo " <option value='trying' ".(!empty($fax_status) && $fax_status == 'trying' ? "selected='selected'" : null).">".ucwords($text['label-trying'])."</option>\n";
|
||||
echo " <option value='sending' ".(!empty($fax_status) && $fax_status == 'sending' ? "selected='selected'" : null).">".ucwords($text['label-sending'])."</option>\n";
|
||||
echo " <option value='sent' ".(!empty($fax_status) && $fax_status == 'sent' ? "selected='selected'" : null).">".ucwords($text['label-sent'])."</option>\n";
|
||||
echo " <option value='busy' ".(!empty($fax_status) && $fax_status == 'busy' ? "selected='selected'" : null).">".ucwords($text['label-busy'])."</option>\n";
|
||||
echo " <option value='failed' ".(!empty($fax_status) && $fax_status == 'failed' ? "selected='selected'" : null).">".ucwords($text['label-failed'])."</option>\n";
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_status']."\n";
|
||||
@@ -399,7 +399,7 @@
|
||||
echo " ".$text['label-fax_retry_date']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_retry_date' maxlength='255' value='".escape($fax_retry_date)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_retry_date' maxlength='255' value='".escape($fax_retry_date ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_retry_date']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -410,7 +410,7 @@
|
||||
echo " ".$text['label-fax_notify_date']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_retry_date' maxlength='255' value='".escape($fax_notify_date)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_retry_date' maxlength='255' value='".escape($fax_notify_date ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_notify_date']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -421,7 +421,7 @@
|
||||
echo " ".$text['label-fax_retry_count']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_retry_count' maxlength='255' value='".escape($fax_retry_count)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_retry_count' maxlength='255' value='".escape($fax_retry_count ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_retry_count']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -432,7 +432,7 @@
|
||||
echo " ".$text['label-fax_accountcode']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_accountcode' maxlength='255' value='".escape($fax_accountcode)."'>\n";
|
||||
echo " <input class='formfld' type='text' name='fax_accountcode' maxlength='255' value='".escape($fax_accountcode ?? '')."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_accountcode']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -443,7 +443,7 @@
|
||||
echo " ".$text['label-fax_command']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <textarea class='formfld' name='fax_command' style='width: 185px; height: 80px;'>".$fax_command."</textarea>\n";
|
||||
echo " <textarea class='formfld' name='fax_command' style='width: 185px; height: 80px;'>".($fax_command ?? '')."</textarea>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-fax_command']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -459,4 +459,4 @@
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user