Code

Fixed typo
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Jun 2005 11:49:35 +0000 (11:49 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Jun 2005 11:49:35 +0000 (11:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@613 594d385d-05f5-0310-b6e9-bd551577e9d8

html/helpviewer.php
html/index.php
html/main.php

index d2f1e708e9a0b6e7e68c67f4e465577fdfaf4508..db6277ca5b8dc4de0faec739f2f5e6d46eff3b34 100644 (file)
@@ -61,7 +61,10 @@ textdomain($domain);
 /* Get plugin list */
 $plist= $_SESSION['plist'];
 
-echo "Help...";
+/* Fill page */
+$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
+$display= $header.$smarty->fetch(get_template_path('help.tpl'));
+echo $display;
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 6ce9e7f49bd9c313fee174d76f428c80f8cd3b15..d241be351675b95db82c349d593f9b45858ff7ed 100644 (file)
@@ -239,9 +239,9 @@ if (isset($_SESSION['errors'])){
   $smarty->assign("errors", $_SESSION['errors']);
 }
 if ($error_collector != ""){
-  $smarty->assign("php_error", $error_collector."</div>");
+  $smarty->assign("php_errors", $error_collector."</div>");
 } else {
-  $smarty->assign("php_error", "");
+  $smarty->assign("php_errors", "");
 }
 $smarty->display (get_template_path('login.tpl'));
 
index 99746264a3a9908548202c82d70ad156084d15dc..ed76758fa542827151f0e50ee34992834f40c5e5 100644 (file)
@@ -212,7 +212,7 @@ if ($_SESSION['js']==FALSE){
   $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')\"");
+  $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 ("username", $ui->username);
 $smarty->assign ("go_logo", get_template_path('images/go_logo.png'));