Journal des protections
Apparence
Voici une liste des modifications des protections de pages. Consultez la liste des pages protégées pour la liste des protections actuellement opérationnelles.
Aucune opération correspondante dans les journaux.
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);
?>
getSearch('mobile'); ?>
isLogged &&!$isWiki) {
include('/home/common/update-profile.php');
}
?>
name; ?>
-
$section) { ?>
- name; ?>