public function __construct($data) { // Recupération des données envoyé par le system. $this->data = $data; // Extension de l'objet et mise à jour du noyau. __extends($this); // Définition des informations du thème. $this->theme = $this->data['active_theme']; // Inclusion du ficher "library.php". if (file_exists(THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php')) { include_once THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php'; } theme_jpush("js/globals/jquery.min"); theme_jpush("js/globals/jquery.contact"); theme_jpush("js/globals/jquery.easing.1.3"); theme_jpush("js/globals/jquery.fancybox.min"); theme_jpush("js/globals/jquery.flexslider"); theme_jpush("js/globals/jquery.gmap.min"); theme_jpush("js/globals/jquery.isotope.min"); theme_jpush("js/globals/jquery.jcarousel"); theme_jpush("js/globals/jquery.layerslider-transitions"); theme_jpush("js/globals/jquery.layerslider.min"); theme_jpush("js/globals/jquery.modernizr"); theme_jpush("js/globals/jquery.selectnav"); theme_jpush("js/globals/jquery.shop"); theme_jpush("js/globals/jquery.transit-modified"); theme_jpush("js/globals/script"); theme_jpush("js/globals/switcher"); theme_jpush("js/globals/custom"); theme_cpush("css/globals/base"); theme_cpush("css/globals/icons"); theme_cpush("css/globals/responsive"); theme_cpush("css/globals/style"); }
private function output_files() { theme_jpush('js/jquery-1.11.0'); theme_jpush("js/bootstrap.min"); theme_cpush("css/bootstrap"); theme_cpush("css/bootstrap-responsive"); theme_cpush("css/font-awesome.min"); }
private function output_files() { theme_cpush("css/font-awesome.min"); theme_cpush("css/bootstrap.min"); theme_cpush("css/switcher"); theme_cpush("css/fractionslider"); theme_cpush("css/style-fraction"); theme_cpush("css/style"); $theme_style = get_items('theme_color_and_style'); if (($background = riake('background', $theme_style)) == 'red') { theme_cpush("css/skins/Softred"); } else { if ($background == 'orange') { theme_cpush("css/skins/orange"); } else { if ($background == 'purple') { theme_cpush("css/skins/purple"); } else { if ($background == 'cyan') { theme_cpush("css/skins/Strongcyan"); } else { if ($background == 'darkcyan') { theme_cpush("css/skins/DarkCyan"); } else { if ($background == 'blue') { theme_cpush("css/skins/blue"); } } } } } } // Box Style if ($box = riake('box_style', $theme_style) == 'boxed') { theme_cpush("css/layout/boxed"); } else { theme_cpush("css/layout/wide"); } theme_jpush('js/jquery-1.10.2.min'); theme_jpush("js/bootstrap.min"); theme_jpush("js/jquery.easing.1.3"); theme_jpush("js/retina-1.1.0.min"); theme_jpush("js/jquery.cookie"); theme_jpush("js/styleswitch"); theme_jpush("js/jquery.fractionslider"); theme_jpush("js/jquery.smartmenus.min"); theme_jpush("js/jquery.smartmenus.bootstrap.min"); theme_jpush("js/jquery.jcarousel"); theme_jpush("js/jflickrfeed"); theme_jpush("js/jquery.magnific-popup.min"); theme_jpush("js/jquery.isotope.min"); theme_jpush("js/swipe"); theme_jpush("js/jquery-scrolltofixed-min"); theme_jpush("js/jquery.gmap"); theme_jpush("js/main"); }
private function output_files() { theme_jpush('js/jquery'); theme_jpush("js/bootstrap.min"); theme_jpush("js/html5shiv"); theme_jpush("js/jquery.prettyPhoto"); theme_jpush("js/jquery.isotope.min"); theme_jpush("js/respond.min"); theme_jpush("js/main"); theme_cpush("css/bootstrap.min"); theme_cpush("css/font-awesome.min"); theme_cpush("css/animate"); theme_cpush("css/prettyPhoto"); theme_cpush("css/main"); }