0) { foreach ($delmembers as $tag) { mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}h{$tag}:"); } } mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}qinq:"); mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}:"); mwexec("/sbin/ifconfig {$qinq['vlanif']} destroy"); unset($a_qinqs[$id]); write_config(); header("Location: interfaces_qinq.php"); exit; } } $pgtitle = array(gettext("Interfaces"), gettext("QinQ")); $shortcut_section = "interfaces"; include("head.inc"); if ($input_errors) print_input_errors($input_errors); $tab_array = array(); $tab_array[] = array(gettext("Interface assignments"), false, "interfaces_assign.php"); $tab_array[] = array(gettext("Interface Groups"), false, "interfaces_groups.php"); $tab_array[] = array(gettext("Wireless"), false, "interfaces_wireless.php"); $tab_array[] = array(gettext("VLANs"), false, "interfaces_vlan.php"); $tab_array[] = array(gettext("QinQs"), true, "interfaces_qinq.php"); $tab_array[] = array(gettext("PPPs"), false, "interfaces_ppps.php"); $tab_array[] = array(gettext("GRE"), false, "interfaces_gre.php"); $tab_array[] = array(gettext("GIF"), false, "interfaces_gif.php"); $tab_array[] = array(gettext("Bridges"), false, "interfaces_bridge.php"); $tab_array[] = array(gettext("LAGG"), false, "interfaces_lagg.php"); display_top_tabs($tab_array); ?>
=gettext("Interface"); ?> | =gettext("Tag");?> | =gettext("QinQ members"); ?> | =gettext("Description"); ?> | |
---|---|---|---|---|
=htmlspecialchars($qinq['if'])?> | =htmlspecialchars($qinq['tag'])?> | 20):?> =substr(htmlspecialchars($qinq['members']), 0, 20)?>… =htmlspecialchars($qinq['members'])?> | =htmlspecialchars($qinq['descr'])?> | ')"> |