Code

Styles in profiles fixed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Oct 2005 09:15:43 +0000 (09:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Oct 2005 09:15:43 +0000 (09:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1671 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiProfileEntry.inc
plugins/admin/fai/faiProfileEntry.tpl

index e3216bdb616cb665f8d30053dc630f1f5e3df045..31df03c02113939bb34696338148a284829417f1 100644 (file)
@@ -148,7 +148,7 @@ class faiProfileEntry extends plugin
     $divlist->SetSummary(_("This list displays all assigned class names for this profile."));
     $divlist->SetEntriesPerPage(20);
     $divlist->SetHeader(array(array("string"=>"Class name"),
-                              array("string"=>"Objects")));
+                              array("string"=>"Objects","attach"=>"style='border-right:0px;'")));
 
     /* Action button allows us to delete an entry */
     $action = "<input type='hidden' name='ON_PAGE_%KEY%' value='1'>
@@ -197,7 +197,7 @@ class faiProfileEntry extends plugin
         
         /* Append to list */
         $field1 = array("string"=> preg_replace("/%KEY%/",$usedClass,$action_check).$usedClass,"attach"=>"");
-        $field2 = array("string"=> $str,"attach"=>"");
+        $field2 = array("string"=> $str,"attach"=>"style='border-right:0px;'");
         $divlist->AddEntry(array($field1,$field2));
       }
     }
index e6eabf86b44d14d20a948b9182942c8c19246e58..a1acddb4b56c5be73d3d6c124350c686e2df594d 100644 (file)
@@ -1,67 +1,72 @@
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
 <tr>
   <td style="vertical-align:top;width:600px">
-  <div class="contentboxh">
-    <p class="contentboxh">
-     {t}List of FAI objects (Fully Automatic Installation){/t}
-    </p>
-  </div>
-  <div class="contentboxb">
-      {$faihead}
-  </div>
-  <div style='height:4px;'></div>
-  <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
-      {$failist}
-    <input type=hidden name="edit_helper">
-  </div>
+       <div class="contentboxh">
+       <p class="contentboxh">
+               {t}List of FAI objects (Fully Automatic Installation){/t}
+       </p>
+       </div>
+       <div class="contentboxb">
+       {$faihead}
+       </div>
+       <div style='height:4px;'></div>
+               <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
+               {$failist}
+               <input type=hidden name="edit_helper">
+               </div>
+       </div>
   </td>
   <td style="vertical-align:top;">
-   <div class="contentboxh">
-    <p class="contentboxh"><img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}</p>
-   </div>
-   <div class="contentboxb">
-   <p class="contentboxb">
-     {t}This menu allows you to select FAI class names and to add them to the currently edited profile.{/t}
-   </p>
-   </div>
-   <br>
-   <div class="contentboxh">
-    <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
-   </div>
-   <div class="contentboxb">
-     <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
-      {$alphabet}
-     </table>
-        <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
-               <tr><td><input onChange='document.mainform.submit()' 
+       <div class="contentboxh">
+       <p class="contentboxh">
+                       <img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}
+               </p>
+       </div>
+       <div class="contentboxb">
+               <p class="contentboxb" style="border-color:#f0f0f0;">
+               {t}This menu allows you to select FAI class names and to add them to the currently edited profile.{/t}
+               </p>
+       </div>
+       <br>
+       <div class="contentboxh">
+       <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
+       </div>
+       <div class="contentboxb">
+       <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+               {$alphabet}
+       </table>
+               <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+                       <tr><td><input onChange='document.mainform.submit()' 
                                                                type="checkbox" name="SShowTemplates"   {$SShowTemplatesCHK}>{t}Show only classes with templates{/t}</td></tr>
-               <tr><td><input onChange='document.mainform.submit()'
-                                                               type="checkbox" name="SShowScripts"             {$SShowScriptsCHK}>{t}Show only classes with scripts{/t}</td></tr>
-               <tr><td><input onChange='document.mainform.submit()'
-                                                               type="checkbox" name="SShowHooks"               {$SShowHooksCHK}>{t}Show only classes with hooks{/t}</td></tr>
-               <tr><td><input onChange='document.mainform.submit()'
-                                                               type="checkbox" name="SShowVariables"   {$SShowVariablesCHK}>{t}Show only classes with variables{/t}</td></tr>
-               <tr><td><input onChange='document.mainform.submit()'
-                                                               type="checkbox" name="SShowPackages"    {$SShowPackagesCHK}>{t}Show only classes with packages{/t}</td></tr>
-               <tr><td><input onChange='document.mainform.submit()'
+                       <tr><td><input onChange='document.mainform.submit()'
+                                                                       type="checkbox" name="SShowScripts"             {$SShowScriptsCHK}>{t}Show only classes with scripts{/t}</td></tr>
+                       <tr><td><input onChange='document.mainform.submit()'
+                                                                       type="checkbox" name="SShowHooks"               {$SShowHooksCHK}>{t}Show only classes with hooks{/t}</td></tr>
+                       <tr><td><input onChange='document.mainform.submit()'
+                                                                       type="checkbox" name="SShowVariables"   {$SShowVariablesCHK}>{t}Show only classes with variables{/t}</td></tr>
+                       <tr><td><input onChange='document.mainform.submit()'
+                                                                       type="checkbox" name="SShowPackages"    {$SShowPackagesCHK}>{t}Show only classes with packages{/t}</td></tr>
+                       <tr><td><input onChange='document.mainform.submit()'
                                                                type="checkbox" name="SShowPartitions"  {$SShowPartitionsCHK}>{t}Show only classes with partitions{/t}</td></tr>
-        </table>
-     <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;">
-     <tr>
-     <td>
-     <LABEL for "regex"><img alt="{t}Display objects matching{/t}" src="{$search_image}" align=middle title='{t}Display objects matching{/t}'></LABEL>
-     </td>
-     <td width="99%">
-     <input type='text' name='Sregex' maxlength='20' style='width:99%' value='{$Sregex}' id='filter' 
-     title='{t}Regular expression for matching object names{/t}' onChange="mainform.submit()">
-     </td>
-     </tr>
-     </table>
-                           {$apply}
-   </div>
-  </td>
+                </table>
+        <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;">
+               <tr>
+                       <td>
+                                       <LABEL for "regex"><img alt="{t}Display objects matching{/t}" src="{$search_image}" 
+                                                       align=middle title='{t}Display objects matching{/t}'></LABEL>
+                       </td>
+                       <td width="99%">
+                                       <input type='text' name='Sregex' maxlength='20' style='width:99%' value='{$Sregex}' id='filter' 
+                                               title='{t}Regular expression for matching object names{/t}' onChange="mainform.submit()">
+                       </td>
+               </tr>
+       </table>
+               {$apply}
+               </div>
+       </td>
 </tr>
 </table summary="">
+
 <div align="right" style="align:right;">
        <input name="SaveSubObject" value="Add" type="submit">
        <input name="CancelSubObject" value="Cancel" type="submit">