Lines 1-5
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
|
|
3 |
[% USE Koha %] |
3 |
[% SET footerjs = 1 %] |
4 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Administration › Advanced editor shortcuts</title> |
6 |
<title>Koha › Administration › Advanced editor shortcuts</title> |
Lines 21-59
Link Here
|
21 |
<div class="col-sm-10 col-sm-push-2"> |
22 |
<div class="col-sm-10 col-sm-push-2"> |
22 |
<main> |
23 |
<main> |
23 |
<h1>Advanced editor keyboard shortcuts</h1> |
24 |
<h1>Advanced editor keyboard shortcuts</h1> |
24 |
<ul> |
25 |
[% IF Koha.Preference('EnableAdvancedCatalogingEditor') %] |
25 |
<li>Separate keys using a hyphen "-"</li> |
26 |
<ul> |
26 |
<li>Control key is "Ctrl"</li> |
27 |
<li>Separate keys using a hyphen "-"</li> |
27 |
<li>Alt key is "Alt"</li> |
28 |
<li>Control key is "Ctrl"</li> |
28 |
<li>Shift is "Shift"</li> |
29 |
<li>Alt key is "Alt"</li> |
29 |
<li>If combining multiple keys they must be in specified order: Shift-Cmd-Ctrl-Alt</li> |
30 |
<li>Shift is "Shift"</li> |
30 |
<li><a href="https://codemirror.net/doc/manual.html#keymaps">More documentation on defining key maps</a></li> |
31 |
<li>If combining multiple keys they must be in specified order: Shift-Cmd-Ctrl-Alt</li> |
31 |
</ul> |
32 |
<li><a href="https://codemirror.net/doc/manual.html#keymaps">More documentation on defining key maps</a></li> |
|
|
33 |
</ul> |
32 |
|
34 |
|
33 |
<form id="adveditor_shortcuts" method="post" action="/cgi-bin/koha/admin/adveditorshortcuts.pl"> |
35 |
<form id="adveditor_shortcuts" method="post" action="/cgi-bin/koha/admin/adveditorshortcuts.pl"> |
34 |
<fieldset> |
36 |
<fieldset> |
35 |
<input type=hidden name="op" value="save" /> |
37 |
<input type=hidden name="op" value="save" /> |
36 |
|
|
|
37 |
<table id="adv_editor_keyboard_shortcuts"> |
38 |
<thead> |
39 |
<th>Description</th> |
40 |
<th>Shortcut keys</th> |
41 |
</thead> |
42 |
<tbody> |
43 |
[% FOREACH shortcut IN shortcuts %] |
44 |
<tr> |
45 |
<td><label for="shortcut_keys">[% PROCESS keyboard_shortcut_descriptions shortcut_name=shortcut.shortcut_name %]</label></td> |
46 |
<td> |
47 |
<input type="hidden" name="shortcut_name" value="[% shortcut.shortcut_name | html %]"> |
48 |
<input type="text" name="shortcut_keys" value="[% shortcut.shortcut_keys | html %]"> |
49 |
</td> |
50 |
</tr> |
51 |
[% END %] |
52 |
</table> |
53 |
</fieldset> |
54 |
</fieldset class="action"><input type="submit" value="Save shortcuts"></fieldset> |
55 |
</form> |
56 |
|
38 |
|
|
|
39 |
<table id="adv_editor_keyboard_shortcuts"> |
40 |
<thead> |
41 |
<th>Description</th> |
42 |
<th>Shortcut keys</th> |
43 |
</thead> |
44 |
<tbody> |
45 |
[% FOREACH shortcut IN shortcuts %] |
46 |
<tr> |
47 |
<td><label for="shortcut_keys">[% PROCESS keyboard_shortcut_descriptions shortcut_name=shortcut.shortcut_name %]</label></td> |
48 |
<td> |
49 |
<input type="hidden" name="shortcut_name" value="[% shortcut.shortcut_name | html %]"> |
50 |
<input type="text" name="shortcut_keys" value="[% shortcut.shortcut_keys | html %]"> |
51 |
</td> |
52 |
</tr> |
53 |
[% END %] |
54 |
</table> |
55 |
</fieldset> |
56 |
</fieldset class="action"><input type="submit" value="Save shortcuts"></fieldset> |
57 |
</form> |
58 |
[% ELSE %] |
59 |
<p>Enable the advanced cataloging editor ( EnableAdvancedCatalogingEditor system preference) to define keyboard shortcuts</p> |
60 |
[% END %] |
57 |
</main> |
61 |
</main> |
58 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
62 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
59 |
|
63 |
|