|
<h2><?php echo $headline ?></h2>
|
|
<br />
|
|
<?php
|
|
|
|
if (isset($submenu))
|
|
echo '<div class="submenu">' . $submenu . '</div>';
|
|
|
|
if ($this->acl_check_edit('Devices_Controller', 'port'))
|
|
$links[] = html::anchor(url_lang::base() . 'ports/edit/' . $port->id, __('Edit'));
|
|
|
|
echo implode(' | ', $links);
|
|
?>
|
|
<br />
|
|
<br />
|
|
<table class="extended" cellspacing="0">
|
|
<tr>
|
|
<th><?php echo __('ID') ?></th>
|
|
<td><?php echo $port->id ?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo __('Port name') ?></th>
|
|
<td><?php echo $port->name ?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo __('Port number') ?></th>
|
|
<td><?php echo $port->port_nr ?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo __('Device name') ?></th>
|
|
<td><?php echo html::anchor(url_lang::base() . 'devices/show/' . $port->device->id, $port->device->name) ?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo __('Segment name') ?></th>
|
|
<td><?php echo html::anchor(url_lang::base() . 'segments/show/' . $port->segment->id, $port->segment->name) ?></td>
|
|
</tr>
|
|
|
|
|
|
</table><br />
|
|
|
|
<h3><?php echo __('Vlans') ?></h3>
|
|
<?php echo $table_vlans ?>
|
|
<br />
|
|
|