Commit 8114799c authored by imac's avatar imac

[bugfix]JIRA : Nap-34 -> Responsive legace + phototheque

parent 94746955
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
* Template Name: Mentions légales * Template Name: Mentions légales
* *
*/ */
$ext_ref = externe_referrer();
if($ext_ref) {
get_header();
}
$current_page = ''; $current_page = '';
?> ?>
<div id="legacy" class="clearfix container "> <div id="legacy" class="clearfix container ">
...@@ -30,3 +33,8 @@ $current_page = ''; ...@@ -30,3 +33,8 @@ $current_page = '';
</div> </div>
</div> </div>
</div> </div>
<?php
if($ext_ref) {
get_footer();
}
?>
\ No newline at end of file
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
* Template Name: phototheque * Template Name: phototheque
* *
*/ */
$ext_ref = externe_referrer();
if($ext_ref) {
get_header();
}
$current_page = 'phototheque'; $current_page = 'phototheque';
?> ?>
<div id="phototheque" class="clearfix container "> <div id="phototheque" class="clearfix container ">
...@@ -111,3 +115,8 @@ $current_page = 'phototheque'; ...@@ -111,3 +115,8 @@ $current_page = 'phototheque';
?> ?>
</div> </div>
</div> </div>
<?php
if($ext_ref) {
get_footer();
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment