73 lines
3.3 KiB
PHP
Executable File
73 lines
3.3 KiB
PHP
Executable File
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="INTER SANTÉ - Gestionnaire de santé">
|
|
<meta name="author" content="INTER SANTÉ">
|
|
|
|
<base href="<?= $racineWeb ?>">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="icon" href="Bootstrap_new/images/favicon.ico" type="image/x-icon">
|
|
<link rel="apple-touch-icon" href="Bootstrap_new/images/apple-touch-icon.png">
|
|
|
|
<!-- Google Fonts -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600&display=swap" rel="stylesheet">
|
|
|
|
<!-- Bootstrap 5 CSS -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<!-- Vendor CSS -->
|
|
<link href="Bootstrap/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
|
|
<link href="Bootstrap/vendor/quill/quill.snow.css" rel="stylesheet">
|
|
<link href="Bootstrap_new/css/datatables.min.css" rel="stylesheet">
|
|
<link href="Bootstrap_new/css/select2.min.css" rel="stylesheet">
|
|
|
|
<!-- SweetAlert2 -->
|
|
<link href="https://cdn.jsdelivr.net/npm/sweetalert2@11.14.1/dist/sweetalert2.min.css" rel="stylesheet">
|
|
|
|
<!-- Chart.js -->
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
|
|
|
<!-- Styles personnalisés -->
|
|
<link href="Bootstrap_new/css/style_moderne.css?ver=<?= date('Y.m.d.H') ?>" rel="stylesheet">
|
|
|
|
<!-- Animate.css pour les animations -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
|
|
|
|
<!-- Font Awesome -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
|
|
|
|
<!-- Toastr -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
|
|
|
|
|
|
<title><?= htmlspecialchars($_SESSION['vue']) ?> - INTER SANTÉ</title>
|
|
|
|
<!-- Scripts de prévention de clic droit en mode production -->
|
|
<script type="text/javascript">
|
|
var modeDev = <?= json_encode($modeDev) ?>;
|
|
if (modeDev != "1") {
|
|
document.addEventListener('contextmenu', function(e) {
|
|
e.preventDefault();
|
|
toastr.warning('<?= _("Le clic droit est désactivé en mode production") ?>');
|
|
});
|
|
|
|
// Prévention des raccourcis clavier
|
|
document.addEventListener('keydown', function(e) {
|
|
// Ctrl+U (afficher le code source)
|
|
if (e.ctrlKey && e.keyCode === 85) {
|
|
e.preventDefault();
|
|
toastr.warning('<?= _("Cette fonctionnalité est désactivée") ?>');
|
|
}
|
|
// F12 (outils de développement)
|
|
if (e.keyCode === 123) {
|
|
e.preventDefault();
|
|
toastr.warning('<?= _("Les outils de développement sont désactivés") ?>');
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|