From abb95e38bb95970dbbe18569d9fdabe2e512d84d Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Wed, 12 Mar 2025 12:37:26 -0700 Subject: [PATCH] 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 --- app/dialplan_outbound/dialplan_outbound_add.php | 16 +++++++++------- app/pin_numbers/pin_download.php | 6 ++++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index 7c6a8a44ec..2db18d3f3c 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - 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. Contributor(s): @@ -318,7 +318,7 @@ $tmp_prefix == $dialplan_expression ? $outbound_prefix = "" : $outbound_prefix = $tmp_prefix; - + if ($gateway_type == "gateway") { $dialplan_name = $gateway_name.".".$abbrv; if ($abbrv == "988") { @@ -863,7 +863,7 @@ } else { $sql .= "and domain_uuid = :domain_uuid "; - + } $parameters['domain_uuid'] = $domain_uuid; $database = new database; @@ -939,6 +939,7 @@ function type_onchange(dialplan_detail_type) { echo $text['description-outbound-routes']."\n"; echo "

\n"; + echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; - echo "
\n"; @@ -1346,17 +1347,18 @@ function type_onchange(dialplan_detail_type) { echo "
"; - echo "

"; + echo "\n"; + echo "
\n"; + echo "

\n"; if (!empty($action) && $action == "update") { echo "\n"; } echo "\n"; - echo ""; + echo "\n"; //show the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?> diff --git a/app/pin_numbers/pin_download.php b/app/pin_numbers/pin_download.php index d16c4b11d3..a0bd83ce91 100644 --- a/app/pin_numbers/pin_download.php +++ b/app/pin_numbers/pin_download.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - 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. Contributor(s): @@ -133,6 +133,7 @@ echo "
\n"; echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; @@ -156,6 +157,7 @@ } echo "
\n"; + echo "
\n"; echo "

\n"; echo "\n"; @@ -165,4 +167,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>