Minor fixes to HTML markup. (#2274)
call_flow_edit.php - fix: <script> tag output before html headers
This commit is contained in:
parent
4276ae2583
commit
f13020b70c
|
|
@ -310,6 +310,7 @@
|
||||||
$recordings = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
$recordings = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
if (if_group("superadmin")) {
|
if (if_group("superadmin")) {
|
||||||
|
require_once "resources/header.php";
|
||||||
echo "<script>\n";
|
echo "<script>\n";
|
||||||
echo "var Objs;\n";
|
echo "var Objs;\n";
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
|
|
||||||
|
|
@ -256,7 +256,7 @@
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
if (permission_exists('dialplan_delete') && $result_count > 0) {
|
if (permission_exists('dialplan_delete') && $result_count > 0) {
|
||||||
echo "<th style='text-align: center;' style='text-align: center; padding: 3px 0px 0px 0px;' width='1'><input type='checkbox' style='margin: 0px 0px 0px 2px;' onchange=\"(this.checked) ? check('all') : check('none');\"></th>";
|
echo "<th style='text-align: center; padding: 3px 0px 0px 0px;' width='1'><input type='checkbox' style='margin: 0px 0px 0px 2px;' onchange=\"(this.checked) ? check('all') : check('none');\"></th>";
|
||||||
}
|
}
|
||||||
echo th_order_by('dialplan_name', $text['label-name'], $order_by, $order, $app_uuid, null, (($search != '') ? "search=".$search : null));
|
echo th_order_by('dialplan_name', $text['label-name'], $order_by, $order, $app_uuid, null, (($search != '') ? "search=".$search : null));
|
||||||
echo th_order_by('dialplan_number', $text['label-number'], $order_by, $order, $app_uuid, null, (($search != '') ? "search=".$search : null));
|
echo th_order_by('dialplan_number', $text['label-number'], $order_by, $order, $app_uuid, null, (($search != '') ? "search=".$search : null));
|
||||||
|
|
|
||||||
|
|
@ -514,7 +514,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'='nowrap='nowrap''>\n";
|
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||||
echo " ".$text['label-accountcode']."\n";
|
echo " ".$text['label-accountcode']."\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "<td class='vtable' align='left'>\n";
|
echo "<td class='vtable' align='left'>\n";
|
||||||
|
|
@ -841,7 +841,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||||
echo " ".$text['label-email_connection_server']."\n";
|
echo " ".$text['label-email_connection_server']."\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "<td class='vtable' style='white-space: nowrap='nowrap';' align='left'>\n";
|
echo "<td class='vtable' style='white-space: nowrap;' align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='fax_email_connection_host' maxlength='255' value=\"$fax_email_connection_host\"> : ";
|
echo " <input class='formfld' type='text' name='fax_email_connection_host' maxlength='255' value=\"$fax_email_connection_host\"> : ";
|
||||||
echo "<input class='formfld' style='width: 50px; min-width: 50px; max-width: 50px;' type='text' name='fax_email_connection_port' maxlength='5' value=\"$fax_email_connection_port\">\n";
|
echo "<input class='formfld' style='width: 50px; min-width: 50px; max-width: 50px;' type='text' name='fax_email_connection_port' maxlength='5' value=\"$fax_email_connection_port\">\n";
|
||||||
echo "<br />\n";
|
echo "<br />\n";
|
||||||
|
|
@ -914,7 +914,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
|
||||||
echo " </td>";
|
echo " </td>";
|
||||||
echo " <td style='white-space: nowrap='nowrap';'> </td>";
|
echo " <td style='white-space: nowrap;'> </td>";
|
||||||
echo " <td width='50%' valign='top'>";
|
echo " <td width='50%' valign='top'>";
|
||||||
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
|
|
|
||||||
|
|
@ -597,6 +597,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") {
|
||||||
echo "<input type='hidden' name='action' id='action' value=''>\n";
|
echo "<input type='hidden' name='action' id='action' value=''>\n";
|
||||||
|
|
||||||
echo "<table cellpadding='0' cellspacing='0' border='0' width='100%'>";
|
echo "<table cellpadding='0' cellspacing='0' border='0' width='100%'>";
|
||||||
|
echo "<tr>\n";
|
||||||
echo "<td align='left' width='90%' valign='top' nowrap><b>".$text['header-user_edit']."</b></td>\n";
|
echo "<td align='left' width='90%' valign='top' nowrap><b>".$text['header-user_edit']."</b></td>\n";
|
||||||
echo "<td align='right' nowrap>\n";
|
echo "<td align='right' nowrap>\n";
|
||||||
if (permission_exists('user_add') || permission_exists('user_edit')) {
|
if (permission_exists('user_add') || permission_exists('user_edit')) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue