start

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
start [15/09/2026 19:35] – ajeanstart [14/10/2026 09:10] (Version actuelle) – ajean
Ligne 4: Ligne 4:
  
 /* ============================================================ /* ============================================================
-   CONFIGURATION+   CONFIGURATION DES SECTIONS
    ============================================================ */    ============================================================ */
  
 $SECTIONS = [ $SECTIONS = [
 +
     [     [
         'titre' => 'Administratif',         'titre' => 'Administratif',
         'url' => '/doku.php?id=admin',         'url' => '/doku.php?id=admin',
         'desc' => 'Annuaire, congés, courriers, RH...',         'desc' => 'Annuaire, congés, courriers, RH...',
-        'color' => '#1A4A7A', +        'color' => '#2563A6', 
-        'bg' => '#E6F1FB',+        'bg' => '#EAF2FB',
         'icon' => '<rect x="3" y="7" width="18" height="14" rx="2"/><path d="M16 3v4M8 3v4M3 11h18"/>'         'icon' => '<rect x="3" y="7" width="18" height="14" rx="2"/><path d="M16 3v4M8 3v4M3 11h18"/>'
     ],     ],
 +
     [     [
         'titre' => 'Informatique',         'titre' => 'Informatique',
         'url' => '/doku.php?id=informatique',         'url' => '/doku.php?id=informatique',
         'desc' => 'Applicatifs, tutoriels, accès à distance...',         'desc' => 'Applicatifs, tutoriels, accès à distance...',
-        'color' => '#7F77DD', +        'color' => '#16857B', 
-        'bg' => '#F0EFFF',+        'bg' => '#E8F5F3',
         'icon' => '<rect x="2" y="3" width="20" height="14" rx="2"/><path d="M8 21h8M12 17v4"/>'         'icon' => '<rect x="2" y="3" width="20" height="14" rx="2"/><path d="M8 21h8M12 17v4"/>'
     ],     ],
 +
     [     [
         'titre' => 'GNI',         'titre' => 'GNI',
         'url' => '/doku.php?id=gni',         'url' => '/doku.php?id=gni',
         'desc' => 'Documents, procédures, tutoriels, applicatifs...',         'desc' => 'Documents, procédures, tutoriels, applicatifs...',
-        'color' => '#C2477D', +        'color' => '#6366A8', 
-        'bg' => '#FCE9F2',+        'bg' => '#F0F0FA',
         'icon' => '<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>'         'icon' => '<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>'
     ],     ],
 +
     [     [
         'titre' => 'Résultats',         'titre' => 'Résultats',
         'url' => '/doku.php?id=resultats',         'url' => '/doku.php?id=resultats',
         'desc' => 'Résultats des formations du GNI',         'desc' => 'Résultats des formations du GNI',
-        'color' => '#BA7517', +        'color' => '#C18332', 
-        'bg' => '#FEF3C7',+        'bg' => '#FBF4E8',
         'icon' => '<path d="M3 3v18h18"/><rect x="7" y="13" width="3" height="5"/><rect x="12" y="9" width="3" height="9"/><rect x="17" y="5" width="3" height="13"/>'         'icon' => '<path d="M3 3v18h18"/><rect x="7" y="13" width="3" height="5"/><rect x="12" y="9" width="3" height="9"/><rect x="17" y="5" width="3" height="13"/>'
     ],     ],
 +
     [     [
         'titre' => 'Handicap',         'titre' => 'Handicap',
         'url' => '/doku.php?id=handicap',         'url' => '/doku.php?id=handicap',
         'desc' => 'Ressources et informations dédiées',         'desc' => 'Ressources et informations dédiées',
-        'color' => '#D85A30', +        'color' => '#49779C', 
-        'bg' => '#FEF0EB',+        'bg' => '#EDF4F8',
         'icon' => '<circle cx="12" cy="5" r="2"/><path d="M12 7v6l4 4M12 13l-4 4"/>'         'icon' => '<circle cx="12" cy="5" r="2"/><path d="M12 7v6l4 4M12 13l-4 4"/>'
     ],     ],
 +
     [     [
         'titre' => 'RP',         'titre' => 'RP',
         'url' => '/doku.php?id=rp:cr',         'url' => '/doku.php?id=rp:cr',
         'desc' => 'Représentants du Personnel : comptes rendus, œuvres sociales...',         'desc' => 'Représentants du Personnel : comptes rendus, œuvres sociales...',
-        'color' => '#B03A5B', +        'color' => '#667085', 
-        'bg' => '#FBE8EE',+        'bg' => '#F2F4F7',
         'icon' => '<path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/>'         'icon' => '<path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/>'
     ],     ],
 +
     [     [
         'titre' => 'GFD',         'titre' => 'GFD',
         'url' => '/doku.php?id=gni:app:gfd:gfd',         'url' => '/doku.php?id=gni:app:gfd:gfd',
         'desc' => 'Gestion des Frais de Déplacements : guides, FAQ, textes...',         'desc' => 'Gestion des Frais de Déplacements : guides, FAQ, textes...',
-        'color' => '#C2477D', +        'color' => '#16857B', 
-        'bg' => '#FCE9F2',+        'bg' => '#E8F5F3',
         'icon' => '<path d="M3 13l2-6h14l2 6M5 13h14v5H5z"/><circle cx="7.5" cy="18" r="1.5"/><circle cx="16.5" cy="18" r="1.5"/>'         'icon' => '<path d="M3 13l2-6h14l2 6M5 13h14v5H5z"/><circle cx="7.5" cy="18" r="1.5"/><circle cx="16.5" cy="18" r="1.5"/>'
     ],     ],
 +
     [     [
         'titre' => 'Docuseal',         'titre' => 'Docuseal',
         'url' => '/doku.php?id=docuseal',         'url' => '/doku.php?id=docuseal',
         'desc' => 'Signature électronique de documents',         'desc' => 'Signature électronique de documents',
-        'color' => '#5B21B6', +        'color' => '#6366A8', 
-        'bg' => '#F1EBFB',+        'bg' => '#F0F0FA',
         'icon' => '<path d="M4 4h12l4 4v12H4z"/><path d="M16 4v4h4"/><path d="M8 14l2.5 2.5L16 11"/>'         'icon' => '<path d="M4 4h12l4 4v12H4z"/><path d="M16 4v4h4"/><path d="M8 14l2.5 2.5L16 11"/>'
     ]     ]
 +
 ]; ];
 +
 +
 +/* ============================================================
 +   LIENS RAPIDES
 +   ============================================================ */
  
 $LIENS_RAPIDES = [ $LIENS_RAPIDES = [
 +
     ['titre' => 'Annuaire du personnel', 'url' => '/doku.php?id=admin:annuaire'],     ['titre' => 'Annuaire du personnel', 'url' => '/doku.php?id=admin:annuaire'],
     ['titre' => 'Tutoriels', 'url' => '/doku.php?id=gni:tutos'],     ['titre' => 'Tutoriels', 'url' => '/doku.php?id=gni:tutos'],
Ligne 81: Ligne 96:
     ['titre' => 'RP - Comptes Rendus', 'url' => '/doku.php?id=rp:cr'],     ['titre' => 'RP - Comptes Rendus', 'url' => '/doku.php?id=rp:cr'],
     ['titre' => 'RP - Oeuvres Sociales', 'url' => '/doku.php?id=rp:cos'],     ['titre' => 'RP - Oeuvres Sociales', 'url' => '/doku.php?id=rp:cos'],
-    ['titre' => 'RP - Divers', 'url' => '/doku.php?id=rp:divers'], +    ['titre' => 'RP - Divers', 'url' => '/doku.php?id=rp:divers'] 
-    [ +
-        'titre' => 'Newsletter', +
-        'url' => 'https://files.gretani.com/news/GretaNews%20Septembre%202026.mp4', +
-        'target' => '_blank' +
-    ]+
 ]; ];
 +
 +
 +/* ============================================================
 +   RESEAUX
 +   ============================================================ */
  
 $RESEAUX = [ $RESEAUX = [
 +
     [     [
         'titre' => 'Site Internet',         'titre' => 'Site Internet',
         'url' => 'http://gretani.fr',         'url' => 'http://gretani.fr',
-        'color' => '#1A4A7A',+        'color' => '#2563A6',
         'icon' => '<circle cx="12" cy="12" r="10"/><path d="M2 12h20M12 2a15 15 0 010 20 15 15 0 010-20z"/>'         'icon' => '<circle cx="12" cy="12" r="10"/><path d="M2 12h20M12 2a15 15 0 010 20 15 15 0 010-20z"/>'
     ],     ],
 +
     [     [
         'titre' => 'Facebook',         'titre' => 'Facebook',
Ligne 102: Ligne 120:
         'icon' => '<path d="M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"/>'         'icon' => '<path d="M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"/>'
     ],     ],
 +
     [     [
         'titre' => 'Instagram',         'titre' => 'Instagram',
         'url' => 'https://www.instagram.com/greta_nord_isere/',         'url' => 'https://www.instagram.com/greta_nord_isere/',
-        'color' => '#E1306C',+        'color' => '#C45B84',
         'icon' => '<rect x="2" y="2" width="20" height="20" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r="0.5"/>'         'icon' => '<rect x="2" y="2" width="20" height="20" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r="0.5"/>'
     ],     ],
 +
     [     [
         'titre' => 'YouTube',         'titre' => 'YouTube',
         'url' => 'https://www.youtube.com/channel/UCtNdtb8NExeddwpbflNqwnA',         'url' => 'https://www.youtube.com/channel/UCtNdtb8NExeddwpbflNqwnA',
-        'color' => '#FF0000',+        'color' => '#E34B4B',
         'icon' => '<rect x="2" y="5" width="20" height="14" rx="4"/><path d="M10 9l6 3-6 3z"/>'         'icon' => '<rect x="2" y="5" width="20" height="14" rx="4"/><path d="M10 9l6 3-6 3z"/>'
     ]     ]
 +
 ]; ];
 +
 +
 +/* ============================================================
 +   NEWSLETTER AUTOMATIQUE
 +   ============================================================ */
 +
 +$MOIS_FR = [
 +    1 => 'Janvier',
 +    2 => 'Février',
 +    3 => 'Mars',
 +    4 => 'Avril',
 +    5 => 'Mai',
 +    6 => 'Juin',
 +    7 => 'Juillet',
 +    8 => 'Août',
 +    9 => 'Septembre',
 +    10 => 'Octobre',
 +    11 => 'Novembre',
 +    12 => 'Décembre'
 +];
 +
 +$newsletter_mois = $MOIS_FR[(int)date('n')];
 +$newsletter_annee = date('Y');
 +
 +$newsletter_fichier =
 +    'GretaNews ' .
 +    $newsletter_mois .
 +    ' ' .
 +    $newsletter_annee .
 +    '.mp4';
 +
 +$newsletter_url =
 +    'https://files.gretani.com/news/' .
 +    rawurlencode($newsletter_fichier);
 +
 +$newsletter_url =
 +    htmlspecialchars($newsletter_url, ENT_QUOTES);
  
  
Ligne 123: Ligne 181:
 $FETES = [ $FETES = [
  
-'1-1'=>'Jour de l\'An','2-1'=>'Basile','3-1'=>'Geneviève','4-1'=>'Odilon','5-1'=>'Édouard','6-1'=>'Mélaine','7-1'=>'Raymond', + '1-1'=>'Jour de l\'An','2-1'=>'Basile','3-1'=>'Geneviève','4-1'=>'Odilon','5-1'=>'Édouard','6-1'=>'Mélaine','7-1'=>'Raymond', 
-'8-1'=>'Lucien','9-1'=>'Alix','10-1'=>'Guillaume','11-1'=>'Paulin','12-1'=>'Tatiana','13-1'=>'Yvette','14-1'=>'Nina', + '8-1'=>'Lucien','9-1'=>'Alix','10-1'=>'Guillaume','11-1'=>'Paulin','12-1'=>'Tatiana','13-1'=>'Yvette','14-1'=>'Nina', 
-'15-1'=>'Rémi','16-1'=>'Marcel','17-1'=>'Roseline','18-1'=>'Prisca','19-1'=>'Marius','20-1'=>'Sébastien','21-1'=>'Agnès', + '15-1'=>'Rémi','16-1'=>'Marcel','17-1'=>'Roseline','18-1'=>'Prisca','19-1'=>'Marius','20-1'=>'Sébastien','21-1'=>'Agnès', 
-'22-1'=>'Vincent','23-1'=>'Barnard','24-1'=>'François de Sales','25-1'=>'Conversion de Paul','26-1'=>'Paule','27-1'=>'Angèle', + '22-1'=>'Vincent','23-1'=>'Barnard','24-1'=>'François de Sales','25-1'=>'Conversion de Paul','26-1'=>'Paule','27-1'=>'Angèle', 
-'28-1'=>'Thomas d\'Aquin','29-1'=>'Gildas','30-1'=>'Martine','31-1'=>'Marcelle',+ '28-1'=>'Thomas d\'Aquin','29-1'=>'Gildas','30-1'=>'Martine','31-1'=>'Marcelle',
  
-'1-2'=>'Ella','2-2'=>'Présentation','3-2'=>'Blaise','4-2'=>'Véronique','5-2'=>'Agathe','6-2'=>'Gaston','7-2'=>'Eugénie', + '1-2'=>'Ella','2-2'=>'Présentation','3-2'=>'Blaise','4-2'=>'Véronique','5-2'=>'Agathe','6-2'=>'Gaston','7-2'=>'Eugénie', 
-'8-2'=>'Jacqueline','9-2'=>'Apolline','10-2'=>'Arnaud','11-2'=>'Notre-Dame de Lourdes','12-2'=>'Félix','13-2'=>'Béatrice', + '8-2'=>'Jacqueline','9-2'=>'Apolline','10-2'=>'Arnaud','11-2'=>'Notre-Dame de Lourdes','12-2'=>'Félix','13-2'=>'Béatrice', 
-'14-2'=>'Valentin','15-2'=>'Claude','16-2'=>'Julienne','17-2'=>'Alexis','18-2'=>'Bernadette','19-2'=>'Gabin','20-2'=>'Aimée', + '14-2'=>'Valentin','15-2'=>'Claude','16-2'=>'Julienne','17-2'=>'Alexis','18-2'=>'Bernadette','19-2'=>'Gabin','20-2'=>'Aimée', 
-'21-2'=>'Pierre-Damien','22-2'=>'Isabelle','23-2'=>'Lazare','24-2'=>'Modeste','25-2'=>'Roméo','26-2'=>'Nestor', + '21-2'=>'Pierre-Damien','22-2'=>'Isabelle','23-2'=>'Lazare','24-2'=>'Modeste','25-2'=>'Roméo','26-2'=>'Nestor', 
-'27-2'=>'Honorine','28-2'=>'Romain','29-2'=>'Auguste',+ '27-2'=>'Honorine','28-2'=>'Romain','29-2'=>'Auguste',
  
-'1-3'=>'Aubin','2-3'=>'Charles le Bon','3-3'=>'Guénolé','4-3'=>'Casimir','5-3'=>'Olive','6-3'=>'Colette','7-3'=>'Félicité', + '1-3'=>'Aubin','2-3'=>'Charles le Bon','3-3'=>'Guénolé','4-3'=>'Casimir','5-3'=>'Olive','6-3'=>'Colette','7-3'=>'Félicité', 
-'8-3'=>'Jean de Dieu','9-3'=>'Françoise','10-3'=>'Vivien','11-3'=>'Rosine','12-3'=>'Justine','13-3'=>'Rodrigue', + '8-3'=>'Jean de Dieu','9-3'=>'Françoise','10-3'=>'Vivien','11-3'=>'Rosine','12-3'=>'Justine','13-3'=>'Rodrigue', 
-'14-3'=>'Mathilde','15-3'=>'Louise de Marillac','16-3'=>'Bénédicte','17-3'=>'Patrick','18-3'=>'Cyrille','19-3'=>'Joseph', + '14-3'=>'Mathilde','15-3'=>'Louise de Marillac','16-3'=>'Bénédicte','17-3'=>'Patrick','18-3'=>'Cyrille','19-3'=>'Joseph', 
-'20-3'=>'Herbert','21-3'=>'Clémence','22-3'=>'Léa','23-3'=>'Victorien','24-3'=>'Catherine de Suède','25-3'=>'Humbert', + '20-3'=>'Herbert','21-3'=>'Clémence','22-3'=>'Léa','23-3'=>'Victorien','24-3'=>'Catherine de Suède','25-3'=>'Humbert', 
-'26-3'=>'Larissa','27-3'=>'Habib','28-3'=>'Gontran','29-3'=>'Gwladys','30-3'=>'Amédée','31-3'=>'Benjamin',+ '26-3'=>'Larissa','27-3'=>'Habib','28-3'=>'Gontran','29-3'=>'Gwladys','30-3'=>'Amédée','31-3'=>'Benjamin',
  
-'1-4'=>'Hugues','2-4'=>'Sandrine','3-4'=>'Richard','4-4'=>'Isidore','5-4'=>'Irène','6-4'=>'Marcellin','7-4'=>'Jean-Baptiste de la Salle', + '1-4'=>'Hugues','2-4'=>'Sandrine','3-4'=>'Richard','4-4'=>'Isidore','5-4'=>'Irène','6-4'=>'Marcellin','7-4'=>'Jean-Baptiste de la Salle', 
-'8-4'=>'Julie','9-4'=>'Gautier','10-4'=>'Fulbert','11-4'=>'Stanislas','12-4'=>'Jules','13-4'=>'Ida','14-4'=>'Maxime', + '8-4'=>'Julie','9-4'=>'Gautier','10-4'=>'Fulbert','11-4'=>'Stanislas','12-4'=>'Jules','13-4'=>'Ida','14-4'=>'Maxime', 
-'15-4'=>'Paterne','16-4'=>'Benoît-Joseph','17-4'=>'Anicet','18-4'=>'Parfait','19-4'=>'Emma','20-4'=>'Odette','21-4'=>'Anselme', + '15-4'=>'Paterne','16-4'=>'Benoît-Joseph','17-4'=>'Anicet','18-4'=>'Parfait','19-4'=>'Emma','20-4'=>'Odette','21-4'=>'Anselme', 
-'22-4'=>'Alexandre','23-4'=>'Georges','24-4'=>'Fidèle','25-4'=>'Marc','26-4'=>'Alida','27-4'=>'Zita','28-4'=>'Valérie', + '22-4'=>'Alexandre','23-4'=>'Georges','24-4'=>'Fidèle','25-4'=>'Marc','26-4'=>'Alida','27-4'=>'Zita','28-4'=>'Valérie', 
-'29-4'=>'Catherine de Sienne','30-4'=>'Robert',+ '29-4'=>'Catherine de Sienne','30-4'=>'Robert',
  
-'1-5'=>'Fête du Travail','2-5'=>'Boris','3-5'=>'Philippe et Jacques','4-5'=>'Sylvain','5-5'=>'Judith','6-5'=>'Prudence', + '1-5'=>'Fête du Travail','2-5'=>'Boris','3-5'=>'Philippe et Jacques','4-5'=>'Sylvain','5-5'=>'Judith','6-5'=>'Prudence', 
-'7-5'=>'Gisèle','8-5'=>'Victoire 1945','9-5'=>'Pacôme','10-5'=>'Solange','11-5'=>'Estelle','12-5'=>'Achille', + '7-5'=>'Gisèle','8-5'=>'Victoire 1945','9-5'=>'Pacôme','10-5'=>'Solange','11-5'=>'Estelle','12-5'=>'Achille', 
-'13-5'=>'Rolande','14-5'=>'Matthias','15-5'=>'Denise','16-5'=>'Honoré','17-5'=>'Pascal','18-5'=>'Éric','19-5'=>'Yves', + '13-5'=>'Rolande','14-5'=>'Matthias','15-5'=>'Denise','16-5'=>'Honoré','17-5'=>'Pascal','18-5'=>'Éric','19-5'=>'Yves', 
-'20-5'=>'Bernardin','21-5'=>'Constantin','22-5'=>'Émile','23-5'=>'Didier','24-5'=>'Donatien','25-5'=>'Sophie', + '20-5'=>'Bernardin','21-5'=>'Constantin','22-5'=>'Émile','23-5'=>'Didier','24-5'=>'Donatien','25-5'=>'Sophie', 
-'26-5'=>'Bérenger','27-5'=>'Augustin','28-5'=>'Germain','29-5'=>'Aymard','30-5'=>'Ferdinand','31-5'=>'Visitation',+ '26-5'=>'Bérenger','27-5'=>'Augustin','28-5'=>'Germain','29-5'=>'Aymard','30-5'=>'Ferdinand','31-5'=>'Visitation',
  
-'1-6'=>'Justin','2-6'=>'Blandine','3-6'=>'Kévin','4-6'=>'Clotilde','5-6'=>'Igor','6-6'=>'Norbert','7-6'=>'Gilbert', + '1-6'=>'Justin','2-6'=>'Blandine','3-6'=>'Kévin','4-6'=>'Clotilde','5-6'=>'Igor','6-6'=>'Norbert','7-6'=>'Gilbert', 
-'8-6'=>'Médard','9-6'=>'Diane','10-6'=>'Landry','11-6'=>'Barnabé','12-6'=>'Guy','13-6'=>'Antoine de Padoue', + '8-6'=>'Médard','9-6'=>'Diane','10-6'=>'Landry','11-6'=>'Barnabé','12-6'=>'Guy','13-6'=>'Antoine de Padoue', 
-'14-6'=>'Élisée','15-6'=>'Germaine','16-6'=>'Jean-François Régis','17-6'=>'Hervé','18-6'=>'Léonce','19-6'=>'Romuald', + '14-6'=>'Élisée','15-6'=>'Germaine','16-6'=>'Jean-François Régis','17-6'=>'Hervé','18-6'=>'Léonce','19-6'=>'Romuald', 
-'20-6'=>'Silvère','21-6'=>'Rodolphe','22-6'=>'Alban','23-6'=>'Audrey','24-6'=>'Jean-Baptiste','25-6'=>'Prosper', + '20-6'=>'Silvère','21-6'=>'Rodolphe','22-6'=>'Alban','23-6'=>'Audrey','24-6'=>'Jean-Baptiste','25-6'=>'Prosper', 
-'26-6'=>'Anthelme','27-6'=>'Fernand','28-6'=>'Irénée','29-6'=>'Pierre et Paul','30-6'=>'Martial',+ '26-6'=>'Anthelme','27-6'=>'Fernand','28-6'=>'Irénée','29-6'=>'Pierre et Paul','30-6'=>'Martial',
  
-'1-7'=>'Thierry','2-7'=>'Martinien','3-7'=>'Thomas','4-7'=>'Florent','5-7'=>'Antoine-Marie','6-7'=>'Mariette', + '1-7'=>'Thierry','2-7'=>'Martinien','3-7'=>'Thomas','4-7'=>'Florent','5-7'=>'Antoine-Marie','6-7'=>'Mariette', 
-'7-7'=>'Raoul','8-7'=>'Thibaut','9-7'=>'Amandine','10-7'=>'Ulrich','11-7'=>'Benoît','12-7'=>'Olivier', + '7-7'=>'Raoul','8-7'=>'Thibaut','9-7'=>'Amandine','10-7'=>'Ulrich','11-7'=>'Benoît','12-7'=>'Olivier', 
-'13-7'=>'Henri','14-7'=>'Fête Nationale','15-7'=>'Donald','16-7'=>'Notre-Dame du Mont-Carmel','17-7'=>'Charlotte', + '13-7'=>'Henri','14-7'=>'Fête Nationale','15-7'=>'Donald','16-7'=>'Notre-Dame du Mont-Carmel','17-7'=>'Charlotte', 
-'18-7'=>'Frédéric','19-7'=>'Arsène','20-7'=>'Marina','21-7'=>'Victor','22-7'=>'Marie-Madeleine','23-7'=>'Brigitte', + '18-7'=>'Frédéric','19-7'=>'Arsène','20-7'=>'Marina','21-7'=>'Victor','22-7'=>'Marie-Madeleine','23-7'=>'Brigitte', 
-'24-7'=>'Christine','25-7'=>'Jacques','26-7'=>'Anne et Joachim','27-7'=>'Nathalie','28-7'=>'Samson','29-7'=>'Marthe', + '24-7'=>'Christine','25-7'=>'Jacques','26-7'=>'Anne et Joachim','27-7'=>'Nathalie','28-7'=>'Samson','29-7'=>'Marthe', 
-'30-7'=>'Juliette','31-7'=>'Ignace de Loyola',+ '30-7'=>'Juliette','31-7'=>'Ignace de Loyola',
  
-'1-8'=>'Alphonse','2-8'=>'Julien-Eymard','3-8'=>'Lydie','4-8'=>'Jean-Marie Vianney','5-8'=>'Abel','6-8'=>'Transfiguration', + '1-8'=>'Alphonse','2-8'=>'Julien-Eymard','3-8'=>'Lydie','4-8'=>'Jean-Marie Vianney','5-8'=>'Abel','6-8'=>'Transfiguration', 
-'7-8'=>'Gaëtan','8-8'=>'Dominique','9-8'=>'Amour','10-8'=>'Laurent','11-8'=>'Claire','12-8'=>'Clarisse', + '7-8'=>'Gaëtan','8-8'=>'Dominique','9-8'=>'Amour','10-8'=>'Laurent','11-8'=>'Claire','12-8'=>'Clarisse', 
-'13-8'=>'Hippolyte','14-8'=>'Évrard','15-8'=>'Assomption','16-8'=>'Armel','17-8'=>'Hyacinthe','18-8'=>'Hélène', + '13-8'=>'Hippolyte','14-8'=>'Évrard','15-8'=>'Assomption','16-8'=>'Armel','17-8'=>'Hyacinthe','18-8'=>'Hélène', 
-'19-8'=>'Jean Eudes','20-8'=>'Bernard','21-8'=>'Christophe','22-8'=>'Fabrice','23-8'=>'Rose de Lima','24-8'=>'Barthélemy', + '19-8'=>'Jean Eudes','20-8'=>'Bernard','21-8'=>'Christophe','22-8'=>'Fabrice','23-8'=>'Rose de Lima','24-8'=>'Barthélemy', 
-'25-8'=>'Louis','26-8'=>'Natacha','27-8'=>'Monique','28-8'=>'Augustin','29-8'=>'Sabine','30-8'=>'Fiacre','31-8'=>'Aristide',+ '25-8'=>'Louis','26-8'=>'Natacha','27-8'=>'Monique','28-8'=>'Augustin','29-8'=>'Sabine','30-8'=>'Fiacre','31-8'=>'Aristide',
  
-'1-9'=>'Gilles','2-9'=>'Ingrid','3-9'=>'Grégoire','4-9'=>'Rosalie','5-9'=>'Raïssa','6-9'=>'Bertrand','7-9'=>'Reine', + '1-9'=>'Gilles','2-9'=>'Ingrid','3-9'=>'Grégoire','4-9'=>'Rosalie','5-9'=>'Raïssa','6-9'=>'Bertrand','7-9'=>'Reine', 
-'8-9'=>'Nativité de Marie','9-9'=>'Alain','10-9'=>'Inès','11-9'=>'Adelphe','12-9'=>'Apollinaire','13-9'=>'Aimé', + '8-9'=>'Nativité de Marie','9-9'=>'Alain','10-9'=>'Inès','11-9'=>'Adelphe','12-9'=>'Apollinaire','13-9'=>'Aimé', 
-'14-9'=>'La Sainte-Croix','15-9'=>'Roland','16-9'=>'Édith','17-9'=>'Renaud','18-9'=>'Nadège','19-9'=>'Émilie', + '14-9'=>'La Sainte-Croix','15-9'=>'Roland','16-9'=>'Édith','17-9'=>'Renaud','18-9'=>'Nadège','19-9'=>'Émilie', 
-'20-9'=>'Davy','21-9'=>'Matthieu','22-9'=>'Maurice','23-9'=>'Constant','24-9'=>'Thècle','25-9'=>'Hermann', + '20-9'=>'Davy','21-9'=>'Matthieu','22-9'=>'Maurice','23-9'=>'Constant','24-9'=>'Thècle','25-9'=>'Hermann', 
-'26-9'=>'Côme et Damien','27-9'=>'Vincent de Paul','28-9'=>'Venceslas','29-9'=>'Michel, Gabriel, Raphaël','30-9'=>'Jérôme',+ '26-9'=>'Côme et Damien','27-9'=>'Vincent de Paul','28-9'=>'Venceslas','29-9'=>'Michel, Gabriel, Raphaël','30-9'=>'Jérôme',
  
-'1-10'=>'Thérèse de l\'Enfant-Jésus','2-10'=>'Léger','3-10'=>'Gérard','4-10'=>'François d\'Assise','5-10'=>'Fleur', + '1-10'=>'Thérèse de l\'Enfant-Jésus','2-10'=>'Léger','3-10'=>'Gérard','4-10'=>'François d\'Assise','5-10'=>'Fleur', 
-'6-10'=>'Bruno','7-10'=>'Serge','8-10'=>'Pélagie','9-10'=>'Denis','10-10'=>'Ghislain','11-10'=>'Firmin', + '6-10'=>'Bruno','7-10'=>'Serge','8-10'=>'Pélagie','9-10'=>'Denis','10-10'=>'Ghislain','11-10'=>'Firmin', 
-'12-10'=>'Wilfried','13-10'=>'Géraud','14-10'=>'Juste','15-10'=>'Thérèse d\'Avila','16-10'=>'Edwige', + '12-10'=>'Wilfried','13-10'=>'Géraud','14-10'=>'Juste','15-10'=>'Thérèse d\'Avila','16-10'=>'Edwige', 
-'17-10'=>'Baudouin','18-10'=>'Luc','19-10'=>'René','20-10'=>'Adeline','21-10'=>'Céline','22-10'=>'Élodie', + '17-10'=>'Baudouin','18-10'=>'Luc','19-10'=>'René','20-10'=>'Adeline','21-10'=>'Céline','22-10'=>'Élodie', 
-'23-10'=>'Jean de Capistran','24-10'=>'Florentin','25-10'=>'Crépin','26-10'=>'Dimitri','27-10'=>'Émeline', + '23-10'=>'Jean de Capistran','24-10'=>'Florentin','25-10'=>'Crépin','26-10'=>'Dimitri','27-10'=>'Émeline', 
-'28-10'=>'Simon et Jude','29-10'=>'Narcisse','30-10'=>'Bienvenue','31-10'=>'Quentin',+ '28-10'=>'Simon et Jude','29-10'=>'Narcisse','30-10'=>'Bienvenue','31-10'=>'Quentin',
  
-'1-11'=>'Toussaint','2-11'=>'Défunts','3-11'=>'Hubert','4-11'=>'Charles Borromée','5-11'=>'Sylvie','6-11'=>'Bertille', + '1-11'=>'Toussaint','2-11'=>'Défunts','3-11'=>'Hubert','4-11'=>'Charles Borromée','5-11'=>'Sylvie','6-11'=>'Bertille', 
-'7-11'=>'Carine','8-11'=>'Geoffroy','9-11'=>'Théodore','10-11'=>'Léon','11-11'=>'Armistice 1918','12-11'=>'Christian', + '7-11'=>'Carine','8-11'=>'Geoffroy','9-11'=>'Théodore','10-11'=>'Léon','11-11'=>'Armistice 1918','12-11'=>'Christian', 
-'13-11'=>'Brice','14-11'=>'Sidoine','15-11'=>'Albert','16-11'=>'Marguerite','17-11'=>'Élisabeth de Hongrie', + '13-11'=>'Brice','14-11'=>'Sidoine','15-11'=>'Albert','16-11'=>'Marguerite','17-11'=>'Élisabeth de Hongrie', 
-'18-11'=>'Aude','19-11'=>'Tanguy','20-11'=>'Edmond','21-11'=>'Présentation de Marie','22-11'=>'Cécile', + '18-11'=>'Aude','19-11'=>'Tanguy','20-11'=>'Edmond','21-11'=>'Présentation de Marie','22-11'=>'Cécile', 
-'23-11'=>'Clément','24-11'=>'Flora','25-11'=>'Catherine Labouré','26-11'=>'Delphine','27-11'=>'Séverin', + '23-11'=>'Clément','24-11'=>'Flora','25-11'=>'Catherine Labouré','26-11'=>'Delphine','27-11'=>'Séverin', 
-'28-11'=>'Jacques de la Marche','29-11'=>'Saturnin','30-11'=>'André',+ '28-11'=>'Jacques de la Marche','29-11'=>'Saturnin','30-11'=>'André',
  
-'1-12'=>'Florence','2-12'=>'Viviane','3-12'=>'François-Xavier','4-12'=>'Barbara','5-12'=>'Gérald','6-12'=>'Nicolas', + '1-12'=>'Florence','2-12'=>'Viviane','3-12'=>'François-Xavier','4-12'=>'Barbara','5-12'=>'Gérald','6-12'=>'Nicolas', 
-'7-12'=>'Ambroise','8-12'=>'Immaculée Conception','9-12'=>'Pierre Fourier','10-12'=>'Romaric','11-12'=>'Daniel', + '7-12'=>'Ambroise','8-12'=>'Immaculée Conception','9-12'=>'Pierre Fourier','10-12'=>'Romaric','11-12'=>'Daniel', 
-'12-12'=>'Jeanne-Françoise de Chantal','13-12'=>'Lucie','14-12'=>'Odile','15-12'=>'Ninon','16-12'=>'Alice', + '12-12'=>'Jeanne-Françoise Chantal','13-12'=>'Lucie','14-12'=>'Odile','15-12'=>'Ninon','16-12'=>'Alice', 
-'17-12'=>'Gaël','18-12'=>'Gatien','19-12'=>'Urbain','20-12'=>'Théophile','21-12'=>'Pierre Canisius','22-12'=>'Françoise-Xavière', + '17-12'=>'Judicaël','18-12'=>'Gatien','19-12'=>'Urbain','20-12'=>'Théophile','21-12'=>'Pierre Canisius', 
-'23-12'=>'Armand','24-12'=>'Adèle','25-12'=>'Noël','26-12'=>'Étienne','27-12'=>'Jean','28-12'=>'Innocents', + '22-12'=>'Françoise-Xavière','23-12'=>'Armand','24-12'=>'Adèle','25-12'=>'Noël','26-12'=>'Étienne','27-12'=>'Jean', 
-'29-12'=>'David','30-12'=>'Roger','31-12'=>'Sylvestre'+ '28-12'=>'Innocents','29-12'=>'David','30-12'=>'Roger','31-12'=>'Sylvestre'
  
 ]; ];
Ligne 203: Ligne 261:
 $cle_fete = ((int)date('j')) . '-' . ((int)date('n')); $cle_fete = ((int)date('j')) . '-' . ((int)date('n'));
  
-$fete_nom = +$fete_nom = isset($FETES[$cle_fete])
-    isset($FETES[$cle_fete])+
     ? $FETES[$cle_fete]     ? $FETES[$cle_fete]
     : 'Non répertorié';     : 'Non répertorié';
  
-$fete_nom = htmlspecialchars($fete_nom, ENT_QUOTES, 'UTF-8');+$fete_nom = htmlspecialchars($fete_nom);
  
  
 /* ============================================================ /* ============================================================
-   CALCUL DE PAQUES +   PAQUES
-   SANS easter_date()+
    ============================================================ */    ============================================================ */
  
-function gniDatePaques($annee) +function calculer_paques($annee) { 
-{+
     $a = $annee % 19;     $a = $annee % 19;
     $b = intdiv($annee, 100);     $b = intdiv($annee, 100);
Ligne 225: Ligne 281:
     $f = intdiv($b + 8, 25);     $f = intdiv($b + 8, 25);
     $g = intdiv($b - $f + 1, 3);     $g = intdiv($b - $f + 1, 3);
- +    $h = (19 * $a + $b - $d - $g + 15) % 30;
-    $h = ( +
-        19 * $a + +
-        $b - +
-        $d - +
-        $g + +
-        15 +
-    ) % 30; +
     $i = intdiv($c, 4);     $i = intdiv($c, 4);
     $k = $c % 4;     $k = $c % 4;
 +    $l = (32 + 2 * $e + 2 * $i - $h - $k) % 7;
 +    $m = intdiv($a + 11 * $h + 22 * $l, 451);
  
-    $l = ( +    $mois = intdiv($h + $l - 7 * $m + 114, 31); 
-        32 + +    $jour = (($h + $l - 7 * $m + 114) % 31) + 1;
-        2 * $e + +
-        2 * $i - +
-        $h - +
-        $k +
-    ) % 7;+
  
-    $m = intdiv( +    return mktime(0, 0, 0, $mois, $jour, $annee);
-        $a + +
-        11 * $h + +
-        22 * $l, +
-        451 +
-    ); +
- +
-    $mois = intdiv( +
-        $h + +
-        $l - +
-        7 * $m + +
-        114, +
-        31 +
-    ); +
- +
-    $jour = ( +
-        $h + +
-        $l - +
-        7 * $m + +
-        114 +
-    ) % 31 + 1; +
- +
-    return new DateTime( +
-        sprintf( +
-            '%04d-%02d-%02d', +
-            $annee, +
-            $mois, +
-            $jour +
-        ) +
-    );+
 } }
  
Ligne 282: Ligne 298:
    ============================================================ */    ============================================================ */
  
-function gniFeries($annee) +function jours_feries_annee($annee) {
-{ +
-    $feries = [];+
  
-    $feries[$annee . '-01-01'] = 'Jour de l\'An'; +    $paques = calculer_paques($annee);
-    $feries[$annee . '-05-01'] = 'Fête du Travail'; +
-    $feries[$annee . '-05-08'] = 'Victoire 1945'; +
-    $feries[$annee . '-07-14'] = 'Fête Nationale'; +
-    $feries[$annee . '-08-15'] = 'Assomption'; +
-    $feries[$annee . '-11-01'] = 'Toussaint'; +
-    $feries[$annee . '-11-11'] = 'Armistice 1918'; +
-    $feries[$annee . '-12-25'] = 'Noël';+
  
-    $paques = gniDatePaques($annee);+    return [
  
-    $lundiPaques = clone $paques; +        $annee . '-01-01' 
-    $lundiPaques->modify('+1 day');+            => 'Jour de l\'An',
  
-    $ascension = clone $paques; +        date('Y-m-d', $paques + 86400) 
-    $ascension->modify('+39 days');+            => 'Lundi de Pâques',
  
-    $pentecote = clone $paques; +        $annee . '-05-01' 
-    $pentecote->modify('+50 days');+            => 'Fête du Travail',
  
-    $feries[$lundiPaques->format('Y-m-d')] = +        $annee . '-05-08' 
-        'Lundi de Pâques';+            => 'Victoire 1945',
  
-    $feries[$ascension->format('Y-m-d')] = +        date('Y-m-d', $paques + 39 * 86400) 
-        'Ascension';+            => 'Ascension',
  
-    $feries[$pentecote->format('Y-m-d')] = +        date('Y-m-d', $paques + 50 * 86400) 
-        'Lundi de Pentecôte';+            => 'Lundi de Pentecôte',
  
-    ksort($feries);+        $annee . '-07-14' 
 +            => 'Fête Nationale',
  
-    return $feries; +        $annee . '-08-15' 
-}+            => 'Assomption',
  
 +        $annee . '-11-01'
 +            => 'Toussaint',
  
-/* ============================================================ +        $annee . '-11-11' 
-   PROCHAIN JOUR FERIE +            => 'Armistice 1918',
-   ============================================================ */+
  
-$aujourdhui = new DateTime(date('Y-m-d'));+        $annee . '-12-25' 
 +            => 'Noël' 
 +    ]; 
 +}
  
 +
 +$aujourdhui = new DateTime(date('Y-m-d'));
 $annee_courante = (int)date('Y'); $annee_courante = (int)date('Y');
  
 $feries = array_merge( $feries = array_merge(
-    gniFeries($annee_courante), +    jours_feries_annee($annee_courante), 
-    gniFeries($annee_courante + 1)+    jours_feries_annee($annee_courante + 1)
 ); );
  
Ligne 352: Ligne 366:
 } }
  
-$jours_restants = + 
-    $prochain_ferie_date +$jours_restants = $prochain_ferie_date 
-    ? (int)$aujourdhui +    ? (int)$aujourdhui->diff($prochain_ferie_date)->format('%a')
-        ->diff($prochain_ferie_date) +
-        ->format('%a')+
     : null;     : null;
 +
  
 $prochain_ferie_nom = $prochain_ferie_nom =
-    htmlspecialchars( +    htmlspecialchars($prochain_ferie_nom);
-        (string)$prochain_ferie_nom, +
-        ENT_QUOTES, +
-        'UTF-8' +
-    );+
  
-$prochain_ferie_date_fr = 
-    $prochain_ferie_date 
-    ? $prochain_ferie_date->format('d/m/Y') 
-    : ''; 
  
 if ($jours_restants === 0) { if ($jours_restants === 0) {
  
-    $texte_ferie = 'Aujourd\'hui';+    $texte_ferie = "Aujourd'hui";
  
-} +} elseif ($jours_restants === 1) {
-elseif ($jours_restants === 1) {+
  
-    $texte_ferie = 'Demain';+    $texte_ferie = "Demain";
  
-} +} else {
-elseif ($jours_restants !== null) {+
  
     $texte_ferie =     $texte_ferie =
-        'Dans ' . +        "Dans {$jours_restants} jours";
-        $jours_restants . +
-        ' jours - ' . +
-        $prochain_ferie_date_fr; +
- +
-} +
-else { +
- +
-    $texte_ferie = ''; +
 } }
  
Ligne 406: Ligne 400:
  
 /* ============================================================ /* ============================================================
-   COMPTEUR VISITES+   COMPTEUR DE VISITES DU JOUR 
 +   Remise à zéro automatique à chaque changement de date
    ============================================================ */    ============================================================ */
  
-$compteur_visites = 'indisponible';+$compteur_visites = '0';
  
 if (defined('DOKU_INC')) { if (defined('DOKU_INC')) {
Ligne 415: Ligne 410:
     $chemin_compteur =     $chemin_compteur =
         DOKU_INC .         DOKU_INC .
-        'data/meta/compteur_visites_accueil.txt';+        'data/meta/compteur_visites_accueil_jour.txt';
  
-    $valeur = 0;+    $date_du_jour = date('Y-m-d');
  
-    $handle = +    $handle = @fopen( 
-        @fopen( +        $chemin_compteur, 
-            $chemin_compteur, +        'c+' 
-            'c+' +    );
-        );+
  
     if ($handle) {     if ($handle) {
Ligne 429: Ligne 423:
         if (flock($handle, LOCK_EX)) {         if (flock($handle, LOCK_EX)) {
  
-            $contenu = +            rewind($handle); 
-                fread( +            $contenu = stream_get_contents($handle); 
-                    $handle, + 
-                    1024+            $date_enregistree = ''; 
 +            $valeur = 0; 
 + 
 +            if ($contenu !== false && trim($contenu) !== '') { 
 + 
 +                $donnees = json_decode( 
 +                    trim($contenu), 
 +                    true
                 );                 );
  
-            $valeur = +                if (is_array($donnees)) { 
-                (int)trim($contenu);+ 
 +                    $date_enregistree = 
 +                        isset($donnees['date']) 
 +                            ? (string)$donnees['date'] 
 +                            : ''; 
 + 
 +                    $valeur = 
 +                        isset($donnees['visites']) 
 +                            ? (int)$donnees['visites'] 
 +                            : 0; 
 +                } 
 +            } 
 + 
 +            /* 
 +             * Nouveau jour : 
 +             * on repart de zéro avant de compter 
 +             * la visite actuelle. 
 +             */ 
 +            if ($date_enregistree !== $date_du_jour) { 
 +                $valeur = 0; 
 +            }
  
             $valeur++;             $valeur++;
  
-            ftruncate( +            $donnees_a_enregistrer = [ 
-                $handle, +                'date' => $date_du_jour, 
-                0 +                'visites' => $valeur 
-            );+            ];
  
 +            ftruncate($handle, 0);
             rewind($handle);             rewind($handle);
  
             fwrite(             fwrite(
                 $handle,                 $handle,
-                (string)$valeur+                json_encode($donnees_a_enregistrer)
             );             );
  
             fflush($handle);             fflush($handle);
 +            flock($handle, LOCK_UN);
  
-            flock( +            $compteur_visites = 
-                $handle, +                number_format( 
-                LOCK_UN +                    $valeur, 
-            );+                    0, 
 +                    ',', 
 +                    ' ' 
 +                );
         }         }
  
         fclose($handle);         fclose($handle);
- 
-        $compteur_visites = 
-            number_format( 
-                $valeur, 
-                0, 
-                ',', 
-                ' ' 
-            ); 
     }     }
 } }
Ligne 477: Ligne 495:
    ============================================================ */    ============================================================ */
  
-/* +$CITATIONS = [
- * Le système ci-dessous produit 384 pensées différentes. +
- * +
- * date("z") = numéro du jour dans l'année de 0 à 365. +
- * +
- * Résultat : +
- * une pensée différente automatiquement chaque jour. +
- */+
  
-$PENSEES_DEBUT = [+    [ 
 +        'texte' => 'Le succès, c\'est se déplacer d\'échec en échec sans perdre son enthousiasme.', 
 +        'auteur' => 'Winston Churchill' 
 +    ],
  
-    'Chaque petit progrès', +    [ 
-    'Chaque effort accompli avec constance', +        'texte' => 'Ce qui compte ce n\'est pas la position que l\'on occupe, mais la direction dans laquelle on avance.', 
-    'Une idée partagée', +        'auteur' => 'Oliver Wendell Holmes' 
-    'Un objectif clairement défini', +    ],
-    'Une difficulté bien comprise', +
-    'Une équipe qui avance ensemble', +
-    'Un savoir transmis', +
-    'Une bonne organisation', +
-    'Une décision réfléchie', +
-    'Une action menée avec soin', +
-    'Un problème transformé en apprentissage', +
-    'Une journée commencée avec confiance', +
-    'Une compétence développée', +
-    'Une expérience partagée', +
-    'Une amélioration même modeste', +
-    'Un regard nouveau sur une difficulté', +
-    'Une ambition accompagnée d\'un plan', +
-    'Une réussite construite collectivement', +
-    'Un changement préparé avec méthode', +
-    'Une question posée au bon moment', +
-    'Un effort régulier', +
-    'Une solution simple et bien pensée', +
-    'Une volonté entretenue chaque jour', +
-    'Une équipe qui partage ses connaissances'+
  
-];+    [ 
 +        'texte' => 'On ne fait bien que ce que l\'on fait avec plaisir.', 
 +        'auteur' => 'Denis Diderot' 
 +    ],
  
-$PENSEES_FIN = [+    [ 
 +        'texte' => 'Le meilleur moyen de prédire l\'avenir, c\'est de le créer.', 
 +        'auteur' => 'Peter Drucker' 
 +    ],
  
-    'nous rapproche un peu plus de la réussite.', +    [ 
-    'peut ouvrir la voie à de grandes réussites.', +        'texte' => 'La qualité n\'est jamais un accident ; elle est toujours le résultat d\'un effort intelligent.', 
-    'fait avancer plus loin que l\'inaction.', +        'auteur' => 'John Ruskin' 
-    'transforme progressivement les ambitions en résultats.', +    ],
-    'construit aujourd\'hui les réussites de demain.', +
-    'rend possible ce qui semblait difficile hier.', +
-    'donne du sens au chemin parcouru.', +
-    'crée de nouvelles possibilités.', +
-    'fait grandir à la fois les personnes et les projets.', +
-    'permet de transformer les obstacles en opportunités.', +
-    'renforce la confiance nécessaire pour continuer.', +
-    'fait de l\'expérience une véritable richesse.', +
-    'permet d\'avancer avec davantage de sérénité.', +
-    'prépare souvent une réussite que l\'on ne voit pas encore.', +
-    'donne de la force aux projets collectifs.', +
-    'nous rappelle que l\'essentiel est de continuer à avancer.'+
  
-];+    [ 
 +        'texte' => 'Seul on va plus vite, ensemble on va plus loin.', 
 +        'auteur' => 'Proverbe africain' 
 +    ],
  
-$PENSEES = [];+    [ 
 +        'texte' => 'Le savoir est la seule matière qui s\'accroît quand on la partage.', 
 +        'auteur' => 'Socrate' 
 +    ],
  
-foreach ($PENSEES_DEBUT as $debut) {+    [ 
 +        'texte' => 'Il n\'y a pas de vent favorable pour celui qui ne sait où il va.', 
 +        'auteur' => 'Sénèque' 
 +    ],
  
-    foreach ($PENSEES_FIN as $fin) {+    [ 
 +        'texte' => 'La motivation nous permet de commencer, l\'habitude nous permet de continuer.', 
 +        'auteur' => 'Jim Ryun' 
 +    ],
  
-        $PENSEES[] = [ +    [ 
-            'texte' => $debut . ' ' . $fin, +        'texte' => 'Le travail d\'équipe divise la tâche et multiplie le succès.', 
-            'auteur' => 'Pensée du jour' +        'auteur' => 'Anonyme' 
-        ];+    ], 
 + 
 +    [ 
 +        'texte' => 'Chaque jour est une nouvelle occasion de changer sa vie.', 
 +        'auteur' => 'Anonyme' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'La persévérance est la clé de toute réussite.', 
 +        'auteur' => 'Anonyme' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'La créativité, c\'est l\'intelligence qui s\'amuse.', 
 +        'auteur' => 'Albert Einstein' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'Le futur appartient à ceux qui croient en la beauté de leurs rêves.', 
 +        'auteur' => 'Eleanor Roosevelt' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'Ne comptez pas les jours, faites que les jours comptent.', 
 +        'auteur' => 'Muhammad Ali' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'Un objectif sans plan n\'est qu\'un souhait.', 
 +        'auteur' => 'Antoine de Saint-Exupéry' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'La discipline est le pont entre les objectifs et les accomplissements.', 
 +        'auteur' => 'Jim Rohn' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'Le talent gagne des matchs, mais le travail d\'équipe gagne des championnats.', 
 +        'auteur' => 'Michael Jordan' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'La simplicité est la sophistication suprême.', 
 +        'auteur' => 'Léonard de Vinci' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'Il vaut mieux allumer une bougie que maudire l\'obscurité.', 
 +        'auteur' => 'Confucius' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'Petit à petit, l\'oiseau fait son nid.', 
 +        'auteur' => 'Proverbe français' 
 +    ], 
 + 
 +    [ 
 +        'texte' => 'Les erreurs sont les preuves que l\'on essaie.', 
 +        'auteur' => 'Anonyme' 
 +    ] 
 + 
 +];
  
-    } 
-} 
  
 $index_citation = $index_citation =
-    ((int)date('z')) +    ((int)date('z')) % 
-    % +    count($CITATIONS); 
-    count($PENSEES);+
  
 $citation_du_jour = $citation_du_jour =
-    $PENSEES[$index_citation];+    $CITATIONS[$index_citation]; 
  
 $citation_texte = $citation_texte =
     htmlspecialchars(     htmlspecialchars(
-        $citation_du_jour['texte'], +        $citation_du_jour['texte']
-        ENT_QUOTES, +
-        'UTF-8'+
     );     );
 +
  
 $citation_auteur = $citation_auteur =
     htmlspecialchars(     htmlspecialchars(
-        $citation_du_jour['auteur'], +        $citation_du_jour['auteur']
-        ENT_QUOTES, +
-        'UTF-8'+
     );     );
  
Ligne 579: Ligne 637:
 echo ' echo '
 <style> <style>
 +
 +/* Masquer les outils DokuWiki : RSS / abonnement / impression */
 +#dokuwiki__pagetools {
 +    display: none !important;
 +}
 +
 +/* Masquer la recherche originale dans la Navbar du haut */
 +#dokuwiki__header #dw__search,
 +#dokuwiki__header form.search,
 +#dokuwiki__header .search,
 +#dokuwiki__header .navbar-form,
 +.navbar #dw__search,
 +.navbar form.search,
 +.navbar .navbar-form {
 +    display: none !important;
 +}
  
 .home-wrap { .home-wrap {
-    --navy:#18283E; + 
-    --blue:#28689F; +    --navy: #18283E; 
-    --blue-dark:#20567F; + 
-    --blue-soft:#EAF2F8; +    --blue: #28689F; 
-    --teal:#278A84; +    --blue-dark: #20567F; 
-    --teal-soft:#E9F5F3; +    --blue-soft: #EAF2F8; 
-    --violet:#7169B8; + 
-    --violet-soft:#F0EFF9; +    --teal: #278A84; 
-    --amber:#C88936; +    --teal-soft: #E9F5F3; 
-    --amber-soft:#FBF4E8; + 
-    --text:#1D2939; +    --violet: #7169B8; 
-    --muted:#667085; +    --violet-soft: #F0EFF9; 
-    --light:#98A2B3; + 
-    --border:#E3E8EF; +    --amber: #C88936; 
-    --surface:#FFFFFF; +    --amber-soft: #FBF4E8; 
-    --background:#F6F8FB;+ 
 +    --text: #1D2939; 
 +    --muted: #667085; 
 +    --light: #98A2B3; 
 + 
 +    --border: #E3E8EF; 
 + 
 +    --surface: #FFFFFF; 
 +    --background: #F6F8FB;
  
     font-family:     font-family:
Ligne 605: Ligne 687:
         sans-serif;         sans-serif;
  
-    font-size:14px; +    color: var(--text); 
-    color:var(--text); + 
-    background:var(--background); +    font-size: 14px; 
-    padding:22px 6px 36px;+ 
 +    background: 
 +        var(--background); 
 + 
 +    padding: 
 +        22px 6px 36px;
 } }
 +
 +
 +/* ============================================================
 +   ANIMATIONS
 +   ============================================================ */
  
 @keyframes homeFadeUp { @keyframes homeFadeUp {
  
     from {     from {
-        opacity:0; +        opacity: 0; 
-        transform:translateY(8px);+        transform: 
 +            translateY(8px);
     }     }
  
     to {     to {
-        opacity:1; +        opacity: 1; 
-        transform:translateY(0);+        transform: 
 +            translateY(0);
     }     }
 } }
 +
  
 .home-anim { .home-anim {
 +
     animation:     animation:
         homeFadeUp         homeFadeUp
-        .45s ease both;+        .45s ease 
 +        both;
 } }
  
  
 /* ============================================================ /* ============================================================
-   NEWSLETTER+   GRETA NEWS DEFILANT
    ============================================================ */    ============================================================ */
  
 .home-news { .home-news {
-    position:relative; 
-    display:flex; 
-    align-items:center; 
-    overflow:hidden; 
  
-    height:52px;+    position: relative;
  
-    margin-bottom:28px;+    display: flex;
  
-    border-radius:14px;+    align-items: center; 
 + 
 +    overflow: hidden; 
 + 
 +    height: 52px; 
 + 
 +    margin-bottom: 28px; 
 + 
 +    border-radius: 14px;
  
     background:     background:
Ligne 655: Ligne 756:
         );         );
  
-    color:#FFFFFF !important;+    color: 
 +        #FFFFFF !important;
  
     text-decoration:     text-decoration:
Ligne 668: Ligne 770:
         box-shadow .2s ease;         box-shadow .2s ease;
 } }
 +
  
 .home-news:hover { .home-news:hover {
Ligne 678: Ligne 781:
         rgba(32,86,127,.20);         rgba(32,86,127,.20);
  
-    color:#FFFFFF !important;+    color: 
 +        #FFFFFF !important;
  
     text-decoration:     text-decoration:
         none !important;         none !important;
 } }
 +
 +
 +.home-news:before,
 +.home-news:after {
 +
 +    content: "";
 +
 +    position: absolute;
 +
 +    z-index: 4;
 +
 +    top: 0;
 +
 +    bottom: 0;
 +
 +    width: 45px;
 +
 +    pointer-events: none;
 +}
 +
 +
 +.home-news:before {
 +
 +    left: 0;
 +
 +    background:
 +        linear-gradient(
 +            90deg,
 +            #225E8C,
 +            rgba(34,94,140,0)
 +        );
 +}
 +
 +
 +.home-news:after {
 +
 +    right: 0;
 +
 +    background:
 +        linear-gradient(
 +            270deg,
 +            #278A84,
 +            rgba(39,138,132,0)
 +        );
 +}
 +
  
 .home-news-track { .home-news-track {
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    width:max-content;+    width: max-content;
  
-    white-space:nowrap;+    white-space: nowrap;
  
     animation:     animation:
         homeNewsScroll         homeNewsScroll
-        25s linear infinite;+        25s linear 
 +        infinite;
 } }
 +
  
 .home-news:hover .home-news:hover
Ligne 705: Ligne 857:
         paused;         paused;
 } }
 +
  
 .home-news-group { .home-news-group {
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    flex-shrink:0;+    flex-shrink: 0;
 } }
 +
  
 .home-news-item { .home-news-item {
  
-    display:inline-flex;+    display: inline-flex;
  
-    align-items:center;+    align-items: center;
  
-    gap:10px;+    gap: 10px;
  
     padding:     padding:
         0 38px;         0 38px;
  
-    color:#FFFFFF;+    color: #FFFFFF;
  
-    font-size:13px;+    font-size: 13px;
  
-    font-weight:550;+    font-weight: 550;
 } }
 +
  
 .home-news-emoji { .home-news-emoji {
-    font-size:19px;+ 
 +    font-size: 19px;
 } }
 +
  
 .home-news-badge { .home-news-badge {
  
-    display:inline-flex;+    display: inline-flex;
  
-    align-items:center;+    align-items: center;
  
     padding:     padding:
         4px 8px;         4px 8px;
  
-    border-radius:6px;+    border-radius: 6px;
  
     background:     background:
         rgba(255,255,255,.15);         rgba(255,255,255,.15);
  
-    font-size:9px;+    font-size: 9px;
  
-    font-weight:750;+    font-weight: 750;
  
-    text-transform: +    text-transform: uppercase;
-        uppercase;+
  
-    letter-spacing:.8px;+    letter-spacing: .8px;
 } }
 +
  
 .home-news-item strong { .home-news-item strong {
  
-    color:#FFFFFF;+    color: 
 +        #FFFFFF;
  
-    font-weight:750;+    font-weight: 750;
 } }
 +
  
 .home-news-dot { .home-news-dot {
  
-    width:4px;+    width: 4px;
  
-    height:4px;+    height: 4px;
  
-    flex-shrink:0;+    flex-shrink: 0;
  
     background:     background:
         rgba(255,255,255,.55);         rgba(255,255,255,.55);
  
-    border-radius:50%;+    border-radius: 50%;
 } }
 +
  
 @keyframes homeNewsScroll { @keyframes homeNewsScroll {
Ligne 802: Ligne 962:
 .home-hero { .home-hero {
  
-    max-width:760px;+    max-width: 760px;
  
     margin:     margin:
Ligne 810: Ligne 970:
         10px 20px 22px;         10px 20px 22px;
  
-    text-align:center;+    text-align: center;
 } }
 +
  
 .home-hero img { .home-hero img {
  
-    max-width:135px;+    max-width: 135px;
  
-    margin-bottom:15px;+    margin-bottom: 15px;
 } }
 +
  
 .home-hero-greeting { .home-hero-greeting {
  
-    margin-bottom:7px;+    margin-bottom: 7px;
  
     color:     color:
         var(--blue);         var(--blue);
  
-    font-size:13px;+    font-size: 13px;
  
-    font-weight:650;+    font-weight: 650;
 } }
 +
  
 .home-hero h1 { .home-hero h1 {
  
-    margin:0;+    margin: 0;
  
     color:     color:
         var(--navy);         var(--navy);
  
-    font-size:28px;+    font-size: 28px;
  
-    line-height:1.2;+    line-height: 1.2;
  
-    font-weight:750;+    font-weight: 750;
  
-    letter-spacing:-.5px;+    letter-spacing: -.5px;
 } }
 +
  
 .home-hero-subtitle { .home-hero-subtitle {
  
-    max-width:550px;+    max-width: 550px;
  
     margin:     margin:
Ligne 858: Ligne 1022:
         var(--muted);         var(--muted);
  
-    font-size:13.5px;+    font-size: 13.5px;
  
-    line-height:1.5;+    line-height: 1.5;
 } }
 +
  
 .home-hero-clock { .home-hero-clock {
  
-    display:inline-flex;+    display: inline-flex;
  
-    align-items:center;+    align-items: center;
  
-    margin-top:13px;+    margin-top: 13px;
  
     padding:     padding:
Ligne 878: Ligne 1043:
         var(--border);         var(--border);
  
-    border-radius:20px;+    border-radius: 20px;
  
     background:     background:
Ligne 886: Ligne 1051:
         var(--muted);         var(--muted);
  
-    font-size:11px;+    font-size: 11px;
 } }
  
 +
 +/* Raccourci Tableau des présences sous la date / heure */
 +.home-presences-hero-link {
 +    display: inline-flex;
 +    align-items: center;
 +    gap: 6px;
 +    margin-top: 8px;
 +    padding: 6px 11px;
 +    border: 1px solid #D6E7F4;
 +    border-radius: 9px;
 +    background: var(--blue-soft);
 +    color: var(--blue) !important;
 +    font-size: 11px;
 +    font-weight: 700;
 +    text-decoration: none !important;
 +    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
 +}
 +
 +.home-presences-hero-link:hover,
 +.home-presences-hero-link:focus {
 +    transform: translateY(-1px);
 +    background: var(--blue);
 +    border-color: var(--blue);
 +    color: #FFFFFF !important;
 +    text-decoration: none !important;
 +}
  
 /* ============================================================ /* ============================================================
-   INFOS+   CARTES INFORMATIONS
    ============================================================ */    ============================================================ */
  
 .home-infobar { .home-infobar {
  
-    display:grid;+    display: grid;
  
     grid-template-columns:     grid-template-columns:
Ligne 904: Ligne 1095:
         );         );
  
-    gap:10px;+    gap: 10px;
  
     margin:     margin:
         17px 0 16px;         17px 0 16px;
 } }
 +
  
 .home-info-item { .home-info-item {
  
-    min-width:0;+    min-width: 0;
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    gap:11px;+    gap: 11px;
  
     padding:     padding:
Ligne 930: Ligne 1122:
         var(--border);         var(--border);
  
-    border-radius:13px;+    border-radius: 13px;
  
     box-shadow:     box-shadow:
Ligne 940: Ligne 1132:
         box-shadow .18s ease;         box-shadow .18s ease;
 } }
 +
  
 .home-info-item:hover { .home-info-item:hover {
Ligne 950: Ligne 1143:
         rgba(16,24,40,.06);         rgba(16,24,40,.06);
 } }
 +
  
 .home-info-icon { .home-info-icon {
  
-    width:36px;+    width: 36px;
  
-    height:36px;+    height: 36px;
  
-    flex-shrink:0;+    flex-shrink: 0;
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    justify-content:center;+    justify-content: center;
  
-    border-radius:9px;+    border-radius: 9px;
  
-    font-size:17px;+    font-size: 17px;
 } }
 +
  
 .home-info-icon-fete { .home-info-icon-fete {
 +
     background:     background:
         var(--teal-soft);         var(--teal-soft);
 } }
 +
  
 .home-info-icon-ferie { .home-info-icon-ferie {
 +
     background:     background:
         var(--amber-soft);         var(--amber-soft);
 } }
 +
  
 .home-info-icon-semaine { .home-info-icon-semaine {
 +
     background:     background:
         var(--blue-soft);         var(--blue-soft);
 } }
 +
  
 .home-info-icon-visites { .home-info-icon-visites {
 +
     background:     background:
         var(--violet-soft);         var(--violet-soft);
 } }
 +
  
 .home-info-text { .home-info-text {
  
-    min-width:0;+    min-width: 0;
  
-    line-height:1.25;+    line-height: 1.25;
 } }
 +
  
 .home-info-label { .home-info-label {
  
-    margin-bottom:2px;+    margin-bottom: 2px;
  
     color:     color:
         var(--light);         var(--light);
  
-    font-size:9.5px;+    font-size: 9.5px;
  
-    font-weight:700;+    font-weight: 700;
  
-    text-transform: +    text-transform: uppercase;
-        uppercase;+
  
-    letter-spacing:.5px;+    letter-spacing: .5px;
 } }
 +
  
 .home-info-value { .home-info-value {
  
-    overflow:hidden;+    overflow: hidden;
  
     color:     color:
         var(--navy);         var(--navy);
  
-    font-size:13px;+    font-size: 13px;
  
-    font-weight:650;+    font-weight: 650;
  
-    white-space:nowrap;+    white-space: nowrap;
  
-    text-overflow:ellipsis;+    text-overflow: ellipsis;
 } }
 +
  
 .home-info-detail { .home-info-detail {
  
-    margin-top:2px;+    margin-top: 2px;
  
     color:     color:
         var(--light);         var(--light);
  
-    font-size:9.5px;+    font-size: 9.5px;
 } }
  
Ligne 1047: Ligne 1252:
 .home-citation { .home-citation {
  
-    position:relative;+    position: relative;
  
-    overflow:hidden;+    overflow: hidden;
  
     margin:     margin:
Ligne 1065: Ligne 1270:
         );         );
  
-    border-radius:15px;+    border-radius: 15px;
  
-    color:#FFFFFF;+    color: 
 +        #FFFFFF;
  
     box-shadow:     box-shadow:
Ligne 1073: Ligne 1279:
         rgba(32,86,127,.14);         rgba(32,86,127,.14);
 } }
 +
  
 .home-citation:after { .home-citation:after {
  
-    content:"";+    content: "";
  
-    position:absolute;+    position: absolute;
  
-    width:190px;+    width: 190px;
  
-    height:190px;+    height: 190px;
  
-    right:-65px;+    right: -65px;
  
-    top:-95px;+    top: -95px;
  
-    border-radius:50%;+    border-radius: 50%;
  
     background:     background:
         rgba(255,255,255,.07);         rgba(255,255,255,.07);
 } }
 +
  
 .home-citation-symbol { .home-citation-symbol {
  
-    position:absolute;+    position: absolute;
  
-    left:21px;+    left: 21px;
  
-    top:11px;+    top: 11px;
  
     color:     color:
Ligne 1109: Ligne 1317:
         serif;         serif;
  
-    font-size:62px;+    font-size: 62px;
  
-    font-weight:700;+    font-weight: 700;
  
-    line-height:1;+    line-height: 1;
 } }
 +
  
 .home-citation-label { .home-citation-label {
  
-    position:relative;+    position: relative;
  
-    z-index:2;+    z-index: 2;
  
-    margin-bottom:7px;+    margin-bottom: 7px;
  
     color:     color:
         rgba(255,255,255,.72);         rgba(255,255,255,.72);
  
-    font-size:9.5px;+    font-size: 9.5px;
  
-    font-weight:750;+    font-weight: 750;
  
-    text-transform: +    text-transform: uppercase;
-        uppercase;+
  
-    letter-spacing:1px;+    letter-spacing: 1px;
 } }
 +
  
 .home-citation-texte { .home-citation-texte {
  
-    position:relative;+    position: relative;
  
-    z-index:2;+    z-index: 2;
  
-    max-width:850px;+    max-width: 850px;
  
-    color:#FFFFFF;+    color: 
 +        #FFFFFF;
  
-    font-size:14px;+    font-size: 14px;
  
-    font-weight:550;+    font-weight: 550;
  
-    font-style:italic;+    font-style: italic;
  
-    line-height:1.55;+    line-height: 1.55;
 } }
 +
  
 .home-citation-auteur { .home-citation-auteur {
  
-    position:relative;+    position: relative;
  
-    z-index:2;+    z-index: 2;
  
-    margin-top:8px;+    margin-top: 8px;
  
     color:     color:
         rgba(255,255,255,.80);         rgba(255,255,255,.80);
  
-    font-size:11px;+    font-size: 11px;
  
-    font-weight:600;+    font-weight: 600;
 } }
  
Ligne 1179: Ligne 1390:
 .home-section-heading { .home-section-heading {
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
     margin:     margin:
         28px 0 12px;         28px 0 12px;
 } }
 +
  
 .home-section-label { .home-section-label {
  
-    flex-shrink:0;+    flex-shrink: 0;
  
     color:     color:
         var(--navy);         var(--navy);
  
-    font-size:11px;+    font-size: 11px;
  
-    font-weight:750;+    font-weight: 750;
  
-    text-transform: +    text-transform: uppercase;
-        uppercase;+
  
-    letter-spacing:.85px;+    letter-spacing: .85px;
 } }
 +
  
 .home-section-line { .home-section-line {
  
-    flex:1;+    flex: 1;
  
-    height:1px;+    height: 1px;
  
-    margin-left:14px;+    margin-left: 14px;
  
     background:     background:
Ligne 1218: Ligne 1430:
  
 /* ============================================================ /* ============================================================
-   CARTES+   CARTES PRINCIPALES
    ============================================================ */    ============================================================ */
  
 .home-cards { .home-cards {
  
-    display:grid;+    display: grid;
  
     grid-template-columns:     grid-template-columns:
Ligne 1231: Ligne 1443:
         );         );
  
-    gap:12px;+    gap: 12px;
 } }
 +
  
 .home-card { .home-card {
  
-    position:relative;+    position: relative;
  
-    min-height:135px;+    min-height: 135px;
  
-    display:flex;+    display: flex;
  
-    flex-direction:column;+    flex-direction: column;
  
-    padding:16px;+    padding: 16px;
  
     background:     background:
Ligne 1253: Ligne 1466:
         var(--border);         var(--border);
  
-    border-radius:14px;+    border-radius: 14px;
  
     color:     color:
Ligne 1270: Ligne 1483:
         box-shadow .18s ease;         box-shadow .18s ease;
 } }
 +
  
 .home-card:hover { .home-card:hover {
Ligne 1276: Ligne 1490:
         translateY(-3px);         translateY(-3px);
  
-    border-color:#CAD5E1;+    border-color: 
 +        #CAD5E1;
  
     box-shadow:     box-shadow:
Ligne 1285: Ligne 1500:
         none !important;         none !important;
 } }
 +
  
 .home-card-top { .home-card-top {
  
-    display:flex;+    display: flex;
  
-    align-items:flex-start;+    align-items: flex-start;
  
     justify-content:     justify-content:
         space-between;         space-between;
  
-    margin-bottom:13px;+    margin-bottom: 13px;
 } }
 +
  
 .home-card-icon { .home-card-icon {
  
-    width:38px;+    width: 38px;
  
-    height:38px;+    height: 38px;
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    justify-content:center;+    justify-content: center;
  
-    border-radius:10px;+    border-radius: 10px;
 } }
 +
  
 .home-card-icon svg { .home-card-icon svg {
  
-    width:19px;+    width: 19px;
  
-    height:19px;+    height: 19px;
 } }
 +
  
 .home-card-arrow { .home-card-arrow {
  
-    width:25px;+    width: 25px;
  
-    height:25px;+    height: 25px;
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    justify-content:center;+    justify-content: center;
  
-    border-radius:7px;+    border-radius: 7px;
  
-    color:#AAB4C0;+    color: 
 +        #AAB4C0;
  
     transition:     transition:
Ligne 1341: Ligne 1561:
         background .18s ease;         background .18s ease;
 } }
 +
  
 .home-card:hover .home-card:hover
Ligne 1354: Ligne 1575:
         var(--blue-soft);         var(--blue-soft);
 } }
 +
  
 .home-card-arrow svg { .home-card-arrow svg {
  
-    width:14px;+    width: 14px;
  
-    height:14px;+    height: 14px;
 } }
 +
  
 .home-card-title { .home-card-title {
  
-    margin-bottom:4px;+    margin-bottom: 4px;
  
     color:     color:
         var(--navy);         var(--navy);
  
-    font-size:13.5px;+    font-size: 13.5px;
  
-    font-weight:700;+    font-weight: 700;
 } }
 +
  
 .home-card-desc { .home-card-desc {
Ligne 1379: Ligne 1603:
         var(--muted);         var(--muted);
  
-    font-size:11.2px;+    font-size: 11.2px;
  
-    line-height:1.45;+    line-height: 1.45;
 } }
  
Ligne 1391: Ligne 1615:
 .home-quicklinks { .home-quicklinks {
  
-    display:flex;+    display: flex;
  
-    flex-wrap:wrap;+    flex-wrap: wrap;
  
-    gap:8px;+    gap: 8px;
 } }
 +
  
 .home-quicklink { .home-quicklink {
  
-    display:inline-flex;+    display: inline-flex;
  
-    align-items:center;+    align-items: center;
  
-    gap:7px;+    gap: 7px;
  
     padding:     padding:
Ligne 1416: Ligne 1641:
         var(--border);         var(--border);
  
-    border-radius:9px;+    border-radius: 9px;
  
     color:     color:
         #475467 !important;         #475467 !important;
  
-    font-size:11.5px;+    font-size: 11.5px;
  
-    font-weight:600;+    font-weight: 600;
  
     text-decoration:     text-decoration:
         none !important;         none !important;
  
-    transition:.18s ease;+    transition: 
 +        .18s ease;
 } }
 +
  
 .home-quicklink:hover { .home-quicklink:hover {
Ligne 1442: Ligne 1669:
         var(--blue-soft);         var(--blue-soft);
  
-    border-color:#C8DCEC;+    border-color: 
 +        #C8DCEC;
 } }
 +
  
 .home-quicklink svg { .home-quicklink svg {
  
-    width:13px;+    width: 13px;
  
-    height:13px;+    height: 13px;
  
     color:     color:
Ligne 1462: Ligne 1691:
 .home-feedback { .home-feedback {
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    gap:12px;+    gap: 12px;
  
     margin:     margin:
Ligne 1474: Ligne 1703:
         13px 16px;         13px 16px;
  
-    background:#F8FAFC;+    background: 
 +        #F8FAFC;
  
     border:     border:
Ligne 1480: Ligne 1710:
         var(--border);         var(--border);
  
-    border-radius:12px;+    border-radius: 12px;
  
     color:     color:
         var(--muted);         var(--muted);
  
-    font-size:12px;+    font-size: 12px;
 } }
 +
  
 .home-feedback-icon { .home-feedback-icon {
  
-    width:32px;+    width: 32px;
  
-    height:32px;+    height: 32px;
  
-    flex-shrink:0;+    flex-shrink: 0;
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    justify-content:center;+    justify-content: center;
  
     color:     color:
Ligne 1508: Ligne 1739:
         var(--teal-soft);         var(--teal-soft);
  
-    border-radius:9px;+    border-radius: 9px;
 } }
 +
  
 .home-feedback-icon svg { .home-feedback-icon svg {
  
-    width:16px;+    width: 16px;
  
-    height:16px;+    height: 16px;
 } }
 +
  
 .home-feedback a { .home-feedback a {
Ligne 1523: Ligne 1756:
         var(--teal) !important;         var(--teal) !important;
  
-    font-weight:650;+    font-weight: 650;
  
     text-decoration:     text-decoration:
Ligne 1536: Ligne 1769:
 .home-social { .home-social {
  
-    display:flex;+    display: flex;
  
-    gap:9px;+    gap: 9px;
 } }
 +
  
 .home-social-item { .home-social-item {
  
-    width:39px;+    width: 39px;
  
-    height:39px;+    height: 39px;
  
-    display:flex;+    display: flex;
  
-    align-items:center;+    align-items: center;
  
-    justify-content:center;+    justify-content: center;
  
     background:     background:
Ligne 1560: Ligne 1794:
         var(--border);         var(--border);
  
-    border-radius:10px;+    border-radius: 10px;
  
     text-decoration:     text-decoration:
         none !important;         none !important;
  
-    transition:.18s ease;+    transition: 
 +        .18s ease;
 } }
 +
  
 .home-social-item:hover { .home-social-item:hover {
Ligne 1573: Ligne 1809:
         translateY(-2px);         translateY(-2px);
  
-    border-color:#CDD6E1;+    border-color: 
 +        #CDD6E1;
  
     box-shadow:     box-shadow:
Ligne 1579: Ligne 1816:
         rgba(16,24,40,.06);         rgba(16,24,40,.06);
 } }
 +
  
 .home-social-item svg { .home-social-item svg {
  
-    width:18px;+    width: 18px;
  
-    height:18px;+    height: 18px;
 } }
  
 +
 +
 +
 +/* ============================================================
 +   RECHERCHE SOUS GRETA NEWS
 +   ============================================================ */
 +
 +.home-search-row {
 +    display: flex;
 +    justify-content: flex-end;
 +    align-items: center;
 +
 +    margin: -8px 0 14px;
 +    padding: 0 4px;
 +}
 +
 +.home-search-form {
 +    display: flex !important;
 +    flex-direction: row !important;
 +    align-items: stretch !important;
 +
 +    width: 100%;
 +    max-width: 390px;
 +    height: 42px;
 +
 +    margin: 0 !important;
 +    padding: 0 !important;
 +
 +    background: #FFFFFF;
 +
 +    border: 1px solid #E3E8EF !important;
 +    border-radius: 11px;
 +
 +    overflow: hidden;
 +
 +    box-sizing: border-box;
 +
 +    box-shadow:
 +        0 4px 14px
 +        rgba(16,24,40,.07);
 +
 +    transition:
 +        border-color .18s ease,
 +        box-shadow .18s ease;
 +}
 +
 +.home-search-form:focus-within {
 +    border-color: #28689F !important;
 +
 +    box-shadow:
 +        0 0 0 3px
 +        rgba(40,104,159,.10),
 +        0 4px 14px
 +        rgba(16,24,40,.07);
 +}
 +
 +.home-search-input {
 +    flex: 1 1 auto !important;
 +
 +    width: auto !important;
 +    min-width: 0 !important;
 +    height: 40px !important;
 +
 +    margin: 0 !important;
 +    padding: 0 15px !important;
 +
 +    border: 0 !important;
 +    border-radius: 0 !important;
 +
 +    outline: 0 !important;
 +
 +    background: #FFFFFF !important;
 +
 +    color: #1D2939 !important;
 +
 +    font-family:
 +        -apple-system,
 +        BlinkMacSystemFont,
 +        "Segoe UI",
 +        Arial,
 +        sans-serif;
 +
 +    font-size: 13.5px !important;
 +    line-height: 40px !important;
 +
 +    box-sizing: border-box !important;
 +
 +    box-shadow: none !important;
 +}
 +
 +.home-search-input::placeholder {
 +    color: #98A2B3;
 +}
 +
 +.home-search-button {
 +    flex: 0 0 48px !important;
 +
 +    display: flex !important;
 +    align-items: center !important;
 +    justify-content: center !important;
 +
 +    width: 48px !important;
 +    min-width: 48px !important;
 +    height: 40px !important;
 +
 +    margin: 0 !important;
 +    padding: 0 !important;
 +
 +    border: 0 !important;
 +    border-radius: 0 !important;
 +
 +    background: #28689F !important;
 +    color: #FFFFFF !important;
 +
 +    box-sizing: border-box !important;
 +
 +    cursor: pointer;
 +}
 +
 +.home-search-button:hover,
 +.home-search-button:focus {
 +    background: #20567F !important;
 +}
 +
 +.home-search-button svg {
 +    display: block !important;
 +
 +    width: 18px !important;
 +    height: 18px !important;
 +
 +    margin: 0 !important;
 +
 +    fill: none !important;
 +    stroke: currentColor !important;
 +
 +    stroke-width: 2;
 +    stroke-linecap: round;
 +    stroke-linejoin: round;
 +}
 +
 +@media (max-width: 600px) {
 +
 +    .home-search-row {
 +        margin: -4px 0 12px;
 +    }
 +
 +    .home-search-form {
 +        max-width: 100%;
 +    }
 +}
  
 /* ============================================================ /* ============================================================
Ligne 1592: Ligne 1980:
    ============================================================ */    ============================================================ */
  
-@media (max-width:1000px) {+@media (max-width: 1000px) {
  
     .home-infobar {     .home-infobar {
 +
         grid-template-columns:         grid-template-columns:
             repeat(             repeat(
Ligne 1601: Ligne 1990:
             );             );
     }     }
 +
  
     .home-cards {     .home-cards {
 +
         grid-template-columns:         grid-template-columns:
             repeat(             repeat(
Ligne 1611: Ligne 2002:
 } }
  
-@media (max-width:560px) {+ 
 +@media (max-width: 560px) {
  
     .home-wrap {     .home-wrap {
-        padding-top:14px;+ 
 +        padding-top: 14px;
     }     }
 +
  
     .home-news {     .home-news {
-        height:48px; + 
-        margin-bottom:22px;+        height: 48px; 
 + 
 +        margin-bottom: 22px;
     }     }
 +
  
     .home-news-item {     .home-news-item {
-        padding:0 25px; + 
-        font-size:11.5px;+        padding: 
 +            0 25px; 
 + 
 +        font-size: 11.5px;
     }     }
 +
  
     .home-hero {     .home-hero {
 +
         padding:         padding:
             10px 8px 18px;             10px 8px 18px;
     }     }
 +
  
     .home-hero h1 {     .home-hero h1 {
-        font-size:23px;+ 
 +        font-size: 23px;
     }     }
 +
  
     .home-infobar {     .home-infobar {
-        grid-template-columns:1fr;+ 
 +        grid-template-columns: 
 +            1fr;
     }     }
 +
  
     .home-cards {     .home-cards {
-        grid-template-columns:1fr;+ 
 +        grid-template-columns: 
 +            1fr;
     }     }
 +
  
     .home-card {     .home-card {
-        min-height:auto;+ 
 +        min-height: auto;
     }     }
 +
  
     .home-citation {     .home-citation {
 +
         padding:         padding:
-            20px 18px +            20px 18px 20px 58px;
-            20px 58px;+
     }     }
 +
  
     .home-citation-symbol {     .home-citation-symbol {
-        left:15px; + 
-        font-size:50px;+        left: 15px; 
 + 
 +        font-size: 50px;
     }     }
 } }
Ligne 1671: Ligne 2087:
  
 /* ============================================================ /* ============================================================
-   GRETA NEWS+   BANDEAU ERASMUS DAYS
    ============================================================ */    ============================================================ */
  
-$newsletter_url = +$erasmus_groupe = "
-    'https://files.gretani.com/news/GretaNews%20Septembre%202026.mp4'; +
- +
-$newsletter_groupe = " +
 <div class='home-news-group'> <div class='home-news-group'>
- +    <a class='home-news-item' href='https://www.erasmusdays.eu/' target='_blank' rel='noopener noreferrer' style='color:#fff;text-decoration:none;'> 
-    <div class='home-news-item'> +        <span class='home-news-emoji'>🇪🇺</span> 
- +        <span class='home-news-badge'>Erasmus Days</span> 
-        <span class='home-news-emoji'> +        <strong>Erasmus Days • du 12 au 17 octobre</strong> 
-            🎬 +        <span>Découvrez les événements organisés partout en Europe 🌍</span> 
-        </span> +        <strong>👉 Cliquez ici</strong> 
- +    </a>
-        <span class='home-news-badge'> +
-            GretaNews +
-        </span> +
- +
-        <strong> +
-            La newsletter septembre 2026 est disponible +
-        </strong> +
- +
-        <span> +
-            Cliquez ici pour la découvrir +
-        </span> +
- +
-        <span> +
-            ▶ +
-        </span> +
- +
-    </div> +
     <span class='home-news-dot'></span>     <span class='home-news-dot'></span>
- +    <a class='home-news-item' href='https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=5a-At458nEqckiTaLbb9vkm-VdUzXk1AqgsFPBoCxuxUNjVXRVNRMkdJWVQ4UURRWVVKUENSMkNUUi4u' target='_blank' rel='noopener noreferrer' style='color:#fff;text-decoration:none;'> 
-    <div class='home-news-item'> +        <span class='home-news-emoji'>📝</span> 
- +        <span class='home-news-badge'>Questionnaire</span> 
-        <span class='home-news-emoji'> +        <strong>Participez au questionnaire GNI</strong> 
-            ✨ +        <span>Donnez votre avis en quelques clics</span> 
-        </span> +        <strong>👉 Répondre au formulaire</strong> 
- +    </a>
-        Retrouvez les dernières actualités +
-        du GRETA Nord Isère +
- +
-    </div> +
     <span class='home-news-dot'></span>     <span class='home-news-dot'></span>
- 
 </div>"; </div>";
- 
  
 echo " echo "
- +<div class='home-news home-anim' aria-label='Actualités et liens utiles'>
-<a +
-    class='home-news home-anim' +
-    href='{$newsletter_url}' +
-    target='_blank' +
-    title='Ouvrir GretaNews septembre 2026' +
-> +
     <div class='home-news-track'>     <div class='home-news-track'>
 +        {$erasmus_groupe}
 +        {$erasmus_groupe}
 +    </div>
 +</div>";
  
-        {$newsletter_groupe} 
-        {$newsletter_groupe} 
  
-    </div>+/* ============================================================ 
 +   RECHERCHE DOKUWIKI SOUS GRETA NEWS 
 +   ============================================================ */
  
-</a>";+echo ' 
 + 
 +<div class="home-search-row home-anim"> 
 +    <form class="home-search-form" action="/doku.php" method="get" role="search"> 
 +        <input type="hidden" name="do" value="search"> 
 +        <input 
 +            class="home-search-input" 
 +            type="text" 
 +            name="q" 
 +            placeholder="Rechercher sur l\'extranet..." 
 +            autocomplete="off" 
 +            aria-label="Rechercher sur l\'extranet" 
 +        > 
 +        <button class="home-search-button" type="submit" title="Rechercher" aria-label="Rechercher"> 
 +            <svg viewBox="0 0 24 24" aria-hidden="true"> 
 +                <circle cx="11" cy="11" r="7"></circle> 
 +                <path d="M20 20l-4-4"></path> 
 +            </svg> 
 +        </button> 
 +    </form> 
 +</div>';
  
  
Ligne 1754: Ligne 2158:
         alt="Logo GNI"         alt="Logo GNI"
     >     >
 +
  
     <div     <div
Ligne 1761: Ligne 2166:
         Bonjour         Bonjour
     </div>     </div>
 +
  
     <h1>     <h1>
         Bienvenue sur l\'extranet du GNI         Bienvenue sur l\'extranet du GNI
     </h1>     </h1>
 +
  
     <div class="home-hero-subtitle">     <div class="home-hero-subtitle">
Ligne 1773: Ligne 2180:
  
     </div>     </div>
 +
  
     <div     <div
Ligne 1778: Ligne 2186:
         id="home-clock"         id="home-clock"
     ></div>     ></div>
 +
 +    <div>
 +        <a
 +            class="home-presences-hero-link"
 +            href="/doku.php?id=admin:presences_v_test"
 +            title="Ouvrir le tableau des présences"
 +        >
 +            📋 Tableau des présences
 +        </a>
 +    </div>
  
 </div>'; </div>';
Ligne 1783: Ligne 2201:
  
 /* ============================================================ /* ============================================================
-   INFORMATIONS+   CARTES INFOS
    ============================================================ */    ============================================================ */
  
 echo '<div class="home-infobar home-anim">'; echo '<div class="home-infobar home-anim">';
  
 +
 +/* FETE */
  
 echo " echo "
Ligne 1796: Ligne 2216:
         🎉         🎉
     </div>     </div>
 +
  
     <div class='home-info-text'>     <div class='home-info-text'>
Ligne 1811: Ligne 2232:
 </div>"; </div>";
  
 +
 +/* FERIE */
  
 echo " echo "
Ligne 1819: Ligne 2242:
         📅         📅
     </div>     </div>
 +
  
     <div class='home-info-text'>     <div class='home-info-text'>
Ligne 1841: Ligne 2265:
 </div>"; </div>";
  
 +
 +/* SEMAINE */
  
 echo " echo "
Ligne 1849: Ligne 2275:
         🗓️         🗓️
     </div>     </div>
 +
  
     <div class='home-info-text'>     <div class='home-info-text'>
Ligne 1868: Ligne 2295:
 </div>"; </div>";
  
 +
 +/* VISITES */
  
 echo " echo "
Ligne 1876: Ligne 2305:
         👁️         👁️
     </div>     </div>
 +
  
     <div class='home-info-text'>     <div class='home-info-text'>
  
         <div class='home-info-label'>         <div class='home-info-label'>
-            Visites du site+            Visites aujourd'hui
         </div>         </div>
  
Ligne 1890: Ligne 2320:
  
 </div>"; </div>";
 +
  
 echo '</div>'; echo '</div>';
Ligne 1905: Ligne 2336:
         ❝         ❝
     </div>     </div>
 +
  
     <div class='home-citation-label'>     <div class='home-citation-label'>
         ✨ Citation du jour         ✨ Citation du jour
     </div>     </div>
 +
  
     <div class='home-citation-texte'>     <div class='home-citation-texte'>
         {$citation_texte}         {$citation_texte}
     </div>     </div>
 +
  
     <div class='home-citation-auteur'>     <div class='home-citation-auteur'>
Ligne 1922: Ligne 2356:
  
 /* ============================================================ /* ============================================================
-   HORLOGE+   HORLOGE / SALUTATION AUTOMATIQUE
    ============================================================ */    ============================================================ */
  
Ligne 1941: Ligne 2375:
         var salutation =         var salutation =
             "Bonsoir 🌙";             "Bonsoir 🌙";
 +
  
         if (         if (
Ligne 1979: Ligne 2414:
             salutation =             salutation =
                 "Bonsoir, belle fin de journée 🌆";                 "Bonsoir, belle fin de journée 🌆";
- 
         }         }
 +
  
         var greeting =         var greeting =
Ligne 1986: Ligne 2421:
                 "home-greeting"                 "home-greeting"
             );             );
 +
  
         if (greeting) {         if (greeting) {
Ligne 1991: Ligne 2427:
             greeting.innerText =             greeting.innerText =
                 salutation;                 salutation;
- 
         }         }
 +
  
         var options = {         var options = {
  
-            weekday:"long", +            weekday: "long", 
-            day:"numeric", + 
-            month:"long", +            day: "numeric", 
-            year:"numeric", + 
-            hour:"2-digit", +            month: "long", 
-            minute:"2-digit"+ 
 +            year: "numeric", 
 + 
 +            hour: "2-digit", 
 + 
 +            minute: "2-digit"
  
         };         };
 +
  
         var texte =         var texte =
Ligne 2011: Ligne 2453:
                 options                 options
             );             );
 +
  
         var clock =         var clock =
Ligne 2016: Ligne 2459:
                 "home-clock"                 "home-clock"
             );             );
 +
  
         if (clock) {         if (clock) {
Ligne 2023: Ligne 2467:
                 +                 +
                 texte.slice(1);                 texte.slice(1);
- 
         }         }
     }     }
 +
  
     majHorloge();     majHorloge();
 +
  
     setInterval(     setInterval(
Ligne 2054: Ligne 2499:
  
 </div>'; </div>';
 +
  
 echo '<div class="home-cards">'; echo '<div class="home-cards">';
 +
  
 foreach ($SECTIONS as $s) { foreach ($SECTIONS as $s) {
  
     $titre =     $titre =
-        htmlspecialchars( +        htmlspecialchars($s['titre']);
-            $s['titre'], +
-            ENT_QUOTES, +
-            'UTF-8' +
-        );+
  
     $desc =     $desc =
-        htmlspecialchars( +        htmlspecialchars($s['desc']);
-            $s['desc'], +
-            ENT_QUOTES, +
-            'UTF-8' +
-        );+
  
     $url =     $url =
-        htmlspecialchars( +        htmlspecialchars($s['url']); 
-            $s['url'], +
-            ENT_QUOTES, +
-            'UTF-8' +
-        );+
  
     echo "     echo "
Ligne 2088: Ligne 2524:
  
         <div class='home-card-top'>         <div class='home-card-top'>
 +
  
             <div             <div
                 class='home-card-icon'                 class='home-card-icon'
                 style='                 style='
-                    background:{$s['bg']}; +                    background: {$s['bg']}; 
-                    color:{$s['color']};+                    color: {$s['color']};
                 '                 '
             >             >
Ligne 2111: Ligne 2548:
  
             </div>             </div>
 +
  
             <div class='home-card-arrow'>             <div class='home-card-arrow'>
Ligne 2124: Ligne 2562:
  
                     <path d='M5 12h14'/>                     <path d='M5 12h14'/>
 +
                     <path d='M13 6l6 6-6 6'/>                     <path d='M13 6l6 6-6 6'/>
  
Ligne 2131: Ligne 2570:
  
         </div>         </div>
 +
  
         <div class='home-card-title'>         <div class='home-card-title'>
             {$titre}             {$titre}
         </div>         </div>
 +
  
         <div class='home-card-desc'>         <div class='home-card-desc'>
Ligne 2141: Ligne 2582:
  
     </a>";     </a>";
- 
 } }
 +
  
 echo '</div>'; echo '</div>';
Ligne 2162: Ligne 2603:
  
 </div>'; </div>';
 +
  
 echo '<div class="home-quicklinks">'; echo '<div class="home-quicklinks">';
 +
  
 foreach ($LIENS_RAPIDES as $l) { foreach ($LIENS_RAPIDES as $l) {
  
     $titre =     $titre =
-        htmlspecialchars( +        htmlspecialchars($l['titre']);
-            $l['titre'], +
-            ENT_QUOTES, +
-            'UTF-8' +
-        );+
  
     $url =     $url =
-        htmlspecialchars( +        htmlspecialchars($l['url']);
-            $l['url'], +
-            ENT_QUOTES, +
-            'UTF-8' +
-        );+
  
-    $target = 
-        isset($l['target']) 
-        ? " target='" . 
-            htmlspecialchars( 
-                $l['target'], 
-                ENT_QUOTES, 
-                'UTF-8' 
-            ) . 
-            "'" 
-        : ''; 
  
     echo "     echo "
Ligne 2197: Ligne 2622:
         class='home-quicklink'         class='home-quicklink'
         href='{$url}'         href='{$url}'
-        {$target} 
     >     >
  
         {$titre}         {$titre}
 +
  
         <svg         <svg
Ligne 2212: Ligne 2637:
  
             <path d='M5 12h14'/>             <path d='M5 12h14'/>
 +
             <path d='M13 6l6 6-6 6'/>             <path d='M13 6l6 6-6 6'/>
  
Ligne 2217: Ligne 2643:
  
     </a>";     </a>";
- 
 } }
 +
  
 echo '</div>'; echo '</div>';
Ligne 2244: Ligne 2670:
             <path d="M12 20h9"/>             <path d="M12 20h9"/>
  
-            <path +            <path d="M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4L16.5 3.5z"/>
-                d="M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4L16.5 3.5z" +
-            />+
  
         </svg>         </svg>
  
     </div>     </div>
 +
  
     <span>     <span>
Ligne 2283: Ligne 2708:
  
 </div>'; </div>';
 +
  
 echo '<div class="home-social">'; echo '<div class="home-social">';
 +
  
 foreach ($RESEAUX as $r) { foreach ($RESEAUX as $r) {
  
     $titre =     $titre =
-        htmlspecialchars( +        htmlspecialchars($r['titre']);
-            $r['titre'], +
-            ENT_QUOTES, +
-            'UTF-8' +
-        );+
  
     $url =     $url =
-        htmlspecialchars( +        htmlspecialchars($r['url']); 
-            $r['url'], +
-            ENT_QUOTES, +
-            'UTF-8' +
-        );+
  
     echo "     echo "
Ligne 2325: Ligne 2745:
  
     </a>";     </a>";
- 
 } }
 +
  
 echo '</div>'; echo '</div>';

Warning: Trying to access array offset on value of type bool in /var/www/html/lib/tpl/bootstrap3/Template.php on line 590
  • start.1789497347.txt.gz
  • Dernière modification : 15/09/2026 19:35
  • de ajean