Code

Made faiScript w3c conform
[gosa.git] / gosa-plugins / fai / admin / fai / class_debconfTemplate.inc
index 6791eaf12dbebedda38e8d8e40413fb9365f9415..40bd0137299e39145a064efbfd56623ec52a7181 100644 (file)
@@ -193,7 +193,7 @@ class debconf
           $fn= "render_".$entry['Type'];
           $str = $this->$fn($entry);
           if(!empty($str)){
-            $result.=$str."<tr><td colspan='2'><p class='seperator'>&nbsp;</p></td></tr>";
+            $result.=$str."<tr><td colspan='2'><hr></td></tr>";
           }
         } else {
           //php_error(E_WARNING, "An unknown type has been specified in the debconf template. Please fix.");
@@ -215,7 +215,7 @@ class debconf
     $result="
       <tr>
       <td valign='top' style='width:100%'>
-      <h2>".$data['Topic']."</h2>".$data['Description']."
+      <h3>".$data['Topic']."</h3>".$data['Description']."
       </td>
       <td style=\"white-space:nowrap; vertical-align:top; border-left: 1px solid rgb(160, 160, 160);\">";
 
@@ -253,7 +253,7 @@ class debconf
       $result="
         <tr>
         <td valign='top'>
-        <h2>".$data['Topic']."</h2>".$data['Description']."
+        <h3>".$data['Topic']."</h3>".$data['Description']."
         </td>
         <td valign='top'  style=\"white-space:nowrap; border-left: 1px solid rgb(160, 160, 160);\">
           <input type='hidden' name='multi-".$post_name."' value='1'>
@@ -289,7 +289,7 @@ class debconf
   {
     $result=  "";
     $result.= "<tr><td valign='top'>";
-    $result.= "<h2>".$data['Topic']."</h2>".$data['Description']."</td><td style=\"white-space:nowrap; border-left: 1px solid rgb(160, 160, 160);\">&nbsp;<input type='text' name='".$data['post_name']."' value='".$data['Default']."'></b><br><br>";
+    $result.= "<h3>".$data['Topic']."</h3>".$data['Description']."</td><td style=\"white-space:nowrap; border-left: 1px solid rgb(160, 160, 160);\">&nbsp;<input type='text' name='".$data['post_name']."' value='".$data['Default']."'></b><br><br>";
     $result.= $data['Description'];
     $result.= "</td>";
 
@@ -313,7 +313,7 @@ class debconf
         
         <tr>
         <td valign='top'>
-        <h2>".$data['Topic']."</h2>".$data['Description']."
+        <h3>".$data['Topic']."</h3>".$data['Description']."
         </td>
         <td  valign='top'  style=\"white-space:nowrap; border-left: 1px solid rgb(160, 160, 160);\">
         ";
@@ -342,7 +342,7 @@ class debconf
     $result=  "
                 <tr>
                   <td valign='top'>
-                    <h2>".$data['Topic']."</h2>".$data['Description']."
+                    <h3>".$data['Topic']."</h3>".$data['Description']."
                   </td>
                   <td  style=\"white-space:nowrap; border-left: 1px solid rgb(160, 160, 160);\" valign='top'>
                     <input type='text' name='".$data['post_name']."' value='".$data['Default']."' style='width:300px;'>