index 44d5ef556c24f1ea9c49fda6c0e6a2f8895ab990..1136dba537a09e3435f173680e32ce65cf9054ac 100644 (file)
<tr>
<td>{t}Zone name{/t}{$must}
</td>
- <td><input type="text" name="zoneName" value="{$zoneName}" {if $NotNew} disabled {/if}>
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="zoneName" value="{$zoneName}" {if $NotNew} disabled {/if}>
+{/render}
</td>
</tr>
<tr>
<td>{t}Network address{/t}{$must}
</td>
- <td><input type="text" name="ReverseZone" value="{$ReverseZone}" {if $NotNew} disabled {/if}>
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="ReverseZone" value="{$ReverseZone}" {if $NotNew} disabled {/if}>
+{/render}
+ </td>
+ </tr>
+ <tr>
+ <td>{t}Netmask{/t}
+ </td>
+ <td>
+{render acl=$ACLs}
+ <select name="NetworkClass" {if $NotNew} disabled {/if}>
+ {html_options options=$NetworkClasses selected=$NetworkClass }
+ </select>
+{/render}
</td>
</tr>
</table>
<table summary="">
<tr>
<td>
- {t}Zone entries{/t}
+ {t}Zone records{/t}
<br>
{if $AllowZoneEdit == false}
<i>{t}Can't be edited because the zone wasn't saved right now.{/t}</i>
{/if}
</td>
<td>
+{render acl=$ACLs}
<input type="submit" name="EditZoneEntries" value="{t}Edit{/t}" {if $AllowZoneEdit == false} disabled {/if}>
+{/render}
</td>
</tr>
</table>
<tr>
<td>{t}Primary dns server for this zone{/t}{$must}
</td>
- <td><input type="text" name="sOAprimary" value="{$sOAprimary}">
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="sOAprimary" value="{$sOAprimary}">
+{/render}
</td>
</tr>
<tr>
<td>{t}Mail address{/t}{$must}
</td>
- <td><input type="text" name="sOAmail" value="{$sOAmail}">
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="sOAmail" value="{$sOAmail}">
+{/render}
</td>
</tr>
<tr>
<td>{t}Serial number (automatically incremented){/t}{$must}
</td>
- <td><input type="text" name="sOAserial" value="{$sOAserial}">
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="sOAserial" value="{$sOAserial}">
+{/render}
</td>
</tr>
</table>
<tr>
<td>{t}Refresh{/t}{$must}
</td>
- <td><input type="text" name="sOArefresh" value="{$sOArefresh}">
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="sOArefresh" value="{$sOArefresh}">
+{/render}
</td>
</tr>
<tr>
<td>{t}Retry{/t}{$must}
</td>
- <td><input type="text" name="sOAretry" value="{$sOAretry}">
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="sOAretry" value="{$sOAretry}">
+{/render}
</td>
</tr>
<tr>
<td>{t}Expire{/t}{$must}
</td>
- <td><input type="text" name="sOAexpire" value="{$sOAexpire}">
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="sOAexpire" value="{$sOAexpire}">
+{/render}
</td>
</tr>
<tr>
<td>{t}TTL{/t}{$must}
</td>
- <td><input type="text" name="sOAttl" value="{$sOAttl}">
+ <td>
+{render acl=$ACLs}
+ <input type="text" name="sOAttl" value="{$sOAttl}">
+{/render}
</td>
</tr>
</table>
<table width="100%">
<tr>
<td>
+{render acl=$ACLs}
{$Mxrecords}
+{/render}
+{render acl=$ACLs}
<input type="text" name="StrMXRecord" value="">
+{/render}
+{render acl=$ACLs}
<input type="submit" name="AddMXRecord" value="{t}Add{/t}">
+{/render}
</td>
</tr>
</table>
</td>
<td style="vertical-align:top;">
- <h2>{t}Zone records{/t}</h2>
- <table summary="">
+ <h2>{t}Global zone records{/t}</h2>
+{render acl=$ACLs}
{$records}
- </table>
+{/render}
</td>
</tr>
</table>
<div style="text-algin:right;" align="right">
<p>
+{render acl=$ACLs}
<input type="submit" name="SaveZoneChanges" value="{t}Save{/t}">
+{/render}
<input type="submit" name="CancelZoneChanges" value="{t}Cancel{/t}">
</p>
</div>
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.zoneName.focus();
+ focus_field('zoneName');
-->
</script>