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,9 +23,13 @@
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx> Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
*/ */
//includes
include "root.php"; include "root.php";
require_once "resources/require.php"; require_once "resources/require.php";
require_once "resources/check_auth.php"; require_once "resources/check_auth.php";
//check permissions
if (permission_exists('extension_add') || permission_exists('extension_edit')) { if (permission_exists('extension_add') || permission_exists('extension_edit')) {
//access granted //access granted
} }
@ -1169,7 +1173,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['label-voicemail_password']."\n"; echo " ".$text['label-voicemail_password']."\n";
echo "</td>\n"; echo "</td>\n";
echo "<td class='vtable' align='left'>\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 " <br />\n";
echo " ".$text['description-voicemail_password']."\n"; echo " ".$text['description-voicemail_password']."\n";
echo "</td>\n"; echo "</td>\n";