diff options
author | Ermal <eri@pfsense.org> | 2012-12-17 10:44:41 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-12-17 10:44:41 +0000 |
commit | aea564088a335bef9c9d6fb55409dd0ad65b3049 (patch) | |
tree | c78785555ef59e7d0fb85190ad652b42550cc712 /usr/local/www/services_captiveportal_ip_edit.php | |
parent | 0faf09f7ffdf8c188ce72b6c5cc4f33bc9e069a8 (diff) | |
download | pfsense-aea564088a335bef9c9d6fb55409dd0ad65b3049.zip pfsense-aea564088a335bef9c9d6fb55409dd0ad65b3049.tar.gz |
Separate ipfw rule no db from limiter ones. Since ipfw has per instance feature while dummynet/limiters is a single instance.
Diffstat (limited to 'usr/local/www/services_captiveportal_ip_edit.php')
-rwxr-xr-x | usr/local/www/services_captiveportal_ip_edit.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/usr/local/www/services_captiveportal_ip_edit.php b/usr/local/www/services_captiveportal_ip_edit.php index d6d3570..92642b8 100755 --- a/usr/local/www/services_captiveportal_ip_edit.php +++ b/usr/local/www/services_captiveportal_ip_edit.php @@ -84,7 +84,6 @@ $a_allowedips =& $config['captiveportal'][$cpzone]['allowedip']; if (isset($id) && $a_allowedips[$id]) { $pconfig['ip'] = $a_allowedips[$id]['ip']; $pconfig['sn'] = $a_allowedips[$id]['sn']; - $pconfig['dir'] = $a_allowedips[$id]['dir']; $pconfig['bw_up'] = $a_allowedips[$id]['bw_up']; $pconfig['bw_down'] = $a_allowedips[$id]['bw_down']; $pconfig['descr'] = $a_allowedips[$id]['descr']; @@ -124,7 +123,6 @@ if ($_POST) { $ip = array(); $ip['ip'] = $_POST['ip']; $ip['sn'] = $_POST['sn']; - $ip['dir'] = $_POST['dir']; $ip['descr'] = $_POST['descr']; if ($_POST['bw_up']) $ip['bw_up'] = $_POST['bw_up']; @@ -173,23 +171,6 @@ include("head.inc"); <td colspan="2" valign="top" class="listtopic"><?=gettext("Edit allowed ip rule");?></td> </tr> <tr> - <td width="22%" valign="top" class="vncellreq"><?=gettext("Direction"); ?></td> - <td width="78%" class="vtable"> - <select name="dir" class="formfld"> - <?php - $dirs = array(gettext("Both"),gettext("From"),gettext("To")) ; - foreach ($dirs as $dir): - ?> - <option value="<?=strtolower($dir);?>" <?php if (strtolower($dir) == strtolower($pconfig['dir'])) echo "selected";?> > - <?=htmlspecialchars($dir);?> - </option> - <?php endforeach; ?> - </select> - <br> - <span class="vexpl"><?=gettext("Use"); ?> <em><?=gettext("From"); ?></em> <?=gettext("to always allow an IP address through the captive portal (without authentication)"); ?>. - <?=gettext("Use"); ?> <em><?=gettext("To"); ?></em> <?=gettext("to allow access from all clients (even non-authenticated ones) behind the portal to this IP address"); ?>.</span></td> - </tr> - <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("IP address"); ?></td> <td width="78%" class="vtable"> <?=$mandfldhtml;?><input name="ip" type="text" class="formfld unknown" id="ip" size="17" value="<?=htmlspecialchars($pconfig['ip']);?>"> |