Code

Udpated JS focus,
[gosa.git] / ihtml / themes / default / help.tpl
index 3722c02446889414bfcb1d4ec4e0d61f0a6fd17c..2c91d5649c4e1936b452548236ef0201c36982ee 100644 (file)
@@ -1,35 +1,39 @@
-<body style='background-color:white;background-image:none'>
-<div style='background-color:#CDF6BD;width:100%;padding:6px;border-bottom:1px solid #909090'>
+<body style='background-color:#F1F1F1;background-image:none;'>
+{$php_errors}
+
 <form action='helpviewer.php' name='mainform' method='post' enctype='multipart/form-data'>
-  <table width="99%">
+<div style='background-color:#CDF6BD;width:100%;border-bottom:1px solid #909090;'>
+  <table summary="" style="width:99%;">
    <tr>
-    <td width="33%">
+    <td style="width:33%;">
      <b>{t}GOsa help viewer{/t}</b>
        </td>
-    <td width="33%" style="text-align:center">
-        <img src='images/back.png' align="center" alt="&lt; {t}previous{/t}">&nbsp;&nbsp;{t}Index{/t}&nbsp;&nbsp;<img src='images/forward.png' align="center" alt="{t}next{/t} &gt;">
+    <td style="width:33%;text-align:center">
+               {$backward}
+               &nbsp;&nbsp;
+               <a href="?pg={$index}"  class="maintitlebar">
+                       {t}Index{/t}
+               </a>
+               &nbsp;&nbsp;
+               {$forward}
        </td>
-       <td style="text-align:right">
-        <input name="search_string" size="15" value="{$search_string}" maxlength="50">&nbsp;<input type=submit name="search" value="{t}Search{/t}">
+       <td style="text-align:right;">
+        <input name="search_string" size="15" value="{$search_string}" maxlength="50">&nbsp;<input type="submit" name="search" value="{t}Search{/t}">
        </td>
    </tr>
   </table>
-</form>
 </div>
-<div style="height: 645px;
-                          width: 100%;
-                          overflow: auto;
-                          margin: 0 ;
-                          background-color: #F1F1F1;">
+<div style="height:100%;width:98%;padding:5px;margin:0px;background-color:#F1F1F1;">
 {$help_contents}
 </div>
 
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
 <!-- // First input field on page
-document.mainform.search_string.focus();
+  focus_field('search_string');
 -->
 </script>
 
+</form>
 </body>
 </html>