index 420b6afd0309b0054c5f5fa0cd666a26f3c76c37..093e8b5f76df2132bca228a5478c32ba47fabc9b 100644 (file)
</LABEL>
</td>
<td>
+{render acl=$cnACL}
<input value="{$cn}" maxlength="80" size="45" disabled id="cn">
+{/render}
</td>
</tr>
<tr>
</LABEL>
</td>
<td>
- <input size="45" maxlength="80" value="{$description}" {$description} name="description" id="description" {$descriptionACL}>
+{render acl=$descriptionACL}
+ <input size="45" maxlength="80" value="{$description}" name="description" id="description" >
+{/render}
</td>
</tr>
</table>
<tr>
<td>
<h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Objects{/t}">
- <LABEL for="SubObject">
{t}List of scripts{/t}
- </LABEL>
</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>
<input type="hidden" value="1" name="FAIscript_posted" >
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
- <!-- // First input field on page
- document.mainform.description.focus();
- -->
+<!--
+ focus_field("cn","description");
+-->
</script>