Restore Button + Audiocodes preliminary support (#2502)

* Audiocodes phone support + restore default for vendors

* Restore button

* Restore script

* Update device_vendors.php
This commit is contained in:
Luis Daniel Lucio Quiroz
2017-04-13 14:18:38 -06:00
committed by FusionPBX
parent 1b2cdb633d
commit fdaba192a4
3 changed files with 192 additions and 2 deletions
+4 -1
View File
@@ -104,6 +104,9 @@
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-device_vendors']."</b></td>\n";
echo " <form method='get' action=''>\n";
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
if (permission_exists('device_vendor_restore')) {
echo " <input type='button' class='btn' alt='".$text['button-restore']."' onclick=\"document.location='device_vendor_restore.php'\" value='".$text['button-restore']."'>";
}
echo " <input type='button' class='btn' alt='".$text['button-back']."' onclick=\"document.location='devices.php'\" value='".$text['button-back']."'>";
echo " <input type='text' class='txt' style='width: 150px' name='search' id='search' value='".$search."'>\n";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
@@ -179,4 +182,4 @@
//include the footer
require_once "resources/footer.php";
?>
?>