The following commit has been merged in the master branch:
commit 14c98c53a642f2a7dba01e5c403c21694cf73547
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date: Fri May 2 23:01:39 2008 +0200
html/head.tmpl: Include the language in the search form if needed
If the user overrode the content negotiation, it should be preserved
when using the search form at the top of the pages.
diff --git a/templates/html/head.tmpl b/templates/html/head.tmpl
index 1cc5d1f..f8d520b 100644
--- a/templates/html/head.tmpl
+++ b/templates/html/head.tmpl
@@ -43,6 +43,7 @@
[% IF search_field_values.suite %]<input type="hidden" name="suite" value="[%
search_field_values.suite %]">[% END %]
[% IF search_field_values.sections %]<input type="hidden" name="section"
value="[% search_field_values.sections %]">[% END %]
[% IF search_field_values.architectures %]<input type="hidden" name="arch"
value="[% search_field_values.architectures %]">[% END %]
+[% IF opts.lang %]<input type="hidden" name="lang" value="[% opts.lang %]">[%
END %]
<input type="submit" value="[% g('Search') %]">
<select size="1" name="searchon">
<option value="names" [% selected IF search_field_values.searchon == 'names'
|| search_field_values.searchon == 'default' %]>
--
APT Archive Web-Frontend (Alioth repository)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]