Remove mobile theme
This commit is contained in:
parent
19622ba55b
commit
e9dbfcacd9
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -1,4 +0,0 @@
|
||||
$(document).bind("mobileinit", function () {
|
||||
|
||||
|
||||
});
|
@ -1 +0,0 @@
|
||||
|
Loading…
Reference in New Issue
Block a user