Use absolute positioning on content nav if the window is shorter than the nav. Fix #519.
(cherry picked from commit 5823328515dd7b1a00c08ae786aa0836b39a1e32)
Normalized function used to get derivative filename.
(cherry picked from commit f716af19b3be6d7e0ca77d36c08e409c4935b61c)
Use 'type' key for item type field in advanced search.

Changes the key on $_REQUEST to 'type' instead of 'item-type-search', so that
the item type field is corrected selected if that parameter is set on the
advanced search page.
(cherry picked from commit a9ade6e415a3d81624358bb72459ee2405551f7f)
Fix unescaped strings on search filters output.
Merge branch 'stable-2.0'