Passed
Push — master ( 484f87...7b874f )
by Tomasz
04:46 queued 01:00
created
devices/ms/WindowsCommon.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
     public function __construct() {
92 92
         parent::__construct();
93
-        $this->useGeantLink = (isset($this->options['args']) && $this->options['args'] == 'gl' ) ? 1 : 0;
93
+        $this->useGeantLink = (isset($this->options['args']) && $this->options['args'] == 'gl') ? 1 : 0;
94 94
     }
95 95
 
96 96
     protected function prepareInstallerLang() {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
             } else {
116 116
                 $out .= sprintf(_("In addition to <strong>%s</strong> the installer will also configure access to:"), implode(', ', CONFIG_CONFASSISTANT['CONSORTIUM']['ssid'])) . " ";
117 117
             }
118
-            $out .= '<strong>' . join ('</strong>, <strong>', array_diff(array_keys($this->attributes['internal:SSID']), CONFIG_CONFASSISTANT['CONSORTIUM']['ssid'])) . '</strong>';
118
+            $out .= '<strong>' . join('</strong>, <strong>', array_diff(array_keys($this->attributes['internal:SSID']), CONFIG_CONFASSISTANT['CONSORTIUM']['ssid'])) . '</strong>';
119 119
             $out .= "<p>";
120 120
         }
121 121
 // TODO - change this below
@@ -126,13 +126,13 @@  discard block
 block discarded – undo
126 126
         // not EAP-TLS
127 127
         $out .= sprintf(_("In order to connect to the network you will need an account from your %s. You should consult the support page to find out how this account can be obtained. It is very likely that your account is already activated."), $this->nomenclature_inst);
128 128
 
129
-        if (! $this->useGeantLink && ( $this->selectedEap == \core\common\EAP::EAPTYPE_TTLS_MSCHAP2 || $this->selectedEap == \core\common\EAP::EAPTYPE_TTLS_PAP )) {
129
+        if (!$this->useGeantLink && ($this->selectedEap == \core\common\EAP::EAPTYPE_TTLS_MSCHAP2 || $this->selectedEap == \core\common\EAP::EAPTYPE_TTLS_PAP)) {
130 130
             $out .= "<p>";
131 131
             $out .= _("When you are connecting to the network for the first time, Windows will pop up a login box, where you should enter your user name and password. This information will be saved so that you will reconnect to the network automatically each time you are in the range.");
132 132
             if ($ssidCount > 1) {
133 133
                 $out .= "<p>";
134 134
                 $out .= _("You will be required to enter the same credentials for each of the configured notworks:") . " ";
135
-                $out .= '<strong>' . join ('</strong>, <strong>', array_keys($this->attributes['internal:SSID'])) . '</strong>';
135
+                $out .= '<strong>' . join('</strong>, <strong>', array_keys($this->attributes['internal:SSID'])) . '</strong>';
136 136
             }
137 137
         }
138 138
         return($out);
Please login to merge, or discard this patch.