Fix the Gateway Edit page title.

This commit is contained in:
Mark Crane
2013-09-21 22:10:39 +00:00
parent 19af7d8cbc
commit 4cfd7e4fa2
+2 -3
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012 Portions created by the Initial Developer are Copyright (C) 2008-2013
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
Contributor(s): Contributor(s):
@@ -312,7 +312,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$profile = $row["profile"]; $profile = $row["profile"];
$enabled = $row["enabled"]; $enabled = $row["enabled"];
$description = $row["description"]; $description = $row["description"];
break; //limit to 1 row
} }
unset ($prep_statement); unset ($prep_statement);
} }
@@ -358,7 +357,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n"; echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n"; echo " <tr>\n";
echo " <td align='left' width=\"50%\">\n"; echo " <td align='left' width=\"50%\">\n";
echo " <strong>".$text['title-gateway']."</strong><br>\n"; echo " <span class=\".title\">".$text['title-gateway']."</span><br>\n";
echo " </td>"; echo " </td>";
echo " <td width='50%' align='right'>\n"; echo " <td width='50%' align='right'>\n";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n"; echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";