Nouvelle classe Membre, différente. D'autres modifs....
This commit is contained in:
Submodule includes/MathJax deleted from be11806df1
+14
-22
@@ -11,29 +11,21 @@
|
||||
<a href="" id="haut_de_page">Haut de page</a>
|
||||
</footer>
|
||||
|
||||
<?php
|
||||
if(isset($_SESSION['current_error'])){
|
||||
?>
|
||||
<?php if(isset($_SESSION['current_error'])){ ?>
|
||||
|
||||
<div class="fullscreen opaque">
|
||||
<div class="screen-vertical-centered">
|
||||
<div class="screen-horizontal-centered">
|
||||
<?php echo $_SESSION['current_error'];?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="currentErrorPanel" class="fullscreen absent big-background-semi-opaque full-text">
|
||||
<div class="screen-vertical-centered">
|
||||
<div class="screen-horizontal-centered opaque">
|
||||
<?php echo $_SESSION['current_error'];?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$('.fullscreen').on('click',function(){
|
||||
$('.fullscreen').animate({opacity:0},1000,function(){
|
||||
$('.fullscreen').css('display','none');
|
||||
$('#currentErrorPanel').click(function(){
|
||||
$('#currentErrorPanel').fadeOut(600);
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
unset($_SESSION['current_error']);
|
||||
}
|
||||
|
||||
?>
|
||||
</script>
|
||||
|
||||
<?php unset($_SESSION['current_error']);
|
||||
} ?>
|
||||
|
||||
+2
-16
@@ -4,6 +4,8 @@
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
|
||||
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
|
||||
<script type="text/x-mathjax-config"> MathJax.Hub.Config({
|
||||
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]},
|
||||
CommonHTML: { linebreaks: { automatic: true }, scale: ((window.innerWidth || document.body.clientWidth)<600)?70:100},
|
||||
@@ -23,21 +25,5 @@
|
||||
link.href = "css/noFirefoxStyle.css";
|
||||
}
|
||||
headBloc.appendChild( link );
|
||||
|
||||
//Load server jQuery if not loaded
|
||||
var jQuerySrc = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML'
|
||||
var mathJaxSrc = 'http://code.jquery.com/jquery-latest.min.js'
|
||||
if(!navigator.onLine){
|
||||
jQuerySrc = 'includes/jquery-latest.min.js';
|
||||
mathJaxSrc = "includes/MathJax/MathJax.js?config=TeX-AMS_CHTML";
|
||||
}
|
||||
var script = document.createElement("script");
|
||||
script.type = "text/javascript";
|
||||
script.src = jQuerySrc;
|
||||
headBloc.appendChild(script);
|
||||
script = document.createElement("script");
|
||||
script.type = "text/javascript";
|
||||
script.src = mathJaxSrc;
|
||||
headBloc.appendChild(script);
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user