IP Reg is a IPAM tool to keep track of assets, nodes (IP addresses, MAC addresses, DNS aliases) within different subnets, over different locations or even VLAN's. Written in PHP, used with a MySQL-database to have a unique insight in your local network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ipreg/tpl/zoneedit.tpl

148 lines
3.1 KiB

<form method="POST" action="submit.php">
<input type="hidden" name="edit" value="zone">
<input type="hidden" name="zone_id" value="{$zone.zone_id}">
<table class="title">
<tr>
<td class="header">
{$zone_origin}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_zone}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
Origin
</td>
<td class="value">
<input type="text" name="zone_origin" size="40" value="{$zone.zone_origin}">
</td>
</tr>
<tr>
<td class="label">
TTL Default
</td>
<td class="value">
<input type="text" name="zone_ttl_default" size="40" value="{$zone.zone_ttl_default}">
</td>
</tr>
<tr>
<td class="label">
SOA
</td>
<td class="value">
<input type="text" name="zone_soa" size="40" value="{$zone.zone_soa}">
</td>
</tr>
<tr>
<td class="label">
Hostmaster
</td>
<td class="value">
<input type="text" name="zone_hostmaster" size="40" value="{$zone.zone_hostmaster}" />
</td>
</tr>
<tr>
<td class="label">
Serial
</td>
<td class="value">
<input type="text" name="zone_serial" size="10" maxlength="10" value="{$zone.zone_serial}" />
</td>
</tr>
<tr>
<td class="label">
Refresh
</td>
<td class="value">
<input type="text" name="zone_refresh" size="6" maxlength="10" value="{$zone.zone_refresh}" />
</td>
</tr>
<tr>
<td class="label">
Retry
</td>
<td class="value">
<input type="text" name="zone_retry" size="6" maxlength="10" value="{$zone.zone_retry}" />
</td>
</tr>
<tr>
<td class="label">
Expire
</td>
<td class="value">
<input type="text" name="zone_expire" size="6" maxlength="10" value="{$zone.zone_expire}" />
</td>
</tr>
<tr>
<td class="label">
TTL
</td>
<td class="value">
<input type="text" name="zone_ttl" size="6" maxlength="10" value="{$zone.zone_ttl}" />
</td>
</tr>
<tr>
<td class="label">
Nameserver 1
</td>
<td class="value">
<input type="text" name="zone_ns1" size="40" maxlength="40" value="{$zone.zone_ns1}" />
</td>
</tr>
<tr>
<td class="label">
Nameserver 2
</td>
<td class="value">
<input type="text" name="zone_ns2" size="40" maxlength="40" value="{$zone.zone_ns2}" />
</td>
</tr>
<tr>
<td class="label">
Nameserver 3
</td>
<td class="value">
<input type="text" name="zone_ns3" size="40" maxlength="40" value="{$zone.zone_ns3}" />
</td>
</tr>
<tr>
<td class="label">
Mail Exchange 1
</td>
<td class="value">
<input type="text" name="zone_mx1" size="40" maxlength="40" value="{$zone.zone_mx1}" />
</td>
</tr>
<tr>
<td class="label">
Mail Exchange 2
</td>
<td class="value">
<input type="text" name="zone_mx2" size="40" maxlength="40" value="{$zone.zone_mx2}" />
</td>
</tr>
<tr>
<td class="label">
Zone Info
</td>
<td class="value">
<textarea name="zone_info" cols="30" rows="10">{$zone.zone_info}</textarea>
</td>
</tr>
</table>
</form>