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>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<script src="assets/scripts/photosScript.js"></script>
|
<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
|
<?php
|
||||||
$pageContent = ob_get_clean(); // Store html content in variable
|
$pageContent = ob_get_clean(); // Store html content in variable
|
||||||
$pageTitle = "Photos";
|
$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
|
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>
|
<p>Clique sur un évenement pour afficher ses informations</p>
|
||||||
</div>
|
</div>
|
||||||
<script src="assets/scripts/planningScript.js"></script>
|
<script src="assets/scripts/planningScript.js"></script>
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/planning_events.css">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$pageContent = ob_get_clean(); // Store html content in variable
|
$pageContent = ob_get_clean(); // Store html content in variable
|
||||||
$pageTitle = "Planning";
|
$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
|
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>
|
</script>
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/stats.css">
|
||||||
<?php
|
<?php
|
||||||
$pageContent = ob_get_clean(); // Store html content in variable
|
$pageContent = ob_get_clean(); // Store html content in variable
|
||||||
$pageTitle = "Stats";
|
$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
|
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 href="https://fonts.googleapis.com/css?family=Montserrat|Raleway|Russo+One" rel="stylesheet">
|
||||||
<link rel="shortcut icon" href="favicon.ico">
|
<link rel="shortcut icon" href="favicon.ico">
|
||||||
<title><?= $pageTitle ?> | INSAT Accueil 2018</title>
|
<title><?= $pageTitle ?> | INSAT Accueil 2018</title>
|
||||||
<?= $pageMeta // Additional metadata ?>
|
|
||||||
<!-- Matomo -->
|
<!-- Matomo -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _paq = _paq || [];
|
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">
|
<source src="assets/audio/USSR.mp3" type="audio/mpeg">
|
||||||
Your browser does not support the audio element.
|
Your browser does not support the audio element.
|
||||||
</audio>
|
</audio>
|
||||||
<?php
|
|
||||||
$pageContent = ob_get_clean(); // Store html content in variable
|
|
||||||
ob_start(); // Start reading html
|
|
||||||
?>
|
|
||||||
<title>Team URSS | Semaine d'Accueil 2018</title>
|
<title>Team URSS | Semaine d'Accueil 2018</title>
|
||||||
<?php
|
<?php
|
||||||
$pageMeta = ob_get_clean(); // Store html content in variable
|
$pageContent = ob_get_clean(); // Store html content in variable
|
||||||
$customBackgroundId = "bg_ussr";
|
$customBackgroundId = "bg_ussr";
|
||||||
$pageTitle = "URSS";
|
$pageTitle = "URSS";
|
||||||
include("template.php"); // Display template with variable content
|
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">
|
<source src="assets/audio/USA.mp3" type="audio/mpeg">
|
||||||
Your browser does not support the audio element.
|
Your browser does not support the audio element.
|
||||||
</audio>
|
</audio>
|
||||||
<?php
|
|
||||||
$pageContent = ob_get_clean(); // Store html content in variable
|
|
||||||
ob_start(); // Start reading html
|
|
||||||
?>
|
|
||||||
<title>Team USA | Semaine d'Accueil 2018</title>
|
<title>Team USA | Semaine d'Accueil 2018</title>
|
||||||
<?php
|
<?php
|
||||||
$pageMeta = ob_get_clean(); // Store html content in variable
|
$pageContent = ob_get_clean(); // Store html content in variable
|
||||||
$customBackgroundId = "bg_usa";
|
$customBackgroundId = "bg_usa";
|
||||||
$pageTitle = "USA";
|
$pageTitle = "USA";
|
||||||
include("template.php"); // Display template with variable content
|
include("template.php"); // Display template with variable content
|
||||||
|
|
Loading…
Reference in a new issue