/** * Render page head... * * @access public * @param string $title * @return string */ function render_page_head() { $page = PageDescription::instance(); $head = render_page_links() . "\n" . render_page_meta() . "\n" . render_page_javascript() . "\n" . render_page_inline_js() . "\n" . render_page_inline_css(); return trim($head) . "\n"; } // render_page_head
/** * Add a favicon to page * * @access public * @param string $src URL of favicon * @return string */ function add_favicon_to_page($src) { $page = PageDescription::instance(); $page->addRelLink(with_slash(ROOT_URL) . $src, 'shortcut icon', null); }