index 6d3f6229af2f83cfaeb49ca1366d97860b384d2b..2b7ee4f0732a7668a46ec2736005b69b7982ff3d 100644 (file)
-<table width="100%">
+<table width="100%" summary="">
<tr>
<td width="50%" valign="top">
- <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2><br>
+ <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 for="cn">
- {t}Name{/t}
+ {t}Name{/t}{$must}
</LABEL>
</td>
<td>
- <input value="{$cn}" disabled id="cn">
+{render acl=$cnACL}
+ <input value="{$cn}" size="45" maxlength="80" id='cn' disabled >
+{/render}
</td>
</tr>
<tr>
<td>
<LABEL for="description">
- {t}Description{/t}{$must}
+ {t}Description{/t}
</LABEL>
</td>
<td>
- <input value="{$description}" {$description} name="description" id="description">
+{render acl=$descriptionACL}
+ <input value="{$description}" size="45" maxlength="80" name="description" id="description">
+{/render}
</td>
</tr>
</table>
</td>
<td>
- <h2><img alt="" src="images/list_ogroup.png" align="middle" title="{t}Objects{/t}">
+ <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle" title="{t}Objects{/t}">
<LABEL for="SubObject">
- {t}This partition table contains following disks{/t}
+ {t}Discs{/t}
</LABEL>
- </h2><br>
- <table width="100%">
+ </h2>
+ <table width="100%" summary="">
<tr>
<td>
- <select name="disks" title="{t}Choose a disk to delete or edit{/t}" style="width:350px;height:120px;" size=10 id="SubObject">
- {html_options values=$diskKeys output=$disks}
+ <select name="disks[]" title="{t}Choose a disk to delete or edit{/t}" style="width:100%" size="20" id="SubObject" multiple>
+ {html_options options=$disks}
</select><br>
- <input type="submit" name="AddDisk" value="{t}Add{/t}" title="{t}Add{/t}">
+{if $sub_object_is_addable}
+ <input type="submit" name="AddDisk" value="{t}Add{/t}" title="{t}Add{/t}">
+{else}
+ <input type="submit" name="AddDisk" value="{t}Add{/t}" title="{t}Add{/t}" disabled >
+{/if}
+
<input type="submit" name="EditDisk" value="{t}Edit{/t}" title="{t}Edit{/t}">
<input type="submit" name="DelDisk" value="{t}Delete{/t}" title="{t}Delete{/t}">
</td>
</td>
</tr>
</table>
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.description.focus();
+ -->
+</script>
+