version 1.567, 2023/11/28 04:48:14
|
version 1.569, 2024/03/31 01:50:18
|
Line 1623 FULLPAGE
|
Line 1623 FULLPAGE
|
if ($filetype eq 'html') { |
if ($filetype eq 'html') { |
$htmlerror=&verify_html($filecontents); |
$htmlerror=&verify_html($filecontents); |
if ($htmlerror) { |
if ($htmlerror) { |
$htmlerror='<span class="LC_error">'.$htmlerror.'</span>'; |
$htmlerror=(' 'x3).' <span class="LC_error">'.$htmlerror.'</span>'; |
} |
} |
if (&Apache::lonhtmlcommon::htmlareabrowser()) { |
if (&Apache::lonhtmlcommon::htmlareabrowser()) { |
unless ($textareaclass) { |
unless ($textareaclass) { |
Line 1668 $initialize
|
Line 1668 $initialize
|
</div> |
</div> |
<div> |
<div> |
<input type="button" name="discardview" accesskey="d" value="$lt{'dv'}" $onclick{'discard'} /> |
<input type="button" name="discardview" accesskey="d" value="$lt{'dv'}" $onclick{'discard'} /> |
$undo $htmlerror $deps_button $daxebutton $dragmath_button |
$undo $deps_button $daxebutton $dragmath_button $htmlerror |
</div> |
</div> |
</div> |
</div> |
<textarea $textarea_events style="width:100%" cols="80" rows="44" name="filecont" id="filecont" $textareaclass>$filecontents</textarea><br />$spelllink |
<textarea $textarea_events style="width:100%" cols="80" rows="44" name="filecont" id="filecont" $textareaclass>$filecontents</textarea><br />$spelllink |
Line 1710 function seteditmode(form,editor) {
|
Line 1710 function seteditmode(form,editor) {
|
var url = new URL(document.location.href); |
var url = new URL(document.location.href); |
window.location = url.protocol+'//'+url.hostname+'/daxepage'+url.pathname; |
window.location = url.protocol+'//'+url.hostname+'/daxepage'+url.pathname; |
} else { |
} else { |
form.editmode.value = editor; |
if (editor == 'edit') { |
|
form.editmode.value = editor; |
|
} else { |
|
form.editmode.value = ''; |
|
} |
form.submit(); |
form.submit(); |
} |
} |
} |
} |