From ead9cbe534d3c520957d72b543004c0fcce70c87 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 13 Apr 2017 02:24:27 +0200 Subject: [PATCH] Web app manifest (fixes #3317) --- mod/manifest.php | 26 ++++++++++++++++++++++++++ view/templates/head.tpl | 1 + view/templates/manifest.tpl | 9 +++++++++ view/theme/frio/templates/head.tpl | 1 + 4 files changed, 37 insertions(+) create mode 100644 mod/manifest.php create mode 100644 view/templates/manifest.tpl diff --git a/mod/manifest.php b/mod/manifest.php new file mode 100644 index 000000000..6dc0d10a2 --- /dev/null +++ b/mod/manifest.php @@ -0,0 +1,26 @@ + App::get_baseurl(), + '$touch_icon' => $touch_icon, + '$title' => Config::get('config', 'sitename', 'Friendica'), + )); + + echo $o; + + killme(); + + } +?> diff --git a/view/templates/head.tpl b/view/templates/head.tpl index bfc5728ed..e7df8a18c 100644 --- a/view/templates/head.tpl +++ b/view/templates/head.tpl @@ -19,6 +19,7 @@ +