Update destinations.php (#4453)
* Update destinations.php * Update destinations.php
This commit is contained in:
@@ -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-2018
|
Portions created by the Initial Developer are Copyright (C) 2008-2019
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
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_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_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")) {
|
if (permission_exists("destination_context")) {
|
||||||
echo th_order_by('destination_context', $text['label-destination_context'], $order_by, $order, $param);
|
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'])." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_type'])." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".escape(format_phone($row['destination_number']))." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape(format_phone($row['destination_number']))." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$action_name." </td>\n";
|
if (!$_GET['show'] == "all") {
|
||||||
|
echo " <td valign='top' class='".$row_style[$c]."'>".$action_name." </td>\n";
|
||||||
|
}
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_number_regex']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_number_regex']." </td>\n";
|
||||||
if (permission_exists("destination_context")) {
|
if (permission_exists("destination_context")) {
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_context'])." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_context'])." </td>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user