Code

Updated preg_matches
[gosa.git] / plugins / admin / fai / faiHook.tpl
index bcf4d8ef35d5f69e30087cb23843dae75d949bd0..03e62c361b4f484d4ef8b5b2c6834c8821d5559a 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}" size="45" maxlength="80" disabled id="cn" {$cnACL}>
                                                </td>
                                        </tr>
                                        <tr>
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$description}" {$description} name="description" id="description">
+                                                       <input value="{$description}" size="45" maxlength="80" {$descriptionACL} name="description" id="description">
                                                </td>
                                        </tr>
                                </table>
                </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);">
-                  &nbsp;
-               </td>
+       </tr>
+</table>
+<p class="seperator">&nbsp;</p>
+<table width="100%" summary=''>
+       <tr>
                <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}List of hook scripts{/t}
                                        </LABEL>
                                </h2>
-                               <table width="100%">
+                               <table width="100%" summary=''>
                                <tr>
                                        <td>
-                                               <select name="SubObject" title="{t}Choose a hook 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>