diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-22 03:13:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-22 03:13:21 +0000 |
commit | 94bf391602417968b76c9e12a5db82de91a407e2 (patch) | |
tree | 12ade0e9df12d1b61c5a980f6d89ba3278591497 /usr/local/www | |
parent | e5fa4cc4ddaaba56f20529fc1f0a4d817f3a55dc (diff) | |
download | pfsense-94bf391602417968b76c9e12a5db82de91a407e2.zip pfsense-94bf391602417968b76c9e12a5db82de91a407e2.tar.gz |
Use form post method
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/services_captiveportal.php | 4 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_ip.php | 2 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_ip_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_mac.php | 2 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_mac_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_users.php | 2 |
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"); ?> |