From e9dbfcacd9c34ec703a36d1dcb968bb00396640d Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 30 Aug 2016 17:15:51 +0200 Subject: [PATCH] Remove mobile theme --- .../Application/Controller/Plugin/Theme.php | 38 ------------------- public/themes/mobile/scripts/recherche.js | 1 - public/themes/mobile/scripts/script.js | 4 -- public/themes/mobile/styles/recherche.css | 1 - 4 files changed, 44 deletions(-) delete mode 100644 public/themes/mobile/scripts/recherche.js delete mode 100644 public/themes/mobile/scripts/script.js delete mode 100644 public/themes/mobile/styles/recherche.css diff --git a/library/Application/Controller/Plugin/Theme.php b/library/Application/Controller/Plugin/Theme.php index bd100bdde..8bcb3e9d8 100644 --- a/library/Application/Controller/Plugin/Theme.php +++ b/library/Application/Controller/Plugin/Theme.php @@ -126,44 +126,6 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac ->appendFile($paramsTheme->pathScript.'/script.js', 'text/javascript'); } - break; - - case 'mobile': //@todo - - $view->doctype('HTML5'); - - $view->headMeta() - ->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8') - ->appendHttpEquiv('Content-Language', 'fr-FR') - ->appendName('viewport', 'width=device-width, initial-scale=1'); - - //Favicon - Touch icon for iOS 2.0+ and Android 2.1+ - $view->headLink()->headLink(array( - 'rel' => 'apple-touch-icon-precomposed', - 'href' => '/favicon-152.png' - )); - //Favicon - targeted to any additional png size - $view->headLink()->headLink(array( - 'rel' => 'icon', - 'type' => 'image/png', - 'href' => '/favicon-32.png' - )); - $view->headLink()->headLink(array( - 'rel' => 'shortcut icon', - 'type' => 'image/x-icon', - 'href' => '/favicon.ico') - ); - - //Style - $view->headLink() - ->appendStylesheet('/libs/mobile/1.4.2/jquery.mobile-1.4.2.min.css', 'all'); - - //JavaScript - $view->headScript() - ->appendFile('/libs/jquery/jquery-2.1.0.min.js', 'text/javascript') - ->appendFile('/libs/mobile/1.4.2/jquery.mobile-1.4.2.min.js', 'text/javascript') - ->appendFile($paramsTheme->pathScript.'/script.js', 'text/javascript'); - break; } diff --git a/public/themes/mobile/scripts/recherche.js b/public/themes/mobile/scripts/recherche.js deleted file mode 100644 index 8b1378917..000000000 --- a/public/themes/mobile/scripts/recherche.js +++ /dev/null @@ -1 +0,0 @@ - diff --git a/public/themes/mobile/scripts/script.js b/public/themes/mobile/scripts/script.js deleted file mode 100644 index 925174525..000000000 --- a/public/themes/mobile/scripts/script.js +++ /dev/null @@ -1,4 +0,0 @@ -$(document).bind("mobileinit", function () { - - -}); diff --git a/public/themes/mobile/styles/recherche.css b/public/themes/mobile/styles/recherche.css deleted file mode 100644 index 8b1378917..000000000 --- a/public/themes/mobile/styles/recherche.css +++ /dev/null @@ -1 +0,0 @@ -