diff options
Diffstat (limited to 'usr/local/www/services_captiveportal.php')
-rwxr-xr-x | usr/local/www/services_captiveportal.php | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index a4f1754..3bb422d 100755 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -172,14 +172,11 @@ if ($_POST) { $savemsg = get_std_save_message($retval); } } + +$pgtitle = "Services: Captive Portal"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("pfSense webGUI");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> -</head> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> @@ -285,12 +282,14 @@ function enable_change(enable_change) { <form action="services_captiveportal.php" method="post" enctype="multipart/form-data" name="iform" id="iform"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td class="tabnavtbl"> - <ul id="tabnav"> - <li class="tabact">Captive portal</li> - <li class="tabinact"><a href="services_captiveportal_mac.php">Pass-through MAC</a></li> - <li class="tabinact"><a href="services_captiveportal_ip.php">Allowed IP addresses</a></li> - <li class="tabinact"><a href="services_captiveportal_users.php">Users</a></li> - </ul> +<?php + $tab_array = array(); + $tab_array[0] = array("Captive portal", true, "services_captiveportal.php"); + $tab_array[1] = array("Pass-through MAC", false, "services_captiveportal_mac.php"); + $tab_array[2] = array("Allowed IP addresses", false, "services_captiveportal_ip.php"); + $tab_array[3] = array("Users", false, "services_captiveportal_users.php"); + display_top_tabs($tab_array); +?> </td></tr> <tr> <td class="tabcont"> |