Set tzo cookie only in header.php
This commit is contained in:
parent
4d61a4d967
commit
afb72007fb
|
@ -13,7 +13,7 @@ $CONFIG = include $config_file;
|
|||
?>
|
||||
<script type="text/javascript">
|
||||
if (navigator.cookieEnabled)
|
||||
document.cookie = "tzo="+ (- new Date().getTimezoneOffset());
|
||||
document.cookie = "tzo="+ (- new Date().getTimezoneOffset())+"; path=/";
|
||||
</script>
|
||||
<?php
|
||||
|
||||
|
|
|
@ -17,12 +17,6 @@ if (isset($frames_on) && $frames_on === true) {
|
|||
</script>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
if (navigator.cookieEnabled)
|
||||
document.cookie = "tzo="+ (- new Date().getTimezoneOffset())+"; path=/";
|
||||
</script>
|
||||
<?php
|
||||
$title.=' - '.basename(getcwd());
|
||||
include "head.inc";
|
||||
echo '<h1 class="np_thread_headline">'.basename(getcwd()).'</h1>';
|
||||
|
|
Loading…
Reference in New Issue