|
@@ -256,17 +256,15 @@
|
|
|
if ($previous_category != '') {
|
|
|
echo " <br /><br />\n";
|
|
|
}
|
|
|
- echo " <b>\n";
|
|
|
- if (strtolower($row['domain_setting_category']) == "cdr") {
|
|
|
- echo " CDR";
|
|
|
+ echo "<b>";
|
|
|
+ switch (strtolower($row['domain_setting_category'])) {
|
|
|
+ case "api" : echo "API"; break;
|
|
|
+ case "cdr" : echo "CDR"; break;
|
|
|
+ case "ldap" : echo "LDAP"; break;
|
|
|
+ case "ivr_menu" : echo "IVR Menu"; break;
|
|
|
+ default: echo escape(ucwords(str_replace("_", " ", $row['domain_setting_category'])));
|
|
|
}
|
|
|
- elseif (strtolower($row['domain_setting_category']) == "ldap") {
|
|
|
- echo " LDAP";
|
|
|
- }
|
|
|
- else {
|
|
|
- echo " ".ucfirst($row['domain_setting_category']);
|
|
|
- }
|
|
|
- echo " </b>\n";
|
|
|
+ echo "</b>\n";
|
|
|
echo " </td>\n";
|
|
|
echo "</tr>\n";
|
|
|
echo "<tr>\n";
|