@@ -157,11 +157,11 @@ |
||
157 | 157 | ]; |
158 | 158 | |
159 | 159 | /** |
160 | - * Lists the RADIUS servers. They have a built-in DB to log auth requests. |
|
161 | - * We need to query those to get auth stats for silverbullet admins |
|
162 | - * |
|
163 | - * @var array |
|
164 | - */ |
|
160 | + * Lists the RADIUS servers. They have a built-in DB to log auth requests. |
|
161 | + * We need to query those to get auth stats for silverbullet admins |
|
162 | + * |
|
163 | + * @var array |
|
164 | + */ |
|
165 | 165 | const DB = [ |
166 | 166 | // names don't matter - the source code will iterate through |
167 | 167 | // all entries |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | if ($this->allReachabilityResults['realm'][0]->realm) { |
127 | 127 | $this->realm = $this->allReachabilityResults['realm'][0]->realm; |
128 | 128 | foreach ($this->allReachabilityResults['realm'][0]->totest as $totest) { |
129 | - $this->hostMap[$totest->host] = $totest->bracketaddr; |
|
129 | + $this->hostMap[$totest->host] = $totest->bracketaddr; |
|
130 | 130 | } |
131 | 131 | $this->rfc7585suite = unserialize($this->allReachabilityResults['realm'][0]->rfc7585suite); |
132 | 132 | $this->srv = $this->allReachabilityResults['realm'][0]->srv; |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | } else { |
460 | 460 | if (property_exists($certificate, 'reason') && $certificate->reason == \core\diag\RADIUSTests::CERTPROB_UNKNOWN_CA) { |
461 | 461 | $add = '<br>' . _('You should update your list of accredited CAs') . |
462 | - ' <a href=\"' . \config\Diagnostics::RADIUSTESTS['accreditedCAsURL'] . '\">' . |
|
462 | + ' <a href=\"' . \config\Diagnostics::RADIUSTESTS['accreditedCAsURL'] . '\">' . |
|
463 | 463 | _('Get it from here.') . '</a>'; |
464 | 464 | } |
465 | 465 | $state = _('Server did not accept this client certificate - reason') . ': ' . |
@@ -470,8 +470,8 @@ discard block |
||
470 | 470 | $level = \core\common\Entity::L_WARN; |
471 | 471 | $state = _('Server accepted this client certificate, but should not have'); |
472 | 472 | } else { |
473 | - $level = \core\common\Entity::L_OK; |
|
474 | - $state = _('Server did not accept this client certificate') . ': ' . $certificate->resultcomment; |
|
473 | + $level = \core\common\Entity::L_OK; |
|
474 | + $state = _('Server did not accept this client certificate') . ': ' . $certificate->resultcomment; |
|
475 | 475 | } |
476 | 476 | } |
477 | 477 | $cliinfo .= '<li><table><tbody><tr><td class="icon_td"><img class="icon" src="' . $this->stateIcons[$level] . '" style="width: 24px;"></td><td>' . $state; |
@@ -488,7 +488,7 @@ discard block |
||
488 | 488 | if ($srefused > 0) { |
489 | 489 | $cliinfo = _('Connection refused'); |
490 | 490 | $clientstest[] = "<table><tr><td class='icon_td' id='srcclient" . $hostindex . "_img'><img src='" . $this->stateIcons[\core\common\Entity::L_ERROR] . "'></td>" . |
491 | - "<td id='srcclient$hostindex'><p>$cliinfo</p></td></tr></table>"; |
|
491 | + "<td id='srcclient$hostindex'><p>$cliinfo</p></td></tr></table>"; |
|
492 | 492 | } else { |
493 | 493 | $clientstest[] = "<p>$cliinfo</p>"; |
494 | 494 | } |