{css}
{tab_container id="netdevmacs" label="MAC addresses"} {tab_header content_id="netdevmacspanel"} {tab_header_cell icon="lms-ui-icon-mac"} {if empty($macs)}{$macs=array()}{/if}{t a=$macs|@count}MAC addresses ($a){/t} {/tab_header_cell} {/tab_header} {tab_contents id="netdevmacspanel"} {tab_table id="netdevmactable"} {include file="netdev/netdevmaclist.html"} {/tab_table} {if ConfigHelper::checkPrivilege('network_management')} {tab_button_panel id="add_management_mac"} {tab_buttons}
{trans("Label")}
Mac
{button type="link" icon="save" id="mac_add_button" onclick="javascript:addManagementMac();" tip="Add MAC address"} {button type="link" icon="cancel" onclick="javascript:hideAddManagementMac();" tip="Cancel"} {/tab_buttons} {/tab_button_panel} {tab_button_panel id="management_mac_buttons"} {tab_buttons} {button id="netdevmacaddlink" onclick="javascript:showAddManagementMac();" icon="add" tip="Add MAC address" label="Add"} {/tab_buttons} {/tab_button_panel} {/if} {/tab_contents} {/tab_container} {js}