Revize c1bdc1c4
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/views/ifaces/show.php | ||
---|---|---|
|
||
$links = array();
|
||
|
||
if ($this->acl_check_edit('Devices_Controller', 'iface', $iface->device->user->member_id))
|
||
if ($this->acl_check_edit('Ifaces_Controller', 'iface', $iface->device->user->member_id))
|
||
$links[] = html::anchor('ifaces/edit/'.$iface->id, __('Edit'));
|
||
|
||
if ($this->acl_check_delete('Devices_Controller', 'iface', $iface->device->user->member_id))
|
||
if ($this->acl_check_delete('Ifaces_Controller', 'iface', $iface->device->user->member_id))
|
||
$links[] = html::anchor('ifaces/delete/'.$iface->id, __('Delete'));
|
||
|
||
echo implode(' | ', $links);
|
||
... | ... | |
<td><?php echo $iface->mac ?></td>
|
||
</tr>
|
||
<?php endif; ?>
|
||
<?php if (isset($iface->wireless_mode)): ?>
|
||
<?php if (isset($iface->wireless_mode) && $iface->wireless_mode): ?>
|
||
<tr>
|
||
<th><?php echo __('Wireless mode') ?></th>
|
||
<td><?php echo Iface_Model::get_wireless_mode($iface->wireless_mode) ?></td>
|
||
... | ... | |
</tr>
|
||
<tr>
|
||
<th><?php echo __('Name') ?></th>
|
||
<td><?php echo html::anchor('links/show/'.$iface->link->id, $iface->link->name)?></td>
|
||
<?php if ($this->acl_check_view('Links_Controller', 'link')): ?>
|
||
<td><?php echo html::anchor('links/show/'.$iface->link->id, $iface->link->name) ?></td>
|
||
<?php else: ?>
|
||
<td><?php echo $iface->link->name ?></td>
|
||
<?php endif ?>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo __('Medium') ?></th>
|
Také k dispozici: Unified diff
Release 1.1.0