@@ -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']); |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | " . $Tou['title'] . " |
| 52 | 52 | </h1> |
| 53 | 53 | <div id='tou_1'>" . $Tou['subtitle'] . |
| 54 | - '<div style="direction:ltr">' . $Tou['short'] . "</div> |
|
| 54 | + '<div style="direction:ltr">' . $Tou['short'] . "</div> |
|
| 55 | 55 | </div> |
| 56 | 56 | <div id='all_tou_link'><a href='javascript:showTOU()'>Click here to see the full terms</a></div> |
| 57 | 57 | <div id='tou_2' style='display:none; padding-top:20px; direction:ltr'>" . |
@@ -278,7 +278,7 @@ |
||
| 278 | 278 | <tr> |
| 279 | 279 | <td>" . |
| 280 | 280 | $cat->catVersion |
| 281 | - ." |
|
| 281 | + ." |
|
| 282 | 282 | </td>"; |
| 283 | 283 | |
| 284 | 284 | if (!empty(\config\Master::APPEARANCE['privacy_notice_url'])) { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | public function divSilverbullet() { |
| 125 | 125 | $retval = " |
| 126 | 126 | <div id='silverbullet'>" |
| 127 | - .$this->Gui->textTemplates->templates[user\SB_GO_AWAY] . |
|
| 127 | + .$this->Gui->textTemplates->templates[user\SB_GO_AWAY] . |
|
| 128 | 128 | "</div> |
| 129 | 129 | "; |
| 130 | 130 | return $retval; |
@@ -293,8 +293,8 @@ discard block |
||
| 293 | 293 | } |
| 294 | 294 | |
| 295 | 295 | $retval .= "<td><button name='$d' class='other_os' id='$d'>".$D['display']."</button>" |
| 296 | - ."</td>" |
|
| 297 | - ."<td><button name='$d' class='more_info_b' id='info_b_$d'>i</button></td></tr>\n"; |
|
| 296 | + ."</td>" |
|
| 297 | + ."<td><button name='$d' class='more_info_b' id='info_b_$d'>i</button></td></tr>\n"; |
|
| 298 | 298 | $deviceIndex++; |
| 299 | 299 | } |
| 300 | 300 | $retval .= "</tbody>"; |
@@ -341,11 +341,11 @@ discard block |
||
| 341 | 341 | <tr> |
| 342 | 342 | <td>" . |
| 343 | 343 | $this->Gui->catVersion |
| 344 | - ." |
|
| 344 | + ." |
|
| 345 | 345 | </td>"; |
| 346 | 346 | |
| 347 | 347 | if (!empty(\config\Master::APPEARANCE['privacy_notice_url'])) { |
| 348 | - $retval .= "<td>".$this->Gui->catCopyrifhtAndLicense."<br><span id='privacy_notice_cons'>".\config\ConfAssistant::CONSORTIUM['display_name']."</span> <a href='".\config\Master::APPEARANCE['privacy_notice_url']."'>".sprintf(_("%s Privacy Notice"), '')."</a></td>"; |
|
| 348 | + $retval .= "<td>".$this->Gui->catCopyrifhtAndLicense."<br><span id='privacy_notice_cons'>".\config\ConfAssistant::CONSORTIUM['display_name']."</span> <a href='".\config\Master::APPEARANCE['privacy_notice_url']."'>".sprintf(_("%s Privacy Notice"), '')."</a></td>"; |
|
| 349 | 349 | } |
| 350 | 350 | $retval .= "<td>"; |
| 351 | 351 | if (\config\ConfAssistant::CONSORTIUM['name'] == "eduroam" && isset(\config\ConfAssistant::CONSORTIUM['deployment-voodoo']) && \config\ConfAssistant::CONSORTIUM['deployment-voodoo'] == "Operations Team") { |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | } |
| 219 | 219 | } |
| 220 | 220 | } |
| 221 | - break; |
|
| 221 | + break; |
|
| 222 | 222 | default: |
| 223 | 223 | break; |
| 224 | 224 | } |
@@ -150,7 +150,6 @@ discard block |
||
| 150 | 150 | * mails, just configure the signing cert with these parameters. All must |
| 151 | 151 | * be non-NULL for signing to happen. If you don't need a keypass, make |
| 152 | 152 | * it an empty string instead. |
| 153 | - |
|
| 154 | 153 | * @var array |
| 155 | 154 | */ |
| 156 | 155 | const MAILSETTINGS = [// we always use Submission |
@@ -163,8 +162,8 @@ discard block |
||
| 163 | 162 | 'keyfilename' => NULL, |
| 164 | 163 | 'keypass' => NULL, |
| 165 | 164 | 'notify_nro' => false, // normally should be set to TRUE abd causes |
| 166 | - // notifications being sent to NRO admins when |
|
| 167 | - // important changes are made |
|
| 165 | + // notifications being sent to NRO admins when |
|
| 166 | + // important changes are made |
|
| 168 | 167 | ]; |
| 169 | 168 | /** |
| 170 | 169 | * List of all supported languages in CAT. Comment some if you want to disable them |
@@ -454,7 +454,7 @@ discard block |
||
| 454 | 454 | $result = $this->databaseHandle->exec($query); |
| 455 | 455 | $rows = $result->fetch_all(); |
| 456 | 456 | foreach ($rows as $row) { |
| 457 | - $activeProfiles[] = $row[0]; |
|
| 457 | + $activeProfiles[] = $row[0]; |
|
| 458 | 458 | } |
| 459 | 459 | $query = "SELECT institution.inst_id AS inst_id, profile.profile_id AS profile_id, profile_option.option_value AS cert FROM profile_option JOIN profile ON profile_option.profile_id=profile.profile_id JOIN institution ON profile.inst_id=institution.inst_id WHERE profile_option.option_name='eap:ca_file' and institution.country='".$this->tld."'"; |
| 460 | 460 | $result = $this->databaseHandle->exec($query); |
@@ -531,7 +531,7 @@ discard block |
||
| 531 | 531 | 'country' => strtoupper($idp->federation), |
| 532 | 532 | 'instance' => $idp, |
| 533 | 533 | 'realms' => $idpQuery->realms] |
| 534 | - ; |
|
| 534 | + ; |
|
| 535 | 535 | $returnarray[$idp->identifier] = $idpInfo; |
| 536 | 536 | } |
| 537 | 537 | if ($activeOnly != 0) { // we're only doing this once. |
@@ -578,9 +578,9 @@ discard block |
||
| 578 | 578 | $naptr = $rfc7585suite->relevantNAPTR(); |
| 579 | 579 | if ($naptr == \core\diag\RADIUSTests::RETVAL_NOTCONFIGURED) { |
| 580 | 580 | if ($dynType == "") { |
| 581 | - echo "<tr><td>" . _("Dynamic discovery test is not configured") . "</td><td>"; |
|
| 581 | + echo "<tr><td>" . _("Dynamic discovery test is not configured") . "</td><td>"; |
|
| 582 | 582 | } else { |
| 583 | - echo "<tr><td>" . _("OpenRoaming connectivity test is not configured") . "</td><td>"; |
|
| 583 | + echo "<tr><td>" . _("OpenRoaming connectivity test is not configured") . "</td><td>"; |
|
| 584 | 584 | } |
| 585 | 585 | } else { |
| 586 | 586 | echo "<table>"; |
@@ -698,7 +698,7 @@ discard block |
||
| 698 | 698 | echo "} |
| 699 | 699 | </script>"; |
| 700 | 700 | } else { |
| 701 | - echo ' |
|
| 701 | + echo ' |
|
| 702 | 702 | function run_openroaming() { |
| 703 | 703 | running_ajax_openroaming = 0; |
| 704 | 704 | $("#main_openroaming_ico").attr("src",icon_loading); |
@@ -720,10 +720,10 @@ discard block |
||
| 720 | 720 | } |
| 721 | 721 | } |
| 722 | 722 | if ($dynType == '') { |
| 723 | - $naptrs[0] = $naptr; |
|
| 724 | - } else { |
|
| 725 | - $naptrs[1] = $naptr; |
|
| 726 | - } |
|
| 723 | + $naptrs[0] = $naptr; |
|
| 724 | + } else { |
|
| 725 | + $naptrs[1] = $naptr; |
|
| 726 | + } |
|
| 727 | 727 | } |
| 728 | 728 | echo "<strong>" . _("Static connectivity tests") . "</strong> |
| 729 | 729 | <table><tr> |
@@ -736,7 +736,7 @@ discard block |
||
| 736 | 736 | </tr></table>"; |
| 737 | 737 | } |
| 738 | 738 | if (isset($orrealm) && count($orrealm) && ($naptrs[1] > 0)) { |
| 739 | - echo "<hr><strong>" . _("OpenRoaming connectivity tests") . "</strong> |
|
| 739 | + echo "<hr><strong>" . _("OpenRoaming connectivity tests") . "</strong> |
|
| 740 | 740 | <table><tr> |
| 741 | 741 | <td class='icon_td'><img src='../resources/images/icons/loading51.gif' id='main_openroaming_ico' class='icon'></td><td id='main_openroaming_result' style='display:none'> </td> |
| 742 | 742 | </tr></table>"; |
@@ -774,12 +774,12 @@ discard block |
||
| 774 | 774 | <?php |
| 775 | 775 | for ($i=3; $i<5; $i++) { |
| 776 | 776 | if ($i == 3 && $naptrs[0] <= 0) { |
| 777 | - continue; |
|
| 777 | + continue; |
|
| 778 | 778 | } |
| 779 | 779 | if ($i == 4) { |
| 780 | - if ((count($orrealm) == 0) || ($naptrs[1] <= 0)) { |
|
| 781 | - continue; |
|
| 782 | - } |
|
| 780 | + if ((count($orrealm) == 0) || ($naptrs[1] <= 0)) { |
|
| 781 | + continue; |
|
| 782 | + } |
|
| 783 | 783 | } |
| 784 | 784 | if ($i == 3) { |
| 785 | 785 | $rfc7585suite = $dnsChecks; |
@@ -796,16 +796,16 @@ discard block |
||
| 796 | 796 | echo "_tests'><fieldset class='option_container'> |
| 797 | 797 | <legend><strong>"; |
| 798 | 798 | if ($i==3) { |
| 799 | - echo _("DYNAMIC connectivity tests"); |
|
| 799 | + echo _("DYNAMIC connectivity tests"); |
|
| 800 | 800 | } else { |
| 801 | - echo _("OpenRoaming connectivity tests"); |
|
| 801 | + echo _("OpenRoaming connectivity tests"); |
|
| 802 | 802 | } |
| 803 | 803 | echo "</strong></legend>"; |
| 804 | 804 | $prefix1 = 'dynamic'; |
| 805 | 805 | $prefix2 = ''; |
| 806 | 806 | if ($i == 4) { |
| 807 | - $prefix1 = 'openroaming'; |
|
| 808 | - $prefix2 = $prefix1; |
|
| 807 | + $prefix1 = 'openroaming'; |
|
| 808 | + $prefix2 = $prefix1; |
|
| 809 | 809 | } |
| 810 | 810 | $resultstoprint = []; |
| 811 | 811 | if (count($rfc7585suite->NAPTR_hostname_records) > 0) { |
@@ -424,17 +424,17 @@ discard block |
||
| 424 | 424 | } |
| 425 | 425 | echo "<td class='inst_td'> |
| 426 | 426 | <input type='hidden' name='inst' value='" |
| 427 | - . $index."'>" |
|
| 428 | - . "<span style='display:none' class='inst_name'>".$my_idp."</span>" |
|
| 429 | - . "<span>". $idp_instance->name."</span>" |
|
| 430 | - . " (<a href='overview_org.php?inst_id=" |
|
| 431 | - . $idp_instance->identifier."'>" |
|
| 432 | - . (in_array($index, $userIdps) ? _("manage") : _("view")) |
|
| 433 | - . "</a>)" |
|
| 434 | - . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>" ) |
|
| 435 | - . implode("</li><li>", $listOfSilverbulletRealms) |
|
| 436 | - . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>" ) |
|
| 437 | - . "</td>"; |
|
| 427 | + . $index."'>" |
|
| 428 | + . "<span style='display:none' class='inst_name'>".$my_idp."</span>" |
|
| 429 | + . "<span>". $idp_instance->name."</span>" |
|
| 430 | + . " (<a href='overview_org.php?inst_id=" |
|
| 431 | + . $idp_instance->identifier."'>" |
|
| 432 | + . (in_array($index, $userIdps) ? _("manage") : _("view")) |
|
| 433 | + . "</a>)" |
|
| 434 | + . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>" ) |
|
| 435 | + . implode("</li><li>", $listOfSilverbulletRealms) |
|
| 436 | + . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>" ) |
|
| 437 | + . "</td>"; |
|
| 438 | 438 | // deployment status; need to dive into profiles for this |
| 439 | 439 | // show happy eyeballs if at least one profile is configured/showtime |
| 440 | 440 | echo "<td>$profileIcon</td>"; |
@@ -489,8 +489,8 @@ discard block |
||
| 489 | 489 | echo "<form method='post' action='overview_federation.php' accept-charset='UTF-8'> |
| 490 | 490 | <input type='hidden' name='invitation_id' value='".$oneinvite['token']."'/> |
| 491 | 491 | <button class='delete' type='submit' name='submitbutton' value='".web\lib\common\FormElements::BUTTON_DELETE."'>"._("Revoke Invitation")."</button> " |
| 492 | - . sprintf(_("(expires %s)"), $oneinvite['expiry']) |
|
| 493 | - . "</form>"; |
|
| 492 | + . sprintf(_("(expires %s)"), $oneinvite['expiry']) |
|
| 493 | + . "</form>"; |
|
| 494 | 494 | } |
| 495 | 495 | echo " </td>"; |
| 496 | 496 | echo " </tr>"; |