Passed
Push — master ( e491a2...15ec75 )
by Tomasz
03:40
created
web/admin/edit_profile.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -281,14 +281,14 @@  discard block
 block discarded – undo
281 281
             <tr>
282 282
                 <!-- checkbox for "verify-->
283 283
                 <td>
284
-                    <span id='verify_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'>
284
+                    <span id='verify_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'>
285 285
                         <?php echo _("Verify user input to contain realm suffix:"); ?>
286 286
                     </span>
287 287
                 </td>
288 288
                 <td>
289 289
                     <input type='checkbox' <?php
290
-                    echo ($verify != FALSE ? "checked" : "" );
291
-                    echo ($realm == "" ? "disabled" : "" );
290
+                    echo ($verify != FALSE ? "checked" : "");
291
+                    echo ($realm == "" ? "disabled" : "");
292 292
                     ?> name='verify_support' onclick='
293 293
                             if (this.form.elements["verify_support"].checked !== true) {
294 294
                                 this.form.elements["hint_support"].setAttribute("disabled", "disabled");
@@ -296,48 +296,48 @@  discard block
 block discarded – undo
296 296
                                 this.form.elements["hint_support"].removeAttribute("disabled");
297 297
                             }
298 298
                             ;'/>
299
-                    <span id='hint_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'>
299
+                    <span id='hint_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'>
300 300
                         <?php echo _("Prefill user input with realm suffix:"); ?>
301 301
                     </span>
302
-                    <input type='checkbox' <?php echo ($verify == FALSE ? "disabled" : "" ); ?> name='hint_support' <?php echo ( $hint != FALSE ? "checked" : "" ); ?> />
302
+                    <input type='checkbox' <?php echo ($verify == FALSE ? "disabled" : ""); ?> name='hint_support' <?php echo ($hint != FALSE ? "checked" : ""); ?> />
303 303
                 </td>
304 304
             </tr>
305 305
             <tr>
306 306
 
307 307
                 <!-- checkbox and input field for anonymity support, available only when realm is known-->
308 308
                 <td>
309
-                    <span id='anon_support_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'>
309
+                    <span id='anon_support_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'>
310 310
                         <?php echo _("Enable Anonymous Outer Identity:"); ?>
311 311
                     </span>
312 312
                 </td>
313 313
                 <td>
314
-                    <input type='checkbox' <?php echo ($useAnon != FALSE ? "checked" : "" ) . ($realm == "" ? " disabled" : "" ); ?> name='anon_support' onclick='
314
+                    <input type='checkbox' <?php echo ($useAnon != FALSE ? "checked" : "") . ($realm == "" ? " disabled" : ""); ?> name='anon_support' onclick='
315 315
                             if (this.form.elements["anon_support"].checked !== true) {
316 316
                                 this.form.elements["anon_local"].setAttribute("disabled", "disabled");
317 317
                             } else {
318 318
                                 this.form.elements["anon_local"].removeAttribute("disabled");
319 319
                             }
320 320
                             ;'/>
321
-                    <input type='text' <?php echo ($checkuserOuter == FALSE ? "disabled" : "" ); ?> name='anon_local' value='<?php echo $anonLocal; ?>'/>
321
+                    <input type='text' <?php echo ($checkuserOuter == FALSE ? "disabled" : ""); ?> name='anon_local' value='<?php echo $anonLocal; ?>'/>
322 322
                 </td>    
323 323
             </tr>
324 324
             <tr>
325 325
 
326 326
                 <!-- checkbox and input field for check realm outer id, available only when realm is known-->
327 327
                 <td>
328
-                    <span id='checkuser_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'>
328
+                    <span id='checkuser_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'>
329 329
                         <?php echo _("Use special Outer Identity for realm checks:"); ?>
330 330
                     </span>
331 331
                 </td>
332 332
                 <td>
333
-                    <input type='checkbox' <?php echo ($checkuserOuter != FALSE ? "checked" : "" ) . ($realm == "" ? " disabled" : "" ); ?> name='checkuser_support' onclick='
333
+                    <input type='checkbox' <?php echo ($checkuserOuter != FALSE ? "checked" : "") . ($realm == "" ? " disabled" : ""); ?> name='checkuser_support' onclick='
334 334
                             if (this.form.elements["checkuser_support"].checked !== true) {
335 335
                                 this.form.elements["checkuser_local"].setAttribute("disabled", "disabled");
336 336
                             } else {
337 337
                                 this.form.elements["checkuser_local"].removeAttribute("disabled");
338 338
                             }
339 339
                             ;'/>
340
-                    <input type='text' <?php echo ($checkuserOuter == FALSE ? "disabled" : "" ); ?> name='checkuser_local' value='<?php echo $checkuserValue; ?>'/>
340
+                    <input type='text' <?php echo ($checkuserOuter == FALSE ? "disabled" : ""); ?> name='checkuser_local' value='<?php echo $checkuserValue; ?>'/>
341 341
                 </td>
342 342
             </tr>
343 343
         </table>
@@ -353,14 +353,14 @@  discard block
 block discarded – undo
353 353
     <p>
354 354
 
355 355
         <?php
356
-        echo "<span id='redirect_label' style='" . ($realm == "" ? "color:#999999" : "" ) . "'><label for='redirect'>" . _("Redirect end users to own web page:") . "</label></span>
357
-                          <input type='checkbox'  name='redirect' id='redirect' " . ($blacklisted === FALSE ? "" : "checked " ) . "onclick='
356
+        echo "<span id='redirect_label' style='" . ($realm == "" ? "color:#999999" : "") . "'><label for='redirect'>" . _("Redirect end users to own web page:") . "</label></span>
357
+                          <input type='checkbox'  name='redirect' id='redirect' " . ($blacklisted === FALSE ? "" : "checked ") . "onclick='
358 358
                               if (this.form.elements[\"redirect\"].checked != true) {
359 359
                                 this.form.elements[\"redirect_target\"].setAttribute(\"disabled\", \"disabled\");
360 360
                               } else {
361 361
                                 this.form.elements[\"redirect_target\"].removeAttribute(\"disabled\");
362 362
                               };'/>
363
-                          <input type='text' name='redirect_target' " . ($blacklisted !== FALSE ? "value='$blacklisted'" : "disabled" ) . "/>";
363
+                          <input type='text' name='redirect_target' " . ($blacklisted !== FALSE ? "value='$blacklisted'" : "disabled") . "/>";
364 364
         ?>
365 365
     </p>
366 366
 
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
     function priority(string $eapType, bool $isenabled, int $priority) {
385 385
         echo "<td><select id='$eapType-priority' name='$eapType-priority' " . (!$isenabled ? "disabled='disabled'" : "") . ">";
386 386
         for ($a = 1; $a < 7; $a = $a + 1) {
387
-            echo "<option id='$eapType-$a' value='$a' " . ( $isenabled && $a == $priority ? "selected" : "" ) . ">$a</option>";
387
+            echo "<option id='$eapType-$a' value='$a' " . ($isenabled && $a == $priority ? "selected" : "") . ">$a</option>";
388 388
         }
389 389
         echo "</select></td>";
390 390
     }
Please login to merge, or discard this patch.
web/admin/edit_user_result.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,8 @@
 block discarded – undo
56 56
 
57 57
 $i = 0;
58 58
 foreach ($salvageFedPrivs as $oneFed) {
59
-    $_POST['option']["S123456789".$i] = "user:fedadmin#string##";
60
-    $_POST['value']["S123456789".$i."-0"] = $oneFed;
59
+    $_POST['option']["S123456789" . $i] = "user:fedadmin#string##";
60
+    $_POST['value']["S123456789" . $i . "-0"] = $oneFed;
61 61
     $i++;
62 62
 }
63 63
 ?>
Please login to merge, or discard this patch.
web/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,4 +26,4 @@
 block discarded – undo
26 26
 $Gui->defaultPagePrelude();
27 27
 
28 28
 // and now, serve actual data
29
-include("skins/".$Gui->skinObject->skin."/index.php");
29
+include("skins/" . $Gui->skinObject->skin . "/index.php");
Please login to merge, or discard this patch.
core/common/Logging.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 namespace core\common;
12 12
 use \Exception;
13 13
 
14
-require_once(dirname(dirname(__DIR__))."/config/_config.php");
14
+require_once(dirname(dirname(__DIR__)) . "/config/_config.php");
15 15
 
16 16
 class Logging {
17 17
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                 echo " ($category) ";
87 87
                 echo " " . $user . ": ";
88 88
                 if (is_string($message)) {
89
-                    echo $message ."\n";
89
+                    echo $message . "\n";
90 90
                 } else {
91 91
                     echo var_export($message);
92 92
                 }
Please login to merge, or discard this patch.
web/lib/admin/PageDecoration.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                         <select id='lang' name='lang' onchange='this.form.submit()'>";
66 66
 
67 67
         foreach (CONFIG['LANGUAGES'] as $lang => $value) {
68
-            $retval .= "<option value='$lang' " . (strtoupper($language) == strtoupper($lang) ? "selected" : "" ) . " >" . $value['display'] . "</option> ";
68
+            $retval .= "<option value='$lang' " . (strtoupper($language) == strtoupper($lang) ? "selected" : "") . " >" . $value['display'] . "</option> ";
69 69
         }
70 70
         $retval .= "</select>";
71 71
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         $retval .= "</form>
78 78
                 </div><!--langselection-->";
79 79
 
80
-        $logoUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, (strrpos($_SERVER['PHP_SELF'], "admin/") !== FALSE ? strrpos($_SERVER['PHP_SELF'], "admin/") : strrpos($_SERVER['PHP_SELF'], "/")))."/resources/images/consortium_logo.png";        
80
+        $logoUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, (strrpos($_SERVER['PHP_SELF'], "admin/") !== FALSE ? strrpos($_SERVER['PHP_SELF'], "admin/") : strrpos($_SERVER['PHP_SELF'], "/"))) . "/resources/images/consortium_logo.png";        
81 81
         $retval .= "<div class='consortium_logo'>
82 82
                     <img id='test_locate' src='$logoUrl' alt='Consortium Logo'>
83 83
                 </div> <!-- consortium_logo -->
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         switch ($area) {
120 120
             case "ADMIN-IDP":
121 121
                 $cap1 = CONFIG['APPEARANCE']['productname_long'];
122
-                $cap2 = sprintf(_("Administrator Interface - Identity Provider"),$this->ui->nomenclature_inst);
122
+                $cap2 = sprintf(_("Administrator Interface - Identity Provider"), $this->ui->nomenclature_inst);
123 123
                 $advancedControls = TRUE;
124 124
                 break;
125 125
             case "ADMIN-IDP-USERS":
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                 break;
140 140
             case "FEDERATION":
141 141
                 $cap1 = CONFIG['APPEARANCE']['productname_long'];
142
-                $cap2 = sprintf(_("Administrator Interface - %s Management"),$this->ui->nomenclature_fed);
142
+                $cap2 = sprintf(_("Administrator Interface - %s Management"), $this->ui->nomenclature_fed);
143 143
                 $advancedControls = TRUE;
144 144
                 break;
145 145
             case "USER":
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         // content from here on will SCROLL instead of being fixed at the top
169 169
         $retval .= "<div class='pagecontent'>"; // closes in footer again
170 170
         $retval .= "<div class='trick'>"; // closes in footer again
171
-        $retval .= "<div id='secondrow' style='border-bottom:5px solid ".CONFIG['APPEARANCE']['colour1']."; min-height:100px;'>
171
+        $retval .= "<div id='secondrow' style='border-bottom:5px solid " . CONFIG['APPEARANCE']['colour1'] . "; min-height:100px;'>
172 172
             <div id='secondarycaptions' style='display:inline-block; float:left'>
173 173
                 <h2>$cap2</h2>
174 174
             </div><!--secondarycaptions-->";
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
             $cutoffPosition = strrpos($_SERVER['PHP_SELF'], "/");
214 214
         }
215 215
 
216
-        $cssUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition )."/resources/css/cat.css.php";
216
+        $cssUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition) . "/resources/css/cat.css.php";
217 217
         
218 218
         $retval .= "<link rel='stylesheet' type='text/css' href='$cssUrl' />";
219 219
         $retval .= "<title>" . htmlspecialchars($pagetitle) . "</title>";
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             $cutoffPosition = strrpos($_SERVER['PHP_SELF'], "/");
242 242
         }
243 243
         
244
-        $logoBase = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition)."/resources/images";
244
+        $logoBase = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition) . "/resources/images";
245 245
 
246 246
         return "<span id='logos' style='position:fixed; left:50%;'><img src='$logoBase/dante.png' alt='DANTE' style='height:23px;width:47px'/>
247 247
               <img src='$logoBase/eu.png' alt='EU' style='height:23px;width:27px;border-width:0px;'/></span>
Please login to merge, or discard this patch.
devices/xml/Device_XML.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  * @package ModuleWriting
20 20
  */
21 21
 namespace devices\xml;
22
-require_once(dirname(__FILE__).'/XML.inc.php');
22
+require_once(dirname(__FILE__) . '/XML.inc.php');
23 23
 
24 24
 /**
25 25
  * This class implements full functionality of the generic XML device
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $objs = [];
155 155
         if ($this->langScope === 'global') {
156 156
             foreach ($attributeList['langs'] as $language => $value) {
157
-                $language = ( $language === 'C' ? 'any' : $language );
157
+                $language = ($language === 'C' ? 'any' : $language);
158 158
                 $obj = new $className();
159 159
                 $obj->setValue($value);
160 160
                 $obj->setAttributes(['lang' => $language]);
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
                 $profileNameLangs = $attr['profile:name']['langs'];
179 179
             }
180 180
             foreach ($instNameLangs as $language => $value) {
181
-                $language = ( $language === 'C' ? 'any' : $language );
181
+                $language = ($language === 'C' ? 'any' : $language);
182 182
                 $displayname = new DisplayName();
183 183
                 if (isset($profileNameLangs)) {
184 184
                     $langOrC = isset($profileNameLangs[$language]) ? $profileNameLangs[$language] : $profileNameLangs['C'];
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
             $clientCertificateObject->setValue(base64_encode($this->clientCert["certdata"]));
352 352
             $clientCertificateObject->setAttributes(['format' => 'PKCS12', 'encoding' => 'base64']);
353 353
             
354
-            $clientsidecredential->setProperty('ClientCertificate',$clientCertificateObject);
354
+            $clientsidecredential->setProperty('ClientCertificate', $clientCertificateObject);
355 355
         }
356 356
         
357 357
         $authmethod->setProperty('ClientSideCredential', $clientsidecredential);
Please login to merge, or discard this patch.
web/lib/admin/http/GetTokenEmailDetails.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @author Zilvinas Vaira
12 12
  *
13 13
  */
14
-class GetTokenEmailDetails extends AbstractAjaxCommand{
14
+class GetTokenEmailDetails extends AbstractAjaxCommand {
15 15
     
16 16
     const COMMAND = "gettokenemaildetails";
17 17
     const PARAM_TOKENLINK = "tokenlink";
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * @param string $commandToken
26 26
      * @param DefaultContext $context
27 27
      */
28
-    public function __construct($commandToken, $context){
28
+    public function __construct($commandToken, $context) {
29 29
         parent::__construct($commandToken, $context);
30 30
         $this->subject = sprintf(_("Your %s access is ready"), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']);
31 31
         $this->body = sprintf(_("Hello!\n\nA new %s access credential has been created for you by your network administrator.\n\nPlease follow the following link with the device you want to enable for eduroam to get a custom %s installation program just for you:"), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']);
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * 
38 38
      * @return string
39 39
      */
40
-    public function getSubject(){
40
+    public function getSubject() {
41 41
         return $this->subject;
42 42
     }
43 43
     
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param string $invitationToken
47 47
      * @return string
48 48
      */
49
-    public function getBody($invitationToken){
49
+    public function getBody($invitationToken) {
50 50
         return sprintf($this->body, $invitationToken);
51 51
     }
52 52
     
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * @see \web\lib\admin\http\AbstractCommand::execute()
57 57
      */
58 58
     public function execute() {
59
-        if(isset($_POST[self::PARAM_TOKENLINK])){
59
+        if (isset($_POST[self::PARAM_TOKENLINK])) {
60 60
             
61 61
             $invitationToken = $this->parseString($_POST[self::PARAM_TOKENLINK]);
62 62
 
Please login to merge, or discard this patch.
web/lib/admin/view/TermsOfUseBox.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * @author Zilvinas Vaira
7 7
  *
8 8
  */
9
-class TermsOfUseBox extends AbstractDialogBox{
9
+class TermsOfUseBox extends AbstractDialogBox {
10 10
     
11 11
     private $command = '';
12 12
     private $parameter = '';
@@ -28,28 +28,28 @@  discard block
 block discarded – undo
28 28
      * {@inheritDoc}
29 29
      * @see \web\lib\admin\view\AbstractDialogBox::renderContent()
30 30
      */
31
-    public function renderContent(){
31
+    public function renderContent() {
32 32
         ?>
33 33
         <hr>
34 34
         <h2>Product Definition</h2>
35
-        <p><?php echo \core\ProfileSilverbullet::PRODUCTNAME;?> outsources the technical setup of <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'] ." ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?> functions to the <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'];?> Operations Team. The system includes</p>
35
+        <p><?php echo \core\ProfileSilverbullet::PRODUCTNAME; ?> outsources the technical setup of <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'] . " " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?> functions to the <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']; ?> Operations Team. The system includes</p>
36 36
             <ul>
37 37
                 <li>a web-based user management interface where user accounts and access credentials can be created and revoked (there is a limit to the number of active users)</li>
38 38
                 <li>a technical infrastructure ("CA") which issues and revokes credentials</li>
39
-                <li>a technical infrastructure ("RADIUS") which verifies access credentials and subsequently grants access to <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'];?></li>
40
-                <li><span style='color: red;'>TBD: a lookup/notification system which informs you of network abuse complaints by <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'];?> Service Providers that pertain to your users</span></li>
39
+                <li>a technical infrastructure ("RADIUS") which verifies access credentials and subsequently grants access to <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']; ?></li>
40
+                <li><span style='color: red;'>TBD: a lookup/notification system which informs you of network abuse complaints by <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']; ?> Service Providers that pertain to your users</span></li>
41 41
             </ul>
42 42
         <h2>User Account Liability</h2>
43
-        <p>As an <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'] ." ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?> administrator using this system, you are authorized to create user accounts according to your local <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] ?> policy. You are fully responsible for the accounts you issue. In particular, you</p>
43
+        <p>As an <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'] . " " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?> administrator using this system, you are authorized to create user accounts according to your local <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] ?> policy. You are fully responsible for the accounts you issue. In particular, you</p>
44 44
         <ul>
45
-            <li>only issue accounts to members of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?>, as defined by your local policy.</li>
45
+            <li>only issue accounts to members of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?>, as defined by your local policy.</li>
46 46
             <li>must make sure that all accounts that you issue can be linked by you to actual human end users</li>
47
-            <li>have to immediately revoke accounts of users when they leave or otherwise stop being a member of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?></li>
47
+            <li>have to immediately revoke accounts of users when they leave or otherwise stop being a member of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?></li>
48 48
             <li>will act upon notifications about possible network abuse by your users and will appropriately sanction them</li>
49 49
         </ul>
50
-        <p>Failure to comply with these requirements may lead to the deletion of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?> (and all the users you create inside) in this system.</p>
50
+        <p>Failure to comply with these requirements may lead to the deletion of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?> (and all the users you create inside) in this system.</p>
51 51
         <h2>Privacy</h2>
52
-        <p>With <?php echo \core\ProfileSilverbullet::PRODUCTNAME;?>, we are not interested in and strive not to collect any personally identifiable information about the end users you create. To that end,</p>
52
+        <p>With <?php echo \core\ProfileSilverbullet::PRODUCTNAME; ?>, we are not interested in and strive not to collect any personally identifiable information about the end users you create. To that end,</p>
53 53
         <ul>
54 54
             <li>the usernames you create in the system are not expected to be human-readable identifiers of actual humans. We encourage you to create usernames like 'hr-user-12' rather than 'Jane Doe, Human Resources Department'. You are the only one who needs to be able to make a link to the human behind the identifiers you create.</li>
55 55
             <li>the identifiers in the credentials we create are not linked to the usernames you add to the system; they are pseudonyms.</li>
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * {@inheritDoc}
65 65
      * @see \web\lib\admin\view\AbstractDialogBox::renderControls()
66 66
      */
67
-    public function renderControls(){
67
+    public function renderControls() {
68 68
         ?>
69 69
         <div style="position: relative; padding-bottom: 5px;">
70 70
             <input type="checkbox" name="<?php echo $this->parameter; ?>" value="true"> <label>I have read and agree to the terms.</label>
Please login to merge, or discard this patch.
web/skins/classic/index.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
 
61 61
 $deco = new \web\lib\admin\PageDecoration();
62 62
 ?>
63
-<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $Gui->skinObject->findResourceUrl("CSS","cat-user.css");?>" />
63
+<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $Gui->skinObject->findResourceUrl("CSS", "cat-user.css"); ?>" />
64 64
 <!-- JQuery -->
65
-<script type="text/javascript" src="<?php echo $Gui->skinObject->findResourceUrl("EXTERNAL","jquery/jquery.js") ?>"></script>
66
-<script type="text/javascript" src="<?php echo $Gui->skinObject->findResourceUrl("EXTERNAL","jquery/jquery-migrate-1.2.1.js") ?>"></script>
67
-<script type="text/javascript" src="<?php echo $Gui->skinObject->findResourceUrl("EXTERNAL","jquery/jquery-ui.js") ?>"></script>
65
+<script type="text/javascript" src="<?php echo $Gui->skinObject->findResourceUrl("EXTERNAL", "jquery/jquery.js") ?>"></script>
66
+<script type="text/javascript" src="<?php echo $Gui->skinObject->findResourceUrl("EXTERNAL", "jquery/jquery-migrate-1.2.1.js") ?>"></script>
67
+<script type="text/javascript" src="<?php echo $Gui->skinObject->findResourceUrl("EXTERNAL", "jquery/jquery-ui.js") ?>"></script>
68 68
 <!-- JQuery -->
69 69
 <script type="text/javascript">
70 70
     if (screen.width <= 480) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     <div id="heading">
107 107
         <?php
108 108
         print '<img src="' . $Gui->skinObject->findResourceUrl("IMAGES", "consortium_logo.png") . '" alt="Consortium Logo" style="float:right; padding-right:20px; padding-top:20px"/>';
109
-        print '<div id="motd">' . ( isset(CONFIG['APPEARANCE']['MOTD']) ? CONFIG['APPEARANCE']['MOTD'] : '&nbsp' ) . '</div>';
109
+        print '<div id="motd">' . (isset(CONFIG['APPEARANCE']['MOTD']) ? CONFIG['APPEARANCE']['MOTD'] : '&nbsp') . '</div>';
110 110
         print '<h1 style="padding-bottom:0px; height:1em;">' . sprintf(_("Welcome to %s"), CONFIG['APPEARANCE']['productname']) . '</h1>
111 111
 <h2 style="padding-bottom:0px; height:0px; vertical-align:bottom;">' . CONFIG['APPEARANCE']['productname_long'] . '</h2>';
112 112
         echo '<table id="lang_select"><tr><td>';
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                                             <span id="line1"><?php printf(_("%s installation made easy:"), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']) ?></span>
161 161
                                             <span id="line2"></span>
162 162
                                             <span id="line3"></span>
163
-                                            <span id="line4"><?php echo sprintf(_("Custom built for your %s"),$Gui->nomenclature_inst) ?></span>
163
+                                            <span id="line4"><?php echo sprintf(_("Custom built for your %s"), $Gui->nomenclature_inst) ?></span>
164 164
                                             <span id="line5">
165 165
                                                 <?php
166 166
                                                 if (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) && CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'] != "") {
Please login to merge, or discard this patch.