index 7896626c7f0e3e344c1d87db8dd671d2544a5ff5..45f7cf25c5ea32f3150d8cda7b6d650c06487226 100644 (file)
-<table width="100%">
+<table width="100%" summary="">
<tr>
<td width="50%" valign="top">
- <h2><img alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
+ <h2><img class="center" alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
<table summary="" cellspacing="4">
<tr>
<td>
</LABEL>
</td>
<td>
- <input value="{$cn}" disabled id="cn">
+{render acl=$cnACL}
+ <input value="{$cn}" maxlength="80" size="45" disabled id="cn">
+{/render}
</td>
</tr>
<tr>
</LABEL>
</td>
<td>
- <input size=40 value="{$description}" {$description} name="description" id="description">
+{render acl=$descriptionACL}
+ <input size="45" maxlength="80" value="{$description}" name="description" id="description" >
+{/render}
</td>
</tr>
</table>
</td>
- <td style="border-left: 1px solid rgb(160, 160, 160);">
-
- </td>
+ </tr>
+</table>
+<p class="seperator"> </p>
+<table width="100%" summary="">
+ <tr>
<td>
- <h2><img alt="" src="images/fai_script.png" align="middle" title="{t}Objects{/t}">
+ <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%">
+ <table width="100%" summary="">
<tr>
<td>
- <select name="SubObject" title="{t}Choose a script to delete or edit{/t}" style="width:100%;" size=15 id="SubObject">
- {html_options values=$SubObjectKeys output=$SubObjects}
- </select><br>
- <input type="submit" name="AddSubObject" value="{t}Add{/t}" title="{t}Add{/t}">
- <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}">
+ {$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>
</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();
+ -->
+</script>
+