diff --git a/html/main.php b/html/main.php
index ed76758fa542827151f0e50ee34992834f40c5e5..c73b24a8f39cc44f7f30cc39d091f35db7f4b008 100644 (file)
--- a/html/main.php
+++ b/html/main.php
$smarty->assign("help_method", "href='helpviewer.php$plug' target='_new'");
} else {
$smarty->assign("javascript", "true");
- $smarty->assign("help_method", "href='' onClick=\"window.open('helpviewer.php$plug','{t}GOsa help{/t}','width=600,height=700,location=no,toolbar=no,directories=no,menubar=no,status=no')\"");
+ $smarty->assign("help_method","href='' onclick=\"return popup('helpviewer.php$plug','GOsa help');\"");
}
+
$smarty->assign ("username", $ui->username);
$smarty->assign ("go_logo", get_template_path('images/go_logo.png'));
$smarty->assign ("go_base", get_template_path('images/dtree.png'));
/* Load plugin */
if (is_file("$plugin_dir/main.inc")){
require_once ("$plugin_dir/main.inc");
-if(file_exists("dow3ccheck.chk"))
- print $plugin_dir."/main.inc";
} else {
print_red(sprintf(_("Can't find any plugin definitions for plugin '%s'!"), $plug));
echo $_SESSION['errors'];