From: hickert Date: Tue, 24 May 2005 07:51:54 +0000 (+0000) Subject: iW3c conform X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d8fd81bacb5b46b0dcebb5459d437ba27713a5da;p=gosa.git iW3c conform git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@361 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/main.php b/html/main.php index cdce20238..50cee3faf 100644 --- a/html/main.php +++ b/html/main.php @@ -223,7 +223,8 @@ if (isset($plug)){ } else { $smarty->assign ("plug", ""); } -$mtmp= $smarty->fetch(get_template_path('headers.tpl')); +$mtmp="".$smarty->fetch(get_template_path('headers.tpl')); + /* React on clicks */ if ($_SERVER["REQUEST_METHOD"] == "POST"){ @@ -257,7 +258,7 @@ if (isset ($_SESSION['post_cnt'])){ /* Load plugin */ if (is_file("$plugin_dir/main.inc")){ require_once ("$plugin_dir/main.inc"); - print $plugin_dir; + print $plugin_dir."/main.inc"; } else { print_red(sprintf(_("Can't find any plugin definitions for plugin '%s'!"), $plug)); echo $_SESSION['errors']; diff --git a/include/functions.inc b/include/functions.inc index 613af8c67..b00d39a39 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -889,13 +889,13 @@ function print_red() /* If DEBUGLEVEL is set, we're in web mode, use textual output in the other case... */ if (isset($_SESSION['DEBUGLEVEL'])){ - $_SESSION['errors'].= "
". - "
\"\"". + "". "$string". - "\"\"src=\"".get_template_path('images/warning.png').
\n"; } else { echo "Error: $string\n"; @@ -1155,7 +1155,7 @@ function range_selector($dcnt,$start,$range=25) if ($start > 0 ) { $output.=" ". - ""; + "\"\""; } /* Draw pages */ @@ -1174,7 +1174,7 @@ function range_selector($dcnt,$start,$range=25) if($start < ($dcnt-$range)) { $output.=" ". - ""; + "\"\""; } return($output); @@ -1537,7 +1537,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) if ($_SESSION['js']==FALSE){ $error_collector= "
"; } else { - $error_collector= "
 "._("Generating this page caused the PHP interpreter to raise some errors!")."