index 03e62c361b4f484d4ef8b5b2c6834c8821d5559a..6768ad92dab28754a54b2c96a271d5eb1d950139 100644 (file)
</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>
<tr>
<td>
<h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">
- <LABEL for="SubObject">
- {t}List of hook scripts{/t}
- </LABEL>
+ {t}List of hook scripts{/t}
</h2>
<table width="100%" summary=''>
<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>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.description.focus();
+ focus_field('cn','description');
-->
</script>