Code

Make list more wide
[gosa.git] / gosa-core / plugins / admin / departments / generic.tpl
index d3bb658e3db62deb15c926f5d0845644caeb58f4..2a3f4e91b762326eb9063bbef66e5eb51e43e5cc 100644 (file)
@@ -1,48 +1,6 @@
-{if $dep_type == "c"}
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
- <tr>
-   <td style="vertical-align:top; width:50%">
-     <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
-      <tr>
-       <td><LABEL for="c">{t}Country name{/t}</LABEL>{$must}</td>
-       <td>
-{render acl=$ouACL}
-       <input id="c" name="c" size=25 maxlength=60 value="{$c}" title="{t}Name of country to create{/t}">
-{/render}
-       </td>
-      </tr>
-      <tr>
-       <td><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
-       <td>
-{render acl=$descriptionACL}
-        <input id="description" name="description" size=25 maxlength=80 value="{$description}" title="{t}Descriptive text for department{/t}">
-{/render}
-       </td>
-      </tr>
-      <tr>
-        <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
-        <td>
-{render acl=$baseACL}
-         <select id="base" size="1" name="base" title="{t}Choose subtree to place department in{/t}"> 
-          {html_options options=$bases selected=$base_select}
-         </select>
-{/render}
-
-{render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
-        <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
-{/render}
-         </td>
-        </tr>
-       </table>
-  </td>
- </tr>
-</table>
-
-
-
-{else}
-
+<!--////////////////////
+       //      ORGANIZATIONAL UNIT (ou)
+    //////////////////// -->
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
  <tr>
    <td style="vertical-align:top; width:50%">
        </td>
       </tr>
       <tr>
-       <td><LABEL for="c">{t}Name of department{/t}</LABEL>{$must}</td>
-       <td>
-{render acl=$ouACL}
-    <input id="c" name="c" size=25 maxlength=60 value="{$c}" title="{t}Name of country to create{/t}">
-{/render}
-       </td>
-      </tr>
-      <tr>
-       <td><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
+       <td style='vertical-align:top;'><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
        <td>
 {render acl=$descriptionACL}
-        <input id="description" name="description" size=25 maxlength=80 value="{$description}" title="{t}Descriptive text for department{/t}">
+        <textarea id='description' name='description' style='width:220px' title="{t}Descriptive text for   department{/t}">{$description}</textarea>
 {/render}
        </td>
       </tr>
@@ -84,6 +34,7 @@
       <tr>
         <td colspan="2"><br></td>
       </tr>
+       {if !$is_root_dse}
       <tr>
         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
 
@@ -99,6 +50,7 @@
 {/render}
        </td>
        </tr>
+       {/if}
      </table>
 
    </td>
    <td style="vertical-align:top; width:100%">
      <h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Administrative settings{/t}</h2>
 {render acl=$gosaUnitTagACL}
-     <input id="unitTag" type=checkbox name="unitTag" value="1" {$unitTag}><label for="unitTag">{t}Tag department as an independent administrative unit{/t}</label>
+     <input id="is_administrational_unit" type=checkbox name="is_administrational_unit" value="1" {$gosaUnitTag}><label for="is_administrational_unit">{t}Tag department as an independent administrative unit{/t}</label>
 {/render}
    </td>
   </tr>
 </table>
-{/if}
 
 <!-- Place cursor -->
 <input type='hidden' name='dep_generic_posted' value='1'>