Code

Modified helpviewer to not-scroll in the default.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Jun 2006 14:13:01 +0000 (14:13 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Jun 2006 14:13:01 +0000 (14:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3662 594d385d-05f5-0310-b6e9-bd551577e9d8

html/helpviewer.php
ihtml/themes/default/help.tpl
include/class_divlist.inc

index 511dc06676e4806f08294af1e238d8740a19ac0f..d1828ac92086ba6f49b13232096f3f85baaa4ac6 100644 (file)
@@ -189,11 +189,11 @@ while($file = readdir($f)){
 
 /* Some replacements */
 $backwardlink  = "<a href=\"?pg=%s\"  class=\"maintitlebar\">
-                  <img src='images/back.png' align=\"middle\" alt=\""._("previous")."\" border=\"0\">
+                  <img src='images/back.png' class=\"center\" align=\"middle\" alt=\""._("previous")."\" border=\"0\">
                  </a>";
 
 $forwardlink   = "<a href=\"?pg=%s\"  class=\"maintitlebar\">
-                  <img src='images/forward.png' align=\"middle\" alt=\""._("next")."\" border=\"0\">
+                  <img src='images/forward.png' class=\"center\" align=\"middle\" alt=\""._("next")."\" border=\"0\">
                  </a>";
 
 
index cefd1725f2c80fa7087229d4152f49250ca1bded..2731845a7a2f88792a132c4e108c4d364fb58a3d 100644 (file)
@@ -23,7 +23,7 @@
    </tr>
   </table>
 </div>
-<div style="height:100%;width:100%;padding:5px;margin:0px;background-color:#F1F1F1;">
+<div style="height:100%;width:99%;padding:5px;margin:0px;background-color:#F1F1F1;">
 {$help_contents}
 </div>
 
index ea7e65872ec5842edbbbb8884ba9e235f03ef7e2..a3ecfb8d5ed2f5f7ef04e1afe34b04e43a008166 100644 (file)
@@ -295,7 +295,7 @@ class divlist {
   
       // if fewer than 22 Entries (list not full), print row to fill empty space
       //FIXME: Why 22? Isn't the size dynamic
-      if($this->_numEntries()<=22){
+#      if($this->_numEntries()<=22){
         $fill= "";
         for ($i= 1; $i <= $this->cols; $i++){
           if ($i == $this->cols){
@@ -303,9 +303,9 @@ class divlist {
           } else {
            $fill.= "<td class='list1nohighlight' style='height:100%;'>&nbsp;</td>";
           }
-        }
+       }
         $s_return.="\n<tr>$fill";
-      }
+#      }
       if($this->i_entriesPerPage == 0) {
         $s_return .= "\n</table></div></td>";
       }