Code

Fixed some errors if mysql is not available
[gosa.git] / plugins / admin / users / headpage.tpl
index 22304bac080fea28653fb7523aad2377c8963da7..f146451e68ae75c3f768c2cd29721b3c8553aa83 100644 (file)
@@ -1,9 +1,9 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4">
 <tr>
-  <td style="vertical-align:top;width:50%;">
+  <td style="vertical-align:top;width:600px;">
   <div class="contentboxh">
     <p class="contentboxh">
-     <LABEL for="userlist">{t}List of users{/t}</LABEL> {$hint}
+     <label for="userlist">{t}List of users{/t}</label> {$hint}
     </p>
   </div>
   <div class="contentboxb">
   <div style='height:4px;'></div>
   <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
                        {$userlist}
-      <input type=hidden name="edit_helper">
+      <input type="hidden" name="edit_helper">
   </div>
   </td>
   <td style="vertical-align:top;">
-   <div class="contentboxh">
+   <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
     <p class="contentboxh"><img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}</p>
    </div>
    <div class="contentboxb">
        <table summary="" style="border-top:1px solid #B0B0B0;" width="100%">
                <tr>
                        <td>
-                               <input type=checkbox name="templates" value="1" {$templates} onClick="mainform.submit()" title="{t}Select to see template pseudo users{/t}">{t}Show templates{/t}<br>
-                               <input type=checkbox name="functionalusers" value="1" {$functionalusers} onClick="mainform.submit()" title="{t}Select to see users that have only a GOsa object{/t}">{t}Show functional users{/t}<br>
-                               <input type=checkbox name="unixusers" value="1" {$unixusers} onClick="mainform.submit()" title="{t}Select to see users that have posix settings{/t}">{t}Show unix users{/t}<br>
-                               <input type=checkbox name="mailusers" value="1" {$mailusers} onClick="mainform.submit()" title="{t}Select to see users that have mail settings{/t}">{t}Show mail users{/t}<br>
-                               <input type=checkbox name="sambausers" value="1" {$sambausers} onClick="mainform.submit()" title="{t}Select to see users that have samba settings{/t}">{t}Show samba users{/t}<br>
-                               <input type=checkbox name="proxyusers" value="1" {$proxyusers} onClick="mainform.submit()" title="{t}Select to see users that have proxy settings{/t}">{t}Show proxy users{/t}<br>
+                               <input type="checkbox" name="templates" value="1" {$templates} onClick="mainform.submit()" title="{t}Select to see template pseudo users{/t}">{t}Show templates{/t}<br>
+                               <input type="checkbox" name="functionalusers" value="1" {$functionalusers} onClick="mainform.submit()" title="{t}Select to see users that have only a GOsa object{/t}">{t}Show functional users{/t}<br>
+                               <input type="checkbox" name="unixusers" value="1" {$unixusers} onClick="mainform.submit()" title="{t}Select to see users that have posix settings{/t}">{t}Show unix users{/t}<br>
+                               <input type="checkbox" name="mailusers" value="1" {$mailusers} onClick="mainform.submit()" title="{t}Select to see users that have mail settings{/t}">{t}Show mail users{/t}<br>
+                               <input type="checkbox" name="sambausers" value="1" {$sambausers} onClick="mainform.submit()" title="{t}Select to see users that have samba settings{/t}">{t}Show samba users{/t}<br>
+                               <input type="checkbox" name="proxyusers" value="1" {$proxyusers} onClick="mainform.submit()" title="{t}Select to see users that have proxy settings{/t}">{t}Show proxy users{/t}<br>
 
             </td>
         </tr>
     </table>
-    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;"><tr><td><img alt="Search" src="{$search_image}" align="middle" title="{t}Display users matching{/t}"></td>
-    <td><LABEL for='filter'>{t}Display users matching{/t}</LABEL></td><td><input id='filter' style='width:99%' type='text' name='regexit' maxlength='20' value='{$regex}' title='{t}Regular expression for matching user names{/t}' onChange="mainform.submit()"></td></tr></table>
+    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;"><tr><td><label for='filter'><img alt="Search" src="{$search_image}" class="center" title="{t}Display users matching{/t}"></label></td>
+    <td width="99%"><input id='filter' style='width:99%' type='text' name='regexit' maxlength='20' value='{$regex}' title='{t}Regular expression for matching user names{/t}' onChange="mainform.submit()"></td></tr></table>
    {$apply}
    </div>
   </td>