Code

Updated get_ou it receives values from the config registry now.
[gosa.git] / gosa-plugins / fai / admin / fai / faiScript.tpl
index 24ea23c96fcce069a8b9e8bd0a8f2de5898d5568..ca11ee0d3c1f30a2b5efe36190c29dae22021437 100644 (file)
@@ -1,58 +1,52 @@
+
 <table width="100%" summary="{t}FAI script{/t}">
-       <tr>
-               <td width="50%" valign="top">
-                               <h3>{t}Generic{/t}</h3>
-                               <table summary="{t}Generic settings{/t}" cellspacing="4">
-                                       <tr>
-                                               <td>
-                                                       <LABEL for="cn">
-                                                       {t}Name{/t}{$must}
-                                                       </LABEL>
-                                               </td>
-                                               <td>
-{render acl=$cnACL}
-                                                       <input type='text' value="{$cn}"  maxlength="80" size="45" disabled id="cn">
-{/render}
-                                               </td>
-                                       </tr>
-                                       <tr>
-                                               <td>
-                                                       <LABEL for="description">
-                                                       {t}Description{/t}
-                                                       </LABEL>
-                                               </td>
-                                               <td>
-{render acl=$descriptionACL}
-                                                       <input type='text' size="45" maxlength="80" value="{$description}" name="description" id="description" >
-{/render}
-                                               </td>
-                                       </tr>
-                               </table>
-               </td>
-       </tr>
+ <tr>
+  <td width="50%" valign="top">
+   <h3>{t}Generic{/t}
+   </h3>
+   <table summary="{t}Generic settings{/t}" cellspacing="4">
+    <tr>
+     <td><LABEL for="cn">{t}Name{/t}
+      {$must}</LABEL>
+     </td>
+     <td>
+      {render acl=$cnACL}
+       <input type='text' value="{$cn}"  maxlength="80" size="45" disabled id="cn">
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="description">{t}Description{/t}</LABEL>
+     </td>
+     <td>
+      {render acl=$descriptionACL}
+       <input type='text' size="45" maxlength="80" value="{$description}" name="description" id="description" >
+      {/render}
+     </td>
+    </tr>
+   </table>
+  </td>
+ </tr>
 </table>
 <hr>
 <table width="100%" summary="{t}List of scripts{/t}">
-       <tr>
-               <td>
-                       <h3>
-                                       {t}List of scripts{/t}
-                       </h3>
-      {$Entry_divlist}
-      <hr>
-      {if $sub_object_is_addable}
-        <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
-      {else}
-        <button type='submit' name='Dummy2' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
-      {/if}
-               </td>
-       </tr>
+ <tr>
+  <td>
+   <h3>{t}List of scripts{/t}
+   </h3>
+   {$Entry_listing}
+   <hr>
+   
+   {if $sub_object_is_addable}
+    <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
+    {msgPool type=addButton}</button>
+    {else}
+    <button type='submit' name='Dummy2' title="{msgPool type=addButton}">
+    {msgPool type=addButton}</button>
+    
+   {/if}
+  </td>
+ </tr>
 </table>
-<input type="hidden" value="1" name="FAIscript_posted" >
-<!-- Place cursor -->
-<script language="JavaScript" type="text/javascript">
-<!--
-       focus_field("cn","description");
--->
-</script>
-
+<input type="hidden" value="1" name="FAIscript_posted" ><!-- Place cursor -->
+<script language="JavaScript" type="text/javascript"><!--      focus_field("cn","description");--></script>
\ No newline at end of file