@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * <base_url>/copyright.php after deploying the software |
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | -require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
| 22 | +require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
| 23 | 23 | |
| 24 | 24 | $deco = new \web\lib\admin\PageDecoration(); |
| 25 | 25 | $uiElements = new web\lib\admin\UIElements(); |
@@ -50,16 +50,16 @@ discard block |
||
| 50 | 50 | <div class="infobox"> |
| 51 | 51 | <h2><?php $tablecaption = _("Your Personal Information"); echo $tablecaption; ?></h2> |
| 52 | 52 | <table> |
| 53 | - <caption><?php echo $tablecaption;?></caption> |
|
| 53 | + <caption><?php echo $tablecaption; ?></caption> |
|
| 54 | 54 | <tr> |
| 55 | - <th class="wai-invisible" scope="col"><?php echo _("Property Type");?></th> |
|
| 56 | - <th class="wai-invisible" scope="col"><?php echo _("Language if applicable");?></th> |
|
| 57 | - <th class="wai-invisible" scope="col"><?php echo _("Property Value");?></th> |
|
| 55 | + <th class="wai-invisible" scope="col"><?php echo _("Property Type"); ?></th> |
|
| 56 | + <th class="wai-invisible" scope="col"><?php echo _("Language if applicable"); ?></th> |
|
| 57 | + <th class="wai-invisible" scope="col"><?php echo _("Property Value"); ?></th> |
|
| 58 | 58 | </tr> |
| 59 | 59 | <?php echo $uiElements->infoblock($user->getAttributes(), "user", "User"); ?> |
| 60 | 60 | <tr> |
| 61 | 61 | <td> |
| 62 | - <?php echo "" . _("Unique Identifier") ?> |
|
| 62 | + <?php echo ""._("Unique Identifier") ?> |
|
| 63 | 63 | </td> |
| 64 | 64 | <td> |
| 65 | 65 | </td> |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | $mgmt = new \core\UserManagement(); |
| 75 | 75 | |
| 76 | 76 | if (!$user->isFederationAdmin()) { |
| 77 | - echo "<p>" . sprintf(_("You are not a %s manager."), $uiElements->nomenclatureFed) . "</p>"; |
|
| 77 | + echo "<p>".sprintf(_("You are not a %s manager."), $uiElements->nomenclatureFed)."</p>"; |
|
| 78 | 78 | echo $deco->footer(); |
| 79 | 79 | exit(0); |
| 80 | 80 | } |
@@ -88,16 +88,16 @@ discard block |
||
| 88 | 88 | <?php $tablecaption2 = sprintf(_("%s Properties: %s"), $uiElements->nomenclatureFed, $thefed->name); echo $tablecaption2; ?> |
| 89 | 89 | </h2> |
| 90 | 90 | <table> |
| 91 | - <caption><?php echo $tablecaption2;?></caption> |
|
| 91 | + <caption><?php echo $tablecaption2; ?></caption> |
|
| 92 | 92 | <tr> |
| 93 | - <th class="wai-invisible" scope="col"><?php echo _("Property Type");?></th> |
|
| 94 | - <th class="wai-invisible" scope="col"><?php echo _("Language if applicable");?></th> |
|
| 95 | - <th class="wai-invisible" scope="col"><?php echo _("Property Value");?></th> |
|
| 93 | + <th class="wai-invisible" scope="col"><?php echo _("Property Type"); ?></th> |
|
| 94 | + <th class="wai-invisible" scope="col"><?php echo _("Language if applicable"); ?></th> |
|
| 95 | + <th class="wai-invisible" scope="col"><?php echo _("Property Value"); ?></th> |
|
| 96 | 96 | </tr> |
| 97 | 97 | <!-- fed properties --> |
| 98 | 98 | <tr> |
| 99 | 99 | <td> |
| 100 | - <?php echo "" . _("Country") ?> |
|
| 100 | + <?php echo ""._("Country") ?> |
|
| 101 | 101 | </td> |
| 102 | 102 | <td> |
| 103 | 103 | </td> |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | default: |
| 179 | 179 | throw new Exception("Error: unknown encryption status of invitation!?!"); |
| 180 | 180 | } |
| 181 | - echo $uiElements->boxRemark(ngettext("The invitation email was sent successfully.", "All invitation emails were sent successfully.", $counter) . " " . $cryptText, _("Sent successfully.")); |
|
| 181 | + echo $uiElements->boxRemark(ngettext("The invitation email was sent successfully.", "All invitation emails were sent successfully.", $counter)." ".$cryptText, _("Sent successfully.")); |
|
| 182 | 182 | break; |
| 183 | 183 | case "FAILURE": |
| 184 | 184 | echo $uiElements->boxError(_("No invitation email could be sent!"), _("Sending failure!")); |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | default: |
| 199 | 199 | throw new Exception("Error: unknown encryption status of invitation!?!"); |
| 200 | 200 | } |
| 201 | - echo $uiElements->boxWarning(sprintf(_("Some invitation emails were sent successfully (%s in total), the others failed."), $counter) . " " . $cryptText, _("Partial success.")); |
|
| 201 | + echo $uiElements->boxWarning(sprintf(_("Some invitation emails were sent successfully (%s in total), the others failed."), $counter)." ".$cryptText, _("Partial success.")); |
|
| 202 | 202 | break; |
| 203 | 203 | case "INVALIDSYNTAX": |
| 204 | 204 | echo $uiElements->boxError(_("The invitation email address was malformed, no invitation was sent!"), _("The invitation email address was malformed, no invitation was sent!")); |
@@ -214,27 +214,27 @@ discard block |
||
| 214 | 214 | } else { |
| 215 | 215 | $link = 'http://'; |
| 216 | 216 | } |
| 217 | - $link .= $_SERVER['SERVER_NAME'] . $_SERVER['SCRIPT_NAME']; |
|
| 217 | + $link .= $_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']; |
|
| 218 | 218 | $link = htmlspecialchars($link); |
| 219 | 219 | if (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_RADIUS'] == 'LOCAL' && \config\Master::FUNCTIONALITY_LOCATIONS['DIAGNOSTICS'] == 'LOCAL') { |
| 220 | 220 | echo "<table><tr> |
| 221 | - <td>" . sprintf(_("Diagnose reachability and connection parameters of any %s %s"), \config\ConfAssistant::CONSORTIUM['display_name'], $uiElements->nomenclatureInst) . "</td> |
|
| 221 | + <td>" . sprintf(_("Diagnose reachability and connection parameters of any %s %s"), \config\ConfAssistant::CONSORTIUM['display_name'], $uiElements->nomenclatureInst)."</td> |
|
| 222 | 222 | <td><form method='post' action='../diag/action_realmcheck.php' accept-charset='UTF-8'> |
| 223 | 223 | <input type='hidden' name='comefrom' id='comefrom' value='$link'/> |
| 224 | - <button id='realmcheck' style='cursor:pointer;' type='submit'>" . _("Go!") . "</button> |
|
| 224 | + <button id='realmcheck' style='cursor:pointer;' type='submit'>"._("Go!")."</button> |
|
| 225 | 225 | </form> |
| 226 | 226 | </td> |
| 227 | 227 | </tr> |
| 228 | 228 | </table>"; |
| 229 | 229 | } |
| 230 | 230 | if (\config\ConfAssistant::CONSORTIUM['name'] == 'eduroam') { |
| 231 | - $helptext = "<h3>" . sprintf(_("Need help? Refer to the <a href='%s'>%s manual</a>"), "https://wiki.geant.org/x/qJg7Bw", $uiElements->nomenclatureFed) . "</h3>"; |
|
| 231 | + $helptext = "<h3>".sprintf(_("Need help? Refer to the <a href='%s'>%s manual</a>"), "https://wiki.geant.org/x/qJg7Bw", $uiElements->nomenclatureFed)."</h3>"; |
|
| 232 | 232 | } else { |
| 233 | 233 | $helptext = ""; |
| 234 | 234 | } |
| 235 | 235 | ?> |
| 236 | 236 | <table class='user_overview' style='border:0px;'> |
| 237 | - <caption><?php echo _("Participant Details");?></caption> |
|
| 237 | + <caption><?php echo _("Participant Details"); ?></caption> |
|
| 238 | 238 | <tr> |
| 239 | 239 | <th scope='col'><?php echo _("Configured / Visible / OpenRoaming"); ?></th> |
| 240 | 240 | <th scope='col'><?php echo sprintf(_("%s Name"), $uiElements->nomenclatureInst); ?></th> |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | $pending_invites = $mgmt->listPendingInvitations(); |
| 244 | 244 | |
| 245 | 245 | if (\config\Master::DB['enforce-external-sync']) { |
| 246 | - echo "<th scope='col'>" . sprintf(_("%s Database Sync Status"), \config\ConfAssistant::CONSORTIUM['display_name']) . "</th>"; |
|
| 246 | + echo "<th scope='col'>".sprintf(_("%s Database Sync Status"), \config\ConfAssistant::CONSORTIUM['display_name'])."</th>"; |
|
| 247 | 247 | } |
| 248 | 248 | ?> |
| 249 | 249 | <th scope='col'> |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | foreach ($feds as $onefed) { |
| 259 | 259 | $thefed = new \core\Federation(strtoupper($onefed['value'])); |
| 260 | 260 | /// nomenclature for 'federation', federation name, nomenclature for 'inst' |
| 261 | - echo "<tr><td colspan='8'><strong>" . sprintf(_("The following %s are in your %s %s:"), $uiElements->nomenclatureInst, $uiElements->nomenclatureFed, '<span style="color:green">' . $thefed->name . '</span>') . "</strong></td></tr>"; |
|
| 261 | + echo "<tr><td colspan='8'><strong>".sprintf(_("The following %s are in your %s %s:"), $uiElements->nomenclatureInst, $uiElements->nomenclatureFed, '<span style="color:green">'.$thefed->name.'</span>')."</strong></td></tr>"; |
|
| 262 | 262 | |
| 263 | 263 | // extract only pending invitations for *this* fed |
| 264 | 264 | $display_pendings = FALSE; |
@@ -283,9 +283,9 @@ discard block |
||
| 283 | 283 | // deployment status; need to dive into profiles for this |
| 284 | 284 | // show happy eyeballs if at least one profile is configured/showtime |
| 285 | 285 | echo "<td>"; |
| 286 | - echo ($idp_instance->maxProfileStatus() >= \core\IdP::PROFILES_CONFIGURED ? "C" : "-" ) |
|
| 286 | + echo ($idp_instance->maxProfileStatus() >= \core\IdP::PROFILES_CONFIGURED ? "C" : "-") |
|
| 287 | 287 | . " " |
| 288 | - . ($idp_instance->maxProfileStatus() >= \core\IdP::PROFILES_SHOWTIME ? "V" : "-" ) |
|
| 288 | + . ($idp_instance->maxProfileStatus() >= \core\IdP::PROFILES_SHOWTIME ? "V" : "-") |
|
| 289 | 289 | . " " |
| 290 | 290 | . "<span style='color:"; |
| 291 | 291 | switch ($idp_instance->maxOpenRoamingStatus()) { |
@@ -320,23 +320,23 @@ discard block |
||
| 320 | 320 | } |
| 321 | 321 | } |
| 322 | 322 | echo "<td style='vertical-align:top;'> |
| 323 | - <input type='hidden' name='inst' value='" . $index . "'>" . $idp_instance->name . (empty($listOfSilverbulletRealms) ? "" : "<ul><li>" ) . implode("</li><li>", $listOfSilverbulletRealms) . (empty($listOfSilverbulletRealms) ? "" : "</li><ul>" ) . " |
|
| 323 | + <input type='hidden' name='inst' value='" . $index."'>".$idp_instance->name.(empty($listOfSilverbulletRealms) ? "" : "<ul><li>").implode("</li><li>", $listOfSilverbulletRealms).(empty($listOfSilverbulletRealms) ? "" : "</li><ul>")." |
|
| 324 | 324 | </td>"; |
| 325 | 325 | // external DB sync, if configured as being necessary |
| 326 | 326 | if (\config\Master::DB['enforce-external-sync']) { |
| 327 | 327 | echo "<td style='display: ruby;'>"; |
| 328 | 328 | if ($readonly === FALSE) { |
| 329 | - echo "<form method='post' action='inc/manageDBLink.inc.php?inst_id=" . $idp_instance->identifier . "' onsubmit='popupRedirectWindow(this); return false;' accept-charset='UTF-8'> |
|
| 330 | - <button type='submit'>" . _("Manage DB Link") . "</button></form> "; |
|
| 329 | + echo "<form method='post' action='inc/manageDBLink.inc.php?inst_id=".$idp_instance->identifier."' onsubmit='popupRedirectWindow(this); return false;' accept-charset='UTF-8'> |
|
| 330 | + <button type='submit'>" . _("Manage DB Link")."</button></form> "; |
|
| 331 | 331 | } |
| 332 | 332 | switch ($idp_instance->getExternalDBSyncState()) { |
| 333 | 333 | case \core\IdP::EXTERNAL_DB_SYNCSTATE_NOTSUBJECTTOSYNCING: |
| 334 | 334 | break; |
| 335 | 335 | case \core\IdP::EXTERNAL_DB_SYNCSTATE_SYNCED: |
| 336 | - echo "<div class='acceptable'>" . _("Linked") . "</div>"; |
|
| 336 | + echo "<div class='acceptable'>"._("Linked")."</div>"; |
|
| 337 | 337 | break; |
| 338 | 338 | case \core\IdP::EXTERNAL_DB_SYNCSTATE_NOT_SYNCED: |
| 339 | - echo "<div class='notacceptable'>" . _("NOT linked") . "</div>"; |
|
| 339 | + echo "<div class='notacceptable'>"._("NOT linked")."</div>"; |
|
| 340 | 340 | |
| 341 | 341 | |
| 342 | 342 | break; |
@@ -349,9 +349,9 @@ discard block |
||
| 349 | 349 | echo "<td style='vertical-align: top;'>"; |
| 350 | 350 | if ($readonly === FALSE) { |
| 351 | 351 | echo "<div style='white-space: nowrap;'> |
| 352 | - <form method='post' action='inc/manageAdmins.inc.php?inst_id=" . $index . "' onsubmit='popupRedirectWindow(this); return false;' accept-charset='UTF-8'> |
|
| 352 | + <form method='post' action='inc/manageAdmins.inc.php?inst_id=" . $index."' onsubmit='popupRedirectWindow(this); return false;' accept-charset='UTF-8'> |
|
| 353 | 353 | <button type='submit'>" . |
| 354 | - _("Add/Remove Administrators") . " |
|
| 354 | + _("Add/Remove Administrators")." |
|
| 355 | 355 | </button> |
| 356 | 356 | </form> |
| 357 | 357 | </div>"; |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | echo "<tr> |
| 365 | 365 | <td colspan='2'> |
| 366 | 366 | <strong>" . |
| 367 | - sprintf(_("Pending invitations in the %s:"), $uiElements->nomenclatureFed) . " |
|
| 367 | + sprintf(_("Pending invitations in the %s:"), $uiElements->nomenclatureFed)." |
|
| 368 | 368 | </strong> |
| 369 | 369 | </td> |
| 370 | 370 | </tr>"; |
@@ -372,16 +372,16 @@ discard block |
||
| 372 | 372 | if (strtoupper($oneinvite['country']) == strtoupper($thefed->tld)) { |
| 373 | 373 | echo "<tr> |
| 374 | 374 | <td>" . |
| 375 | - $oneinvite['name'] . " |
|
| 375 | + $oneinvite['name']." |
|
| 376 | 376 | </td> |
| 377 | 377 | <td>" . |
| 378 | - $oneinvite['mail'] . " |
|
| 378 | + $oneinvite['mail']." |
|
| 379 | 379 | </td> |
| 380 | 380 | <td colspan=2>"; |
| 381 | 381 | if ($readonly === FALSE) { |
| 382 | 382 | echo "<form method='post' action='overview_federation.php' accept-charset='UTF-8'> |
| 383 | - <input type='hidden' name='invitation_id' value='" . $oneinvite['token'] . "'/> |
|
| 384 | - <button class='delete' type='submit' name='submitbutton' value='" . web\lib\common\FormElements::BUTTON_DELETE . "'>" . _("Revoke Invitation") . "</button> " |
|
| 383 | + <input type='hidden' name='invitation_id' value='" . $oneinvite['token']."'/> |
|
| 384 | + <button class='delete' type='submit' name='submitbutton' value='" . web\lib\common\FormElements::BUTTON_DELETE."'>"._("Revoke Invitation")."</button> " |
|
| 385 | 385 | . sprintf(_("(expires %s)"), $oneinvite['expiry']) |
| 386 | 386 | . "</form>"; |
| 387 | 387 | } |
@@ -115,12 +115,12 @@ discard block |
||
| 115 | 115 | $this->name = $this->languageInstance->getLocalisedValue($this->getAttributes('general:instname')); |
| 116 | 116 | $eligibility = $this->eligibility(); |
| 117 | 117 | if (in_array(IdP::ELIGIBILITY_IDP, $eligibility) && in_array(IdP::ELIGIBILITY_SP, $eligibility)) { |
| 118 | - $eligType = IdP::TYPE_IDPSP . ""; |
|
| 118 | + $eligType = IdP::TYPE_IDPSP.""; |
|
| 119 | 119 | $this->type = $eligType; |
| 120 | 120 | } elseif (in_array(IdP::ELIGIBILITY_IDP, $eligibility)) { |
| 121 | - $eligType = IdP::TYPE_IDP . ""; |
|
| 121 | + $eligType = IdP::TYPE_IDP.""; |
|
| 122 | 122 | } else { |
| 123 | - $eligType = IdP::TYPE_SP . ""; |
|
| 123 | + $eligType = IdP::TYPE_SP.""; |
|
| 124 | 124 | } |
| 125 | 125 | $this->type = $eligType; |
| 126 | 126 | $this->loggerInstance->debug(3, "--- END Constructing new IdP object ... ---\n"); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | */ |
| 135 | 135 | public function listProfiles(bool $activeOnly = FALSE) |
| 136 | 136 | { |
| 137 | - $query = "SELECT profile_id FROM profile WHERE inst_id = $this->identifier" . ($activeOnly ? " AND showtime = 1" : ""); |
|
| 137 | + $query = "SELECT profile_id FROM profile WHERE inst_id = $this->identifier".($activeOnly ? " AND showtime = 1" : ""); |
|
| 138 | 138 | $allProfiles = $this->databaseHandle->exec($query); |
| 139 | 139 | $returnarray = []; |
| 140 | 140 | // SELECT -> resource, not boolean |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | $returnarray[] = $oneProfile; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | - $this->loggerInstance->debug(4, "listProfiles: " . /** @scrutinizer ignore-type */ print_r($returnarray, true)); |
|
| 147 | + $this->loggerInstance->debug(4, "listProfiles: "./** @scrutinizer ignore-type */ print_r($returnarray, true)); |
|
| 148 | 148 | return $returnarray; |
| 149 | 149 | } |
| 150 | 150 | |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | */ |
| 157 | 157 | public function listDeployments(bool $activeOnly = FALSE) |
| 158 | 158 | { |
| 159 | - $query = "SELECT deployment_id FROM deployment WHERE inst_id = $this->identifier" . ($activeOnly ? " AND status = " . AbstractDeployment::ACTIVE : ""); |
|
| 159 | + $query = "SELECT deployment_id FROM deployment WHERE inst_id = $this->identifier".($activeOnly ? " AND status = ".AbstractDeployment::ACTIVE : ""); |
|
| 160 | 160 | $allDeployments = $this->databaseHandle->exec($query); |
| 161 | 161 | $returnarray = []; |
| 162 | 162 | // SELECT -> resource, not boolean |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | $returnarray[] = new DeploymentManaged($this, $deploymentQuery->deployment_id); |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - $this->loggerInstance->debug(4, "listDeployments: " . /** @scrutinizer ignore-type */ print_r($returnarray, true)); |
|
| 167 | + $this->loggerInstance->debug(4, "listDeployments: "./** @scrutinizer ignore-type */ print_r($returnarray, true)); |
|
| 168 | 168 | return $returnarray; |
| 169 | 169 | } |
| 170 | 170 | |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | $allProfiles = $this->databaseHandle->exec("SELECT MIN(openroaming) AS maxlevel FROM profile WHERE inst_id = $this->identifier"); |
| 198 | 198 | // SELECT yields a resource, not a boolean |
| 199 | 199 | while ($res = mysqli_fetch_object(/** @scrutinizer ignore-type */ $allProfiles)) { |
| 200 | - return (is_numeric($res->maxlevel) ? (int)$res->maxlevel : AbstractProfile::OVERALL_OPENROAMING_LEVEL_NO ); // insts without profiles should get a "NO" |
|
| 200 | + return (is_numeric($res->maxlevel) ? (int) $res->maxlevel : AbstractProfile::OVERALL_OPENROAMING_LEVEL_NO); // insts without profiles should get a "NO" |
|
| 201 | 201 | } |
| 202 | 202 | return AbstractProfile::OVERALL_OPENROAMING_LEVEL_NO; |
| 203 | 203 | } |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | case AbstractProfile::PROFILETYPE_SILVERBULLET: |
| 332 | 332 | $theProfile = new ProfileSilverbullet($identifier, $this); |
| 333 | 333 | $theProfile->addSupportedEapMethod(new \core\common\EAP(\core\common\EAP::EAPTYPE_SILVERBULLET), 1); |
| 334 | - $theProfile->setRealm($this->identifier . "-" . $theProfile->identifier . "." . strtolower($this->federation) . strtolower(\config\ConfAssistant::SILVERBULLET['realm_suffix'])); |
|
| 334 | + $theProfile->setRealm($this->identifier."-".$theProfile->identifier.".".strtolower($this->federation).strtolower(\config\ConfAssistant::SILVERBULLET['realm_suffix'])); |
|
| 335 | 335 | return $theProfile; |
| 336 | 336 | default: |
| 337 | 337 | throw new Exception("This type of profile is unknown and can not be added."); |
@@ -473,7 +473,7 @@ discard block |
||
| 473 | 473 | public function getExternalDBId() |
| 474 | 474 | { |
| 475 | 475 | if (\config\ConfAssistant::CONSORTIUM['name'] == "eduroam" && isset(\config\ConfAssistant::CONSORTIUM['deployment-voodoo']) && \config\ConfAssistant::CONSORTIUM['deployment-voodoo'] == "Operations Team") { // SW: APPROVED |
| 476 | - $idQuery = $this->databaseHandle->exec("SELECT external_db_id FROM institution WHERE inst_id = $this->identifier AND external_db_syncstate = " . self::EXTERNAL_DB_SYNCSTATE_SYNCED); |
|
| 476 | + $idQuery = $this->databaseHandle->exec("SELECT external_db_id FROM institution WHERE inst_id = $this->identifier AND external_db_syncstate = ".self::EXTERNAL_DB_SYNCSTATE_SYNCED); |
|
| 477 | 477 | // SELECT -> it's a resource, not a boolean |
| 478 | 478 | if (mysqli_num_rows(/** @scrutinizer ignore-type */ $idQuery) == 0) { |
| 479 | 479 | return FALSE; |
@@ -539,16 +539,16 @@ discard block |
||
| 539 | 539 | } |
| 540 | 540 | foreach ($baseline as $lang => $value) { |
| 541 | 541 | if (!key_exists($lang, $newvalues)) { |
| 542 | - $retval[IdP::INSTNAME_CHANGED] .= "#[Language " . strtoupper($lang) . "] DELETED"; |
|
| 542 | + $retval[IdP::INSTNAME_CHANGED] .= "#[Language ".strtoupper($lang)."] DELETED"; |
|
| 543 | 543 | } else { |
| 544 | 544 | if ($value != $newvalues[$lang]) { |
| 545 | - $retval[IdP::INSTNAME_CHANGED] .= "#[Language " . strtoupper($lang) . "] CHANGED from '" . $baseline[$lang] . "' to '" . $newvalues[$lang] . "'"; |
|
| 545 | + $retval[IdP::INSTNAME_CHANGED] .= "#[Language ".strtoupper($lang)."] CHANGED from '".$baseline[$lang]."' to '".$newvalues[$lang]."'"; |
|
| 546 | 546 | } |
| 547 | 547 | } |
| 548 | 548 | } |
| 549 | 549 | foreach ($newvalues as $lang => $value) { |
| 550 | 550 | if (!key_exists($lang, $baseline)) { |
| 551 | - $retval[IdP::INSTNAME_CHANGED] .= "#[Language " . strtoupper($lang) . "] ADDED as '" . $value . "'"; |
|
| 551 | + $retval[IdP::INSTNAME_CHANGED] .= "#[Language ".strtoupper($lang)."] ADDED as '".$value."'"; |
|
| 552 | 552 | } |
| 553 | 553 | } |
| 554 | 554 | return $retval; |