@@ -90,7 +90,7 @@ |
||
90 | 90 | |
91 | 91 | if (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['ssid']) && count(CONFIG_CONFASSISTANT['CONSORTIUM']['ssid']) > 0) { |
92 | 92 | foreach (CONFIG_CONFASSISTANT['CONSORTIUM']['ssid'] as $ssidname) { |
93 | - $ssids[] = $ssidname . " " . (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport']) && CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport'] === TRUE ? _("(WPA2/AES and WPA/TKIP)") : _("(WPA2/AES)") ); |
|
93 | + $ssids[] = $ssidname . " " . (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport']) && CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport'] === TRUE ? _("(WPA2/AES and WPA/TKIP)") : _("(WPA2/AES)")); |
|
94 | 94 | } |
95 | 95 | } |
96 | 96 |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | /* |
12 | 12 | */ |
13 | 13 | |
14 | - $Tou = [ |
|
14 | + $Tou = [ |
|
15 | 15 | 'title' => _("Terms of Use"), |
16 | 16 | 'short' => "<p>The purpose of this service is to make eduroam configuration easier for end users and eduroam |
17 | 17 | Identity Providers by making available customised and securely configured eduroam installers.</p> |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | they are from the same user group. You are not allowed to share them to an unlimited |
50 | 50 | audience (e.g. on a publicly accessible web server).</li> |
51 | 51 | <li>If You are an eduroam Identity Provider administrator, you are allowed to download and pass on the Installers to |
52 | -your own ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']." end users, e.g. on the support web pages of your ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'].", on Welcome Package CDs or USB sticks, etc.</li> |
|
52 | +your own ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . " end users, e.g. on the support web pages of your " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . ", on Welcome Package CDs or USB sticks, etc.</li> |
|
53 | 53 | <li>If You are a third-party not affiliated with eduroam, you are only allowed to download and pass on |
54 | 54 | the Metadata and/or the Installers after having received written permission by the eduroam Operations team.</li> |
55 | 55 | </ul> |
@@ -52,7 +52,7 @@ |
||
52 | 52 | they are from the same user group. You are not allowed to share them to an unlimited |
53 | 53 | audience (e.g. on a publicly accessible web server).</li> |
54 | 54 | <li>If You are an eduroam Identity Provider administrator, you are allowed to download and pass on the Installers to |
55 | -your own <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?> end users, e.g. on the support web pages of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?>, on Welcome Package CDs or USB sticks, etc.</li> |
|
55 | +your own <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?> end users, e.g. on the support web pages of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?>, on Welcome Package CDs or USB sticks, etc.</li> |
|
56 | 56 | <li>If You are a third-party not affiliated with eduroam, you are only allowed to download and pass on |
57 | 57 | the Metadata and/or the Installers after having received written permission by the eduroam Operations team.</li> |
58 | 58 | </ul> |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $admins = $this_fed->listFederationAdmins(); |
45 | 45 | $mailtext = "Hello, |
46 | 46 | |
47 | -invitation tokens for the following new ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] ." have recently expired: |
|
47 | +invitation tokens for the following new ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . " have recently expired: |
|
48 | 48 | |
49 | 49 | "; |
50 | 50 | foreach ($listofinstnames as $instname) { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | if ($numberofexistingidps > 0) { |
55 | 55 | $mailtext .= " |
56 | 56 | |
57 | -Additionally, $numberofexistingidps invitations for an existing ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']." have expired. |
|
57 | +Additionally, $numberofexistingidps invitations for an existing " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . " have expired. |
|
58 | 58 | "; |
59 | 59 | } |
60 | 60 | $mailtext .= " |
@@ -169,8 +169,7 @@ |
||
169 | 169 | _("and enter the invitation token") . " |
170 | 170 | $newtoken |
171 | 171 | " . ( /* $new_idp_authorized_fedadmin */ FALSE ? |
172 | - wordwrap(sprintf(_("manually. If you reply to this mail, you will reach your %s administrators."), $uiElements->nomenclature_fed), 72) : |
|
173 | - wordwrap(_("manually. Please do not reply to this mail; this is a send-only address.")) ) . " |
|
172 | + wordwrap(sprintf(_("manually. If you reply to this mail, you will reach your %s administrators."), $uiElements->nomenclature_fed), 72) : wordwrap(_("manually. Please do not reply to this mail; this is a send-only address.")) ) . " |
|
174 | 173 | |
175 | 174 | " . wordwrap(_("Do NOT forward the mail before the token has expired - or the recipients may be able to consume the token on your behalf!"), 72) . " |
176 | 175 |
@@ -56,8 +56,8 @@ |
||
56 | 56 | |
57 | 57 | $i = 0; |
58 | 58 | foreach ($salvageFedPrivs as $oneFed) { |
59 | - $_POST['option']["S123456789".$i] = "user:fedadmin#string##"; |
|
60 | - $_POST['value']["S123456789".$i."-0"] = $oneFed; |
|
59 | + $_POST['option']["S123456789" . $i] = "user:fedadmin#string##"; |
|
60 | + $_POST['value']["S123456789" . $i . "-0"] = $oneFed; |
|
61 | 61 | $i++; |
62 | 62 | } |
63 | 63 | ?> |
@@ -26,4 +26,4 @@ |
||
26 | 26 | $Gui->defaultPagePrelude(); |
27 | 27 | |
28 | 28 | // and now, serve actual data |
29 | -include("skins/".$Gui->skinObject->skin."/index.php"); |
|
29 | +include("skins/" . $Gui->skinObject->skin . "/index.php"); |
@@ -12,11 +12,11 @@ discard block |
||
12 | 12 | |
13 | 13 | array_push($FAQ, [ |
14 | 14 | 'title' => sprintf(_("My %s is not listed. Can't I just use any of the other ones?"), $skinObject->nomenclature_inst), |
15 | - 'text' => sprintf(_("No! The installers contain security settings which are specific to the %s. If you are not from that %s, your computer will detect that you are about to send your username and credential to an unauthorised server and will abort the login. Using a different %s installer is <i>guaranteed to not work</i>!"),$skinObject->nomenclature_inst,$skinObject->nomenclature_inst,$skinObject->nomenclature_inst) |
|
15 | + 'text' => sprintf(_("No! The installers contain security settings which are specific to the %s. If you are not from that %s, your computer will detect that you are about to send your username and credential to an unauthorised server and will abort the login. Using a different %s installer is <i>guaranteed to not work</i>!"), $skinObject->nomenclature_inst, $skinObject->nomenclature_inst, $skinObject->nomenclature_inst) |
|
16 | 16 | ]); |
17 | 17 | |
18 | 18 | array_push($FAQ, [ |
19 | - 'title' => sprintf(_("What can I do to get my %s listed?"),$skinObject->nomenclature_inst), |
|
19 | + 'title' => sprintf(_("What can I do to get my %s listed?"), $skinObject->nomenclature_inst), |
|
20 | 20 | 'text' => sprintf(_("Contact %s administrators at your %s and complain. It will take at most one hour of their time to get things done."), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], $skinObject->nomenclature_inst) |
21 | 21 | ]); |
22 | 22 | |
@@ -32,14 +32,14 @@ discard block |
||
32 | 32 | |
33 | 33 | if (CONFIG_CONFASSISTANT['CONSORTIUM']['name'] == "eduroam") { |
34 | 34 | array_push($FAQ, [ |
35 | - 'title' => sprintf(_("What is this %s thing anyway?"),CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']), |
|
36 | - 'text' => sprintf(_("%s is a global WiFi roaming consortium which gives members of education and research access to the internet <i>for free</i> on all %s hotspots on the planet. There are several million %s users already, enjoying free internet access on more than 6.000 hotspots! Visit <a href='http://www.eduroam.org'>the %s homepage</a> for more details."),CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'],CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'],CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'],CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']) |
|
35 | + 'title' => sprintf(_("What is this %s thing anyway?"), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']), |
|
36 | + 'text' => sprintf(_("%s is a global WiFi roaming consortium which gives members of education and research access to the internet <i>for free</i> on all %s hotspots on the planet. There are several million %s users already, enjoying free internet access on more than 6.000 hotspots! Visit <a href='http://www.eduroam.org'>the %s homepage</a> for more details."), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']) |
|
37 | 37 | ]); |
38 | 38 | } |
39 | 39 | |
40 | 40 | array_push($FAQ, [ |
41 | 41 | 'title' => sprintf(_("Is it safe to use %s installers?"), CONFIG['APPEARANCE']['productname']), |
42 | - 'text' => sprintf(_("%s installers configure security settings on your device, therefore you should be sure that you are using genuine ones."), CONFIG['APPEARANCE']['productname']) . ' ' . ( isset(CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) && CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'] != "" ? sprintf(_("This is why %s installers are digitally signed by %s. Watch out for a system message confirming this."), CONFIG['APPEARANCE']['productname'], CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) : ""), |
|
42 | + 'text' => sprintf(_("%s installers configure security settings on your device, therefore you should be sure that you are using genuine ones."), CONFIG['APPEARANCE']['productname']) . ' ' . (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) && CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'] != "" ? sprintf(_("This is why %s installers are digitally signed by %s. Watch out for a system message confirming this."), CONFIG['APPEARANCE']['productname'], CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) : ""), |
|
43 | 43 | ]); |
44 | 44 | |
45 | 45 | array_push($FAQ, [ |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $federation = CONFIG_CONFASSISTANT['CONSORTIUM']['selfservice_registration']; |
60 | 60 | break; |
61 | 61 | default: |
62 | - $token = $validator->token(filter_input(INPUT_GET,'token',FILTER_SANITIZE_STRING)); |
|
62 | + $token = $validator->token(filter_input(INPUT_GET, 'token', FILTER_SANITIZE_STRING)); |
|
63 | 63 | $checkval = $usermgmt->checkTokenValidity($token); |
64 | 64 | } |
65 | 65 |