Visual adjustments.

This commit is contained in:
Nate Jones
2015-02-15 07:59:02 +00:00
parent 256e424b3e
commit dbd9fbc07b
87 changed files with 359 additions and 1259 deletions
+7 -6
View File
@@ -806,7 +806,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//--- begin: show_advanced -----------------------
echo " <div id=\"show_advanced_box\">\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"6\" cellspacing=\"0\">\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"30%\" valign=\"top\" class=\"vncell\">&nbsp;</td>\n";
echo " <td width=\"70%\" class=\"vtable\">\n";
@@ -817,7 +817,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " </div>\n";
echo " <div id=\"show_advanced\" style=\"display:none\">\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"6\" cellspacing=\"0\">\n";
echo " <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo "<tr>\n";
echo "<td width=\"30%\" class='vncellreq' valign='top' align='left' nowrap>\n";
@@ -945,7 +945,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//--- end: show_advanced -----------------------
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td width=\"30%\" class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled']."\n";
@@ -983,13 +983,14 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td colspan='2' align='right'>\n";
if (strlen($ivr_menu_uuid) > 0) {
echo " <input type='hidden' name='ivr_menu_uuid' value='$ivr_menu_uuid'>\n";
echo " <input type='hidden' name='ivr_menu_uuid' value='$ivr_menu_uuid'>\n";
}
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
echo " <br><br>";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "<br>";
echo "<br><br>";
echo "</form>";
+4 -15
View File
@@ -180,15 +180,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$document['title'] = $text['title-option_edit'];
}
echo "<div align='center'>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing=''>\n";
echo "<tr class='border'>\n";
echo " <td align=\"left\">\n";
echo " <br>";
echo "<form method='post' name='frm' action=''>\n";
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
if ($action == "add") {
@@ -338,20 +331,16 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <td colspan='2' align='right'>\n";
echo " <input type='hidden' name='ivr_menu_uuid' value='$ivr_menu_uuid'>\n";
if ($action == "update") {
echo " <input type='hidden' name='ivr_menu_option_uuid' value='$ivr_menu_option_uuid'>\n";
echo " <input type='hidden' name='ivr_menu_option_uuid' value='$ivr_menu_option_uuid'>\n";
}
echo " <br><br>";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>\n";
echo "</div>\n";
echo "<br><br>";
echo "</form>\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "</div>\n";
require_once "resources/footer.php";
?>
+9 -25
View File
@@ -54,22 +54,15 @@ else {
}
//show the content
echo "<div align='center'>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
echo "<tr class='border'>\n";
echo " <td align=\"center\">\n";
echo " <br>";
//show the content header
echo "<table width='100%' border='0'>\n";
echo "<tr>\n";
echo "<td width='50%' nowrap='nowrap' align='left'><b>".$text['header-ivr_menus']."</b></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td align='left'>".$text['description-ivr_menus']."</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<br>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
echo "<tr>\n";
echo "<td width='50%' nowrap='nowrap' align='left'><b>".$text['header-ivr_menus']."</b></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td align='left'>".$text['description-ivr_menus']."</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<br>\n";
//get the count
require_once "resources/classes/database.php";
@@ -105,7 +98,6 @@ else {
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
echo "<div align='center'>\n";
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo th_order_by('ivr_menu_name', $text['label-name'], $order_by[0]['name'], $order_by[0]['order']);
@@ -168,14 +160,6 @@ else {
echo "</tr>\n";
echo "</table>";
echo "</div>";
echo "<br><br>";
echo "<br><br>";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</div>";
echo "<br><br>";
//show the footer