|
|
|
|
@ -38,16 +38,29 @@ $(document).ready(function(){ |
|
|
|
|
pause : 10000 |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
</script>'; |
|
|
|
|
alert(navigator.cookieEnabled); |
|
|
|
|
if(navigator.cookieEnabled==false){ |
|
|
|
|
document.writeln("'.addslashes(Display::display_error_message(get_lang("NoCookies"))).'"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<noscript> |
|
|
|
|
'.addslashes(Display::display_error_message(get_lang("NoJavascript"))).' |
|
|
|
|
</noscript> |
|
|
|
|
|
|
|
|
|
'; |
|
|
|
|
|
|
|
|
|
//@todo add this in the template |
|
|
|
|
|
|
|
|
|
//check if javascript is enabled |
|
|
|
|
/* |
|
|
|
|
echo '<noscript>'; |
|
|
|
|
echo Display::display_error_message(get_lang("NoJavascript")); |
|
|
|
|
echo '</noscript>'; |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
//check if cookies are enabled |
|
|
|
|
/* |
|
|
|
|
?> |
|
|
|
|
<script language="JavaScript"> |
|
|
|
|
if(navigator.cookieEnabled==false){ |
|
|
|
|
@ -55,7 +68,7 @@ if(navigator.cookieEnabled==false){ |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
$controller = new IndexManager($header_title); |
|
|
|
|
|
|
|
|
|
//Actions |
|
|
|
|
|