From: Michael Vogel Date: Tue, 17 Jun 2014 18:11:35 +0000 (+0200) Subject: The icon for the website is now changeable in the config X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=297d8a6cc691c23280aede12d6e37511fb87af59;p=friendica.git The icon for the website is now changeable in the config --- diff --git a/boot.php b/boot.php index ee5943d61b..8b5cda68ab 100644 --- a/boot.php +++ b/boot.php @@ -693,6 +693,14 @@ if(! class_exists('App')) { else $stylesheet = '$stylesheet'; + $shortcut_icon = get_config("system", "shortcut_icon"); + if ($shortcut_icon == "") + $shortcut_icon = $this->get_baseurl()."/images/friendica-32.png"; + + $touch_icon = get_config("system", "touch_icon"); + if ($touch_icon == "") + $touch_icon = $this->get_baseurl()."/images/friendica-128.png"; + $tpl = get_markup_template('head.tpl'); $this->page['htmlhead'] = replace_macros($tpl,array( '$baseurl' => $this->get_baseurl(), // FIXME for z_path!!!! @@ -703,6 +711,8 @@ if(! class_exists('App')) { '$showmore' => t('show more'), '$showfewer' => t('show fewer'), '$update_interval' => $interval, + '$shortcut_icon' => $shortcut_icon, + '$touch_icon' => $touch_icon, '$stylesheet' => $stylesheet )) . $this->page['htmlhead']; } diff --git a/view/templates/head.tpl b/view/templates/head.tpl index f1f6b55052..d60d2603c1 100644 --- a/view/templates/head.tpl +++ b/view/templates/head.tpl @@ -13,9 +13,13 @@ + + + +