Destinations - List: Adjust case on Type column value, Center Prefix, mitigate PHP 8.1 warning.

This commit is contained in:
fusionate 2023-07-31 23:26:03 +00:00
parent f88af8b502
commit 3d6c1cbb99
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

@ -266,7 +266,7 @@
echo th_order_by('domain_name', $text['label-domain'], $order_by, $order, $param, "class='shrink'"); echo th_order_by('domain_name', $text['label-domain'], $order_by, $order, $param, "class='shrink'");
} }
echo th_order_by('destination_type', $text['label-destination_type'], $order_by, $order, $param, "class='shrink'"); 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'"); echo th_order_by('destination_prefix', $text['label-destination_prefix'], $order_by, $order, $param, "class='shrink center'");
if (permission_exists('destination_trunk_prefix')) { if (permission_exists('destination_trunk_prefix')) {
echo th_order_by('destination_trunk_prefix', $text['label-destination_trunk_prefix'], $order_by, $order, $param, "class='shrink'"); echo th_order_by('destination_trunk_prefix', $text['label-destination_trunk_prefix'], $order_by, $order, $param, "class='shrink'");
} }
@ -332,9 +332,9 @@
} }
echo " <td>".escape($domain)."</td>\n"; echo " <td>".escape($domain)."</td>\n";
} }
echo " <td>".escape($row['destination_type'])."&nbsp;</td>\n"; echo " <td>".escape($text['option-'.$row['destination_type']])."&nbsp;</td>\n";
echo " <td>".escape($row['destination_prefix'])."&nbsp;</td>\n"; echo " <td class='center'>".escape($row['destination_prefix'])."&nbsp;</td>\n";
if (permission_exists('destination_trunk_prefix')) { if (permission_exists('destination_trunk_prefix')) {
echo " <td>".escape($row['destination_trunk_prefix'])."&nbsp;</td>\n"; echo " <td>".escape($row['destination_trunk_prefix'])."&nbsp;</td>\n";
} }