Changeset 677
- Timestamp:
- May 3, 2019 3:10:24 AM (5 years ago)
- Location:
- trunk/services
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/admins.php
r676 r677 241 241 $fv->isEmpty('userpass', _("<strong>Password</strong> cannot be blank.")); 242 242 } 243 if (' update' == getFormData('op') && strlen(getFormData('userpass')) > 0) {243 if ('insert' == getFormData('op') || ('update' == getFormData('op') && strlen(getFormData('userpass')) > 0)) { 244 244 $fv->stringLength('userpass', 8, 100, _("<strong>Password</strong> must be between 8 and 100 characters long.")); 245 245 } -
trunk/services/templates/admin_form.ihtml
r676 r677 36 36 <input type="password" class="sc-small" size="50" name="userpass" value="" /> 37 37 <?php if ('add' != getFormData('op') && 'insert' != getFormData('op')) { ?> 38 <div class="sc-help"><?php echo _("Leave blank unless setting a new password."); ?></div>38 <div class="sc-help"><?php echo _("Leave password field empty unless you want to change it."); ?></div> 39 39 <?php } ?> 40 40 </div>
Note: See TracChangeset
for help on using the changeset viewer.