Update extension_edit.php

Update the voicemail password form input.
This commit is contained in:
FusionPBX 2016-08-28 12:58:19 -06:00 committed by GitHub
parent 9f33fa36ba
commit 0d1ca7885d
1 changed files with 15 additions and 11 deletions

View File

@ -23,16 +23,20 @@
Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
*/
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('extension_add') || permission_exists('extension_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('extension_add') || permission_exists('extension_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//detect billing app
$billing_app_exists = file_exists($_SERVER["PROJECT_ROOT"]."/app/billing/app_config.php");
@ -1169,7 +1173,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['label-voicemail_password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='voicemail_password' id='voicemail_password' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='255' value='$voicemail_password'>\n";
echo " <input class='formfld' type='text' name='voicemail_password' id='voicemail_password' autocomplete="off" onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='255' value='$voicemail_password'>\n";
echo " <br />\n";
echo " ".$text['description-voicemail_password']."\n";
echo "</td>\n";