Add a save button to the top of the Dialplan edit.
This commit is contained in:
@@ -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):
|
||||||
@@ -437,23 +437,24 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td align='left' width='30%'>\n";
|
echo " <td align='left' width='30%'>\n";
|
||||||
echo" <span class=\"title\">".$text['title-dialplan_edit']."</span><br />\n";
|
echo" <span class=\"title\">".$text['title-dialplan_edit']."</span><br />\n";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " <td width='70%' align='right'>\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";
|
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";
|
||||||
|
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
|
||||||
if (strlen($app_uuid) > 0) {
|
if (strlen($app_uuid) > 0) {
|
||||||
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='dialplans.php?app_uuid=$app_uuid'\" value='".$text['button-back']."'>\n";
|
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='dialplans.php?app_uuid=$app_uuid'\" value='".$text['button-back']."'>\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='dialplans.php'\" value='".$text['button-back']."'>\n";
|
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='dialplans.php'\" value='".$text['button-back']."'>\n";
|
||||||
}
|
}
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td align='left' colspan='2'>\n";
|
echo " <td align='left' colspan='2'>\n";
|
||||||
echo " ".$text['description-dialplan-edit']."\n";
|
echo " ".$text['description-dialplan-edit']."\n";
|
||||||
echo " \n";
|
echo " \n";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "<br />\n";
|
echo "<br />\n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user