[ticket/12598] Move adv-search link into form

Now that we don't have a dropdown anymore, this is cleaner.

PHPBB3-12598