Code

Updated
[gosa.git] / plugins / admin / fai / faiVariableEntry.tpl
index 131e7d1a3a20dd024fc3587cb88e8168760f5e0d..9c7d7e60aaaf4106bbada7f33678f914e725d3cd 100644 (file)
@@ -2,22 +2,22 @@
 <table width="100%" summary="">
        <tr>
                <td valign="top" width="50%">
-                       <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
-                               <table>
+                       <h2><img class="center" alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
+                               <table summary="">
                                        <tr>
                                                <td>
-                                                       {t}Name{/t}&nbsp;{$must}
+                                                       {t}Name{/t}{$must}&nbsp;
                                                </td>
                                                <td>
-                                                       <input value="{$Object_cn}" name="Object_cn">
+                                                       <input value="{$cn}" size="45" maxlength="80" name="cn">
                                                </td>
                                        </tr>
                                        <tr>
                                                <td>
-                                                       {t}Description{/t}&nbsp;{$must}
+                                                       {t}Description{/t}&nbsp;
                                                </td>
                                                <td>
-                                                       <input value="{$Object_description}" name="Object_description">
+                                                       <input value="{$description}" size="45" maxlength="80" name="description">
                                                </td>
                                        </tr>
                                </table>
            &nbsp;
         </td>
                <td valign="top">
-                               <h2><img alt="" src="images/fai_variable.png" align="middle" title="{t}Variable attributes{/t}">&nbsp;{t}Variable attributes{/t}</h2>
-                               <table width="100%">
+                               <h2><img class="center" alt="" src="images/fai_variable.png" align="middle" title="{t}Variable attributes{/t}">&nbsp;{t}Variable attributes{/t}</h2>
+                               <table  summary="" width="100%">
                                        <tr>
                                                <td>
                                                        <LABEL for="Content">
-                                                       {t}Variable Content{/t}{$must}
+                                                       {t}Variable content{/t}{$must}&nbsp;
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input type="text" name="Object_FAIvariableContent" value="{$Object_FAIvariableContent}" id="Content" style="width:250px;">
+                                                       <input type="text" name="FAIvariableContent" value="{$FAIvariableContent}" id="Content" style="width:250px;">
                                                </td>
                                        </tr>
                                </table>
 <p class="seperator">&nbsp;</p>
 <br>
 <div style="align:right;" align="right">
-       <input type="submit" value="{t}Save{/t}"        name="SaveSubObject">&nbsp;
-       <input type="submit" value="{t}Abort{/t}"       name="CancelSubObject">
+       <input type="submit" value="{t}Apply{/t}"       name="SaveSubObject">&nbsp;
+       <input type="submit" value="{t}Cancel{/t}"      name="CancelSubObject">
 </div>
 
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.cn.focus();
+  -->
+</script>
+