Code

Added LAST class as ever used class,
[gosa.git] / plugins / admin / fai / faiScript.tpl
index 43000d7ee30ab57f9042b3338fd3f198cafe93e5..ee1c93c9f52cf08e7f55057176e0e5345d352d79 100644 (file)
@@ -1,7 +1,7 @@
-<table width="100%">
+<table width="100%" summary="">
        <tr>
                <td width="50%" valign="top">
-                               <h2><img alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
+                               <h2><img class="center" alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
                                <table summary="" cellspacing="4">
                                        <tr>
                                                <td>
@@ -10,7 +10,7 @@
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$cn}" disabled id="cn">
+                                                       <input value="{$cn}"  maxlength="80" size="45" disabled id="cn">
                                                </td>
                                        </tr>
                                        <tr>
@@ -20,7 +20,7 @@
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input size=40 value="{$description}" {$description} name="description" id="description">
+                                                       <input size="45" maxlength="80" value="{$description}" {$description} name="description" id="description" {$descriptionACL}>
                                                </td>
                                        </tr>
                                </table>
                   &nbsp;
                </td>
                <td>
-                               <h2><img alt="" src="images/fai_script.png" align="middle" title="{t}Objects{/t}">&nbsp;
+                               <h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Objects{/t}">&nbsp;
                                        <LABEL for="SubObject">
                                                {t}List of scripts{/t}
                                        </LABEL>
                                </h2>
-                               <table width="100%">
+                               <table width="100%" summary="">
                                <tr>
                                        <td>
-                                               <select name="SubObject" title="{t}Choose a script to delete or edit{/t}" style="width:100%;" size=15 id="SubObject">
-                                                       {html_options values=$SubObjectKeys output=$SubObjects}
-                                               </select><br>
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}">
-                                               <input type="submit" name="EditSubObject"    value="{t}Edit{/t}"    title="{t}Edit{/t}">
-                                               <input type="submit" name="DelSubObject"     value="{t}Delete{/t}"  title="{t}Delete{/t}">
+                                               {$Entry_divlist}
+                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}" {$cnACL}>
                                        </td>
                                </tr>
                                </table>
                </td>
        </tr>
 </table>
-<input type="hidden" value="1" name="FAIscript_submit">
+<input type="hidden" value="1" name="FAIscript_posted" >
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.description.focus();
+  -->
+</script>
+