added option to not capture f5,f11,f12

This commit is contained in:
2017-09-11 23:59:43 +02:00
parent 8548c619d8
commit bdadb9b532
6 changed files with 55 additions and 33 deletions
+6
View File
@@ -165,6 +165,12 @@
<input type="hidden" id="fn_alt_mode" name="fn_alt_mode" value="%fn_alt_mode%">
</div>
<div class="Row checkbox" >
<label><?= tr('term.want_all_fn') ?></label><!--
--><span class="box" tabindex=0 role=checkbox></span>
<input type="hidden" id="want_all_fn" name="want_all_fn" value="%want_all_fn%">
</div>
<div class="Row checkbox" >
<label><?= tr('term.crlf_mode') ?></label><!--
--><span class="box" tabindex=0 role=checkbox></span>
+5 -1
View File
@@ -72,7 +72,11 @@
<script>
try {
window.noAutoShow = true;
termInit('%j:labels_seq%', +'%theme%');
termInit({
labels: '%j:labels_seq%',
theme: +'%theme%',
allFn: !!+'%want_all_fn%',
});
} catch(e) {
console.error(e);
<?php if (!DEBUG): ?>