Parent: [66321a] (diff)

Download this file

settings.tpl    43 lines (42 with data), 1.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
%include header title=" / settings"
<div id="settings-box">
<form action="set" method="get">
<b>Find similar</b> <small class="gray">(1 or 0, show "squats" and "squatter")</small>
<input name="stem" value={{stem}}>
<b>Max results</b> <small class="gray">(maximum number of results to show)</small>
<input name="maxresults" value={{maxresults}}>
<hr>
<b>Results per page</b> <small class="gray">(0 for no pagination)</small>
<input name="perpage" value={{perpage}}>
<b>Context words</b> <small class="gray">(number of words shown in search results)</small>
<input name="context" value={{context}}>
<b>Context characters</b> <small class="gray">(max characters in a snippet)</small>
<input name="maxchars" value={{maxchars}}>
<b>Time</b> <small class="gray">(time format string)</small>
<input name="timefmt" value={{timefmt}}>
<b>Folder depth</b> <small class="gray">(number of levels of the folder dropdown)</small>
<input name="dirdepth" value={{dirdepth}}>
<b>Default action</b> <small class="gray">(action to take when clicking result title)</small>
<select name="title_link">
<option value="download" {{'selected' if title_link == 'download' else ''}}>Download</option>
<option value="preview" {{'selected' if title_link == 'preview' else ''}}>Preview</option>
<option value="open" {{'selected' if title_link == 'open' else ''}}>Open</option>
</select>
<hr>
<b>Locations</b><br>
%for d in dirs:
<small>{{d}}</small><input name="mount_{{d}}" value={{mounts[d]}}>
%end
<hr>
<b>CSV fields</b> <small class="gray">({{fields}})</small><br>
<input name="csvfields" value="{{csvfields}}">
<hr>
<b>Add to browser</b>
<br>
<a href="#" onClick="addOpenSearch();return false">Register recoll into browser search engines</a>
<br><br><hr>
<input type="submit" value="Save">
<a href="./"><input type="button" value="Cancel"></a>
</form>
</div>
%include footer