From: Thomas Citharel Date: Mon, 17 Nov 2014 22:15:47 +0000 (+0100) Subject: Merge pull request #937 from jsit/favicons X-Git-Tag: 1.9beta~54 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=db3bffa284012aec4f96c851c413e435080fed02;hp=d0287608b6d34f36caafbf699d44337052a0fe3d;p=github%2Fwallabag%2Fwallabag.git Merge pull request #937 from jsit/favicons Moving favicons to new _global theme dir and adjusting tags --- diff --git a/inc/poche/Template.class.php b/inc/poche/Template.class.php index b686f2ec..20e9c54a 100644 --- a/inc/poche/Template.class.php +++ b/inc/poche/Template.class.php @@ -181,7 +181,7 @@ class Template extends Twig_Environment while (($theme = readdir($handle)) !== false) { # Themes are stored in a directory, so all directory names are themes # @todo move theme installation data to database - if (!is_dir(THEME . '/' . $theme) || in_array($theme, array('.', '..'))) { + if (!is_dir(THEME . '/' . $theme) || in_array($theme, array('.', '..', '_global'))) { continue; } @@ -232,4 +232,4 @@ class Template extends Twig_Environment Tools::emptyCache(); Tools::redirect('?view=config'); } -} \ No newline at end of file +} diff --git a/themes/baggy/img/apple-touch-icon-114.png b/themes/_global/img/appicon/apple-touch-icon-114.png similarity index 100% rename from themes/baggy/img/apple-touch-icon-114.png rename to themes/_global/img/appicon/apple-touch-icon-114.png diff --git a/themes/baggy/img/apple-touch-icon-120.png b/themes/_global/img/appicon/apple-touch-icon-120.png similarity index 100% rename from themes/baggy/img/apple-touch-icon-120.png rename to themes/_global/img/appicon/apple-touch-icon-120.png diff --git a/themes/baggy/img/apple-touch-icon-144.png b/themes/_global/img/appicon/apple-touch-icon-144.png similarity index 100% rename from themes/baggy/img/apple-touch-icon-144.png rename to themes/_global/img/appicon/apple-touch-icon-144.png diff --git a/themes/baggy/img/apple-touch-icon-152.png b/themes/_global/img/appicon/apple-touch-icon-152.png similarity index 100% rename from themes/baggy/img/apple-touch-icon-152.png rename to themes/_global/img/appicon/apple-touch-icon-152.png diff --git a/themes/baggy/img/apple-touch-icon-57.png b/themes/_global/img/appicon/apple-touch-icon-57.png similarity index 100% rename from themes/baggy/img/apple-touch-icon-57.png rename to themes/_global/img/appicon/apple-touch-icon-57.png diff --git a/themes/baggy/img/apple-touch-icon-72.png b/themes/_global/img/appicon/apple-touch-icon-72.png similarity index 100% rename from themes/baggy/img/apple-touch-icon-72.png rename to themes/_global/img/appicon/apple-touch-icon-72.png diff --git a/themes/baggy/img/apple-touch-icon-76.png b/themes/_global/img/appicon/apple-touch-icon-76.png similarity index 100% rename from themes/baggy/img/apple-touch-icon-76.png rename to themes/_global/img/appicon/apple-touch-icon-76.png diff --git a/themes/baggy/img/apple-touch-icon.png b/themes/_global/img/appicon/apple-touch-icon.png similarity index 100% rename from themes/baggy/img/apple-touch-icon.png rename to themes/_global/img/appicon/apple-touch-icon.png diff --git a/themes/baggy/img/favicon.ico b/themes/_global/img/appicon/favicon.ico similarity index 100% rename from themes/baggy/img/favicon.ico rename to themes/_global/img/appicon/favicon.ico diff --git a/themes/baggy/_head.twig b/themes/baggy/_head.twig index be11673f..5e1f5ba3 100755 --- a/themes/baggy/_head.twig +++ b/themes/baggy/_head.twig @@ -1,12 +1,35 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/courgette/_head.twig b/themes/courgette/_head.twig index 059936d9..c20dcf67 100755 --- a/themes/courgette/_head.twig +++ b/themes/courgette/_head.twig @@ -1,11 +1,34 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/courgette/img/apple-touch-icon-144x144-precomposed.png b/themes/courgette/img/apple-touch-icon-144x144-precomposed.png deleted file mode 100755 index 557b479c..00000000 Binary files a/themes/courgette/img/apple-touch-icon-144x144-precomposed.png and /dev/null differ diff --git a/themes/courgette/img/apple-touch-icon-72x72-precomposed.png b/themes/courgette/img/apple-touch-icon-72x72-precomposed.png deleted file mode 100755 index e167d3a4..00000000 Binary files a/themes/courgette/img/apple-touch-icon-72x72-precomposed.png and /dev/null differ diff --git a/themes/courgette/img/apple-touch-icon.png b/themes/courgette/img/apple-touch-icon.png deleted file mode 100755 index 4d222fba..00000000 Binary files a/themes/courgette/img/apple-touch-icon.png and /dev/null differ diff --git a/themes/courgette/img/favicon.ico b/themes/courgette/img/favicon.ico deleted file mode 100755 index 0e9ff779..00000000 Binary files a/themes/courgette/img/favicon.ico and /dev/null differ diff --git a/themes/default/_head.twig b/themes/default/_head.twig index 8c939e30..d2a637fb 100755 --- a/themes/default/_head.twig +++ b/themes/default/_head.twig @@ -1,7 +1,29 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -11,4 +33,4 @@ - \ No newline at end of file + diff --git a/themes/default/img/apple-touch-icon-144x144-precomposed.png b/themes/default/img/apple-touch-icon-144x144-precomposed.png deleted file mode 100644 index 9e951230..00000000 Binary files a/themes/default/img/apple-touch-icon-144x144-precomposed.png and /dev/null differ diff --git a/themes/default/img/apple-touch-icon-72x72-precomposed.png b/themes/default/img/apple-touch-icon-72x72-precomposed.png deleted file mode 100644 index 263419b1..00000000 Binary files a/themes/default/img/apple-touch-icon-72x72-precomposed.png and /dev/null differ diff --git a/themes/default/img/apple-touch-icon.png b/themes/default/img/apple-touch-icon.png deleted file mode 100644 index ac8a1cf0..00000000 Binary files a/themes/default/img/apple-touch-icon.png and /dev/null differ diff --git a/themes/default/img/favicon.ico b/themes/default/img/favicon.ico deleted file mode 100644 index 0e9ff779..00000000 Binary files a/themes/default/img/favicon.ico and /dev/null differ