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

@ -11,7 +11,7 @@ class RSS_Comments extends SimpleExtension {
global $config, $page;
$title = $config->get_string('title');
$page->add_header("<link rel=\"alternate\" type=\"application/rss+xml\" ".
$page->add_html_header("<link rel=\"alternate\" type=\"application/rss+xml\" ".
"title=\"$title - Comments\" href=\"".make_link("rss/comments")."\" />");
}