aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-02 14:49:51 -0800
committerzotlabs <mike@macgirvin.com>2017-02-02 14:49:51 -0800
commit2daafe80a5cc9af9fb40712135490c86155fb9cf (patch)
tree2f169b2d66bb769ddda993d3c49c48223c53deba /boot.php
parente2ee565f05a43bb5fa461df3fd857dc27c8d9b67 (diff)
downloadvolse-hubzilla-2daafe80a5cc9af9fb40712135490c86155fb9cf.tar.gz
volse-hubzilla-2daafe80a5cc9af9fb40712135490c86155fb9cf.tar.bz2
volse-hubzilla-2daafe80a5cc9af9fb40712135490c86155fb9cf.zip
move opensearch to plugins
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 8d007d805..e42c41546 100755
--- a/boot.php
+++ b/boot.php
@@ -802,6 +802,7 @@ class App {
public static $identities;
public static $css_sources = array();
public static $js_sources = array();
+ public static $linkrel = array();
public static $theme_info = array();
public static $is_sys = false;
public static $nav_sel;
@@ -1164,6 +1165,11 @@ class App {
self::$meta->set('generator', Zotlabs\Lib\System::get_platform_name());
+ head_add_link(['rel' => 'shortcut icon', 'href' => head_get_icon()]);
+
+ $x = [ 'header' => '' ];
+ call_hooks('build_pagehead',$x);
+
/* put the head template at the beginning of page['htmlhead']
* since the code added by the modules frequently depends on it
* being first
@@ -1176,11 +1182,12 @@ class App {
'$baseurl' => self::get_baseurl(),
'$local_channel' => local_channel(),
'$metas' => self::$meta->get(),
+ '$plugins' => $x['header'],
'$update_interval' => $interval,
'osearch' => sprintf( t('Search %1$s (%2$s)','opensearch'), Zotlabs\Lib\System::get_site_name(), t('$Projectname','opensearch')),
- '$icon' => head_get_icon(),
'$head_css' => head_get_css(),
'$head_js' => head_get_js(),
+ '$linkrel' => head_get_links(),
'$js_strings' => js_strings(),
'$zid' => get_my_address(),
'$channel_id' => self::$profile['uid'],