aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/prefs.tt2
blob: 5e5c002c778fb04a70c531265103721bb1f4a235 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <script type="text/javascript" src="../.static/js/lxrng-funcs.js"></script>
    <link rel="shortcut icon" href="../.static/gfx/favicon.png" type="image/png">
    <link rel="stylesheet" href="../.static/css/lxrng.css" type="text/css" title="LXRng">

    <title id="title">LXR Preferences</title>
  </head>
  <body>

    <div class="heading">
      <div class="headingtop"></div>

      <span class="lxr_title">
	<span class="lxr_l">l</span><span class="lxr_x">x</span><span class="lxr_r">r</span>
	Personal preferences for this LXRng site
      </span>

      <div class="lxr_menu">
	<span class="lxr_prefs"><a href="[% return %]">Back</a></span>
      </div>
      <div class="headingbottom"></div>
    </div>

    <div class="prose">
    <p>
    <form method="post" action="+prefs">
      <div>
      <input type="hidden" name="return" value="[% return %]">
      Where do you want your search results to be displayed?
      <ol>
	<li><input type="radio" name="resultloc" value="replace"
	  [% IF is_replace %]checked[% END %]>
	Replace the active source browsing window</li>

	<li><input type="radio" name="resultloc" value="popup"
	  [% IF is_popup %]checked[% END %]>
	Show them in a popup window (requires JavaScript enabled)<br>

	<font size="-1"><em>If your browser limits the ability to
	raise/lower windows from JavaScript (Firefox: Edit ->
	Preferences -> Content -> Enable JavaScript -> Advanced ->
	Allow scripts to: Raise or lower windows), make sure you
	either close your search result windows or avoid hiding them
	behind other windows after use.</em></font></li>

	<li><input type="radio" name="resultloc" value="ajax"
	  [% IF is_ajax %]checked[% END %]>
	Show them inside the active source browsing window
	(requires JavaScript enabled)
	</li>
      </ol>
      </p>
      </div>
      <p>
	(Cookies need to be enabled for LXR preferences to take effect.)
      </p>
      <button type="submit">Store preferences</button>
    </div>
    </form>

  </body>
</html>