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.
96 lines
2.6 KiB
96 lines
2.6 KiB
<table class="title">
|
|
<tr>
|
|
<td class="header">
|
|
<img class="icon" src="images/building.png" alt="" />
|
|
{$location->name}
|
|
</td>
|
|
<td align="right">
|
|
{if $suser_add}
|
|
<a href="location.php?f=add&parent={$location->id}"><img src="images/building_add.png" alt="{$lang_sublocation_add}"{if $suser_tooltips} title="{$lang_sublocation_add}"{/if}></a>
|
|
{/if}
|
|
{if $suser_edit}
|
|
<a href="location.php?f=edit&id={$location->id}"><img src="images/building_edit.png" alt="{$lang_location_edit}"{if $suser_tooltips} title="{$lang_location_edit}"{/if}></a>
|
|
{/if}
|
|
{if $suser_delete}
|
|
<a href="location.php?f=del&id={$location->id}"><img src="images/building_delete.png" alt="{$lang_location_del}"{if $suser_tooltips} title="{$lang_location_del}"{/if}></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_location}
|
|
</td>
|
|
<td class="header_right">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_location_name}
|
|
</td>
|
|
<td class="value">
|
|
<ol id="breadcrumbs">
|
|
{foreach item=breadcrumb from=$crumbs name=breadcrumbs}
|
|
<li{if $smarty.foreach.breadcrumbs.first} class="first"{/if}><a href="{$breadcrumb->url}">{$breadcrumb->name}</a></li>
|
|
{/foreach}
|
|
</ol>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_location_info}
|
|
</td>
|
|
<td class="value">
|
|
{$location->info}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_sublocation}
|
|
</td>
|
|
<td class="header_right">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_sublocations} ({$sublocations|@count})
|
|
</td>
|
|
<td class="value">
|
|
{foreach item=sublocation from=$sublocations}
|
|
<a href="location.php?f=view&id={$sublocation.sublocation_id}">{$sublocation.sublocation_name}</a>
|
|
{$sublocation.info_short}{if $sublocation.info_length>40}…{/if}
|
|
<br>
|
|
{/foreach}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_subnet}
|
|
</td>
|
|
<td class="header_right">
|
|
{if $suser_edit}
|
|
<a href="location.php?f=link&id={$location->id}"><img src="images/edit.png" alt="{$lang_locationsubnet_edit}"{if $suser_tooltips} title="{$lang_locationsubnet_edit}"{/if}></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_subnets} ({$subnets|@count})
|
|
</td>
|
|
<td class="value">
|
|
{foreach item=subnet from=$subnets}
|
|
<a href="subnet.php?f=view&id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a><br>
|
|
{/foreach}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|