refactor: retire filtre courrier et lien Vision, prépare module licence Vision

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jules
2026-05-06 00:13:30 +02:00
parent 3f73421fd3
commit 01a0fea7cb
3 changed files with 84 additions and 27 deletions

View File

@@ -1,6 +1,5 @@
<?php
define('VISION_URL', 'http://192.168.111.212');
function html_head(string $title): void {
$domain = cfg('domain', 'copymail');
@@ -48,8 +47,6 @@ function html_navbar(string $active = ''): void {
}
echo '</ul>';
echo '<div class="d-flex align-items-center gap-2">';
// Lien Vision
echo '<a class="btn btn-outline-light btn-sm" href="' . VISION_URL . '" target="_blank" title="Ouvrir Vision"><i class="bi bi-grid-fill me-1"></i>Vision</a>';
echo "{$roleBadge}<span class=\"navbar-text me-2\"><i class=\"bi bi-person-circle me-1\"></i>{$user}</span>";
echo '<a class="btn btn-outline-light btn-sm" href="/logout.php"><i class="bi bi-box-arrow-right me-1"></i>Déconnexion</a>';
echo '</div></div></div></nav>';