Add content card to outbound route add and pin number export (#7308)
* Add content card to outbound route add and pin number export * Add content card
This commit is contained in:
parent
43edc82cbe
commit
abb95e38bb
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2024
|
Portions created by the Initial Developer are Copyright (C) 2008-2025
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -318,7 +318,7 @@
|
||||||
$tmp_prefix == $dialplan_expression
|
$tmp_prefix == $dialplan_expression
|
||||||
? $outbound_prefix = ""
|
? $outbound_prefix = ""
|
||||||
: $outbound_prefix = $tmp_prefix;
|
: $outbound_prefix = $tmp_prefix;
|
||||||
|
|
||||||
if ($gateway_type == "gateway") {
|
if ($gateway_type == "gateway") {
|
||||||
$dialplan_name = $gateway_name.".".$abbrv;
|
$dialplan_name = $gateway_name.".".$abbrv;
|
||||||
if ($abbrv == "988") {
|
if ($abbrv == "988") {
|
||||||
|
|
@ -863,7 +863,7 @@
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$sql .= "and domain_uuid = :domain_uuid ";
|
$sql .= "and domain_uuid = :domain_uuid ";
|
||||||
|
|
||||||
}
|
}
|
||||||
$parameters['domain_uuid'] = $domain_uuid;
|
$parameters['domain_uuid'] = $domain_uuid;
|
||||||
$database = new database;
|
$database = new database;
|
||||||
|
|
@ -939,6 +939,7 @@ function type_onchange(dialplan_detail_type) {
|
||||||
echo $text['description-outbound-routes']."\n";
|
echo $text['description-outbound-routes']."\n";
|
||||||
echo "<br /><br />\n";
|
echo "<br /><br />\n";
|
||||||
|
|
||||||
|
echo "<div class='card'>\n";
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td width='30%' class='vncellreq' valign='top' align='left' nowrap>\n";
|
echo "<td width='30%' class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||||
|
|
@ -1346,17 +1347,18 @@ function type_onchange(dialplan_detail_type) {
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>\n";
|
||||||
echo "<br><br>";
|
echo "</div>\n";
|
||||||
|
echo "<br><br>\n";
|
||||||
|
|
||||||
if (!empty($action) && $action == "update") {
|
if (!empty($action) && $action == "update") {
|
||||||
echo "<input type='hidden' name='dialplan_uuid' value='".escape($dialplan_uuid)."'>\n";
|
echo "<input type='hidden' name='dialplan_uuid' value='".escape($dialplan_uuid)."'>\n";
|
||||||
}
|
}
|
||||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||||
|
|
||||||
echo "</form>";
|
echo "</form>\n";
|
||||||
|
|
||||||
//show the footer
|
//show the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2019
|
Portions created by the Initial Developer are Copyright (C) 2008-2025
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -133,6 +133,7 @@
|
||||||
echo " <div style='clear: both;'></div>\n";
|
echo " <div style='clear: both;'></div>\n";
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|
||||||
|
echo "<div class='card'>\n";
|
||||||
echo "<table class='list'>\n";
|
echo "<table class='list'>\n";
|
||||||
echo "<tr class='list-header'>\n";
|
echo "<tr class='list-header'>\n";
|
||||||
echo " <th class='checkbox'>\n";
|
echo " <th class='checkbox'>\n";
|
||||||
|
|
@ -156,6 +157,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
echo "</div>\n";
|
||||||
echo "<br><br>\n";
|
echo "<br><br>\n";
|
||||||
|
|
||||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||||
|
|
@ -165,4 +167,4 @@
|
||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue