Commit 94746955 authored by imac's avatar imac

[bugfix]JIRA : Nap-29 -> responsive download page

parent 602805b9
...@@ -3,8 +3,13 @@ ...@@ -3,8 +3,13 @@
* Template Name: Télechargement * Template Name: Télechargement
* *
*/ */
$ext_ref = externe_referrer();
if($ext_ref) {
get_header();
}
$post_ID = 260; $post_ID = 260;
?> ?>
<div id="download" class="clearfix container "> <div id="download" class="clearfix container ">
<div class="phototheque-content"> <div class="phototheque-content">
...@@ -16,7 +21,7 @@ $post_ID = 260; ...@@ -16,7 +21,7 @@ $post_ID = 260;
</div> </div>
<nav class = "row"> <nav class = "row">
<h2 class = "crete big-title">Téléchargement</h2> <h2 class = "crete big-title">Téléchargement</h2>
</nav> </nav>
</div> </div>
</div> </div>
<div class="gallery-wrapper right hidden-elem row"> <div class="gallery-wrapper right hidden-elem row">
...@@ -57,3 +62,8 @@ $post_ID = 260; ...@@ -57,3 +62,8 @@ $post_ID = 260;
</div> </div>
</div> </div>
</div> </div>
<?php
if($ext_ref) {
get_footer();
}
?>
\ No newline at end of file
...@@ -15,12 +15,12 @@ ...@@ -15,12 +15,12 @@
<li class='nl'><a href="#">newsletter</a></li> <li class='nl'><a href="#">newsletter</a></li>
<?php <?php
if ( is_user_logged_in() ) { ?> if ( is_user_logged_in() ) { ?>
<li><a href="<?php echo get_permalink(260)?>">téléchargements</a></li> <li class="to-slide"><a href="<?php echo get_permalink(260)?>">téléchargements</a></li>
<?php } ?> <?php } ?>
<li><a href="phototheque.php">photothèque</a></li> <li class="to-slide"><a href="phototheque.php">photothèque</a></li>
<li><a href="<?php echo get_permalink(171)?>">mentions légales</a></li> <li class="to-slide"><a href="<?php echo get_permalink(171)?>">mentions légales</a></li>
</ul> </ul>
</div> </div>
</div> </div>
</footer> </footer>
<div class="popup-container"> <div class="popup-container">
......
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