@@ -32,4 +32,4 @@ |
||
32 | 32 | |
33 | 33 | |
34 | 34 | // and now, serve actual data |
35 | -include("skins/".$skinObject->skin."/basic.php"); |
|
35 | +include("skins/" . $skinObject->skin . "/basic.php"); |
@@ -265,7 +265,7 @@ |
||
265 | 265 | $out1 = ''; |
266 | 266 | $out = ''; |
267 | 267 | if (!empty($attributes['description'])) { |
268 | - $out1 .= '<div>' . $attributes['description'] . '</div>'; |
|
268 | + $out1 .= '<div>' . $attributes['description'] . '</div>'; |
|
269 | 269 | } |
270 | 270 | if (!empty($attributes['local_email'])) { |
271 | 271 | $out .= '<p>Email: <a href="mailto:' . $attributes['local_email'] . '">' . $attributes['local_email'] . '</a>'; |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | public function listIdPs() { |
142 | 142 | $instList = $this->orderIdentityProviders($this->country->tld); |
143 | 143 | $out = ''; |
144 | - $out .= sprintf(_("Select your %s"), $this->nomenclature_inst ); |
|
144 | + $out .= sprintf(_("Select your %s"), $this->nomenclature_inst); |
|
145 | 145 | $out .= '<select name="idp" onchange="submit_form(this)">'; |
146 | 146 | if (!empty($instList)) { |
147 | 147 | if (!isset($this->idp)) { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | } |
236 | 236 | } |
237 | 237 | $out .= '>' . $disp . '</option>'; |
238 | - $deviceRedirects .= 'redirects[' . $iterator . '] = ' . ( $oneDevice['redirect'] ? 1 : 0 ) . ';'; |
|
238 | + $deviceRedirects .= 'redirects[' . $iterator . '] = ' . ($oneDevice['redirect'] ? 1 : 0) . ';'; |
|
239 | 239 | $iterator++; |
240 | 240 | } |
241 | 241 | $out .= '</select>'; |
@@ -278,9 +278,9 @@ discard block |
||
278 | 278 | } |
279 | 279 | if ($out !== '') { |
280 | 280 | $out1 .= '<div class="user_info">'; |
281 | - $out1 .= sprintf(_("If you encounter problems you should ask for help at your %s"), $this->nomenclature_inst); |
|
282 | - $out1 .= $out; |
|
283 | - $out1 .= "</div>\n"; |
|
281 | + $out1 .= sprintf(_("If you encounter problems you should ask for help at your %s"), $this->nomenclature_inst); |
|
282 | + $out1 .= $out; |
|
283 | + $out1 .= "</div>\n"; |
|
284 | 284 | } |
285 | 285 | return($out1); |
286 | 286 | } |
@@ -441,7 +441,7 @@ discard block |
||
441 | 441 | </script> |
442 | 442 | </head> |
443 | 443 | <body style=""> |
444 | - <?php print '<div id="motd">' . ( isset(CONFIG['APPEARANCE']['MOTD']) ? CONFIG['APPEARANCE']['MOTD'] : ' ' ) . '</div>'; ?> |
|
444 | + <?php print '<div id="motd">' . (isset(CONFIG['APPEARANCE']['MOTD']) ? CONFIG['APPEARANCE']['MOTD'] : ' ') . '</div>'; ?> |
|
445 | 445 | <form name="my_form" method="POST" action="<?php echo $_SERVER['SCRIPT_NAME'] ?>" accept-charset='UTF-8'> |
446 | 446 | <img src="<?php echo $skinObject->findResourceUrl("IMAGES", "consortium_logo.png"); ?>" style="width: 20%; padding-right:20px; padding-top:0px; float:right" alt="logo" /> |
447 | 447 | <?php |
@@ -539,47 +539,47 @@ |
||
539 | 539 | ["SETTING" => CONFIG['APPEARANCE']['from-mail'], |
540 | 540 | "DEFVALUE" => "[email protected]", |
541 | 541 | "COMPLAINTSTRING" => "APPEARANCE/from-mail ", |
542 | - "REQUIRED" => FALSE,], |
|
542 | + "REQUIRED" => FALSE, ], |
|
543 | 543 | ["SETTING" => CONFIG['APPEARANCE']['support-contact']['url'], |
544 | 544 | "DEFVALUE" => "[email protected]?body=Only%20English%20language%20please!", |
545 | 545 | "COMPLAINTSTRING" => "APPEARANCE/support-contact/url ", |
546 | - "REQUIRED" => FALSE,], |
|
546 | + "REQUIRED" => FALSE, ], |
|
547 | 547 | ["SETTING" => CONFIG['APPEARANCE']['support-contact']['display'], |
548 | 548 | "DEFVALUE" => "[email protected]", |
549 | 549 | "COMPLAINTSTRING" => "APPEARANCE/support-contact/display ", |
550 | - "REQUIRED" => FALSE,], |
|
550 | + "REQUIRED" => FALSE, ], |
|
551 | 551 | ["SETTING" => CONFIG['APPEARANCE']['support-contact']['developer-mail'], |
552 | 552 | "DEFVALUE" => "[email protected]", |
553 | 553 | "COMPLAINTSTRING" => "APPEARANCE/support-contact/mail ", |
554 | - "REQUIRED" => FALSE,], |
|
554 | + "REQUIRED" => FALSE, ], |
|
555 | 555 | ["SETTING" => CONFIG['APPEARANCE']['abuse-mail'], |
556 | 556 | "DEFVALUE" => "[email protected]", |
557 | 557 | "COMPLAINTSTRING" => "APPEARANCE/abuse-mail ", |
558 | - "REQUIRED" => FALSE,], |
|
558 | + "REQUIRED" => FALSE, ], |
|
559 | 559 | ["SETTING" => CONFIG['APPEARANCE']['MOTD'], |
560 | 560 | "DEFVALUE" => "Release Candidate. All bugs to be shot on sight!", |
561 | 561 | "COMPLAINTSTRING" => "APPEARANCE/MOTD ", |
562 | - "REQUIRED" => FALSE,], |
|
562 | + "REQUIRED" => FALSE, ], |
|
563 | 563 | ["SETTING" => CONFIG['APPEARANCE']['webcert_CRLDP'], |
564 | 564 | "DEFVALUE" => ['list', 'of', 'CRL', 'pointers'], |
565 | 565 | "COMPLAINTSTRING" => "APPEARANCE/webcert_CRLDP ", |
566 | - "REQUIRED" => TRUE,], |
|
566 | + "REQUIRED" => TRUE, ], |
|
567 | 567 | ["SETTING" => CONFIG['APPEARANCE']['webcert_OCSP'], |
568 | 568 | "DEFVALUE" => ['list', 'of', 'OCSP', 'pointers'], |
569 | 569 | "COMPLAINTSTRING" => "APPEARANCE/webcert_OCSP ", |
570 | - "REQUIRED" => TRUE,], |
|
570 | + "REQUIRED" => TRUE, ], |
|
571 | 571 | ["SETTING" => CONFIG['DB']['INST']['host'], |
572 | 572 | "DEFVALUE" => "db.host.example", |
573 | 573 | "COMPLAINTSTRING" => "DB/INST ", |
574 | - "REQUIRED" => TRUE,], |
|
574 | + "REQUIRED" => TRUE, ], |
|
575 | 575 | ["SETTING" => CONFIG['DB']['INST']['host'], |
576 | 576 | "DEFVALUE" => "db.host.example", |
577 | 577 | "COMPLAINTSTRING" => "DB/USER ", |
578 | - "REQUIRED" => TRUE,], |
|
578 | + "REQUIRED" => TRUE, ], |
|
579 | 579 | ["SETTING" => CONFIG['DB']['EXTERNAL']['host'], |
580 | 580 | "DEFVALUE" => "customerdb.otherhost.example", |
581 | 581 | "COMPLAINTSTRING" => "DB/EXTERNAL ", |
582 | - "REQUIRED" => FALSE,], |
|
582 | + "REQUIRED" => FALSE, ], |
|
583 | 583 | ]; |
584 | 584 | |
585 | 585 | /** |