From 8c978d76179b4f573c1eb9b9bb9db966c81330bb Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Thu, 15 Nov 2007 21:51:00 +0100 Subject: Too many changes... --- tmpl/header.tt2 | 18 ++++++++++++++++-- tmpl/prefs.tt2 | 13 ++++++++----- tmpl/search_result.tt2 | 6 ++++-- 3 files changed, 28 insertions(+), 9 deletions(-) (limited to 'tmpl') diff --git a/tmpl/header.tt2 b/tmpl/header.tt2 index 0c5b6f6..0b07111 100644 --- a/tmpl/header.tt2 +++ b/tmpl/header.tt2 @@ -2,9 +2,22 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - - + [% IF is_ajax %] + + [% ELSE %] + + [% END %] @@ -36,6 +49,7 @@ END %] + [% IF node.name.match('[^/]$') %]
diff --git a/tmpl/prefs.tt2 b/tmpl/prefs.tt2 index c7f6a6d..6246ac6 100644 --- a/tmpl/prefs.tt2 +++ b/tmpl/prefs.tt2 @@ -18,7 +18,7 @@
- Back + Back
@@ -30,10 +30,12 @@ Where do you want your search results to be displayed?
    -
  1. +
  2. Replace the active source browsing window
  3. -
  4. +
  5. Show them in a popup window (requires JavaScript enabled)
    If your browser limits the ability to @@ -41,9 +43,10 @@ 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 - behing other windows after use.
  6. + behind other windows after use. -
  7. +
  8. Show them inside the active source browsing window (requires JavaScript enabled)
  9. diff --git a/tmpl/search_result.tt2 b/tmpl/search_result.tt2 index 639e951..1a38e22 100644 --- a/tmpl/search_result.tt2 +++ b/tmpl/search_result.tt2 @@ -56,7 +56,8 @@ at [% INCLUDE line_reference.tt2, file = file.1, line = file.2 %]
      [% FOREACH file = file_res.files %]
    • [% file %] + '[% file %][% context.args_url %]', '[% context.release %]', '');" + [% navtarget %]>[% file %]
    • [% END %]
    @@ -67,7 +68,8 @@ at [% INCLUDE line_reference.tt2, file = file.1, line = file.2 %]
      [% FOREACH file = ambig_res.files %]
    • [% file %] + '[% file %][% context.args_url %]', '[% context.release %]', '');" + [% navtarget %]>[% file %]
    • [% END %]
    -- cgit v1.2.3