@@ -417,7 +417,7 @@ |
||
417 | 417 | $userId = $adminApi->firstParameterInstance($scrubbedParameters, web\lib\admin\API::AUXATTRIB_SB_USERID); |
418 | 418 | $userName = $adminApi->firstParameterInstance($scrubbedParameters, web\lib\admin\API::AUXATTRIB_SB_USERNAME); |
419 | 419 | $certSerial = $adminApi->firstParameterInstance($scrubbedParameters, web\lib\admin\API::AUXATTRIB_SB_CERTSERIAL); |
420 | - $certCN = $adminApi->firstParameterInstance($scrubbedParameters, web\lib\admin\API::AUXATTRIB_SB_CERTCN); |
|
420 | + $certCN = $adminApi->firstParameterInstance($scrubbedParameters, web\lib\admin\API::AUXATTRIB_SB_CERTCN); |
|
421 | 421 | if ($userId === FALSE && $userName === FALSE && $certSerial === FALSE && $certCN === FALSE) { |
422 | 422 | // we need at least one of those |
423 | 423 | $adminApi->returnError(\web\lib\admin\API::ERROR_MISSING_PARAMETER, "At least one of User ID, Username, certificate serial, or certificate CN is required."); |
@@ -701,7 +701,7 @@ |
||
701 | 701 | \core\common\Entity::$nomenclature_inst, |
702 | 702 | count($this->CAsAccountedFor)+1, |
703 | 703 | ($ca['root'] ? _("Root") : _("Intermediate"))) . |
704 | - "</string> |
|
704 | + "</string> |
|
705 | 705 | <key>PayloadIdentifier</key> |
706 | 706 | <string>" . self::$iPhonePayloadPrefix . ".$this->massagedConsortium.$this->massagedCountry.$this->massagedInst.$this->massagedProfile.credential.$this->caSerial</string> |
707 | 707 | <key>PayloadOrganization</key> |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | return $helpdesk; |
267 | 267 | } |
268 | 268 | |
269 | - private function getCredentialApplicability() { |
|
269 | + private function getCredentialApplicability() { |
|
270 | 270 | $setWired = isset($this->attributes['media:wired'][0]) && |
271 | 271 | $this->attributes['media:wired'][0] == 'on' ? 1 : 0; |
272 | 272 | $ssids = $this->attributes['internal:SSID']; |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | } |
394 | 394 | |
395 | 395 | private function getAuthMethod($eap) { |
396 | - // $attr = $this->attributes; |
|
396 | + // $attr = $this->attributes; |
|
397 | 397 | $authmethod = new AuthenticationMethod(); |
398 | 398 | $eapParams = $this->getAuthenticationMethodParams($eap); |
399 | 399 | $eaptype = new Type(); |
@@ -89,12 +89,12 @@ |
||
89 | 89 | $this->templates[WELCOME_ABOARD_TERMS] = ""; |
90 | 90 | foreach ([ |
91 | 91 | "eduroam" => [ |
92 | - "TOU" => "https://wiki.geant.org/display/H2eduroam/Terms+and+Conditions", |
|
93 | - "PRIV" => "https://www.eduroam.org/privacy/", |
|
92 | + "TOU" => "https://wiki.geant.org/display/H2eduroam/Terms+and+Conditions", |
|
93 | + "PRIV" => "https://www.eduroam.org/privacy/", |
|
94 | 94 | ], |
95 | 95 | "OpenRoaming" => [ |
96 | - "TOU" => "https://wballiance.com/openroaming/toc-2020/", |
|
97 | - "PRIV" => "https://wballiance.com/openroaming/privacy-policy-2020/", |
|
96 | + "TOU" => "https://wballiance.com/openroaming/toc-2020/", |
|
97 | + "PRIV" => "https://wballiance.com/openroaming/privacy-policy-2020/", |
|
98 | 98 | ] |
99 | 99 | ] as $consortium => $terms) { |
100 | 100 | $this->templates[WELCOME_ABOARD_TERMS] .= sprintf("<p>" . _("When connecting to %s hotspots, the following <a href='%s'>Terms and Conditions</a> and <a href='%s'>Privacy Notice</a> apply.") . "</p>", $consortium, $terms['TOU'], $terms['PRIV']); |
@@ -118,13 +118,13 @@ discard block |
||
118 | 118 | ], |
119 | 119 | |
120 | 120 | /** |
121 | - * Configuration for GeoIP2 |
|
122 | - * Beware, the legacy version does not really work with IPv6 addresses |
|
123 | - * version: set to 2 if you wish to use GeoIP2, to 1 for the legacy version or set to 0 to turn off geolocation service |
|
124 | - * geoip2-path-to-autoloader: points to the GeoIP2 autoloader |
|
125 | - * geoip2-path-to-db: points to the GeoIP2 city database |
|
126 | - * @var array |
|
127 | - */ |
|
121 | + * Configuration for GeoIP2 |
|
122 | + * Beware, the legacy version does not really work with IPv6 addresses |
|
123 | + * version: set to 2 if you wish to use GeoIP2, to 1 for the legacy version or set to 0 to turn off geolocation service |
|
124 | + * geoip2-path-to-autoloader: points to the GeoIP2 autoloader |
|
125 | + * geoip2-path-to-db: points to the GeoIP2 city database |
|
126 | + * @var array |
|
127 | + */ |
|
128 | 128 | |
129 | 129 | 'GEOIP' => [ |
130 | 130 | 'version' => 0, |
@@ -152,7 +152,6 @@ discard block |
||
152 | 152 | * mails, just configure the signing cert with these parameters. All must |
153 | 153 | * be non-NULL for signing to happen. If you don't need a keypass, make |
154 | 154 | * it an empty string instead. |
155 | - |
|
156 | 155 | * @var array |
157 | 156 | */ |
158 | 157 | 'MAILSETTINGS' => [ // we always use Submission |
@@ -172,26 +171,26 @@ discard block |
||
172 | 171 | * @var array |
173 | 172 | */ |
174 | 173 | 'LANGUAGES' => [ |
175 | - 'bg' => ['display' => 'Български', 'locale' => 'bg_BG.utf8', 'latin_based' => FALSE], |
|
176 | - 'ca' => ['display' => 'Català', 'locale' => 'ca_ES.utf8', 'latin_based' => TRUE], |
|
177 | - 'cs' => ['display' => 'Čeština', 'locale' => 'cs_CZ.utf8', 'latin_based' => TRUE], |
|
178 | - 'de' => ['display' => 'Deutsch', 'locale' => 'de_DE.utf8', 'latin_based' => TRUE], |
|
179 | - 'el' => ['display' => 'Ελληνικά', 'locale' => 'el_GR.utf8', 'latin_based' => FALSE], |
|
180 | - 'en' => ['display' => 'English(GB)', 'locale' => 'en_GB.utf8', 'latin_based' => TRUE], |
|
181 | - 'es' => ['display' => 'Español', 'locale' => 'es_ES.utf8', 'latin_based' => TRUE], |
|
182 | - 'et' => ['display' => 'Eesti', 'locale' => 'et_EE.utf8', 'latin_based' => TRUE], |
|
183 | - 'fr' => ['display' => 'Français', 'locale' => 'fr_FR.utf8', 'latin_based' => TRUE], |
|
184 | - 'hr' => ['display' => 'Hrvatski', 'locale' => 'hr_HR.utf8', 'latin_based' => TRUE], |
|
185 | - 'hu' => ['display' => 'Magyar', 'locale' => 'hu_HU.utf8', 'latin_based' => TRUE], |
|
186 | - 'it' => ['display' => 'Italiano', 'locale' => 'it_IT.utf8', 'latin_based' => TRUE], |
|
187 | - 'nb' => ['display' => 'Norsk', 'locale' => 'nb_NO.utf8', 'latin_based' => TRUE], |
|
188 | - 'pl' => ['display' => 'Polski', 'locale' => 'pl_PL.utf8', 'latin_based' => TRUE], |
|
189 | - 'pt' => ['display' => 'Português', 'locale' => 'pt_PT.utf8', 'latin_based' => TRUE], |
|
190 | - 'ro' => ['display' => 'Română', 'locale' => 'ro_RO.utf8', 'latin_based' => TRUE], |
|
191 | - 'sl' => ['display' => 'Slovenščina', 'locale' => 'sl_SI.utf8', 'latin_based' => TRUE], |
|
192 | - 'sr' => ['display' => 'Srpski', 'locale' => 'sr_RS@latin', 'latin_based' => TRUE], |
|
193 | - 'fi' => ['display' => 'Suomi', 'locale' => 'fi_FI.utf8', 'latin_based' => TRUE], |
|
194 | - 'tr' => ['display' => 'Türkçe', 'locale' => 'tr_TR.utf8', 'latin_based' => TRUE], |
|
174 | + 'bg' => ['display' => 'Български', 'locale' => 'bg_BG.utf8', 'latin_based' => FALSE], |
|
175 | + 'ca' => ['display' => 'Català', 'locale' => 'ca_ES.utf8', 'latin_based' => TRUE], |
|
176 | + 'cs' => ['display' => 'Čeština', 'locale' => 'cs_CZ.utf8', 'latin_based' => TRUE], |
|
177 | + 'de' => ['display' => 'Deutsch', 'locale' => 'de_DE.utf8', 'latin_based' => TRUE], |
|
178 | + 'el' => ['display' => 'Ελληνικά', 'locale' => 'el_GR.utf8', 'latin_based' => FALSE], |
|
179 | + 'en' => ['display' => 'English(GB)', 'locale' => 'en_GB.utf8', 'latin_based' => TRUE], |
|
180 | + 'es' => ['display' => 'Español', 'locale' => 'es_ES.utf8', 'latin_based' => TRUE], |
|
181 | + 'et' => ['display' => 'Eesti', 'locale' => 'et_EE.utf8', 'latin_based' => TRUE], |
|
182 | + 'fr' => ['display' => 'Français', 'locale' => 'fr_FR.utf8', 'latin_based' => TRUE], |
|
183 | + 'hr' => ['display' => 'Hrvatski', 'locale' => 'hr_HR.utf8', 'latin_based' => TRUE], |
|
184 | + 'hu' => ['display' => 'Magyar', 'locale' => 'hu_HU.utf8', 'latin_based' => TRUE], |
|
185 | + 'it' => ['display' => 'Italiano', 'locale' => 'it_IT.utf8', 'latin_based' => TRUE], |
|
186 | + 'nb' => ['display' => 'Norsk', 'locale' => 'nb_NO.utf8', 'latin_based' => TRUE], |
|
187 | + 'pl' => ['display' => 'Polski', 'locale' => 'pl_PL.utf8', 'latin_based' => TRUE], |
|
188 | + 'pt' => ['display' => 'Português', 'locale' => 'pt_PT.utf8', 'latin_based' => TRUE], |
|
189 | + 'ro' => ['display' => 'Română', 'locale' => 'ro_RO.utf8', 'latin_based' => TRUE], |
|
190 | + 'sl' => ['display' => 'Slovenščina', 'locale' => 'sl_SI.utf8', 'latin_based' => TRUE], |
|
191 | + 'sr' => ['display' => 'Srpski', 'locale' => 'sr_RS@latin', 'latin_based' => TRUE], |
|
192 | + 'fi' => ['display' => 'Suomi', 'locale' => 'fi_FI.utf8', 'latin_based' => TRUE], |
|
193 | + 'tr' => ['display' => 'Türkçe', 'locale' => 'tr_TR.utf8', 'latin_based' => TRUE], |
|
195 | 194 | |
196 | 195 | |
197 | 196 | |
@@ -277,7 +276,7 @@ discard block |
||
277 | 276 | 'user' => 'customerservice', |
278 | 277 | 'pass' => '2lame4u', |
279 | 278 | 'readonly' => TRUE, ], |
280 | - 'enforce-external-sync' => TRUE, |
|
279 | + 'enforce-external-sync' => TRUE, |
|
281 | 280 | ], |
282 | 281 | |
283 | 282 | /** |