Code

removed unique remove templates, added one in the theme directory
[gosa.git] / gosa-core / plugins / admin / ogroups / ogroup_objects.tpl
index b0d5dcb3ea7516de2e9261298ad2a97f08c1de0a..241412c3f9c396d7a1e0887e65e8168424ff374b 100644 (file)
@@ -1,6 +1,6 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table summary="" style="width:100%" cellpadding=4>
 <tr>
-  <td style="vertical-align:top; width:600px;">
+  <td style="width:600px;">
    <div class="contentboxh" style="height:20px;">
     <p class="contentboxh" style="font-size:12px">
      <b>{t}Select objects to add{/t} {$hint}</b>
@@ -15,7 +15,7 @@
     </p>
    </div>
   </td>
-  <td style="vertical-align:top;">
+  <td>
    <div class="contentboxh" style="height:20px;">
     <p class="contentboxh" style="font-size:12px"><img src="{$launchimage}" align="right" alt="[F]"><b>{t}Filters{/t}</b></p>
    </div>
      <table summary="" style="width:100%;border-top:1px solid #B0B0B0; background-color:#F8F8F8">
       {$alphabet}
      </table>
-    <p class="contentboxb" style="border-top:1px solid #B0B0B0; background-color:#F8F8F8">
-    <input type=checkbox name="departments" value="1" {$departments} onClick="mainform.submit()" title="{t}Select to see departments{/t}">{t}Show departments{/t}<br>
-    <input type=checkbox name="accounts" value="1" {$accounts} onClick="mainform.submit()" title="{t}Select to see GOsa accounts{/t}">{t}Show people{/t}<br>
-    <input type=checkbox name="groups" value="1" {$groups} onClick="mainform.submit()" title="{t}Select to see GOsa groups{/t}">{t}Show groups{/t}<br>
-    <input type=checkbox name="applications" value="1" {$applications} onClick="mainform.submit()" title="{t}Select to see applications{/t}">{t}Show applications{/t}<br>
-    <input type=checkbox name="servers" value="1" {$servers} onClick="mainform.submit()" title="{t}Select to see servers{/t}">{t}Show servers{/t}<br>
-    <input type=checkbox name="workstations" value="1" {$workstations} onClick="mainform.submit()" title="{t}Select to see workstations{/t}">{t}Show workstations{/t}<br>
-    <input type=checkbox name="terminals" value="1" {$terminals} onClick="mainform.submit()" title="{t}Select to see terminals{/t}">{t}Show terminals{/t}<br>
-    <input type=checkbox name="printers" value="1" {$printers} onClick="mainform.submit()" title="{t}Select to see printers{/t}">{t}Show printers{/t}<br>
-    <input type=checkbox name="phones" value="1" {$phones} onClick="mainform.submit()" title="{t}Select to see phones{/t}">{t}Show phones{/t}<br>
- </p>
+        <p class="contentboxb" style="border-top:1px solid #B0B0B0; background-color:#F8F8F8">
+               {foreach from=$checkboxes item=item key=key}
+                       <input type='checkbox' {if $item.C} checked {/if} class="center" onClick="document.mainform.submit();" 
+                                       name="{$key}" value="1" title="{$item.T}">{$item.L}<br>
+               {/foreach}
+        </p>
  <p class="contentboxb" style="border-top:1px solid #B0B0B0; background-color:#F8F8F8">
     <input type=checkbox name="subtrees" value="1" {$subtrees} onClick="mainform.submit()" title="{t}Select to search within subtrees{/t}">{t}Search in subtrees{/t}<br>
  </p>
 </tr>
 </table>
 
-<p class="plugbottom">
-  <input type=submit name="add_object_finish" value="{t}Add{/t}">
-  &nbsp;
-  <input type=submit name="add_object_cancel" value="{msgPool type=cancelButton}">
-</p>
 
+<hr>
+<div class="plugin-actions">
+  <button type='submit' name='add_object_finish'>{msgPool type=addButton}</button>
+
+  <button type='submit' name='add_object_cancel'>{msgPool type=cancelButton}</button>
+
+</div>