summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-05-22 16:18:16 -0400
committerjim-p <jimp@pfsense.org>2017-05-22 16:18:16 -0400
commitce2d9c6ed99da29830b6a2e995f540d0057cdd9f (patch)
treeafc16cd981e6d3b2e5230463eb0375ed6ed19a07 /src/usr
parentd80812af5dafe616e7ea33b3a7ea12413c87bdf4 (diff)
downloadpfsense-ce2d9c6ed99da29830b6a2e995f540d0057cdd9f.zip
pfsense-ce2d9c6ed99da29830b6a2e995f540d0057cdd9f.tar.gz
Fix links to CP MAC management page so they include the zone name. Fixes #7591
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/services_captiveportal.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
index 699f2b0..52b228f 100644
--- a/src/usr/local/www/services_captiveportal.php
+++ b/src/usr/local/www/services_captiveportal.php
@@ -647,7 +647,7 @@ $section->addInput(new Form_Checkbox(
))->setHelp('When enabled, a MAC passthrough entry is automatically added after the user has successfully authenticated. Users of that MAC address will ' .
'never have to authenticate again. To remove the passthrough MAC entry either log in and remove it manually from the ' .
'%1$sMAC tab%2$s or send a POST from another system. ' .
- 'If this is enabled, RADIUS MAC authentication cannot be used. Also, the logout window will not be shown.', '<a href="services_captiveportal_mac.php">', '</a>');
+ 'If this is enabled, RADIUS MAC authentication cannot be used. Also, the logout window will not be shown.', "<a href=\"services_captiveportal_mac.php?zone={$cpzone}\">", '</a>');
$section->addInput(new Form_Checkbox(
'passthrumacaddusername',
@@ -656,7 +656,7 @@ $section->addInput(new Form_Checkbox(
$pconfig['passthrumacaddusername']
))->setHelp('If enabled with the automatically MAC passthrough entry created, the username used during authentication will be saved. ' .
'To remove the passthrough MAC entry either log in and remove it manually from the %1$sMAC tab%2$s or send a POST from another system.',
- '<a href="services_captiveportal_mac.php">', '</a>');
+ "<a href=\"services_captiveportal_mac.php?zone={$cpzone}\">", '</a>');
$section->addInput(new Form_Checkbox(
'peruserbw',
OpenPOWER on IntegriCloud