Skip to content

Commit

Permalink
Update header.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TurboPT committed Mar 1, 2018
1 parent ee32394 commit 909af54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion includes/header.php
Expand Up @@ -33,10 +33,15 @@
<script>
localStorage.setItem("DateFormat", "', $_SESSION['DefaultDateFormat'], '");
localStorage.setItem("Theme", "', $_SESSION['Theme'], '");
</script>';

// If it is set the $_SESSION['ShowPageHelp'] parameter AND it is FALSE, hides the page help text:
if(isset($_SESSION['ShowPageHelp']) AND !$_SESSION['ShowPageHelp']) {
echo '<style>.page_help_text, DIV.page_help_text {display:none;}</style>';
echo '<style>
.page_help_text, div.page_help_text {
display:none;
}
</style>';
}

echo '</head>',
Expand Down

0 comments on commit 909af54

Please sign in to comment.