summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9ac7c4)
raw | patch | inline | side by side (parent: d9ac7c4)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Dec 2005 13:49:45 +0000 (13:49 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Dec 2005 13:49:45 +0000 (13:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2261 594d385d-05f5-0310-b6e9-bd551577e9d8
include/php_setup.inc | patch | blob | history |
diff --git a/include/php_setup.inc b/include/php_setup.inc
index e746e41409943bfcd6a84cfe03b0fb610a45713c..3274152dcde67d82113879a3cc8518a5d2609d88 100644 (file)
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
/* Create header as needed */
if ($error_collector == ""){
- if ($_SESSION['js']==FALSE){
+ if (isset($_SESSION['js']) && $_SESSION['js']==FALSE){
$error_collector= "<div>";
} else {
$error_collector= "<table summary=\"\" width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black'><tr><td><img alt=\"\" align=\"middle\" src='".get_template_path('images/warning.png')."'> <font style='font-size:14px;font-weight:bold'>"._("Generating this page caused the PHP interpreter to raise some errors!")."</font></td><td align=right><button onClick='toggle(\"errorbox\")'>"._("Toggle information")."</button></td></tr></table><div id='errorbox' style='position:absolute; z-index:0; visibility: hidden'>";