-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MBS-8543: Option added to pass on WLAN data via QR code #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice feature, works well!
Maybe you might want to change the variable names from "wlan" to "wifi" as it is the more common expression in English.
lang/en/block_qr.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String wlan_passkey is missing (you see that if hovering over the help icon in the edit form).
$authenticationoptions = [ | ||
'nopass' => get_string('none', 'block_qr'), | ||
'WEP' => get_string('wep', 'block_qr'), | ||
'WPA/WPA2' => get_string('wpa', 'block_qr'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe encrypted wifi is the more common use case for this option, so this might be the default?
lang/en/block_qr.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strings should be in alphabetical order
edit_form.php
Outdated
@@ -82,7 +82,8 @@ protected function specific_definition($mform) { | |||
'internalcontent' => get_string('internalcontent', 'block_qr'), | |||
'owncontent' => get_string('owncontent', 'block_qr'), | |||
'event' => get_string('event', 'block_qr'), | |||
'geolocation' => get_string('geolocation', 'block_qr') | |||
'geolocation' => get_string('geolocation', 'block_qr'), | |||
'wlan' => get_string('wlan', 'block_qr') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comma at the end of a multi-line array
Thanks for your feedback. New commits added |
… urlencode() function is called.
No description provided.