Code

Design changes, only set section release if set button is pressed
[gosa.git] / plugins / admin / fai / faiVariable.tpl
index cc3871e7d4df0fa31b99575f1fc1f8e313f96e25..d2302acbaaf1581ee7e7a2ec0258e732b86a775b 100644 (file)
@@ -1,12 +1,12 @@
 <table width="100%">
        <tr>
                <td width="50%" valign="top">
-                               <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2><br>
+                               <h2><img alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
                                <table summary="" cellspacing="4">
                                        <tr>
                                                <td>
                                                        <LABEL for="cn">
-                                                       {t}Name{/t}
+                                                       {t}Name{/t}{$must}
                                                        </LABEL>
                                                </td>
                                                <td>
                                        <tr>
                                                <td>
                                                        <LABEL for="description">
-                                                       {t}Description{/t}{$must}
+                                                       {t}Description{/t}
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$description}" {$description} name="description" id="description">
+                                                       <input size=40 value="{$description}" {$description} name="description" id="description">
                                                </td>
                                        </tr>
                                </table>
                <td>
                                <h2><img alt="" src="images/fai_variable.png" align="middle" title="{t}Objects{/t}">&nbsp;
                                        <LABEL for="SubObject">
-                                               {t}This bundle contains the following objects{/t}
+                                               {t}List of assigned variables{/t}
                                        </LABEL>
-                               </h2><br>
+                               </h2>
                                <table width="100%">
                                <tr>
                                        <td>
-                                               <select name="SubObject" title="{t}Choose a variable to delete or edit{/t}" style="width:350px;height:120px;" size=10 id="SubObject">
+                                               <select name="SubObject" title="{t}Choose a variable 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}">
                </td>
        </tr>
 </table>
+<input type="hidden" value="1" name="FAIvariable_posted">
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.description.focus();
+  -->
+</script>
+