Domains - Edit: Sticky Domain Settings action bar.

This commit is contained in:
Nate
2020-02-12 11:59:29 -07:00
parent 232e49182b
commit 0cc208bb03
2 changed files with 29 additions and 14 deletions

View File

@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2019
Portions created by the Initial Developer are Copyright (C) 2008-2020
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -669,25 +669,22 @@
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
echo " <td colspan='2' align='right'>\n";
if ($action == "update") {
echo " <input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>\n";
}
echo " <input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "<br /><br />";
if ($action == "update") {
echo "<input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>\n";
}
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
echo "</form>";
if ($action == "update" && permission_exists('domain_setting_view')) {
echo "<br />\n";
require "core/domain_settings/domain_settings.php";
require $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/core/domain_settings/domain_settings.php";
echo "<br /><br />\n";
}
//include the footer
require_once "resources/footer.php";
?>
?>