Code

[COSMETIC] Most of the imgs are now centered vertically in most browsers.
[gosa.git] / plugins / admin / fai / faiHook.tpl
index 0a3d8e6aab243562a912fc78362f1125846b991e..b821e5310e57cf68c9ea781dff9b4f6d45937072 100644 (file)
@@ -1,7 +1,7 @@
 <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 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>
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$cn}" disabled id="cn">
+                                                       <input value="{$cn}" size="45" maxsize="80" disabled id="cn">
                                                </td>
                                        </tr>
                                        <tr>
                                                <td>
                                                        <LABEL for="description">
-                                                       {t}Description{/t}{$must}
+                                                       {t}Description{/t}
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$description}" {$description} name="description" id="description">
+                                                       <input value="{$description}" size="45" maxsize="80"  {$description} name="description" id="description">
                                                </td>
                                        </tr>
                                </table>
                   &nbsp;
                </td>
                <td>
-                               <h2><img alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
+                               <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
                                        <LABEL for="SubObject">
-                                               {t}This bundle contains the following objects{/t}
+                                               {t}List of hook scripts{/t}
                                        </LABEL>
-                               </h2><br>
+                               </h2>
                                <table width="100%">
                                <tr>
                                        <td>
-                                               <select name="SubObject" title="{t}Choose a hook to delete or edit{/t}" style="width:350px;height:120px;" size=10 id="SubObject">
+                                               <select name="SubObject" title="{t}Choose a hook to delete or edit{/t}" style="width:100%" size="20" 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="FAIhook_posted">
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.description.focus();
+  -->
+</script>
+