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

47 lines
1.0 KiB

<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/tag-blue.png" alt="" />
{$lang_vlans} ({$vlans|@count})
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="vlanadd.php"><img src="image.php?icon=add" alt="{$lang_vlan_add}" {if $suser_tooltips}title="{$lang_vlan_add}" {/if}/></a>
{/if}
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_vlan_number}
</td>
<td class="header">
{$lang_vlan_name}
</td>
<td class="header">
{$lang_vlan_info}
</td>
</tr>
{foreach item=vlan from=$vlans}
<tr>
<td class="label" style="width:10%">
{$vlan.number}
</td>
<td class="value">
<img src="image.php?color={$vlan.color}" alt="#{$vlan.color}">
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name}</a>
</td>
<td>
{$vlan.info}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="3">
{$lang_vlan_none}
</td>
</tr>
{/foreach}
</table>