Test Setup Failed
Push — master ( ef17d7...93e929 )
by Tomasz
10:27
created
web/admin/overview_federation.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     <?php
110 110
     foreach ($cat->printCountryList(1) as $country => $name) {
111 111
         $selected = '';
112
-        if ($country == strtoupper($fed_id) ) {
112
+        if ($country == strtoupper($fed_id)) {
113 113
             $selected = 'selected';
114 114
         }
115 115
     echo "<option value='$country' $selected>$name</option>\n";
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
                 ?>
183 183
             </table>
184 184
         </div>
185
-        <?php if(\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') { ?>
185
+        <?php if (\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') { ?>
186 186
         <div class='infobox'>
187 187
             <h2>
188 188
                 <?php $tablecaption3 = sprintf(_("%s Statistics: %s"), $uiElements->nomenclatureFed, $thefed->name); echo $tablecaption3; ?>
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
             ?>
324 324
         <tr>
325 325
             <th scope='col'><?php echo sprintf(_("%s Name"), $uiElements->nomenclatureParticipant); ?></th>
326
-            <?php if(\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') { ?>
326
+            <?php if (\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') { ?>
327 327
             <th scope='col'><?php echo _("Status") ?></th>
328 328
             <th scope='col'><?php echo $OpenRoamingSymbol ?></th>
329 329
             <th scope='col'><?php echo _("Cert"); ?></th>
@@ -346,8 +346,8 @@  discard block
 block discarded – undo
346 346
         <?php
347 347
             /// nomenclature for 'federation', federation name, nomenclature for 'inst'
348 348
             echo "<tbody class='fedlist'>";
349
-            echo "<tr><td colspan='1'><strong>". _("Quick search:")." </strong><input style='background:#eeeeee;' type='text' id='qsearch_".$fedId."'></td>";
350
-            if(\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') {
349
+            echo "<tr><td colspan='1'><strong>"._("Quick search:")." </strong><input style='background:#eeeeee;' type='text' id='qsearch_".$fedId."'></td>";
350
+            if (\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') {
351 351
                 echo "<td style='border-bottom-style: dotted;border-bottom-width: 1px;'><input type='checkbox' name='profilecheck' id='profile_ck_".$fedId."'></td>";
352 352
                 echo "<td style='border-bottom-style: dotted;border-bottom-width: 1px;'><input type='checkbox' name='orcheck' id='or_ck_".$fedId."'></td>";
353 353
                 echo "<td style='border-bottom-style: dotted;border-bottom-width: 1px;'><input type='checkbox' name='brokencert' id='brokencert_ck_".$fedId."'></td>";
@@ -465,18 +465,18 @@  discard block
 block discarded – undo
465 465
                          <input type='hidden' name='inst' value='" 
466 466
                        . $index."'>"
467 467
                        . "<span style='display:none' class='inst_name'>".$my_idp."</span>"
468
-                       . "<span>". $idp_instance->name."</span>"
468
+                       . "<span>".$idp_instance->name."</span>"
469 469
                        . " (<a href='overview_org.php?inst_id="
470 470
                        . $idp_instance->identifier."'>" 
471 471
                        . (in_array($index, $userIdps) ? _("manage") : _("view"))
472 472
                        . "</a>)"
473
-                       . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>" ) 
473
+                       . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>") 
474 474
                        . implode("</li><li>", $listOfSilverbulletRealms) 
475
-                       . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>" )
475
+                       . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>")
476 476
                        . "</td>";
477 477
                 // deployment status; need to dive into profiles for this
478 478
                 // show happy eyeballs if at least one profile is configured/showtime     
479
-                if(\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') {
479
+                if (\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') {
480 480
                     echo  "<td>$profileIcon</td>";
481 481
                     echo "<td style='text-align: center'>$orIcon</td>";
482 482
                     echo "<td>$certIcon</td>";
Please login to merge, or discard this patch.