summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-02 03:43:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-02 03:43:24 +0000
commitca994a4153330a27fc4d3a9754c828dfa82bf44b (patch)
tree3d2c0579d2efe453301f8aa429d7bfbf43a14428 /usr
parentac018c3e1ddf8f24909441ab3f23c4eaed279163 (diff)
downloadpfsense-ca994a4153330a27fc4d3a9754c828dfa82bf44b.zip
pfsense-ca994a4153330a27fc4d3a9754c828dfa82bf44b.tar.gz
Round out those corners, baby!
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_captiveportal.php25
-rwxr-xr-xusr/local/www/services_captiveportal_ip.php25
-rwxr-xr-xusr/local/www/services_captiveportal_mac.php25
-rwxr-xr-xusr/local/www/services_captiveportal_users.php25
4 files changed, 48 insertions, 52 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">
diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php
index 58bac00..e79a474 100755
--- a/usr/local/www/services_captiveportal_ip.php
+++ b/usr/local/www/services_captiveportal_ip.php
@@ -68,14 +68,11 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+$pgtitle = "Services: Captive Portal: Allowed IP's";
+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"); ?>
@@ -87,12 +84,14 @@ if ($_GET['act'] == "del") {
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
- <ul id="tabnav">
- <li class="tabinact1"><a href="services_captiveportal.php">Captive portal</a></li>
- <li class="tabinact"><a href="services_captiveportal_mac.php">Pass-through MAC</a></li>
- <li class="tabact">Allowed IP addresses</li>
- <li class="tabinact"><a href="services_captiveportal_users.php">Users</a></li>
- </ul>
+<?php
+ $tab_array = array();
+ $tab_array[0] = array("Captive portal", false, "services_captiveportal.php");
+ $tab_array[1] = array("Pass-through MAC", false, "services_captiveportal_mac.php");
+ $tab_array[2] = array("Allowed IP addresses", true, "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">
diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php
index 80a5907..9dc57df 100755
--- a/usr/local/www/services_captiveportal_mac.php
+++ b/usr/local/www/services_captiveportal_mac.php
@@ -68,14 +68,11 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+$pgtitle = "Services: Captive Portal: Macs";
+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>
<form method="post">
@@ -89,12 +86,14 @@ if ($_GET['act'] == "del") {
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
- <ul id="tabnav">
- <li class="tabinact1"><a href="services_captiveportal.php">Captive portal</a></li>
- <li class="tabact">Pass-through MAC</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", false, "services_captiveportal.php");
+ $tab_array[1] = array("Pass-through MAC", true, "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">
diff --git a/usr/local/www/services_captiveportal_users.php b/usr/local/www/services_captiveportal_users.php
index b064e61..b6e86ec 100755
--- a/usr/local/www/services_captiveportal_users.php
+++ b/usr/local/www/services_captiveportal_users.php
@@ -136,14 +136,11 @@ if(is_array($config['users'])){
}
}
+
+$pgtitle = "Services: Captive Portal: Users";
+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"); ?>
@@ -156,12 +153,14 @@ if(is_array($config['users'])){
<?php if ($savemsg) print_info_box($savemsg); ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
- <ul id="tabnav">
- <li class="tabinact1"><a href="services_captiveportal.php">Captive portal</a></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="tabact">Users</li>
- </ul>
+<?php
+ $tab_array = array();
+ $tab_array[0] = array("Captive portal", false, "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", true, "services_captiveportal_users.php");
+ display_top_tabs($tab_array);
+?>
</td></tr>
<tr>
<td class="tabcont">
OpenPOWER on IntegriCloud