2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Removed pattern restrictions in admin interface

Updated changelog for 1.14.3 release
This commit is contained in:
Adam Zammit
2016-10-25 15:28:42 +11:00
parent bd98a4a8f0
commit f2dab54b19
3 changed files with 19 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ if ( (isset($_GET['appointment_id']) && isset($_GET['case_id'])) ||(isset($_GET[
print "<div class='col-lg-4' id='addPhone' style='display:none'>
<div class='col-lg-6' id=''>
<input type=\"tel\" maxlength=\"10\" pattern=\"[0-9]{10}\" class='form-control col-lg-2 ' name='addphonenumber' />
<input type=\"tel\" class='form-control col-lg-2 ' name='addphonenumber' />
</div>
</div>";
//*end option

View File

@@ -197,7 +197,7 @@ if (isset($_GET['edit']) || isset($_GET['addext']))
</div>
<div class="form-group form-inline">
<label class="control-label col-lg-3"><?php echo T_("Extension password: ");?></label>
<input name="password" type="text" required pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" style="width:20em;" maxlength="50" value="<?php if (isset($_GET['edit'])) echo $rs['password'];?>" class="form-control pull-left" placeholder="<?php echo T_("Enter New Password");?>"/>&emsp;&emsp;<?php echo T_(" or ");?>&ensp;
<input name="password" type="text" required style="width:20em;" maxlength="50" value="<?php if (isset($_GET['edit'])) echo $rs['password'];?>" class="form-control pull-left" placeholder="<?php echo T_("Enter New Password");?>"/>&emsp;&emsp;<?php echo T_(" or ");?>&ensp;
<input type="button" onclick="generate();" value="<?php echo T_("Generate");?>" class="btn btn-default fa" />&emsp;<?php echo T_("New password");?>&ensp;
<input type="number" name="number" value="25" min="8" max="50" style="width:5em;" class="form-control" />&ensp;<?php echo T_("characters long");?>
</div>