Add optional new optional columns destination_trunk_prefix and destination_area_code.
This commit is contained in:
parent
0218f3be0c
commit
d1981a77cc
|
|
@ -226,6 +226,12 @@
|
|||
}
|
||||
echo th_order_by('destination_type', $text['label-destination_type'], $order_by, $order, $param, "class='shrink'");
|
||||
echo th_order_by('destination_prefix', $text['label-destination_prefix'], $order_by, $order, $param, "class='shrink'");
|
||||
if (permission_exists('destination_trunk_prefix')) {
|
||||
echo th_order_by('destination_trunk_prefix', '', $order_by, $order, $param, "class='shrink'");
|
||||
}
|
||||
if (permission_exists('destination_area_code')) {
|
||||
echo th_order_by('destination_area_code', '', $order_by, $order, $param, "class='shrink'");
|
||||
}
|
||||
echo th_order_by('destination_number', $text['label-destination_number'], $order_by, $order, $param, "class='shrink'");
|
||||
if (!$_GET['show'] == "all") {
|
||||
echo "<th>". $text['label-detail_action']."</th>";
|
||||
|
|
@ -267,7 +273,14 @@
|
|||
echo " <td>".escape($domain)."</td>\n";
|
||||
}
|
||||
echo " <td>".escape($row['destination_type'])." </td>\n";
|
||||
|
||||
echo " <td>".escape($row['destination_prefix'])." </td>\n";
|
||||
if (permission_exists('destination_trunk_prefix')) {
|
||||
echo " <td>".escape($row['destination_trunk_prefix'])." </td>\n";
|
||||
}
|
||||
if (permission_exists('destination_area_code')) {
|
||||
echo " <td>".escape($row['destination_area_code'])." </td>\n";
|
||||
}
|
||||
|
||||
echo " <td class='no-wrap'>\n";
|
||||
if (permission_exists('destination_edit')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue