version 1.406, 2022/02/15 04:28:01
|
version 1.408, 2022/02/18 13:39:22
|
Line 11568 function warnInt$prefix(field) {
|
Line 11568 function warnInt$prefix(field) {
|
field.value.replace(/^\s+/,''); |
field.value.replace(/^\s+/,''); |
field.value.replace(/\s+\$/,''); |
field.value.replace(/\s+\$/,''); |
var regexdigit=/^\\d+\$/; |
var regexdigit=/^\\d+\$/; |
if (field.name == '$prefix\_min') { |
if (field.name == '${prefix}_min') { |
if (field.value == '') { |
if (field.value == '') { |
alert('$intalert{passmin}'); |
alert('$intalert{passmin}'); |
field.value = '$defmin'; |
field.value = '$defmin'; |
Line 11588 function warnInt$prefix(field) {
|
Line 11588 function warnInt$prefix(field) {
|
field.value = ''; |
field.value = ''; |
} |
} |
if (field.value != '') { |
if (field.value != '') { |
if (field.name == '$prefix\_expire') { |
if (field.name == '${prefix}_expire') { |
var regexpposnum=/^\\d+(|\\.\\d*)\$/; |
var regexpposnum=/^\\d+(|\\.\\d*)\$/; |
if (!regexpposnum.test(field.value)) { |
if (!regexpposnum.test(field.value)) { |
alert('$intalert{passexp}'); |
alert('$intalert{passexp}'); |
Line 11602 function warnInt$prefix(field) {
|
Line 11602 function warnInt$prefix(field) {
|
} |
} |
} else { |
} else { |
if (!regexdigit.test(field.value)) { |
if (!regexdigit.test(field.value)) { |
if (field.name == '$prefix\_max') { |
if (field.name == '${prefix}_max') { |
alert('$intalert{passmax}'); |
alert('$intalert{passmax}'); |
} else { |
} else { |
if (field.name == '$prefix\_numsaved') { |
if (field.name == '${prefix}_numsaved') { |
alert('$intalert{passnum}'); |
alert('$intalert{passnum}'); |
} |
} |
} |
} |
Line 16301 sub modify_lti {
|
Line 16301 sub modify_lti {
|
$dom,$hostid); |
$dom,$hostid); |
} |
} |
} |
} |
|
if (ref($lastactref) eq 'HASH') { |
|
if (($secchanges{'encrypt'}) || ($secchanges{'private'})) { |
|
$lastactref->{'domdefaults'} = 1; |
|
} |
|
} |
} |
} |
&Apache::lonnet::put_dom('encconfig',\%ltienchash,$dom,undef,1); |
&Apache::lonnet::put_dom('encconfig',\%ltienchash,$dom,undef,1); |
if ((keys(%changes) == 0) && (keys(%secchanges) == 0)) { |
if ((keys(%changes) == 0) && (keys(%secchanges) == 0)) { |