Code

get rid of the div stuff
[gosa.git] / gosa-plugins / fai / admin / fai / faiHook.tpl
index 6768ad92dab28754a54b2c96a271d5eb1d950139..713e22eb993c831e17991a0ac640bd2b4501499a 100644 (file)
@@ -1,63 +1,50 @@
-<table width="100%" summary=''>
-       <tr>
-               <td width="50%" valign="top">
-                               <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 for="cn">
-                                                       {t}Name{/t}
-                                                       </LABEL>
-                                               </td>
-                                               <td>
-{render acl=$cnACL}
-                                                       <input value="{$cn}" size="45" maxlength="80" disabled id="cn">
-{/render}
-                                               </td>
-                                       </tr>
-                                       <tr>
-                                               <td>
-                                                       <LABEL for="description">
-                                                       {t}Description{/t}
-                                                       </LABEL>
-                                               </td>
-                                               <td>
-{render acl=$descriptionACL}
-                                                       <input value="{$description}" size="45" maxlength="80" name="description" id="description">
-{/render}
-                                               </td>
-                                       </tr>
-                               </table>
-               </td>
-       </tr>
+
+<table width="100%" summary='{t}FAI hook{/t}'>
+ <tr>
+  <td width="50%" valign="top">
+   <h3>{t}Generic{/t}
+   </h3>
+   <table summary="{t}Generic settings{/t}" cellspacing="4">
+    <tr>
+     <td><LABEL for="cn">{t}Name{/t}</LABEL>
+     </td>
+     <td>
+      {render acl=$cnACL}
+       <input type='text' value="{$cn}" size="45" maxlength="80" disabled id="cn">
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="description">{t}Description{/t}</LABEL>
+     </td>
+     <td>
+      {render acl=$descriptionACL}
+       <input type='text' value="{$description}" size="45" maxlength="80" name="description" id="description">
+      {/render}
+     </td>
+    </tr>
+   </table>
+  </td>
+ </tr>
 </table>
-<p class="seperator">&nbsp;</p>
-<table width="100%" summary=''>
-       <tr>
-               <td>
-                               <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
-                                       {t}List of hook scripts{/t}
-                               </h2>
-                               <table width="100%" summary=''>
-                               <tr>
-                                       <td>
-                                               {$Entry_divlist}
-{if $sub_object_is_addable}
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}" title="{t}Add{/t}">
-{else}
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}" title="{t}Add{/t}" disabled>
-{/if}
-                                       </td>
-                               </tr>
-                               </table>
-               </td>
-       </tr>
+<hr>
+<table width="100%" summary='{t}List of hooks{/t}'>
+ <tr>
+  <td>
+   <h3>{t}List of hook scripts{/t}
+   </h3>
+   {$Entry_listing}
+   
+   {if $sub_object_is_addable}
+    <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
+    {msgPool type=addButton}</button>
+    {else}
+    <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
+    {msgPool type=addButton}</button>
+    
+   {/if}
+  </td>
+ </tr>
 </table>
-<input type="hidden" value="1" name="FAIhook_posted">
-<!-- Place cursor -->
-<script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-       focus_field('cn','description');
-  -->
-</script>
-
+<input type="hidden" value="1" name="FAIhook_posted"><!-- Place cursor -->
+<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('cn','description');  --></script>
\ No newline at end of file