summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-22 03:13:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-22 03:13:21 +0000
commit94bf391602417968b76c9e12a5db82de91a407e2 (patch)
tree12ade0e9df12d1b61c5a980f6d89ba3278591497
parente5fa4cc4ddaaba56f20529fc1f0a4d817f3a55dc (diff)
downloadpfsense-94bf391602417968b76c9e12a5db82de91a407e2.zip
pfsense-94bf391602417968b76c9e12a5db82de91a407e2.tar.gz
Use form post method
-rwxr-xr-xusr/local/www/services_captiveportal.php4
-rwxr-xr-xusr/local/www/services_captiveportal_ip.php2
-rwxr-xr-xusr/local/www/services_captiveportal_ip_edit.php2
-rwxr-xr-xusr/local/www/services_captiveportal_mac.php2
-rwxr-xr-xusr/local/www/services_captiveportal_mac_edit.php2
-rwxr-xr-xusr/local/www/services_captiveportal_users.php2
6 files changed, 8 insertions, 6 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 3185fd2..1e2d2cf 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -78,6 +78,8 @@ if ($_POST) {
/* input validation */
if ($_POST['enable']) {
+ $config['captiveportal']['enable'] = $_POST['enable'] ? true : false;
+
$reqdfields = explode(" ", "cinterface");
$reqdfieldsn = explode(",", "Interface");
@@ -176,7 +178,7 @@ if ($_POST) {
<link href="gui.css" rel="stylesheet" type="text/css">
</head>
-<form>
+<form method="post">
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php
index 4c0fbcb..442a4ff 100755
--- a/usr/local/www/services_captiveportal_ip.php
+++ b/usr/local/www/services_captiveportal_ip.php
@@ -76,7 +76,7 @@ if ($_GET['act'] == "del") {
<link href="gui.css" rel="stylesheet" type="text/css">
</head>
-<form>
+<form method="post">
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_captiveportal_ip_edit.php b/usr/local/www/services_captiveportal_ip_edit.php
index 38f7559..fe8285f 100755
--- a/usr/local/www/services_captiveportal_ip_edit.php
+++ b/usr/local/www/services_captiveportal_ip_edit.php
@@ -101,7 +101,7 @@ if ($_POST) {
<link href="gui.css" rel="stylesheet" type="text/css">
</head>
-<form>
+<form method="post">
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php
index 58e6a73..3404d93 100755
--- a/usr/local/www/services_captiveportal_mac.php
+++ b/usr/local/www/services_captiveportal_mac.php
@@ -76,7 +76,7 @@ if ($_GET['act'] == "del") {
<link href="gui.css" rel="stylesheet" type="text/css">
</head>
-<form>
+<form method="post">
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_captiveportal_mac_edit.php b/usr/local/www/services_captiveportal_mac_edit.php
index f736582..f9e95bc 100755
--- a/usr/local/www/services_captiveportal_mac_edit.php
+++ b/usr/local/www/services_captiveportal_mac_edit.php
@@ -101,7 +101,7 @@ if ($_POST) {
<link href="gui.css" rel="stylesheet" type="text/css">
</head>
-<form>
+<form method="post">
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_captiveportal_users.php b/usr/local/www/services_captiveportal_users.php
index 46b9e17..c943a4b 100755
--- a/usr/local/www/services_captiveportal_users.php
+++ b/usr/local/www/services_captiveportal_users.php
@@ -144,7 +144,7 @@ if(is_array($config['users'])){
<link href="gui.css" rel="stylesheet" type="text/css">
</head>
-<form>
+<form method="post">
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
OpenPOWER on IntegriCloud