-
System
-
Interfaces
-
$odescr)
if (!isset($config['interfaces'][$oif]['ovpn']))
output_menu_item("/interfaces.php?if={$oif}", htmlspecialchars($odescr));
echo return_ext_menu("Interfaces");
?>
-
Firewall
-
Services
-
output_menu_item("/services_captiveportal.php", "Captive Portal");
output_menu_item("/services_dnsmasq.php", "DNS Forwarder");
output_menu_item("/services_dhcp_relay.php", "DHCP Relay");
if($g['services_dhcp_server_enable'])
output_menu_item("/services_dhcp.php", "DHCP Server");
output_menu_item("/services_dyndns.php", "Dynamic DNS");
output_menu_item("/services_igmpproxy.php", "IGMP proxy");
output_menu_item("/load_balancer_pool.php", "Load Balancer");
output_menu_item("/pkg_edit.php?xml=olsrd.xml&id=0", "OLSR");
output_menu_item("/vpn_pppoe.php", "PPPoE Server");
output_menu_item("/pkg_edit.php?xml=routed/routed.xml&id=0", "RIP");
output_menu_item("/services_snmp.php", "SNMP");
if($config['interfaces']['lan']) {
/* no use for UPnP in single-interface deployments
remove to reduce user confusion
*/
output_menu_item("/pkg_edit.php?xml=miniupnpd.xml&id=0", "UPnP");
}
output_menu_item("/pkg_edit.php?xml=openntpd.xml&id=0", "OpenNTPD");
output_menu_item("/services_wol.php", "Wake on LAN");
echo return_ext_menu("Services");
?>
-
VPN
-
Status
-
$entdesc) {
if (is_array($config['interfaces'][$ent]['wireless']) &&
preg_match($g['wireless_regex'], $config['interfaces'][$ent]['if']))
$ifdescrs[$ent] = $entdesc;
}
if (count($ifdescrs) > 0)
output_menu_item("/status_wireless.php", "Wireless");
echo return_ext_menu("Status");
?>
-
Diagnostics
-
output_menu_item("/diag_arp.php", "ARP Tables");
output_menu_item("/diag_backup.php", "Backup/Restore");
output_menu_item("/exec.php", "Command Prompt");
output_menu_item("/diag_dns.php", "DNS");
output_menu_item("/edit.php", "Edit File");
output_menu_item("/diag_defaults.php", "Factory Defaults");
output_menu_item("/halt.php", "Halt System");
output_menu_item("/diag_ping.php", "Ping");
output_menu_item("/diag_system_pftop.php", "pfTOP");
output_menu_item("/reboot.php", "Reboot");
output_menu_item("/diag_routes.php", "Routes");
output_menu_item("/diag_dump_states.php", "States");
output_menu_item("/diag_system_activity.php", "System Activity");
output_menu_item("/diag_traceroute.php", "Traceroute");
output_menu_item("/diag_packet_capture.php", "Packet Capture");
echo return_ext_menu("Diagnostics");
if (isset($config['system']['developer'])) {
echo "
";
}
}
if($need_alert_display == true) {
echo "{$name} \n";
}
?>
";
echo "";
echo "
";
echo "
";
}
function output_menu_item($url, $name) {
if (isAllowedPage($url))
echo "";
echo " ![]() | ";
echo "
=genhtmltitle($pgtitle);?>