public static function GetInstance() { if (self::$css == NULL) { self::$css = new CssListeStyles(); } return self::$css; }
$metaUTF8->AddProp(PROP_HTTPEQUIV, 'Content-Type'); $metaUTF8->AddProp(PROP_CONTENT, 'text/html; charset=utf-8'); $metaCss = new SBalise(BAL_META); $metaCss->AddProp(PROP_HTTPEQUIV, 'Content-Style-Type'); $metaCss->AddProp(PROP_CONTENT, 'text/css'); $metaIE8 = new SBalise(BAL_META); $metaIE8->AddProp(PROP_HTTPEQUIV, 'X-UA-Compatible'); $metaIE8->AddProp(PROP_CONTENT, 'IE=8'); $metaNoCache1 = new SBalise(BAL_META); $metaNoCache1->AddProp(PROP_HTTPEQUIV, 'Pragma'); $metaNoCache1->AddProp(PROP_CONTENT, 'no-cache'); $metaNoCache2 = new SBalise(BAL_META); $metaNoCache2->AddProp(PROP_HTTPEQUIV, 'Cache-Control'); $metaNoCache2->AddProp(PROP_CONTENT, 'no-cache'); // Ajout des différents fichiers CSS (ordre important!!!). $css = CssListeStyles::GetInstance(); $css->AddStyle(CSS_GLOBAL_FILE); /*$css->AddStyle(CSS_GENERAL_FILE); //$css->AddStyle(CSS_AMI_FILE); $css->AddStyle(CSS_BARREINFO_FILE); $css->AddStyle(CSS_CONNEXION_FILE); //$css->AddStyle(CSS_EVENEMENT_FILE); //$css->AddStyle(CSS_EDITIONPRESENTATION_FILE); //$css->AddStyle(CSS_FORUM_FILE); //$css->AddStyle(CSS_MENU_FILE);*/ $css->AddStyle(CSS_ORGANISATION_FILE); //$css->AddStyle(CSS_TEST_FILE); // Ajout des différents fichiers Javascript (ordre important!!!). $js = JsListeScripts::GetInstance(); $js->AddScript(JS_JQUERY_FILE); $js->AddScript(JS_JQCORE_FILE);