string(6) "coucou" Toutes les pages commençant par... — WikiHalo Aller au contenu
Bienvenue sur le WikiHalo. Ce wiki peut être amélioré par tous les visiteurs, même sans créer de compte.
Découvrez comment contribuer.

Toutes les pages commençant par...

Toutes les pages commençant par...
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); ?>
$section) { ?>

name; ?>

    subsections as $key2=>$subsection) { ?>
  • name ?>
isLogged) { ?>
nbNotifications > 0) { ?>

nbNotifications; ?>

name; ?>

    settings as $index=>$setting) { echo $setting; } ?>

Se connecter

isLogged) { ?>
$section) { ?>
$section) { ?>

name; ?>

    subsections as $key2=>$subsection) { ?>
  • name ?>
isLogged) { ?>
    settings as $index=>$setting) { echo $setting; } ?>
getSearch('mobile'); ?>
isLogged &&!$isWiki) { include('/home/common/update-profile.php'); } ?>