Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| informatique [02/07/2026 11:33] – ajean | informatique [07/09/2026 10:49] (Version actuelle) – ajean |
|---|
| 'url' => 'informatique:printer', | 'url' => 'informatique:printer', |
| 'icone' => '<svg viewBox="0 0 24 24" fill="none" stroke="#1A4A7A" stroke-width="2"><path d="M6 9V2h12v7"/><path d="M6 18H4a2 2 0 01-2-2v-5a2 2 0 012-2h16a2 2 0 012 2v5a2 2 0 01-2 2h-2"/><path d="M6 14h12v8H6z"/></svg>', | 'icone' => '<svg viewBox="0 0 24 24" fill="none" stroke="#1A4A7A" stroke-width="2"><path d="M6 9V2h12v7"/><path d="M6 18H4a2 2 0 01-2-2v-5a2 2 0 012-2h16a2 2 0 012 2v5a2 2 0 01-2 2h-2"/><path d="M6 14h12v8H6z"/></svg>', |
| | ], |
| | [ |
| | 'titre' => 'Tutoriels & Applicatifs', |
| | 'desc' => "Tous les tutoriels et guides d'utilisation des applicatifs et outils informatiques", |
| | 'url' => 'informatique:tutos', |
| | 'icone' => '<svg viewBox="0 0 24 24" fill="none" stroke="#1A4A7A" stroke-width="2"><path d="M4 19.5A2.5 2.5 0 016.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z"/></svg>', |
| ], | ], |
| ]; | ]; |
| foreach ($liens as $l) { | foreach ($liens as $l) { |
| $base = defined('DOKU_BASE') ? DOKU_BASE : '/'; | $base = defined('DOKU_BASE') ? DOKU_BASE : '/'; |
| $href = $base . 'doku.php?id=' . rawurlencode($l['url']); | $href = $base . 'doku.php?id=' . $l['url']; |
| echo '<a class="home-card" href="' . htmlspecialchars($href) . '"> | echo '<a class="home-card" href="' . htmlspecialchars($href) . '"> |
| <div class="home-card-icon">' . $l['icone'] . '</div> | <div class="home-card-icon">' . $l['icone'] . '</div> |