Working on moving header() inside of the global $page data structure.

This commit is contained in:
green-ponies (jgen)
2011-08-28 00:31:30 -04:00
parent bf035c247d
commit fca286913e
15 changed files with 35 additions and 35 deletions

View File

@@ -28,7 +28,7 @@ class BrowserSearch implements Extension {
global $config;
$search_title = $config->get_string('title');
$search_file_url = make_link('browser_search/please_dont_use_this_tag_as_it_would_break_stuff__search.xml');
$page->add_header("<link rel='search' type='application/opensearchdescription+xml' title='$search_title' href='$search_file_url'>");
$page->add_html_header("<link rel='search' type='application/opensearchdescription+xml' title='$search_title' href='$search_file_url'>");
}
// The search.xml file that is generated on the fly