Add the new class title to several features.

This commit is contained in:
Mark Crane
2013-09-18 21:48:15 +00:00
parent ac142ca408
commit d5e00c7553
11 changed files with 49 additions and 51 deletions
+17 -19
View File
@@ -48,6 +48,7 @@ else {
//includes
require_once "resources/header.php";
require_once "resources/paging.php";
if ($app_uuid == "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4") {
$page["title"] = $text['title-inbound_routes'];
}
@@ -64,8 +65,6 @@ else {
$page["title"] = $text['title-dialplan_manager'];
}
require_once "resources/paging.php";
//show the content
echo "<div align='center'>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
@@ -73,40 +72,39 @@ else {
echo "<td align=\"center\">\n";
echo "<br />";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"3\">\n";
echo " <tr>\n";
echo " <td align='left'>\n";
echo " <span class=\"vexpl\">\n";
echo " <span class=\"title\">\n";
if ($app_uuid == "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4") {
echo " <strong>".$text['header-inbound_routes']."</strong>\n";
echo " ".$text['header-inbound_routes']."\n";
}
elseif ($app_uuid == "8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3") {
echo " <strong>".$text['header-outbound_routes']."</strong>\n";
echo " ".$text['header-outbound_routes']."\n";
}
elseif ($app_uuid == "16589224-c876-aeb3-f59f-523a1c0801f7") {
echo " <strong>".$text['header-queues']."</strong>\n";
echo " ".$text['header-queues']."\n";
}
elseif ($app_uuid == "4b821450-926b-175a-af93-a03c441818b1") {
echo " <strong>".$text['header-time_conditions']."</strong>\n";
echo " ".$text['header-time_conditions']."\n";
}
else {
echo " <strong>".$text['header-dialplan_manager']."</strong>\n";
echo " ".$text['header-dialplan_manager']."\n";
}
echo " </span>\n";
echo " </td>\n";
echo " <td align='right'>\n";
if (permission_exists('dialplan_advanced_view') && strlen($app_uuid) == 0) {
echo " <input type='button' class='btn' value='".$text['button-advanced']."' onclick=\"document.location.href='dialplan_advanced.php';\">\n";
}
else {
echo "&nbsp;\n";
}
echo " </td>\n";
//echo " <td align='right'>\n";
//if (permission_exists('dialplan_advanced_view') && strlen($app_uuid) == 0) {
// echo " <input type='button' class='btn' value='".$text['button-advanced']."' onclick=\"document.location.href='dialplan_advanced.php';\">\n";
//}
//else {
// echo "&nbsp;\n";
//}
//echo " </td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td align='left' colspan='2'>\n";
echo " <span class=\"vexpl\"><br>\n";
echo " <span class=\"vexpl\">\n";
if ($app_uuid == "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4") {
echo $text['description-inbound_routes'];