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

@@ -218,7 +218,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'>\n";
echo " <span class=\"vexpl\" class=\"red\">\n";
echo " <span class=\"title\">\n";
echo " <strong>".$text['label-click2call']."</strong>\n";
echo " </span>\n";
echo " </td>\n";

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

View File

@@ -639,8 +639,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'><span class=\"vexpl\"><span class=\"red\"><strong>".$text['title-dialplan-inbound-add']."\n";
echo " </strong></span></span>\n";
echo " <td align='left'>\n";
echo " <span class=\"title\">".$text['title-dialplan-inbound-add']."</span>\n";
echo " </td>\n";
echo " <td align='right'>\n";
if (permission_exists("inbound_route_advanced")) {

View File

@@ -634,8 +634,8 @@ function type_onchange(dialplan_detail_type) {
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'><span class=\"vexpl\"><span class=\"red\"><strong>".$text['label-outbound-routes']."\n";
echo " </strong></span></span>\n";
echo " <td align='left'>\n";
echo " <span class=\"title\">".$text['label-outbound-routes']."</span>\n";
echo " </td>\n";
echo " <td align='right'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='".PROJECT_PATH."/app/dialplan/dialplans.php?app_uuid=8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3'\" value='".$text['button-back']."'>\n";

View File

@@ -57,9 +57,9 @@ require_once "resources/paging.php";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"6\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'>\n";
echo " <p><span class=\"vexpl\"><span class=\"red\"><strong>FAX<br></strong></span>\n";
echo " <span class=\"title\">".$text['title']."</span><br />\n";
echo " ".$text['description']."\n";
echo " </p>\n";
echo " \n";
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";

View File

@@ -380,7 +380,7 @@ else {
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
echo " <td align='left' width='30%'>\n";
echo " <span class=\"vexpl\"><span class=\"red\"><strong>".$text['title']."</strong></span>\n";
echo " <span class=\"title\">".$text['title']."</span>\n";
echo " </td>\n";
echo " <td width='70%' align='right'>\n";
if (permission_exists('fax_extension_add') || permission_exists('fax_extension_edit')) {
@@ -450,11 +450,11 @@ else {
echo " <table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'>\n";
echo " <span class=\"vexpl\"><span class=\"red\"><strong>Inbox $fax_extension</strong></span>\n";
echo " <span class=\"vexpl\"><span class=\"title\">$text['label-inbox'] $fax_extension</span>\n";
echo " </td>\n";
echo " <td align='right'>";
if ($v_path_show) {
echo "<b>".$text['label-location'].":</b>&nbsp;";
echo "<strong>".$text['label-location'].":</strong>&nbsp;";
echo $dir_fax_inbox."&nbsp; &nbsp; &nbsp;";
}
echo " </td>\n";
@@ -590,27 +590,27 @@ else {
//show the sent box
if (permission_exists('fax_sent_view')) {
echo " <table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'>\n";
echo " <span class=\"vexpl\"><span class=\"red\"><strong>Sent</strong></span>\n";
echo " <span class=\"vexpl\"><span class=\"title\">".$text['label-sent']."</span>\n";
echo " </td>\n";
echo " <td align='right'>\n";
if ($v_path_show) {
echo "<b>".$text['label-location'].": </b>\n";
echo "<strong>".$text['label-location'].": </strong>\n";
echo $dir_fax_sent."&nbsp; &nbsp; &nbsp;\n";
}
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo "</table>\n";
echo "\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <th width=\"60%\">".$text['table-file']."</td>\n";
echo " <th width=\"10%\">".$text['table-view']."</td>\n";
echo " <th width=\"20%\">".$text['table-modified']."</td>\n";
echo " <th width=\"10%\" nowrap>".$text['table-size']."</td>\n";
echo " </tr>";
echo " </tr>";
if ($handle = opendir($dir_fax_sent)) {
//build an array of the files in the inbox

View File

@@ -159,12 +159,12 @@ require_once "resources/paging.php";
echo " <br>";
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['title'].":<br>\n";
echo " </strong></span>\n";
echo $text['description']."\n";
echo " </span></p></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td align='left'>\n";
echo " <span class=\"title\">".$text['title'].":</span><br />\n";
echo " ".$text['description']."\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>";
echo "<br />\n";

View File

@@ -736,8 +736,8 @@ echo "<div align='center'>\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'><span class=\"vexpl\"><span class=\"red\"><strong>".$text['title-time-condition-add']."\n";
echo " </strong></span></span>\n";
echo " <td align='left'>\n";
echo " <span class=\"title\">".$text['title-time-condition-add']."</span><br />\n";
echo " </td>\n";
echo " <td align='right'>\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='".PROJECT_PATH."/app/dialplan/dialplans.php?app_uuid=4b821450-926b-175a-af93-a03c441818b1'\" value='".$text['button-back']."'>\n";