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

160 lines
3.4 KiB

<form method="POST" action="zone.php">
<input type="hidden" name="id" value="{$zone->zone_id}">
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/table.png" alt="" />
{$lang_zone_edit} : {$zone->zone_origin}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[update]" src="images/save.png" alt="{$lang_save}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</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}">
(example.com.)
</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}">
(3D)
</td>
</tr>
<tr>
<td class="label">
SOA
</td>
<td class="value">
<input type="text" name="zone_soa" size="40" value="{$zone->zone_soa}">
(server.example.com.)
</td>
</tr>
<tr>
<td class="label">
Hostmaster
</td>
<td class="value">
<input type="text" name="zone_hostmaster" size="40" value="{$zone->zone_hostmaster}" />
(hostmaster.example.com.)
</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}" />
(jjjjmmttnn)
</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}" />
(8H)
</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}" />
(2H)
</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}" />
(4W)
</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}" />
(1D)
</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}" />
(ns1.example.com.)
</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}" />
(50 mx.example.com.)
</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>