-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.php
99 lines (87 loc) · 3.76 KB
/
template.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
if(!isset($description))
$description = "CHANGE ME";
if(!isset($keywords))
$keywords = "CHANGE ME";
if(!isset($titlePage))
$titlePage = "CHANGE ME";
?>
<!DOCTYPE HTML>
<html>
<head>
<title><?php echo $titlePage ?> | <?php echo WEB_TITLE ?></title>
<meta name="description" content="<?php echo $description; ?>">
<meta name="keywords" content="<?php echo $keywords; ?>">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<base href="" />
<!-- Google Analytics -->
<script>
</script>
<!-- End Google Analytics -->
<!-- Piwik -->
<script>
</script>
<!-- Piwik -->
<!-- Load CSS file -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css">
<link rel="stylesheet" href="<?php echo WEBROOT ?>assets/css/custom.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css">
<!-- Load JS files -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js"></script>
<script type="text/javascript" src="<?php echo WEBROOT ?>assets/js/custom.js"></script>
<!--[if lt IE 9] -->
<script src="<?php echo WEBROOT ?>assets/js/html5shiv.js" type="text/javascript"></script>
<!-- [endif]-->
</head>
<body>
<div class="container">
<header>
<?php include 'includes/menu.php'; ?>
</header>
<main>
<?php echo $content; ?>
</main>
</div>
<footer class="page-footer font-small blue pt-4 mt-4">
<br><br>
<div class="footer-copyright py-3 text-center">
<div class="container-fluid">
© Université de Caen -
<a href="mailto:<?php echo ADMINEMAIL ?>?subject=[AUTOEVALUATION] Signalement d'un bogue">Signaler un bogue</a> -
<a href="mailto:<?php echo ADMINEMAIL ?>?subject=[AUTOEVALUATION] Proposition suggestion">Proposer une suggestion</a>
</div>
</div>
</footer>
</body>
<?php include 'includes/notification.php'; ?>
<script>
$(document).ready(function() {
$('#example').DataTable({
"lengthChange": false,
"info": false,
language: {
"decimal": "",
"emptyTable": "Aucun exercice disponible",
"infoPostFix": "",
"thousands": ",",
"loadingRecords": "Chargement...",
"processing": "Traitement...",
"search": "Rechercher:",
"zeroRecords": "Aucun enregistrements correspondants trouvés",
"paginate": {
"first": "Premier",
"last": "Dernier",
"next": "Suivant",
"previous": "Précédent"
}
}
});
});
</script>
</html>