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

46 lines
1.1 KiB

[BLOCK table AS node]
<table border="0">
<tr>
<td width="100">
<a href="nodelist.php?subnet_id={subnet_id}&order=ip"><b>{lang_ip}:</b></a>
</td>
<td width="150">
<a href="nodelist.php?subnet_id={subnet_id}&order=asset_name"><b>{lang_asset_name}:</b></a>
</td>
<td width="150">
<a href="nodelist.php?subnet_id={subnet_id}&order=hostname"><b>{lang_hostname}:</b></a>
</td>
<td width="150">
<a href="nodelist.php?subnet_id={subnet_id}&order=mac"><b>{lang_mac}:</b></a>
</td>
<td width="150">
<a href="nodelist.php?subnet_id={subnet_id}&order=dns1"><b>{lang_dns1}:</b></a>
</td>
<td width="150">
<a href="nodelist.php?subnet_id={subnet_id}&order=dns2"><b>{lang_dns2}:</b></a>
</td>
</tr>
[BLOCK noderow]
<tr>
<td>
<a href="nodeview.php?node_id={node_id}">{ip}</a>
</td>
<td>
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
</td>
<td>
{hostname}
</td>
<td>
{mac}
</td>
<td>
{dns1}
</td>
<td>
{dns2}
</td>
</tr>
[END noderow]
</table>
[END table]