--- a/views/settings.tpl
+++ b/views/settings.tpl
@@ -16,6 +16,12 @@
<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: