forked from vergnet/site-accueil-insa
Removed useless pageMeta template variable
This commit is contained in:
parent
c56f82ffd6
commit
182e148598
6 changed files with 10 additions and 28 deletions
|
@ -279,15 +279,12 @@ function generatePath($path)
|
|||
</div>
|
||||
<?php endif; ?>
|
||||
<script src="assets/scripts/photosScript.js"></script>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/photos.css">
|
||||
<script type="text/javascript" src="assets/scripts/jquery.mousewheel.min.js"></script>
|
||||
|
||||
<?php
|
||||
$pageContent = ob_get_clean(); // Store html content in variable
|
||||
$pageTitle = "Photos";
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/photos.css">
|
||||
<script type="text/javascript" src="assets/scripts/jquery.mousewheel.min.js"></script>
|
||||
<?php
|
||||
// $pageMeta = ob_get_clean(); // Store html content in variable
|
||||
include("template.php"); // Display template with variable content
|
||||
?>
|
||||
|
||||
|
|
|
@ -99,14 +99,10 @@ ob_start(); // Start reading html
|
|||
<p>Clique sur un évenement pour afficher ses informations</p>
|
||||
</div>
|
||||
<script src="assets/scripts/planningScript.js"></script>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/planning_events.css">
|
||||
|
||||
<?php
|
||||
$pageContent = ob_get_clean(); // Store html content in variable
|
||||
$pageTitle = "Planning";
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/planning_events.css">
|
||||
<?php
|
||||
include("template.php"); // Display template with variable content
|
||||
//$pageMeta = ob_get_clean(); // Store html content in variable
|
||||
|
||||
?>
|
||||
|
|
|
@ -128,12 +128,8 @@ function get_stats($team)
|
|||
}
|
||||
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/stats.css">
|
||||
<?php
|
||||
$pageContent = ob_get_clean(); // Store html content in variable
|
||||
$pageTitle = "Stats";
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/stats.css">
|
||||
<?php
|
||||
$pageMeta = ob_get_clean(); // Store html content in variable
|
||||
include("template.php"); // Display template with variable content
|
||||
|
|
|
@ -30,7 +30,6 @@ $scoreURSS = get_total_points('urss');
|
|||
<link href="https://fonts.googleapis.com/css?family=Montserrat|Raleway|Russo+One" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<title><?= $pageTitle ?> | INSAT Accueil 2018</title>
|
||||
<?= $pageMeta // Additional metadata ?>
|
||||
<!-- Matomo -->
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
|
|
7
urss.php
7
urss.php
|
@ -24,13 +24,10 @@ ob_start(); // Start reading html
|
|||
<source src="assets/audio/USSR.mp3" type="audio/mpeg">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
<?php
|
||||
$pageContent = ob_get_clean(); // Store html content in variable
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
|
||||
<title>Team URSS | Semaine d'Accueil 2018</title>
|
||||
<?php
|
||||
$pageMeta = ob_get_clean(); // Store html content in variable
|
||||
$pageContent = ob_get_clean(); // Store html content in variable
|
||||
$customBackgroundId = "bg_ussr";
|
||||
$pageTitle = "URSS";
|
||||
include("template.php"); // Display template with variable content
|
||||
|
|
7
usa.php
7
usa.php
|
@ -25,13 +25,10 @@ ob_start(); // Start reading html
|
|||
<source src="assets/audio/USA.mp3" type="audio/mpeg">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
<?php
|
||||
$pageContent = ob_get_clean(); // Store html content in variable
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
|
||||
<title>Team USA | Semaine d'Accueil 2018</title>
|
||||
<?php
|
||||
$pageMeta = ob_get_clean(); // Store html content in variable
|
||||
$pageContent = ob_get_clean(); // Store html content in variable
|
||||
$customBackgroundId = "bg_usa";
|
||||
$pageTitle = "USA";
|
||||
include("template.php"); // Display template with variable content
|
||||
|
|
Loading…
Reference in a new issue