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">
|
<script type="text/javascript">
|
||||||
if (navigator.cookieEnabled)
|
if (navigator.cookieEnabled)
|
||||||
document.cookie = "tzo="+ (- new Date().getTimezoneOffset());
|
document.cookie = "tzo="+ (- new Date().getTimezoneOffset())+"; path=/";
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -17,12 +17,6 @@ if (isset($frames_on) && $frames_on === true) {
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (navigator.cookieEnabled)
|
|
||||||
document.cookie = "tzo="+ (- new Date().getTimezoneOffset())+"; path=/";
|
|
||||||
</script>
|
|
||||||
<?php
|
|
||||||
$title.=' - '.basename(getcwd());
|
$title.=' - '.basename(getcwd());
|
||||||
include "head.inc";
|
include "head.inc";
|
||||||
echo '<h1 class="np_thread_headline">'.basename(getcwd()).'</h1>';
|
echo '<h1 class="np_thread_headline">'.basename(getcwd()).'</h1>';
|
||||||
|
|
Loading…
Reference in New Issue