diff options
Diffstat (limited to 'src/usr/local/www/services_captiveportal.php')
-rw-r--r-- | src/usr/local/www/services_captiveportal.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php index d486b70..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', @@ -685,13 +685,13 @@ $form->add($section); $section = new Form_Section('Authentication'); $section->addClass('Authentication'); -$group = new Form_Group('*Authentication method'); +$group = new Form_Group('*Authentication Method'); $group->add(new Form_Checkbox( 'auth_method', null, 'No Authentication', - $pconfig['auth_method'] == 'none', + $pconfig['auth_method'] == 'none' || empty($pconfig['auth_method']), 'none' ))->displayasRadio(); @@ -711,6 +711,8 @@ $group->add(new Form_Checkbox( 'radius' ))->displayasRadio(); +$group->setHelp('Select an Authentication Method to use for this zone. One method must be selected.'); + $section->add($group); $section->addInput(new Form_Checkbox( |