index 9e380d77a68d385cc8713f79cd3a23736474fc73..1ded8915df1d2e811f555210ad8087a93c6da984 100644 (file)
</LABEL>
</td>
<td>
+{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" {$description} name="description" id="description" {$descriptionACL}>
+{render acl=$descriptionACL}
+ <input value="{$description}" size="45" maxlength="80" {$description} name="description" id="description">
+{/render}
</td>
</tr>
</table>
{t}List of template files{/t}
</LABEL>
</h2>
- <table summary="" width="100%">
- <tr>
- <td>
- <select name="SubObject[]" multiple}
- title="{t}Choose a template to delete or edit{/t}" style="width:100%;" size="20" id="SubObject">
- {html_options values=$SubObjectKeys output=$SubObjects}
- </select><br>
- <input type="submit" name="AddSubObject" value="{t}Add{/t}" title="{t}Add{/t}" {$cnACL}>
- <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}" {$cnACL}>
- </td>
- </tr>
- </table>
+ {$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>