version 1.62, 2022/03/12 21:24:17
|
version 1.64, 2022/04/05 12:27:39
|
Line 180 ENDJS
|
Line 180 ENDJS
|
} |
} |
$linkprot_check .= <<ENDJS; |
$linkprot_check .= <<ENDJS; |
if (posscheck) { |
if (posscheck) { |
|
uncheckLinkProtMakeVis('visible','$num'); |
document.display.elements['linkprot_secret_$num'].type = 'password'; |
document.display.elements['linkprot_secret_$num'].type = 'password'; |
} |
} |
|
|
Line 198 $intargjs
|
Line 199 $intargjs
|
ENDJS |
ENDJS |
} |
} |
$linkprot_check .= <<ENDJS; |
$linkprot_check .= <<ENDJS; |
|
uncheckLinkProtMakeVis('visible','$num'); |
document.display.elements['linkprot_secret_$num'].type = 'password'; |
document.display.elements['linkprot_secret_$num'].type = 'password'; |
|
|
ENDJS |
ENDJS |
Line 209 ENDJS
|
Line 211 ENDJS
|
$linkprot_check .= <<ENDJS |
$linkprot_check .= <<ENDJS |
secretinput = document.display.elements['linkprot_secret_add'].value; |
secretinput = document.display.elements['linkprot_secret_add'].value; |
if (document.display.elements['linkprot_add'].checked) { |
if (document.display.elements['linkprot_add'].checked) { |
$intargjs |
$intargjs |
} |
} |
|
|
ENDJS |
ENDJS |
} |
} |
$linkprot_check .= <<ENDJS; |
$linkprot_check .= <<ENDJS; |
|
uncheckLinkProtMakeVis('visible','add'); |
document.display.elements['linkprot_secret_add'].type = 'password'; |
document.display.elements['linkprot_secret_add'].type = 'password'; |
|
|
ENDJS |
ENDJS |
Line 536 sub make_changes {
|
Line 539 sub make_changes {
|
$errors = |
$errors = |
&Apache::courseprefs::process_changes($dom,$confname,$item,$values, |
&Apache::courseprefs::process_changes($dom,$confname,$item,$values, |
$prefs->{$item},$changes{$item}, |
$prefs->{$item},$changes{$item}, |
$allitems,\%disallowed,$crstype); |
$allitems,\%disallowed,$crstype, |
|
\%lastact); |
if (keys(%{$changes{$item}}) > 0) { |
if (keys(%{$changes{$item}}) > 0) { |
$numchanged ++; |
$numchanged ++; |
} |
} |