index e6ebbd8a85b723200506c7b53a32da92febd6b30..2ab571413e707cbe16306a6c1e2124a91809e25f 100644 (file)
<table width="100%" summary="">
<tr>
<td valign="top" width="50%">
- <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
- <table>
+ <h2><img class="center" alt="" src="images/forward.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
+ <table summary="">
<tr>
<td>
{t}Name{/t}{$must}
</td>
<td>
- <input value="{$cn}" name="cn">
+{render acl=$cnACL}
+ <input value="{$cn}" size="45" name="cn">
+{/render}
</td>
</tr>
<tr>
{t}Description{/t}
</td>
<td>
- <input value="{$description}" name="description">
+{render acl=$descriptionACL}
+ <input value="{$description}" size="45" name="description">
+{/render}
</td>
</tr>
</table>
<td style="border-left: 1px solid rgb(160, 160, 160);">
</td>
- <td>
- <h2><img alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}"> {t}Hook attributes{/t}</h2>
- <table width="100%">
+ <td style="vertical-align:top">
+ <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}"> {t}Hook attributes{/t}</h2>
+ <table width="100%" summary="">
<tr>
<td>
<LABEL for="FAItask">
{t}Task{/t}
</LABEL>
- <select name="FAItask" title="{t}Choose a FAI task to hook{/t}">
+{render acl=$FAItaskACL}
+ <select name="FAItask" title="{t}Choose an existing FAI task{/t}">
{html_options values=$tasks output=$tasks selected=$FAItask}
</select>
+{/render}
</td>
</tr>
</table>
<p class="seperator"> </p>
-<h2><img alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}">
+<h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}">
<LABEL for="FAIscript">
{t}Script{/t}
</LABEL>
</h2>
-<table width="99%">
+<table width="99%" summary="">
<tr>
<td>
- <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript">{$FAIscript}</textarea>
+{render acl=$FAIscriptACL}
+ <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript" >{$FAIscript}</textarea>
+{/render}
</td>
</tr>
</table>
<br>
<div>
+{render acl=$FAIscriptACL}
<input type="file" name="ImportFile">
- <input type="submit" name="ImportUpload" value="{t}Import script{/t}">
+{/render}
+{render acl=$FAIscriptACL}
+ <input type="submit" name="ImportUpload" value="{t}Import script{/t}" >
+{/render}
+{render acl=$FAIscriptACL}
+ {$DownMe}
+{/render}
</div>
<p class="seperator"> </p>
<br>
<div style="align:right;" align="right">
- <input type="submit" value="{t}Save{/t}" name="SaveSubObject">
+ <input type="submit" value="{t}Apply{/t}" name="SaveSubObject">
<input type="submit" value="{t}Cancel{/t}" name="CancelSubObject">
</div>
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.cn.focus();
+ -->
+</script>