Création de Discussion:Halo Bulletin 20/07/2011
Ajouter un sujetApparence
Vous avez suivi un lien vers une page qui n’existe pas encore.
Afin de créer cette page, entrez votre texte dans la boîte ci-après (vous pouvez consulter la page d’aide pour plus d’informations).
Si vous êtes arrivé ici par erreur, cliquez sur le bouton Retour de votre navigateur.
light;
$darkTheme = json_decode(file_get_contents('/home/common/conf/theme-colors.json'))->dark;
$sections = json_decode(file_get_contents('/home/common/conf/header.json'));
$lightLogo = $prefix.json_decode(file_get_contents('/home/common/conf/event-theme.json'))->classic.$lightTheme->logo_suffix; //TODO: function of date, update style of logo
$darkLogo = $prefix.json_decode(file_get_contents('/home/common/conf/event-theme.json'))->classic.$darkTheme->logo_suffix;
$lightLogoMobile = $prefix.json_decode(file_get_contents('/home/common/conf/event-theme.json'))->mobile.$lightTheme->logo_suffix;
$darkLogoMobile = $prefix.json_decode(file_get_contents('/home/common/conf/event-theme.json'))->mobile.$darkTheme->logo_suffix;
list($currentSection, $subsectionIndex) = getCurrentSection($sections);
//Manage session
if(!$isWiki) {
if(session_status() !== PHP_SESSION_ACTIVE) { session_start(); }
if(isset($_SESSION["oauth2state"]) && $_SESSION["oauth2state"] != null) {
$checkTokenValidity = keycloakCurlGet($keycloak->adminURL.'/clients-initial-access');
if ($checkTokenValidity->code < 200 || $checkTokenValidity->code > 300) {
if(!keycloakCurlRefresh()) {
session_destroy();
Header('Location: '.$_SERVER['PHP_SELF']);
}
}
}
//Wiki needs extra reload after authentication
} else if(isset($_SESSION["OpenIDConnectAccessToken"]) && !isset($_SESSION["wsToken"])) {
header("Location: " . $_SERVER['REQUEST_URI']);
exit();
}
// var_dump(isset($_SESSION["oauth2state"]));
// var_dump($_SESSION);
//Get user data
$user = getUserData($isWiki);
//var_dump($user);
?>
name; ?>
-
$section) { ?>
- name; ?>