@@ -350,17 +350,17 @@ discard block |
||
| 350 | 350 | } |
| 351 | 351 | echo "<td style='vertical-align:top;' class='inst_td'> |
| 352 | 352 | <input type='hidden' name='inst' value='" |
| 353 | - . $index."'>" |
|
| 354 | - . "<span style='display:none' class='inst_name'>".$my_idp."</span>" |
|
| 355 | - . "<span>". $idp_instance->name."</span>" |
|
| 356 | - . " (<a href='overview_org.php?inst_id=" |
|
| 357 | - . $idp_instance->identifier."'>" |
|
| 358 | - . (in_array($index, $userIdps) ? _("manage") : _("view")) |
|
| 359 | - . "</a>)" |
|
| 360 | - . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>" ) |
|
| 361 | - . implode("</li><li>", $listOfSilverbulletRealms) |
|
| 362 | - . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>" ) |
|
| 363 | - . "</td>"; |
|
| 353 | + . $index."'>" |
|
| 354 | + . "<span style='display:none' class='inst_name'>".$my_idp."</span>" |
|
| 355 | + . "<span>". $idp_instance->name."</span>" |
|
| 356 | + . " (<a href='overview_org.php?inst_id=" |
|
| 357 | + . $idp_instance->identifier."'>" |
|
| 358 | + . (in_array($index, $userIdps) ? _("manage") : _("view")) |
|
| 359 | + . "</a>)" |
|
| 360 | + . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>" ) |
|
| 361 | + . implode("</li><li>", $listOfSilverbulletRealms) |
|
| 362 | + . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>" ) |
|
| 363 | + . "</td>"; |
|
| 364 | 364 | // deployment status; need to dive into profiles for this |
| 365 | 365 | // show happy eyeballs if at least one profile is configured/showtime |
| 366 | 366 | echo "<td>"; |
@@ -454,8 +454,8 @@ discard block |
||
| 454 | 454 | echo "<form method='post' action='overview_federation.php' accept-charset='UTF-8'> |
| 455 | 455 | <input type='hidden' name='invitation_id' value='".$oneinvite['token']."'/> |
| 456 | 456 | <button class='delete' type='submit' name='submitbutton' value='".web\lib\common\FormElements::BUTTON_DELETE."'>"._("Revoke Invitation")."</button> " |
| 457 | - . sprintf(_("(expires %s)"), $oneinvite['expiry']) |
|
| 458 | - . "</form>"; |
|
| 457 | + . sprintf(_("(expires %s)"), $oneinvite['expiry']) |
|
| 458 | + . "</form>"; |
|
| 459 | 459 | } |
| 460 | 460 | echo " </td>"; |
| 461 | 461 | echo " </tr>"; |
@@ -299,8 +299,8 @@ discard block |
||
| 299 | 299 | $thefed = new \core\Federation($fedId); |
| 300 | 300 | /// nomenclature for 'federation', federation name, nomenclature for 'inst' |
| 301 | 301 | echo "<tr><td colspan='9'><strong>".sprintf(_("The following %s are in your %s %s:"), $uiElements->nomenclatureParticipant, $uiElements->nomenclatureFed, '<span style="color:green">'.$thefed->name.'</span>')."</strong></td></tr>"; |
| 302 | - echo "<tr><td colspan='4'><strong>". _("Quick search:")." </strong><input style='background:#eeeeee;' type='text' id='qsearch_".$fedId."'></td>"; |
|
| 303 | - echo "<td colspan='6' style='border-bottom-style: dotted;border-bottom-width: 1px;'><input type='checkbox' name='unlinked' id='unlinked_ck_".$fedId."'> ". _("Only not linked"). "</td>"; |
|
| 302 | + echo "<tr><td colspan='4'><strong>"._("Quick search:")." </strong><input style='background:#eeeeee;' type='text' id='qsearch_".$fedId."'></td>"; |
|
| 303 | + echo "<td colspan='6' style='border-bottom-style: dotted;border-bottom-width: 1px;'><input type='checkbox' name='unlinked' id='unlinked_ck_".$fedId."'> "._("Only not linked")."</td>"; |
|
| 304 | 304 | echo "</tr>"; |
| 305 | 305 | // extract only pending invitations for *this* fed |
| 306 | 306 | $display_pendings = FALSE; |
@@ -352,14 +352,14 @@ discard block |
||
| 352 | 352 | <input type='hidden' name='inst' value='" |
| 353 | 353 | . $index."'>" |
| 354 | 354 | . "<span style='display:none' class='inst_name'>".$my_idp."</span>" |
| 355 | - . "<span>". $idp_instance->name."</span>" |
|
| 355 | + . "<span>".$idp_instance->name."</span>" |
|
| 356 | 356 | . " (<a href='overview_org.php?inst_id=" |
| 357 | 357 | . $idp_instance->identifier."'>" |
| 358 | 358 | . (in_array($index, $userIdps) ? _("manage") : _("view")) |
| 359 | 359 | . "</a>)" |
| 360 | - . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>" ) |
|
| 360 | + . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>") |
|
| 361 | 361 | . implode("</li><li>", $listOfSilverbulletRealms) |
| 362 | - . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>" ) |
|
| 362 | + . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>") |
|
| 363 | 363 | . "</td>"; |
| 364 | 364 | // deployment status; need to dive into profiles for this |
| 365 | 365 | // show happy eyeballs if at least one profile is configured/showtime |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | * License: see the web/copyright.php file in the file structure |
| 9 | 9 | * ****************************************************************************** |
| 10 | 10 | */ |
| 11 | -require_once dirname(dirname(__FILE__)) . "/config/_config.php"; |
|
| 11 | +require_once dirname(dirname(__FILE__))."/config/_config.php"; |
|
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * The sctipt will be called from crontab |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | |
| 31 | -while ( $row = mysqli_fetch_object(/** @scrutinizer ignore-type */ $allOpenRoamingProfiles)) { |
|
| 31 | +while ($row = mysqli_fetch_object(/** @scrutinizer ignore-type */ $allOpenRoamingProfiles)) { |
|
| 32 | 32 | $profileId = $row->profile_id; |
| 33 | 33 | print "$profileId\n"; |
| 34 | 34 | $profile = \core\ProfileFactory::instantiate($profileId); |