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/vlanview.tpl

79 lines
1.7 KiB

<table class="title">
<tr>
<td class="header">
{vlan_name}
</td>
<td align="right">
<a href="assignvlantosubnet.php?vlan_id={vlan_id}"><img src="image.php?icon=add" alt="{lang_assignvlantosubnet}"></a>
<a href="vlanedit.php?vlan_id={vlan_id}"><img src="image.php?icon=edit" alt="{lang_vlan_edit}"></a>
<a href="vlandel.php?vlan_id={vlan_id}"><img src="image.php?icon=delete" alt="{lang_vlan_del}"></a>
</td>
</tr>
</table>
<p>
[BLOCK vlan_table AS vlan_table]
<table class="info">
[BLOCK vlan_row]
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_vlan_name}
</td>
<td class="value">
<a href="vlanview.php?vlan_id={vlan_id}">{vlan_name}</a>
</td>
</tr>
<tr>
<td class="label">
{lang_vlan_number}
</td>
<td class="value">
{vlan_number}
</td>
</tr>
<tr>
<td class="label">
{lang_vlan_info}
</td>
<td class="value">
{vlan_info}
</td>
</tr>
[END vlan_row]
</table>
[END vlan_table]
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header" align="right">
<a href="vlansubnetedit.php?vlan_id={vlan_id}"><img src="image.php?icon=edit" alt="{lang_subnetvlan_edit}"></a>
</td>
</tr>
<tr>
<td class="label">
{lang_subnets} ({subnet_counter})
</td>
<td class="value">
[BLOCK subnet_table AS subnet_table]
[BLOCK subnet_row]
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a><br>
[END subnet_row]
[END subnet_table]
</td>
</tr>
</table>