Project

General

Profile

Actions

Bug #4132

closed

Captive Portal - Portal page contents - confusing instructions (gettext issue)

Added by Kill Bill about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
12/19/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
All

Description

Make sure to include a form (POST to "") with a submit button (name="accept") and a hidden field with name="redirurl" and value=""

and below there's a code example with:

<form method="post" action="$PORTAL_ACTION$">
   ...
   <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
   ...
</form>

Note the actions and value certainly are not empty as suggested above. All those %#$s in gettext clearly don't work as expected.

Actions #1

Updated by Renato Botelho about 10 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Kill Bill about 10 years ago

Thanks, though this is still incosistent - $PORTAL_ACTION/$PORTAL_REDIRURL vs. $PORTAL_ACTION$/$PORTAL_REDIRURL$ (note the trailing $s)

Actions #4

Updated by Renato Botelho about 10 years ago

Good catch, thanks!

Actions #5

Updated by Kill Bill about 10 years ago

All good now :)

Actions #6

Updated by Renato Botelho about 10 years ago

  • Status changed from Feedback to Resolved

Cool. Thanks!!

Actions

Also available in: Atom PDF