Theme update
This commit is contained in:
parent
4827b09d7a
commit
acd1358bc0
@ -80,42 +80,32 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
|
||||
$UserLogin = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* ===> Standard Styles
|
||||
*/
|
||||
/**
|
||||
* ===> Standard Styles
|
||||
*/
|
||||
$view->headLink()
|
||||
->appendStylesheet('/libs/bootstrap-3.3.7/css/bootstrap.min.css', 'all')
|
||||
->appendStylesheet('/libs/ui-1.11.4/themes/smoothness/jquery-ui.min.css', 'all')
|
||||
->appendStylesheet('/libs/qtip/jquery.qtip.min.css', 'all')
|
||||
->appendStylesheet('/libs/font-awesome-4.6.3/css/font-awesome.min.css', 'all');
|
||||
if ( $UserLogin ) {
|
||||
$view->headLink()
|
||||
->appendStylesheet('/libs/bootstrap-3.3.7/css/bootstrap.min.css', 'all')
|
||||
->appendStylesheet('/themes/default/styles/user-login.css', 'all');
|
||||
$view->headLink()->appendStylesheet('/themes/default/styles/user-login.css', 'all');
|
||||
} else {
|
||||
$view->headLink()->appendStylesheet($paramsTheme->pathStyle.'/main.css', 'all');
|
||||
}
|
||||
|
||||
$view->headLink()
|
||||
->appendStylesheet('/libs/ui-1.11.4/themes/smoothness/jquery-ui.min.css', 'all')
|
||||
->appendStylesheet('/libs/qtip/jquery.qtip.min.css', 'all')
|
||||
->appendStylesheet('/libs/font-awesome-4.6.3/css/font-awesome.min.css', 'all');
|
||||
|
||||
/**
|
||||
* ===> Standard Javascript
|
||||
*/
|
||||
if ( $UserLogin ) {
|
||||
$view->headScript()
|
||||
->appendFile('/libs/html5shiv.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/respond.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/jquery-1.12.4.min.js', 'text/javascript')
|
||||
->appendFile('/libs/jquery.placeholder.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/bootstrap-3.3.7/js/bootstrap.min.js', 'text/javascript');
|
||||
} else {
|
||||
$view->headScript()
|
||||
->appendFile('/libs/jquery-1.12.4.min.js', 'text/javascript');
|
||||
}
|
||||
|
||||
|
||||
$view->headScript()
|
||||
->appendFile('/libs/ui-1.11.4/jquery-ui.min.js', 'text/javascript')
|
||||
->appendFile('/libs/ui-1.11.4/datepicker-fr.js', 'text/javascript');
|
||||
|
||||
$view->headScript()
|
||||
->appendFile('/libs/html5shiv.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/respond.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/jquery/jquery-1.12.4.min.js', 'text/javascript')
|
||||
->appendFile('/libs/jquery.placeholder.min.js', 'text/javascript', array('conditional' => 'lt IE 9'))
|
||||
->appendFile('/libs/ui-1.11.4/jquery-ui.min.js', 'text/javascript')
|
||||
->appendFile('/libs/ui-1.11.4/datepicker-fr.js', 'text/javascript')
|
||||
->appendFile('/themes/default/scripts/bridge.js', 'text/javascript')
|
||||
->appendFile('/libs/bootstrap-3.3.7/js/bootstrap.min.js', 'text/javascript');
|
||||
|
||||
if ( ! $UserLogin ) {
|
||||
$view->headScript()
|
||||
|
Loading…
Reference in New Issue
Block a user