Update destinations.php (#4453)

* Update destinations.php

* Update destinations.php
This commit is contained in:
chansizzle
2019-08-23 12:11:21 -06:00
committed by FusionPBX
parent 4de757f14b
commit de3a059f62

View File

@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2018
Portions created by the Initial Developer are Copyright (C) 2008-2019
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -236,7 +236,9 @@
}
echo th_order_by('destination_type', $text['label-destination_type'], $order_by, $order, $param);
echo th_order_by('destination_number', $text['label-destination_number'], $order_by, $order, $param);
echo "<th>". $text['label-detail_action']."</th>";
if (!$_GET['show'] == "all") {
echo "<th>". $text['label-detail_action']."</th>";
}
if (permission_exists("destination_context")) {
echo th_order_by('destination_context', $text['label-destination_context'], $order_by, $order, $param);
}
@@ -280,7 +282,9 @@
}
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_type'])."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape(format_phone($row['destination_number']))."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$action_name."&nbsp;</td>\n";
if (!$_GET['show'] == "all") {
echo " <td valign='top' class='".$row_style[$c]."'>".$action_name."&nbsp;</td>\n";
}
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_number_regex']."&nbsp;</td>\n";
if (permission_exists("destination_context")) {
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_context'])."&nbsp;</td>\n";