diff --git a/inc/poche/Template.class.php b/inc/poche/Template.class.php index b686f2ec7..20e9c54a6 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 be11673fe..5e1f5ba3e 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 059936d99..c20dcf671 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 557b479ce..000000000 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 e167d3a41..000000000 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 4d222fbac..000000000 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 0e9ff7795..000000000 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 8c939e307..d2a637fb0 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 9e951230a..000000000 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 263419b18..000000000 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 ac8a1cf04..000000000 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 0e9ff7795..000000000 Binary files a/themes/default/img/favicon.ico and /dev/null differ