Add the new class title to several features.

This commit is contained in:
Mark Crane
2013-09-18 21:48:15 +00:00
parent 3516788eb8
commit 50e34a9356
11 changed files with 49 additions and 51 deletions

View File

@@ -308,7 +308,7 @@ echo "<div align='center'>\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'>\n";
echo " <span class=\"vexpl\"><span class=\"red\"><strong>".$text['header-dialplan-add']."</strong></span></span>\n";
echo " <span class=\"title\">".$text['header-dialplan-add']."</span>\n";
echo " </td>\n";
echo " <td align='right'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='dialplans.php'\" value='".$text['button-back']."'>\n";

View File

@@ -104,8 +104,8 @@ function sf() { document.forms[0].savetopath.focus(); }
<form action="dialplan_advanced.php" method="post" name="iform" id="iform">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align='left' width='100%'><span class="vexpl"><span class="red"><strong><?=$text['header-default_dialplan']?><br><br>
</strong></span>
<td align='left' width='100%'>
<span class="title"><?=$text['header-default_dialplan']?></span><br><br>
<?=$text['description-default_dialplan']?>
<br />
<br />

View File

@@ -261,7 +261,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left' width='30%'>\n";
echo" <span class=\"vexpl\"><span class=\"title\">".$text['title-dialplan_edit']."</span></span><br />\n";
echo" <span class=\"title\">".$text['title-dialplan_edit']."</span><br />\n";
echo " </td>\n";
echo " <td width='70%' align='right'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-copy']."' onclick=\"if (confirm('".$text['confirm-copy']."')){window.location='dialplan_copy.php?id=".$row['dialplan_uuid']."';}\" value='".$text['button-copy']."'>\n";
@@ -428,9 +428,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width=\"100%\" border=\"0\" cellpadding=\"6\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'><p><span class=\"vexpl\"><span class=\"red\"><strong>".$text['header-conditions_and_actions']."</strong></span>\n";
echo " <br /><br />\n";
echo " ".$text['description-conditions_and_actions']."</span></p></td>\n";
echo " <td align='left'><span class=\"title\">".$text['header-conditions_and_actions']."</span>\n";
echo " <br />\n";
echo " ".$text['description-conditions_and_actions']."</td>\n";
echo " </tr>\n";
echo "</table>";
echo "<br />\n";

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'];