Code

Fixed problem with not clickable buttons in fai package error msgs
[gosa.git] / plugins / admin / fai / faiHook.tpl
index 94f3650a069ba992fc467bd395311c1219061b32..df968b1cf3e7b27cf541cdfb1689d2ab09622c25 100644 (file)
@@ -10,7 +10,9 @@
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$cn}" size="45" maxlength="80" disabled id="cn" {$cnACL}>
+{render acl=$cnACL}
+                                                       <input value="{$cn}" size="45" maxlength="80" disabled id="cn">
+{/render}
                                                </td>
                                        </tr>
                                        <tr>
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$description}" size="45" maxlength="80" {$descriptionACL} name="description" id="description">
+{render acl=$descriptionACL}
+                                                       <input value="{$description}" size="45" maxlength="80" name="description" id="description">
+{/render}
                                                </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 class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
                                        <LABEL for="SubObject">
                                <tr>
                                        <td>
                                                {$Entry_divlist}
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}" {$cnACL}>
+{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>