@@ -2,12 +2,12 @@ |
||
2 | 2 | define('SOCKET', '/opt/Socket/CAT_requests/queue'); |
3 | 3 | |
4 | 4 | function cat_socket($obj) { |
5 | - $sock = socket_create(AF_UNIX, SOCK_STREAM, 0); |
|
6 | - $conn = socket_connect($sock, SOCKET); |
|
7 | - if ( $conn ) { |
|
8 | - socket_write ($sock, $obj, strlen($obj)); |
|
9 | - $out = socket_read ($sock, 2048); |
|
10 | - return $out; |
|
11 | - } |
|
12 | - return 'FAILURE'; |
|
5 | + $sock = socket_create(AF_UNIX, SOCK_STREAM, 0); |
|
6 | + $conn = socket_connect($sock, SOCKET); |
|
7 | + if ( $conn ) { |
|
8 | + socket_write ($sock, $obj, strlen($obj)); |
|
9 | + $out = socket_read ($sock, 2048); |
|
10 | + return $out; |
|
11 | + } |
|
12 | + return 'FAILURE'; |
|
13 | 13 | } |
@@ -654,7 +654,7 @@ |
||
654 | 654 | </button> |
655 | 655 | <span style='color: red;'> |
656 | 656 | <?php if ($hasMail == 0) { |
657 | - echo _("Helpdesk mail address is required but missing!"); |
|
657 | + echo _("Helpdesk mail address is required but missing!"); |
|
658 | 658 | } |
659 | 659 | ?> |
660 | 660 | </span> |
@@ -159,7 +159,7 @@ |
||
159 | 159 | echo "0\">"; |
160 | 160 | echo _("This service is for authenticated admins only.") . '<br>'; |
161 | 161 | echo "<a href=\"diag.php?admin=1\">" . |
162 | - _("eduroam® admin access is needed") . "</a>"; |
|
162 | + _("eduroam® admin access is needed") . "</a>"; |
|
163 | 163 | } |
164 | 164 | ?> |
165 | 165 | <div id="realm_problem"> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * License: see the web/copyright.inc.php file in the file structure or |
20 | 20 | * <base_url>/copyright.php after deploying the software |
21 | 21 | */ |
22 | - ?> |
|
22 | + ?> |
|
23 | 23 | <?php |
24 | 24 | $Gui = new \web\lib\user\Gui(); |
25 | 25 | $Gui->languageInstance->setTextDomain("diagnostics"); |
@@ -326,9 +326,9 @@ |
||
326 | 326 | $otherTlsName = \core\common\Entity::getAttributeValue($this->attributes, 'eap-specific:tls_use_other_id', 0) === 'on' ? 'true' : 'false'; |
327 | 327 | if (isset(\core\common\Entity::getAttributeValue($this->attributes, 'device-specific:geantlink', $this->device_id)[0]) && |
328 | 328 | \core\common\Entity::getAttributeValue($this->attributes, 'device-specific:geantlink', $this->device_id)[0] === 'on') { |
329 | - $this->useGeantLink = true; |
|
329 | + $this->useGeantLink = true; |
|
330 | 330 | } else { |
331 | - $this->useGeantLink = false; |
|
331 | + $this->useGeantLink = false; |
|
332 | 332 | } |
333 | 333 | $eapConfig = $this->setEapObject(); |
334 | 334 | $eapConfig->setInnerType($this->selectedEap['INNER']); |
@@ -189,8 +189,7 @@ |
||
189 | 189 | foreach ($allIdPs as $id => $name) { |
190 | 190 | echo '<option value="' . $id . '">' . $name . "</option>"; |
191 | 191 | } |
192 | - |
|
193 | - **/ |
|
192 | + **/ |
|
194 | 193 | ?> |
195 | 194 | </select> |
196 | 195 | <br/> |