Test Failed
Push — master ( 81a1e2...d0d67d )
by Stefan
32:51 queued 20:40
created
web/admin/sort_profiles.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     foreach ($D as $id=>$priority) {
130 130
         echo "<input type='hidden' class='profiles' id='profile-$id' name='profile-$id' value='$priority'>";
131 131
     }
132
-  ?>
132
+    ?>
133 133
 </form>
134 134
 <?php echo $deco->footer();
135 135
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 ?>
28 28
 
29 29
 <?php
30
-require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php";
30
+require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php";
31 31
 
32 32
 $deco = new \web\lib\admin\PageDecoration();
33 33
 $validator = new \web\lib\common\InputValidation();
Please login to merge, or discard this patch.
web/admin/css/wizard.css.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 // we need to know if we are serving a RTL language so we can flip some heading
22 22
 // items
23 23
 header("Content-Type:text/css");
24
-require_once dirname(dirname(dirname(__DIR__))) . "/config/_config.php";
24
+require_once dirname(dirname(dirname(__DIR__)))."/config/_config.php";
25 25
 $langInstance = new core\common\Language();
26 26
 $start = $langInstance->rtl ? "right" : "left";
27 27
 $end = $langInstance->rtl ? "left" : "right";
Please login to merge, or discard this patch.
web/admin/edit_profile.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,9 +181,9 @@  discard block
 block discarded – undo
181 181
         </legend>
182 182
         <?php
183 183
         if ($wizardStyle) {
184
-             echo "<p>" . _("We will now define a profile for your user group(s).  You can add as many profiles as you like by choosing the appropriate button on the end of the page. After we are done, the wizard is finished and you will be taken to the main IdP administration page.") . "</p>";
184
+                echo "<p>" . _("We will now define a profile for your user group(s).  You can add as many profiles as you like by choosing the appropriate button on the end of the page. After we are done, the wizard is finished and you will be taken to the main IdP administration page.") . "</p>";
185 185
         }
186
-         ?>
186
+            ?>
187 187
         <h3><?php echo _("Profile Name and RADIUS realm"); ?>
188 188
         </h3>
189 189
         <?php    
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 
331 331
     <?php
332 332
     echo $wizard->displayHelp("redirect");
333
-     ?>
333
+        ?>
334 334
     <p>
335 335
 
336 336
         <?php
Please login to merge, or discard this patch.
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
  */
27 27
 ?>
28 28
 <?php
29
-require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php";
29
+require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php";
30 30
 
31 31
 $deco = new \web\lib\admin\PageDecoration();
32 32
 $validator = new \web\lib\common\InputValidation();
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         $detectRealm = $validator->string($_POST['realm_to_detect']);
128 128
         $localname = $validator->string($_POST['username_to_detect']);
129 129
         $checker = new \core\diag\RADIUSTests($detectRealm, $localname);
130
-        $detectionResult = $checker->autodetectCAWithProbe($localname . "@" . $detectRealm);
130
+        $detectionResult = $checker->autodetectCAWithProbe($localname."@".$detectRealm);
131 131
         $loggerInstance->debug(2, "CA Auto-Detection yields:");
132 132
         $loggerInstance->debug(2, $detectionResult);
133 133
         if ($detectionResult['ROOT_CA'] !== NULL) { // we are lucky!
@@ -171,8 +171,8 @@  discard block
 block discarded – undo
171 171
     <?php
172 172
     echo $uiElements->instLevelInfoBoxes($my_inst);
173 173
 
174
-    echo "<form enctype='multipart/form-data' action='edit_profile_result.php?inst_id=$my_inst->identifier" . ($my_profile !== NULL ? "&amp;profile_id=" . $my_profile->identifier : "") . "' method='post' accept-charset='UTF-8'>
175
-                <input type='hidden' name='MAX_FILE_SIZE' value='" . \config\Master::MAX_UPLOAD_SIZE . "'>";
174
+    echo "<form enctype='multipart/form-data' action='edit_profile_result.php?inst_id=$my_inst->identifier".($my_profile !== NULL ? "&amp;profile_id=".$my_profile->identifier : "")."' method='post' accept-charset='UTF-8'>
175
+                <input type='hidden' name='MAX_FILE_SIZE' value='" . \config\Master::MAX_UPLOAD_SIZE."'>";
176 176
     $optionDisplay = new \web\lib\admin\OptionDisplay($profile_options, \core\Options::LEVEL_PROFILE);
177 177
     ?>
178 178
     <fieldset class="option_container">
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         </legend>
182 182
         <?php
183 183
         if ($wizardStyle) {
184
-             echo "<p>" . _("We will now define a profile for your user group(s).  You can add as many profiles as you like by choosing the appropriate button on the end of the page. After we are done, the wizard is finished and you will be taken to the main IdP administration page.") . "</p>";
184
+             echo "<p>"._("We will now define a profile for your user group(s).  You can add as many profiles as you like by choosing the appropriate button on the end of the page. After we are done, the wizard is finished and you will be taken to the main IdP administration page.")."</p>";
185 185
         }
186 186
          ?>
187 187
         <h3><?php echo _("Profile Name and RADIUS realm"); ?>
@@ -258,37 +258,37 @@  discard block
 block discarded – undo
258 258
             <tr>
259 259
                 <!-- checkbox and input field for anonymity support, available only when realm is known-->
260 260
                 <td>
261
-                    <span id='anon_support_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'>
261
+                    <span id='anon_support_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'>
262 262
                         <?php echo _("Enable Anonymous Outer Identity:"); ?>
263 263
                     </span>
264 264
                 </td>
265 265
                 <td>
266
-                    <input type='checkbox' <?php echo ($useAnon != FALSE ? "checked" : "" ) . ($realm == "" ? " disabled" : "" ); ?> name='anon_support' onclick='
266
+                    <input type='checkbox' <?php echo ($useAnon != FALSE ? "checked" : "").($realm == "" ? " disabled" : ""); ?> name='anon_support' onclick='
267 267
                             if (this.form.elements["anon_support"].checked !== true) {
268 268
                                 this.form.elements["anon_local"].setAttribute("disabled", "disabled");
269 269
                             } else {
270 270
                                 this.form.elements["anon_local"].removeAttribute("disabled");
271 271
                             }
272 272
                             ;'/>
273
-                    <input type='text' <?php echo ($useAnon == FALSE ? "disabled" : "" ); ?> name='anon_local' value='<?php echo $anonLocal; ?>'/>
273
+                    <input type='text' <?php echo ($useAnon == FALSE ? "disabled" : ""); ?> name='anon_local' value='<?php echo $anonLocal; ?>'/>
274 274
                 </td>
275 275
             </tr>
276 276
             <tr>
277 277
                 <!-- checkbox and input field for check realm outer id, available only when realm is known-->
278 278
                 <td>
279
-                    <span id='checkuser_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'>
279
+                    <span id='checkuser_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'>
280 280
                         <?php echo _("Use special Outer Identity for realm checks:"); ?>
281 281
                     </span>
282 282
                 </td>
283 283
                 <td>
284
-                    <input type='checkbox' <?php echo ($checkuserOuter != FALSE ? "checked" : "" ) . ($realm == "" ? " disabled" : "" ); ?> name='checkuser_support' onclick='
284
+                    <input type='checkbox' <?php echo ($checkuserOuter != FALSE ? "checked" : "").($realm == "" ? " disabled" : ""); ?> name='checkuser_support' onclick='
285 285
                             if (this.form.elements["checkuser_support"].checked !== true) {
286 286
                                 this.form.elements["checkuser_local"].setAttribute("disabled", "disabled");
287 287
                             } else {
288 288
                                 this.form.elements["checkuser_local"].removeAttribute("disabled");
289 289
                             }
290 290
                             ;'/>
291
-                    <input type='text' <?php echo ($checkuserOuter == FALSE ? "disabled" : "" ); ?> name='checkuser_local' value='<?php echo $checkuserValue; ?>'/>
291
+                    <input type='text' <?php echo ($checkuserOuter == FALSE ? "disabled" : ""); ?> name='checkuser_local' value='<?php echo $checkuserValue; ?>'/>
292 292
                 </td>
293 293
             </tr>
294 294
             <tr>
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
                 </td>
304 304
                 <td>
305 305
                     <input type='checkbox' <?php
306
-                    echo ($verify != FALSE ? "checked" : "" );
306
+                    echo ($verify != FALSE ? "checked" : "");
307 307
                     ?> name='verify_support' onclick='
308 308
                                 if (this.form.elements["verify_support"].checked !== true || this.form.elements["realm"].value.length == 0) {
309 309
                                     this.form.elements["hint_support"].setAttribute("disabled", "disabled");
@@ -315,12 +315,12 @@  discard block
 block discarded – undo
315 315
             </tr>
316 316
             <tr>
317 317
                 <td>
318
-                    <span id='hint_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'>
318
+                    <span id='hint_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'>
319 319
                         <?php echo _("Enforce exact realm in username"); ?>
320 320
                     </span>
321 321
                 </td>
322 322
                 <td>
323
-                    <input type='checkbox' <?php echo ($verify == FALSE ? "disabled" : "" ); ?> name='hint_support' <?php echo ( $hint != FALSE ? "checked" : "" ); ?> />
323
+                    <input type='checkbox' <?php echo ($verify == FALSE ? "disabled" : ""); ?> name='hint_support' <?php echo ($hint != FALSE ? "checked" : ""); ?> />
324 324
                 </td>
325 325
             </tr>
326 326
         </table>
@@ -334,14 +334,14 @@  discard block
 block discarded – undo
334 334
     <p>
335 335
 
336 336
         <?php
337
-        echo "<span id='redirect_label' style='" . ($realm == "" ? "color:#999999" : "" ) . "'><label for='redirect'>" . _("Redirect end users to own web page:") . "</label></span>
338
-                          <input type='checkbox'  name='redirect' id='redirect' " . ($blacklisted === FALSE ? "" : "checked " ) . "onclick='
337
+        echo "<span id='redirect_label' style='".($realm == "" ? "color:#999999" : "")."'><label for='redirect'>"._("Redirect end users to own web page:")."</label></span>
338
+                          <input type='checkbox'  name='redirect' id='redirect' " . ($blacklisted === FALSE ? "" : "checked ")."onclick='
339 339
                               if (this.form.elements[\"redirect\"].checked != true) {
340 340
                                 this.form.elements[\"redirect_target\"].setAttribute(\"disabled\", \"disabled\");
341 341
                               } else {
342 342
                                 this.form.elements[\"redirect_target\"].removeAttribute(\"disabled\");
343 343
                               };'/>
344
-                          <input type='text' name='redirect_target' " . ($blacklisted !== FALSE ? "value='$blacklisted'" : "disabled" ) . "/>";
344
+                          <input type='text' name='redirect_target' " . ($blacklisted !== FALSE ? "value='$blacklisted'" : "disabled")."/>";
345 345
         ?>
346 346
     </p>
347 347
 
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
                         <?php
382 382
                         $D = [];
383 383
                         foreach ($prefill_methods as $prio => $value) {
384
-                            print '<li>' . $value->getPrintableRep() . "</li>\n";
384
+                            print '<li>'.$value->getPrintableRep()."</li>\n";
385 385
                             $D[$value->getPrintableRep()] = $prio;
386 386
                         }
387 387
                         ?>
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
                             }
408 408
                             $display = $a->getPrintableRep();
409 409
                             if (!isset($D[$a->getPrintableRep()])) {
410
-                                print '<li class="eap1">' . $a->getPrintableRep() . "</li>\n";
410
+                                print '<li class="eap1">'.$a->getPrintableRep()."</li>\n";
411 411
                             }
412 412
                         }
413 413
                         ?>
@@ -420,8 +420,8 @@  discard block
 block discarded – undo
420 420
     foreach ($methods as $a) {
421 421
         $display = $a->getPrintableRep();
422 422
         $v = isset($D[$display]) ? $D[$display] : '';
423
-        print '<input type="hidden" class="eapm" name="' . $display . '" id="EAP-' . $display . '" value="' . $display . '">';
424
-        print '<input type="hidden" class="eapmv" name="' . $display . '-priority" id="EAP-' . $display . '-priority" value="' . $v . '">';
423
+        print '<input type="hidden" class="eapm" name="'.$display.'" id="EAP-'.$display.'" value="'.$display.'">';
424
+        print '<input type="hidden" class="eapmv" name="'.$display.'-priority" id="EAP-'.$display.'-priority" value="'.$v.'">';
425 425
     }
426 426
     ?>
427 427
     <br style="clear:both;" />
@@ -441,11 +441,11 @@  discard block
 block discarded – undo
441 441
 foreach ($optionsAlreadySet as $optionNames) {
442 442
     if (preg_match("/^support:/", $optionNames)) {
443 443
         $has_support_options[$optionNames] = "SET";
444
-        $support_text .= "<li><strong>" . $uiElements->displayName($optionNames) . "</strong></li>";
444
+        $support_text .= "<li><strong>".$uiElements->displayName($optionNames)."</strong></li>";
445 445
     }
446 446
     if (preg_match("/^media:/", $optionNames)) {
447 447
         $has_media_options[$optionNames] = "SET";
448
-        $media_text .= "<li><strong>" . $uiElements->displayName($optionNames) . "</strong></li>";
448
+        $media_text .= "<li><strong>".$uiElements->displayName($optionNames)."</strong></li>";
449 449
     }
450 450
 }
451 451
 $fields = [
@@ -454,12 +454,12 @@  discard block
 block discarded – undo
454 454
     "media" => _("Media Properties for this profile")];
455 455
 
456 456
 foreach ($fields as $name => $description) {
457
-    echo "<fieldset class='option_container' id='" . $name . "_override'>
457
+    echo "<fieldset class='option_container' id='".$name."_override'>
458 458
     <legend><strong>$description</strong></legend>
459 459
     <p>";
460 460
     echo $wizard->displayHelp($name);
461
-    if (count(${"has_" . $name . "_options"}) > 0) {
462
-        printf(ngettext("The option %s is already defined IdP-wide. If you set it here on profile level, this setting will override the IdP-wide one.", "The options %s are already defined IdP-wide. If you set them here on profile level, these settings will override the IdP-wide ones.", count(${"has_" . $name . "_options"})), "<ul>" . ${$name . "_text"} . "</ul>");
461
+    if (count(${"has_".$name."_options"}) > 0) {
462
+        printf(ngettext("The option %s is already defined IdP-wide. If you set it here on profile level, this setting will override the IdP-wide one.", "The options %s are already defined IdP-wide. If you set them here on profile level, these settings will override the IdP-wide ones.", count(${"has_".$name."_options"})), "<ul>".${$name."_text"}."</ul>");
463 463
     }
464 464
     echo "</p>";
465 465
     echo $optionDisplay->prefilledOptionTable($name, $my_inst->federation);
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
     echo "</fieldset>";
470 470
 }
471 471
 if ($wizardStyle) {
472
-    echo "<p>" . _("When you are sure that everything is correct, please click on 'Save data' and you will be taken to your IdP Dashboard page.") . "</p>";
472
+    echo "<p>"._("When you are sure that everything is correct, please click on 'Save data' and you will be taken to your IdP Dashboard page.")."</p>";
473 473
 }
474 474
 if ($editMode == 'readonly') {
475 475
     $discardLabel = _("Return");
@@ -477,6 +477,6 @@  discard block
 block discarded – undo
477 477
 if ($editMode == 'fullaccess') {
478 478
     $discardLabel = _("Discard changes");
479 479
 }
480
-echo "<p><button type='submit' id='submitbutton' name='submitbutton' value='" . web\lib\common\FormElements::BUTTON_SAVE . "'>" . _("Save data") . "</button><button type='button' class='delete' id=='abortbutton' style='visibility: visible' value='abort' onclick='javascript:window.location = \"overview_org.php?inst_id=$my_inst->identifier\"'>".$discardLabel."</button></p></form>";
480
+echo "<p><button type='submit' id='submitbutton' name='submitbutton' value='".web\lib\common\FormElements::BUTTON_SAVE."'>"._("Save data")."</button><button type='button' class='delete' id=='abortbutton' style='visibility: visible' value='abort' onclick='javascript:window.location = \"overview_org.php?inst_id=$my_inst->identifier\"'>".$discardLabel."</button></p></form>";
481 481
 echo $deco->footer();
482 482
 
Please login to merge, or discard this patch.
web/lib/admin/Wizard.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -89,13 +89,13 @@  discard block
 block discarded – undo
89 89
                 $ssidlist .= ", '<strong>" . $ssid . "</strong>'";
90 90
             }
91 91
             $ssidlist = substr($ssidlist, 2);
92
-             $h .= sprintf(ngettext("We will always configure this SSID for WPA2/AES: %s.", "We will always configure these SSIDs for WPA2/AES: %s.", count(\config\ConfAssistant::CONSORTIUM['ssid'])), $ssidlist);
93
-             $h .= "<br/>" . sprintf(_("It is also possible to define custom additional SSIDs with the option '%s' below."), $this->displayName("media:SSID"));
92
+                $h .= sprintf(ngettext("We will always configure this SSID for WPA2/AES: %s.", "We will always configure these SSIDs for WPA2/AES: %s.", count(\config\ConfAssistant::CONSORTIUM['ssid'])), $ssidlist);
93
+                $h .= "<br/>" . sprintf(_("It is also possible to define custom additional SSIDs with the option '%s' below."), $this->displayName("media:SSID"));
94 94
         } else {
95
-             $h .=  _("Please configure which SSIDs should be configured in the installers.");
95
+                $h .=  _("Please configure which SSIDs should be configured in the installers.");
96 96
         }
97
-         $h .= " " . _("By default, we will only configure the SSIDs with WPA2/AES encryption. By using the '(with WPA/TKIP)' option you can specify that we should include legacy support for WPA/TKIP where possible.");
98
-         $h .= "</li>";
97
+            $h .= " " . _("By default, we will only configure the SSIDs with WPA2/AES encryption. By using the '(with WPA/TKIP)' option you can specify that we should include legacy support for WPA/TKIP where possible.");
98
+            $h .= "</li>";
99 99
 
100 100
         $h .= "<li>";
101 101
         $h .= "<strong>" . ( count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional Hotspot 2.0 / Passpoint Consortia:") : _("Hotspot 2.0 / Passpoint Consortia:")) . " </strong>";
@@ -135,19 +135,19 @@  discard block
 block discarded – undo
135 135
             "<p>" . _("Optionally, you can provide a longer descriptive text about who this profile is for. If you specify it, it will be displayed on the download page after the user has selected the profile name in the list.") . "</p>".
136 136
             "<p>" . _("You can also tell us your RADIUS realm. ");
137 137
             if (\config\Master::FUNCTIONALITY_LOCATIONS['DIAGNOSTICS'] !== NULL) {
138
-               $h .= sprintf(_("This is useful if you want to use the sanity check module later, which tests reachability of your realm in the %s infrastructure. "), \config\ConfAssistant::CONSORTIUM['display_name']);
138
+                $h .= sprintf(_("This is useful if you want to use the sanity check module later, which tests reachability of your realm in the %s infrastructure. "), \config\ConfAssistant::CONSORTIUM['display_name']);
139 139
             }
140 140
         $h .= _("It is required to enter the realm name if you want to support anonymous outer identities (see below).") . "</p>";
141 141
         $this->helpMessage['profile'] = $h;
142 142
         
143 143
         // REALM
144 144
         $h = "<p>".sprintf(_("Some installers support a feature called 'Anonymous outer identity'. If you don't know what this is, please read <a href='%s'>this article</a>."), "https://confluence.terena.org/display/H2eduroam/eap-types")."</p>".
145
-          "<p>"._("On some platforms, the installers can suggest username endings and/or verify the user input to contain the realm suffix.")."</p>".
146
-          "<p>"._("The realm check feature needs to know an outer ID which actually gets a chance to authenticate. If your RADIUS server lets only select usernames pass, it is useful to supply the information which of those (outer ID) username we can use for testing.")."</p>";
145
+            "<p>"._("On some platforms, the installers can suggest username endings and/or verify the user input to contain the realm suffix.")."</p>".
146
+            "<p>"._("The realm check feature needs to know an outer ID which actually gets a chance to authenticate. If your RADIUS server lets only select usernames pass, it is useful to supply the information which of those (outer ID) username we can use for testing.")."</p>";
147 147
         $this->helpMessage['realm'] = $h;
148 148
         
149 149
         // REDIRECT
150
-         $h ="<p>"._("The CAT has a download area for end users. There, they will, for example, learn about the support pointers you entered earlier. The CAT can also immediately offer the installers for the profile for download. If you don't want that, you can instead enter a web site location where you want your users to be redirected to. You, as the administrator, can still download the profiles to place them on that page (see the 'Compatibility Matrix' button on the dashboard).") . "</p>";
150
+            $h ="<p>"._("The CAT has a download area for end users. There, they will, for example, learn about the support pointers you entered earlier. The CAT can also immediately offer the installers for the profile for download. If you don't want that, you can instead enter a web site location where you want your users to be redirected to. You, as the administrator, can still download the profiles to place them on that page (see the 'Compatibility Matrix' button on the dashboard).") . "</p>";
151 151
         $this->helpMessage['redirect'] = $h;
152 152
         
153 153
         // EAP
Please login to merge, or discard this patch.
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -64,80 +64,80 @@  discard block
 block discarded – undo
64 64
     
65 65
     private function setMessages() {
66 66
         // SUPPORT
67
-        $h = "<p>" . _("This section can be used to upload specific Terms of Use for your users and to display details of how your users can reach your local helpdesk.") . "</p>";
67
+        $h = "<p>"._("This section can be used to upload specific Terms of Use for your users and to display details of how your users can reach your local helpdesk.")."</p>";
68 68
         if (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_RADIUS'] == "LOCAL") {
69
-            $h .= "<p>" .
70
-            sprintf(_("Do you provide helpdesk services for your users? If so, it would be nice if you would tell us the pointers to this helpdesk."), $this->nomenclatureParticipant) . "</p>" .
71
-            "<p>" .
72
-            _("If you enter a value here, it will be added to the installers for all your users, and will be displayed on the download page. If you operate separate helpdesks for different user groups (we call this 'profiles') specify per-profile helpdesk information later in this wizard. If you operate no help desk at all, just leave these fields empty.") . "</p>";
69
+            $h .= "<p>".
70
+            sprintf(_("Do you provide helpdesk services for your users? If so, it would be nice if you would tell us the pointers to this helpdesk."), $this->nomenclatureParticipant)."</p>".
71
+            "<p>".
72
+            _("If you enter a value here, it will be added to the installers for all your users, and will be displayed on the download page. If you operate separate helpdesks for different user groups (we call this 'profiles') specify per-profile helpdesk information later in this wizard. If you operate no help desk at all, just leave these fields empty.")."</p>";
73 73
             if (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_SILVERBULLET'] == "LOCAL") {
74
-                $h .= "<p>" . sprintf(_("For %s deployments, providing at least a local e-mail contact is required."), \config\ConfAssistant::SILVERBULLET['product_name']) . " " . _("This is the contact point for your organisation. It may be displayed publicly.") . "</p>";
74
+                $h .= "<p>".sprintf(_("For %s deployments, providing at least a local e-mail contact is required."), \config\ConfAssistant::SILVERBULLET['product_name'])." "._("This is the contact point for your organisation. It may be displayed publicly.")."</p>";
75 75
             }
76 76
         } elseif (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_SILVERBULLET'] == "LOCAL") {
77
-            $h .= "<p>" . _("Providing at least a local support e-mail contact is required.") . " " . _("This is the contact point for your end users' level 1 support.") . "</p>";
77
+            $h .= "<p>"._("Providing at least a local support e-mail contact is required.")." "._("This is the contact point for your end users' level 1 support.")."</p>";
78 78
         }
79 79
         $this->helpMessage['support'] = $h;
80 80
 
81 81
         // MEDIA
82
-        $h = "<p>" .
83
-            sprintf(_("In this section, you define on which media %s should be configured on user devices."), \config\ConfAssistant::CONSORTIUM['display_name']) . "</p><ul>";
82
+        $h = "<p>".
83
+            sprintf(_("In this section, you define on which media %s should be configured on user devices."), \config\ConfAssistant::CONSORTIUM['display_name'])."</p><ul>";
84 84
         $h .= "<li>";
85
-        $h .= "<strong>" . ( count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional SSIDs:") : _("SSIDs:")) . " </strong>";
85
+        $h .= "<strong>".(count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional SSIDs:") : _("SSIDs:"))." </strong>";
86 86
         if (count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0) {
87 87
             $ssidlist = "";
88 88
             foreach (\config\ConfAssistant::CONSORTIUM['ssid'] as $ssid) {
89
-                $ssidlist .= ", '<strong>" . $ssid . "</strong>'";
89
+                $ssidlist .= ", '<strong>".$ssid."</strong>'";
90 90
             }
91 91
             $ssidlist = substr($ssidlist, 2);
92 92
              $h .= sprintf(ngettext("We will always configure this SSID for WPA2/AES: %s.", "We will always configure these SSIDs for WPA2/AES: %s.", count(\config\ConfAssistant::CONSORTIUM['ssid'])), $ssidlist);
93
-             $h .= "<br/>" . sprintf(_("It is also possible to define custom additional SSIDs with the option '%s' below."), $this->displayName("media:SSID"));
93
+             $h .= "<br/>".sprintf(_("It is also possible to define custom additional SSIDs with the option '%s' below."), $this->displayName("media:SSID"));
94 94
         } else {
95
-             $h .=  _("Please configure which SSIDs should be configured in the installers.");
95
+             $h .= _("Please configure which SSIDs should be configured in the installers.");
96 96
         }
97
-         $h .= " " . _("By default, we will only configure the SSIDs with WPA2/AES encryption. By using the '(with WPA/TKIP)' option you can specify that we should include legacy support for WPA/TKIP where possible.");
97
+         $h .= " "._("By default, we will only configure the SSIDs with WPA2/AES encryption. By using the '(with WPA/TKIP)' option you can specify that we should include legacy support for WPA/TKIP where possible.");
98 98
          $h .= "</li>";
99 99
 
100 100
         $h .= "<li>";
101
-        $h .= "<strong>" . ( count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional Hotspot 2.0 / Passpoint Consortia:") : _("Hotspot 2.0 / Passpoint Consortia:")) . " </strong>";
101
+        $h .= "<strong>".(count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional Hotspot 2.0 / Passpoint Consortia:") : _("Hotspot 2.0 / Passpoint Consortia:"))." </strong>";
102 102
         if (count(\config\ConfAssistant::CONSORTIUM['interworking-consortium-oi']) > 0) {
103 103
             $consortiumlist = "";
104 104
             foreach (\config\ConfAssistant::CONSORTIUM['interworking-consortium-oi'] as $oi) {
105
-                $consortiumlist .= ", '<strong>" . $oi . "</strong>'";
105
+                $consortiumlist .= ", '<strong>".$oi."</strong>'";
106 106
             }
107 107
             $consortiumlist = substr($consortiumlist, 2);
108 108
             $h .= sprintf(ngettext("We will always configure this Consortium OI: %s.", "We will always configure these Consortium OIs: %s.", count(\config\ConfAssistant::CONSORTIUM['interworking-consortium-oi'])), $consortiumlist);
109 109
 
110
-            $h .= "<br/>" . sprintf(_("It is also possible to define custom additional OIs with the option '%s' below."), $this->displayName("media:consortium_OI"));
110
+            $h .= "<br/>".sprintf(_("It is also possible to define custom additional OIs with the option '%s' below."), $this->displayName("media:consortium_OI"));
111 111
         } else {
112 112
             $h .= _("Please configure which Consortium OIs should be configured in the installers.");
113 113
         }
114 114
         $h .= "</li>";
115
-        $h .= "<li><strong>" . _("Support for wired IEEE 802.1X:") . " </strong>"
116
-        . _("If you want to configure your users' devices with IEEE 802.1X support for wired ethernet, please check the corresponding box. Note that this makes the installation process a bit more difficult on some platforms (Windows: needs administrator privileges; Apple: attempting to install a profile with wired support on a device without an active wired ethernet card will fail).") .
115
+        $h .= "<li><strong>"._("Support for wired IEEE 802.1X:")." </strong>"
116
+        . _("If you want to configure your users' devices with IEEE 802.1X support for wired ethernet, please check the corresponding box. Note that this makes the installation process a bit more difficult on some platforms (Windows: needs administrator privileges; Apple: attempting to install a profile with wired support on a device without an active wired ethernet card will fail).").
117 117
         "</li>";
118
-        $h .= "<li><strong>" . _("Removal of bootstrap/onboarding SSIDs:") . " </strong>"
118
+        $h .= "<li><strong>"._("Removal of bootstrap/onboarding SSIDs:")." </strong>"
119 119
         . _("If you use a captive portal to distribute configurations, you may want to unconfigure/disable that SSID after the bootstrap process. With this option, the SSID will either be removed, or be defined as 'Only connect manually'.")
120 120
         . "</li>";
121 121
         $h .= "</ul>";
122 122
         $this->helpMessage['media'] = $h;
123 123
         
124 124
         // IDP GENERAL
125
-        $h = "<p>" .
126
-        _("Some properties are valid across all deployment profiles. This is the place where you can describe those properties in a fine-grained way. The solicited information is used as follows:") . "</p>".
125
+        $h = "<p>".
126
+        _("Some properties are valid across all deployment profiles. This is the place where you can describe those properties in a fine-grained way. The solicited information is used as follows:")."</p>".
127 127
             "<ul>".
128
-                "<li>"._("<strong>Logo</strong>: When you submit a logo, we will embed this logo into all installers where a custom logo is possible. We accept any image format, but for best results, we suggest SVG. If you don't upload a logo, we will use the generic logo instead (see top-right corner of this page).") . "</li>".
129
-                "<li>".sprintf(_("<strong>Name</strong>: The %s may have names in multiple languages. It is recommended to always populate at least the 'default/other' language, as it is used as a fallback if the system does not have a name in the exact language the user requests a download in."), $this->nomenclatureParticipant) . "</li>".
128
+                "<li>"._("<strong>Logo</strong>: When you submit a logo, we will embed this logo into all installers where a custom logo is possible. We accept any image format, but for best results, we suggest SVG. If you don't upload a logo, we will use the generic logo instead (see top-right corner of this page).")."</li>".
129
+                "<li>".sprintf(_("<strong>Name</strong>: The %s may have names in multiple languages. It is recommended to always populate at least the 'default/other' language, as it is used as a fallback if the system does not have a name in the exact language the user requests a download in."), $this->nomenclatureParticipant)."</li>".
130 130
             "</ul>";
131 131
         $this->helpMessage['idp_general'] = $h;
132 132
         
133 133
         // PROFILE GENERAL
134
-        $h = "<p>" . _("First of all we need a name for the profile. This will be displayed to end users, so you may want to choose a descriptive name like 'Professors', 'Students of the Faculty of Bioscience', etc.") . "</p>".
135
-            "<p>" . _("Optionally, you can provide a longer descriptive text about who this profile is for. If you specify it, it will be displayed on the download page after the user has selected the profile name in the list.") . "</p>".
136
-            "<p>" . _("You can also tell us your RADIUS realm. ");
134
+        $h = "<p>"._("First of all we need a name for the profile. This will be displayed to end users, so you may want to choose a descriptive name like 'Professors', 'Students of the Faculty of Bioscience', etc.")."</p>".
135
+            "<p>"._("Optionally, you can provide a longer descriptive text about who this profile is for. If you specify it, it will be displayed on the download page after the user has selected the profile name in the list.")."</p>".
136
+            "<p>"._("You can also tell us your RADIUS realm. ");
137 137
             if (\config\Master::FUNCTIONALITY_LOCATIONS['DIAGNOSTICS'] !== NULL) {
138 138
                $h .= sprintf(_("This is useful if you want to use the sanity check module later, which tests reachability of your realm in the %s infrastructure. "), \config\ConfAssistant::CONSORTIUM['display_name']);
139 139
             }
140
-        $h .= _("It is required to enter the realm name if you want to support anonymous outer identities (see below).") . "</p>";
140
+        $h .= _("It is required to enter the realm name if you want to support anonymous outer identities (see below).")."</p>";
141 141
         $this->helpMessage['profile'] = $h;
142 142
         
143 143
         // REALM
@@ -147,24 +147,24 @@  discard block
 block discarded – undo
147 147
         $this->helpMessage['realm'] = $h;
148 148
         
149 149
         // REDIRECT
150
-         $h ="<p>"._("The CAT has a download area for end users. There, they will, for example, learn about the support pointers you entered earlier. The CAT can also immediately offer the installers for the profile for download. If you don't want that, you can instead enter a web site location where you want your users to be redirected to. You, as the administrator, can still download the profiles to place them on that page (see the 'Compatibility Matrix' button on the dashboard).") . "</p>";
150
+         $h = "<p>"._("The CAT has a download area for end users. There, they will, for example, learn about the support pointers you entered earlier. The CAT can also immediately offer the installers for the profile for download. If you don't want that, you can instead enter a web site location where you want your users to be redirected to. You, as the administrator, can still download the profiles to place them on that page (see the 'Compatibility Matrix' button on the dashboard).")."</p>";
151 151
         $this->helpMessage['redirect'] = $h;
152 152
         
153 153
         // EAP
154
-        $h = "<p>"._("Now, we need to know which EAP types your IdP supports. If you support multiple EAP types, you can assign every type a priority (1=highest). This tool will always generate an automatic installer for the EAP type with the highest priority; only if the user's device can't use that EAP type, we will use an EAP type further down in the list.") . "</p>";
154
+        $h = "<p>"._("Now, we need to know which EAP types your IdP supports. If you support multiple EAP types, you can assign every type a priority (1=highest). This tool will always generate an automatic installer for the EAP type with the highest priority; only if the user's device can't use that EAP type, we will use an EAP type further down in the list.")."</p>";
155 155
         $this->helpMessage['eap_support'] = $h;
156 156
         
157 157
         // LOCATIOM
158
-        $h = "<p>" .
159
-                    _("The user download interface (see <a href='../'>here</a>), uses geolocation to suggest possibly matching IdPs to the user. The more precise you define the location here, the easier your users will find you.") .
158
+        $h = "<p>".
159
+                    _("The user download interface (see <a href='../'>here</a>), uses geolocation to suggest possibly matching IdPs to the user. The more precise you define the location here, the easier your users will find you.").
160 160
                     "</p>
161 161
                      <ul>" .
162 162
                     _("<li>Drag the marker in the map to your place, or</li>
163 163
 <li>enter your street address in the field below for lookup, or</li>
164
-<li>use the 'Locate Me!' button</li>") .
164
+<li>use the 'Locate Me!' button</li>").
165 165
                     "</ul>
166 166
                      <strong>" .
167
-                    _("We will use the coordinates as indicated by the marker for geolocation.") .
167
+                    _("We will use the coordinates as indicated by the marker for geolocation.").
168 168
                     "</strong>";
169 169
         $this->helpMessage['location'] = $h;
170 170
     }
Please login to merge, or discard this patch.
web/admin/sort_profiles_result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 ?>
28 28
 
29 29
 <?php
30
-require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php";
30
+require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php";
31 31
 
32 32
 $deco = new \web\lib\admin\PageDecoration();
33 33
 $validator = new \web\lib\common\InputValidation();
Please login to merge, or discard this patch.
web/admin/duplicate_profile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 ?>
28 28
 
29 29
 <?php
30
-require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php";
30
+require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php";
31 31
 
32 32
 $deco = new \web\lib\admin\PageDecoration();
33 33
 $validator = new \web\lib\common\InputValidation();
Please login to merge, or discard this patch.
web/admin/duplicate_profile_result.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 ?>
30 30
 
31 31
 <?php
32
-require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php";
32
+require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php";
33 33
 
34 34
 $deco = new \web\lib\admin\PageDecoration();
35 35
 $validator = new \web\lib\common\InputValidation();
@@ -101,13 +101,13 @@  discard block
 block discarded – undo
101 101
     } 
102 102
 }
103 103
 
104
-$newProfileName =  $validator->string($_POST['new_profile'], true);
104
+$newProfileName = $validator->string($_POST['new_profile'], true);
105 105
 $origProfileName = $validator->string($_POST['orig_profile_name'], true);
106 106
 $handle = \core\DBConnection::handle("INST");
107 107
 
108 108
 $result = runSelect($my_profile->identifier, $fields, 'profile', $handle);
109 109
 $row = $result->fetch_assoc();
110
-$row['showtime']= 0;
110
+$row['showtime'] = 0;
111 111
 $row['preference'] = 1000;
112 112
 copyRow($row, $fields, 'profile', $handle);
113 113
 $newProfileId = $handle->lastID();
Please login to merge, or discard this patch.
web/lib/admin/AbstractMap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         \core\common\Entity::intoThePotatoes();
138 138
         $wizard = new \web\lib\admin\Wizard($wizardMode);
139 139
         $retval = "<fieldset class='option_container_map'>
140
-        <legend><strong>" . _("Location") . "</strong></legend>";
140
+        <legend><strong>" . _("Location")."</strong></legend>";
141 141
         $retval .= $wizard->displayHelp("location");
142 142
         if ($additional) {
143 143
             $retval .= _("You can enter an <strong>additional</strong> location here. You can see the already defined locations in the 'General Information' field.");
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     protected function htmlPostEdit($allowDirectInput) {
156 156
         \core\common\Entity::intoThePotatoes();
157
-        $retval = "<br/>" . _("Latitude:") . " <input style='width:80px' name='geo_lat' id='geo_lat' " .($allowDirectInput ? "": "readonly"). ">" . _("Longitude:") . " <input name='geo_long' id='geo_long' style='width:80px' " .($allowDirectInput ? "": "readonly"). "></fieldset>";
157
+        $retval = "<br/>"._("Latitude:")." <input style='width:80px' name='geo_lat' id='geo_lat' ".($allowDirectInput ? "" : "readonly").">"._("Longitude:")." <input name='geo_long' id='geo_long' style='width:80px' ".($allowDirectInput ? "" : "readonly")."></fieldset>";
158 158
         \core\common\Entity::outOfThePotatoes();
159 159
         return $retval;
160 160
     }
Please login to merge, or discard this patch.
web/resources/css/cat.css.php 1 patch
Spacing   +128 added lines, -128 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  *          <base_url>/copyright.php after deploying the software
20 20
  */
21 21
 
22
-require dirname(dirname(dirname(dirname(__FILE__)))) . "/config/_config.php";
22
+require dirname(dirname(dirname(dirname(__FILE__))))."/config/_config.php";
23 23
 $colour1 = \config\Master::APPEARANCE['colour1'];
24 24
 $colour2 = \config\Master::APPEARANCE['colour2'];
25 25
 // we need to know if we are serving a RTL language so we can flip some heading
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
 }
35 35
 
36 36
 body {
37
-    background: <?php echo $colour1;?>;
37
+    background: <?php echo $colour1; ?>;
38 38
     color: #000000;
39 39
     font-family:Verdana, Arial, Helvetica, sans-serif;
40 40
     font-size:11px;
41 41
     height: 100%;
42 42
     margin: 0px;
43 43
     padding: 0px;
44
-    padding-<?php echo $start;?>: 0px;
44
+    padding-<?php echo $start; ?>: 0px;
45 45
     min-width: 700px;
46 46
     font-size: 11px;
47 47
     font-weight: normal;
@@ -57,18 +57,18 @@  discard block
 block discarded – undo
57 57
 }
58 58
 
59 59
 button {
60
-    background: <?php echo $colour2;?>; 
60
+    background: <?php echo $colour2; ?>; 
61 61
     color: #FFFFFF; 
62 62
     min-height: 23px;
63
-    border-<?php echo $start;?>-style: outset; 
64
-    border-<?php echo $start;?>-width: 1px; 
65
-    border-<?php echo $start;?>-color: #8bbacb;
63
+    border-<?php echo $start; ?>-style: outset; 
64
+    border-<?php echo $start; ?>-width: 1px; 
65
+    border-<?php echo $start; ?>-color: #8bbacb;
66 66
     border-top-style: outset; 
67 67
     border-top-width: 1px; 
68 68
     border-top-color: #8bbacb;
69
-    border-<?php echo $end;?>-style: outset; 
70
-    border-<?php echo $end;?>-width: 2px; 
71
-    border-<?php echo $end;?>-color: #043d52;
69
+    border-<?php echo $end; ?>-style: outset; 
70
+    border-<?php echo $end; ?>-width: 2px; 
71
+    border-<?php echo $end; ?>-color: #043d52;
72 72
     border-bottom-style: outset; 
73 73
     border-bottom-width: 2px; 
74 74
     border-bottom-color: #043d52;
@@ -78,14 +78,14 @@  discard block
 block discarded – undo
78 78
     background:#095e80;
79 79
     border-style:inset;
80 80
     position: relative;
81
-    <?php echo $start;?>: 3px;
81
+    <?php echo $start; ?>: 3px;
82 82
 }
83 83
 
84 84
 button.pressedDisabled {
85 85
     background:#999;
86 86
     border-style:inset;
87 87
     position: relative;
88
-    <?php echo $start;?>: 3px;
88
+    <?php echo $start; ?>: 3px;
89 89
 }
90 90
 
91 91
 button.delete {
@@ -93,14 +93,14 @@  discard block
 block discarded – undo
93 93
 }
94 94
 
95 95
 .problemdescription {
96
-    padding-<?php echo $start;?>:40px;
96
+    padding-<?php echo $start; ?>:40px;
97 97
     padding-top: 10px;
98 98
     padding-bottom: 10px;
99 99
     background-color: lightyellow;
100 100
 }
101 101
 
102 102
 .problemsolution {
103
-    padding-<?php echo $start;?>:40px;
103
+    padding-<?php echo $start; ?>:40px;
104 104
     padding-top: 10px;
105 105
     padding-bottom: 10px;
106 106
     background-color: lightgreen;
@@ -109,15 +109,15 @@  discard block
 block discarded – undo
109 109
 .use_borders button.alertButton {
110 110
     color: maroon; 
111 111
     background: #bbb; 
112
-    border-<?php echo $start;?>-style: outset; 
113
-    border-<?php echo $start;?>-width: 1px; 
114
-    border-<?php echo $start;?>-color: #eee;
112
+    border-<?php echo $start; ?>-style: outset; 
113
+    border-<?php echo $start; ?>-width: 1px; 
114
+    border-<?php echo $start; ?>-color: #eee;
115 115
     border-top-style: outset; 
116 116
     border-top-width: 1px; 
117 117
     border-top-color: #eee;
118
-    border-<?php echo $end;?>-style: outset; 
119
-    border-<?php echo $end;?>-width: 2px; 
120
-    border-<?php echo $end;?>-color: #444;
118
+    border-<?php echo $end; ?>-style: outset; 
119
+    border-<?php echo $end; ?>-width: 2px; 
120
+    border-<?php echo $end; ?>-color: #444;
121 121
     border-bottom-style: outset; 
122 122
     border-bottom-width: 2px; 
123 123
     border-bottom-color: #444;
@@ -127,15 +127,15 @@  discard block
 block discarded – undo
127 127
 button[disabled] {
128 128
     background: #bababa;
129 129
     color: #6a6a6a;
130
-    border-<?php echo $start;?>-style: inset;
131
-    border-<?php echo $start;?>-width: 1px;
132
-    border-<?php echo $start;?>-color: #dadada;
130
+    border-<?php echo $start; ?>-style: inset;
131
+    border-<?php echo $start; ?>-width: 1px;
132
+    border-<?php echo $start; ?>-color: #dadada;
133 133
     border-top-style: inset;
134 134
     border-top-width: 1px;
135 135
     border-top-color: #dadada;
136
-    border-<?php echo $end;?>-style: outset;
137
-    border-<?php echo $end;?>-width: 2px;
138
-    border-<?php echo $end;?>-color: #dadada;
136
+    border-<?php echo $end; ?>-style: outset;
137
+    border-<?php echo $end; ?>-width: 2px;
138
+    border-<?php echo $end; ?>-color: #dadada;
139 139
     border-bottom-style: outset;
140 140
     border-bottom-width: 2px;
141 141
     border-bottom-color: #dadada;
@@ -167,8 +167,8 @@  discard block
 block discarded – undo
167 167
 div.profilemodulebuttons {
168 168
     position: inherit;
169 169
     bottom: 5px;
170
-    <?php echo $end;?>: 5px;
171
-    text-align: <?php echo $end;?>;
170
+    <?php echo $end; ?>: 5px;
171
+    text-align: <?php echo $end; ?>;
172 172
 }
173 173
 
174 174
 div.profilebox {
@@ -189,15 +189,15 @@  discard block
 block discarded – undo
189 189
     display: block;
190 190
     position: absolute;
191 191
     top:0;
192
-    <?php echo $end;?>:0;
193
-    padding-<?php echo $end;?>:20px;
192
+    <?php echo $end; ?>:0;
193
+    padding-<?php echo $end; ?>:20px;
194 194
     padding-top:7px;
195 195
 }
196 196
 
197 197
 div.sidebar {
198 198
     display: inline;
199
-    float: <?php echo $end;?>;
200
-    padding-<?php echo $end;?>: 20px;
199
+    float: <?php echo $end; ?>;
200
+    padding-<?php echo $end; ?>: 20px;
201 201
 }
202 202
 div.sidebar a {
203 203
     color: white;
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 div.header {
207 207
     height: 54px;
208 208
     background: #FFFFFF;
209
-    padding-<?php echo $start;?>:30px;
209
+    padding-<?php echo $start; ?>:30px;
210 210
     padding-bottom: 10px;
211 211
     color: <?php echo $colour2?>;
212 212
 }
@@ -216,8 +216,8 @@  discard block
 block discarded – undo
216 216
     top: 54px;
217 217
     bottom: 50px;
218 218
     padding-top: 10px;
219
-    padding-<?php echo $start;?>: 0px;
220
-    padding-<?php echo $end;?>: 0px;
219
+    padding-<?php echo $start; ?>: 0px;
220
+    padding-<?php echo $end; ?>: 0px;
221 221
     width:100%;
222 222
 }
223 223
 
@@ -231,18 +231,18 @@  discard block
 block discarded – undo
231 231
     color: #FFFFFF;
232 232
     min-height:100px;
233 233
     overflow: auto;
234
-    padding-<?php echo $start;?>:20px
234
+    padding-<?php echo $start; ?>:20px
235 235
 }
236 236
 
237 237
 #thirdrow {
238
-    padding-<?php echo $start;?>: 10px;
239
-    padding-<?php echo $end;?>: 10px;
238
+    padding-<?php echo $start; ?>: 10px;
239
+    padding-<?php echo $end; ?>: 10px;
240 240
 }
241 241
 
242 242
 #footer {
243 243
     width: 100%;
244
-    <?php echo $start;?>: 0;
245
-    <?php echo $end;?>: 0;
244
+    <?php echo $start; ?>: 0;
245
+    <?php echo $end; ?>: 0;
246 246
     bottom: 0;
247 247
     position: absolute;
248 248
     background: white;
@@ -268,8 +268,8 @@  discard block
 block discarded – undo
268 268
     height: 100% !important;
269 269
     position: relative;
270 270
     min-width: 1000px;
271
-    margin-<?php echo $start;?>: auto;
272
-    margin-<?php echo $end;?>: auto;
271
+    margin-<?php echo $start; ?>: auto;
272
+    margin-<?php echo $end; ?>: auto;
273 273
 }
274 274
 
275 275
 div.device_info {
@@ -289,8 +289,8 @@  discard block
 block discarded – undo
289 289
     position: fixed;
290 290
     top: 0;
291 291
     bottom: 0;
292
-    <?php echo $start;?>: 0;
293
-    <?php echo $end;?>: 0;
292
+    <?php echo $start; ?>: 0;
293
+    <?php echo $end; ?>: 0;
294 294
     background-color: #000000;
295 295
     opacity: 0.5;
296 296
     z-index: 90;
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     padding: 15px;
317 317
     text-align: start;
318 318
     width: 850px;
319
-    <?php echo $start;?>: 100px;
319
+    <?php echo $start; ?>: 100px;
320 320
     top: 50px;
321 321
     z-index: 100;
322 322
 }
@@ -325,15 +325,15 @@  discard block
 block discarded – undo
325 325
     position: absolute;
326 326
     top: 0;
327 327
     bottom: 0;
328
-    <?php echo $start;?>: 0;
329
-    <?php echo $end;?>: 0;
328
+    <?php echo $start; ?>: 0;
329
+    <?php echo $end; ?>: 0;
330 330
     z-index: 100;
331 331
 }
332 332
 
333 333
 div#msgbox div {
334 334
     position: fixed;
335
-    <?php echo $start;?>: 0;
336
-    <?php echo $end;?>: 0;
335
+    <?php echo $start; ?>: 0;
336
+    <?php echo $end; ?>: 0;
337 337
 }
338 338
 
339 339
 div#msgbox div div.graybox {
@@ -347,13 +347,13 @@  discard block
 block discarded – undo
347 347
 div.graybox img {
348 348
     display: block;
349 349
     cursor: pointer;
350
-    float: <?php echo $end;?>;
350
+    float: <?php echo $end; ?>;
351 351
     margin: 0px 0px 10px 10px;
352 352
 }
353 353
 
354 354
 img.icon {
355
-    float: <?php echo $start;?>;
356
-    margin-<?php echo $end;?>: 5px;
355
+    float: <?php echo $start; ?>;
356
+    margin-<?php echo $end; ?>: 5px;
357 357
     margin-top: 3px;
358 358
 }
359 359
 
@@ -417,15 +417,15 @@  discard block
 block discarded – undo
417 417
 div.ca-summary {
418 418
     border: 1px dotted;
419 419
     background-color: #ccccff;
420
-    border-<?php echo $start;?>: 10px solid;
421
-    border-<?php echo $start;?>-color: green;
420
+    border-<?php echo $start; ?>: 10px solid;
421
+    border-<?php echo $start; ?>-color: green;
422 422
     padding: 2px;
423
-    padding-<?php echo $start;?>: 8px;
423
+    padding-<?php echo $start; ?>: 8px;
424 424
 }
425 425
 
426 426
 span.edu_cat {
427 427
     font-weight: bold;
428
-    color: <?php echo $colour2;?>;
428
+    color: <?php echo $colour2; ?>;
429 429
 }
430 430
 
431 431
 span.tooltip {
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
 }
485 485
 
486 486
 table.authrecord td {
487
-    padding-<?php echo $end;?>: 10px;
487
+    padding-<?php echo $end; ?>: 10px;
488 488
 }
489 489
 
490 490
 p.MOTD {
@@ -502,15 +502,15 @@  discard block
 block discarded – undo
502 502
 }
503 503
 
504 504
 .use_borders button {
505
-    border-<?php echo $start;?>-style: outset; 
506
-    border-<?php echo $start;?>-width: 1px; 
507
-    border-<?php echo $start;?>-color: #8bbacb;
505
+    border-<?php echo $start; ?>-style: outset; 
506
+    border-<?php echo $start; ?>-width: 1px; 
507
+    border-<?php echo $start; ?>-color: #8bbacb;
508 508
     border-top-style: outset; 
509 509
     border-top-width: 1px; 
510 510
     border-top-color: #8bbacb;
511
-    border-<?php echo $end;?>-style: outset; 
512
-    border-<?php echo $end;?>-width: 2px; 
513
-    border-<?php echo $end;?>-color: #043d52;
511
+    border-<?php echo $end; ?>-style: outset; 
512
+    border-<?php echo $end; ?>-width: 2px; 
513
+    border-<?php echo $end; ?>-color: #043d52;
514 514
     border-bottom-style: outset; 
515 515
     border-bottom-width: 2px; 
516 516
     border-bottom-color: #043d52;
@@ -533,8 +533,8 @@  discard block
 block discarded – undo
533 533
     border-bottom-style:solid;
534 534
     border-top-width:5px; 
535 535
     border-bottom-width:5px; 
536
-    border-color: <?php echo $colour1;?>; 
537
-    padding-<?php echo $start;?>:30px;
536
+    border-color: <?php echo $colour1; ?>; 
537
+    padding-<?php echo $start; ?>:30px;
538 538
 }
539 539
 
540 540
 .no_borders button.disabledDevice {
@@ -550,13 +550,13 @@  discard block
 block discarded – undo
550 550
 }
551 551
 
552 552
 input {
553
-    margin-<?php echo $end;?>: 5px;
553
+    margin-<?php echo $end; ?>: 5px;
554 554
 
555 555
 }
556 556
 
557 557
 select {
558 558
     vertical-align: middle;
559
-    margin-<?php echo $start;?>: 10px;
559
+    margin-<?php echo $start; ?>: 10px;
560 560
 }
561 561
 
562 562
 td.notapplicable {
@@ -589,8 +589,8 @@  discard block
 block discarded – undo
589 589
 
590 590
 .signin_large {
591 591
     vertical-align: top;
592
-    padding-<?php echo $start;?>:20px;
593
-    padding-<?php echo $end;?>:20px;
592
+    padding-<?php echo $start; ?>:20px;
593
+    padding-<?php echo $end; ?>:20px;
594 594
     color: #bfd5dc;
595 595
     font-size: 20px;
596 596
 }
@@ -603,34 +603,34 @@  discard block
 block discarded – undo
603 603
 }
604 604
 
605 605
 #close_button {
606
-    background: <?php echo $colour2;?>; 
606
+    background: <?php echo $colour2; ?>; 
607 607
     color: #FFFFFF; 
608 608
     height: 23px;
609
-    border-<?php echo $start;?>-style: inset; 
610
-    border-<?php echo $start;?>-width: 1px; 
611
-    border-<?php echo $start;?>-color: #8bbacb;
609
+    border-<?php echo $start; ?>-style: inset; 
610
+    border-<?php echo $start; ?>-width: 1px; 
611
+    border-<?php echo $start; ?>-color: #8bbacb;
612 612
     border-top-style: inset; 
613 613
     border-top-width: 1px; 
614 614
     border-top-color: #8bbacb;
615
-    border-<?php echo $end;?>-style: outset; 
616
-    border-<?php echo $end;?>-width: 2px; 
617
-    border-<?php echo $end;?>-color: #043d52;
615
+    border-<?php echo $end; ?>-style: outset; 
616
+    border-<?php echo $end; ?>-width: 2px; 
617
+    border-<?php echo $end; ?>-color: #043d52;
618 618
     border-bottom-style: outset; 
619 619
     border-bottom-width: 2px; 
620 620
     border-bottom-color: #043d52;
621
-    padding-<?php echo $start;?>: 5px;
622
-    padding-<?php echo $end;?>: 5px;
621
+    padding-<?php echo $start; ?>: 5px;
622
+    padding-<?php echo $end; ?>: 5px;
623 623
     padding-top: 1px;
624 624
     padding-bottom: 1px;
625 625
     position: relative;
626
-    <?php echo $start;?>: 640px;
626
+    <?php echo $start; ?>: 640px;
627 627
     cursor:pointer;
628 628
 }
629 629
 
630 630
 #loading_ico {
631 631
     display: none;
632 632
     position: absolute;
633
-    <?php echo $start;?>: 200px;
633
+    <?php echo $start; ?>: 200px;
634 634
     top: 220px;
635 635
     z-index: 200;
636 636
     text-align: center;
@@ -644,7 +644,7 @@  discard block
 block discarded – undo
644 644
     z-index: 100;
645 645
     position: absolute;
646 646
     width: 700px;
647
-    <?php echo $start;?>: 200px;
647
+    <?php echo $start; ?>: 200px;
648 648
     text-align: justify;
649 649
     top: 200px;
650 650
     box-shadow: 5px 5px 5px #666666;
@@ -652,23 +652,23 @@  discard block
 block discarded – undo
652 652
 }
653 653
 
654 654
 #user_info {
655
-    padding-<?php echo $start;?>: 30px; 
655
+    padding-<?php echo $start; ?>: 30px; 
656 656
     font-size: 11px;  
657 657
     font-weight: normal; 
658 658
 }
659 659
 
660 660
 #user_welcome {
661 661
     background: #ffffff;
662
-    padding-<?php echo $start;?>: 30px; 
662
+    padding-<?php echo $start; ?>: 30px; 
663 663
     padding-top: 20px; 
664
-    padding-<?php echo $end;?>: 180px;
664
+    padding-<?php echo $end; ?>: 180px;
665 665
     font-size: 12px;  
666 666
     font-weight: normal; 
667 667
 }
668 668
 
669 669
 #devices {
670 670
     z-index:90;
671
-    padding-<?php echo $start;?>: 30px;
671
+    padding-<?php echo $start; ?>: 30px;
672 672
     font-size: 11px;  
673 673
     font-weight: normal;
674 674
     position: relative;
@@ -676,15 +676,15 @@  discard block
 block discarded – undo
676 676
 
677 677
 #profile_list {
678 678
     width: 30em; 
679
-    padding-<?php echo $start;?>: 10px; 
680
-    padding-<?php echo $end;?>: 0px; 
681
-    background: <?php echo $colour2;?>; 
679
+    padding-<?php echo $start; ?>: 10px; 
680
+    padding-<?php echo $end; ?>: 0px; 
681
+    background: <?php echo $colour2; ?>; 
682 682
     color: white; 
683 683
     box-shadow: 10px 10px 5px #888888;
684 684
 }
685 685
 
686 686
 #profile_redirect {
687
-    padding-<?php echo $start;?>: 30px;
687
+    padding-<?php echo $start; ?>: 30px;
688 688
     padding-top: 20px;
689 689
     font-size: 11px;
690 690
     font-weight: normal;
@@ -694,13 +694,13 @@  discard block
 block discarded – undo
694 694
 }
695 695
 
696 696
 #profiles {
697
-    padding-<?php echo $start;?>: 30px; 
697
+    padding-<?php echo $start; ?>: 30px; 
698 698
     font-size: 11px; 
699 699
     padding-bottom: 10px 
700 700
 }
701 701
 
702 702
 #signin {
703
-    padding-<?php echo $start;?>: 30px;
703
+    padding-<?php echo $start; ?>: 30px;
704 704
     padding-top: 10px;
705 705
 }
706 706
 
@@ -724,8 +724,8 @@  discard block
 block discarded – undo
724 724
     font-size: 14px; 
725 725
     padding-top: 4px; 
726 726
     padding-bottom: 12px; 
727
-    padding-<?php echo $start;?>: 30px; 
728
-    background: <?php echo $colour1;?>; 
727
+    padding-<?php echo $start; ?>: 30px; 
728
+    background: <?php echo $colour1; ?>; 
729 729
     text-align: start; 
730 730
     text-shadow: 10px 10px 5px #888888;
731 731
 }
@@ -735,9 +735,9 @@  discard block
 block discarded – undo
735 735
     border-bottom-style:solid;
736 736
     border-top-width:5px;
737 737
     border-bottom-width:5px;
738
-    border-color: <?php echo $colour1;?>;
739
-    padding-<?php echo $start;?>:30px;
740
-    color: <?php echo $colour2;?>;
738
+    border-color: <?php echo $colour1; ?>;
739
+    padding-<?php echo $start; ?>:30px;
740
+    color: <?php echo $colour2; ?>;
741 741
 }
742 742
 
743 743
 #heading h1 { 
@@ -752,11 +752,11 @@  discard block
 block discarded – undo
752 752
 
753 753
 #welcome {
754 754
     padding: 20px;
755
-    padding-<?php echo $start;?>: 30px;
755
+    padding-<?php echo $start; ?>: 30px;
756 756
     text-align: justify;
757 757
     border-bottom-style:solid;
758 758
     border-bottom-width:5px;
759
-    border-color: <?php echo $colour1;?>;
759
+    border-color: <?php echo $colour1; ?>;
760 760
     font-size: 11px;
761 761
     font-weight: normal;
762 762
 }
@@ -765,14 +765,14 @@  discard block
 block discarded – undo
765 765
 #main_menu_info { 
766 766
                     position: relative;
767 767
                     top: 15px;
768
-                    <?php echo $start;?>: 0px;
769
-                    padding:10px; padding-<?php echo $start;?>:20px; padding-<?php echo $end;?>:20px;
768
+                    <?php echo $start; ?>: 0px;
769
+                    padding:10px; padding-<?php echo $start; ?>:20px; padding-<?php echo $end; ?>:20px;
770 770
                     background: #f0f0f0;
771 771
                     border: 1px solid #dddddd;
772
-                    margin-<?php echo $start;?>: 25px;
773
-                    padding-<?php echo $start;?>: 25px;
774
-                    margin-<?php echo $end;?>: 25px;
775
-                    padding-<?php echo $end;?>: 25px;
772
+                    margin-<?php echo $start; ?>: 25px;
773
+                    padding-<?php echo $start; ?>: 25px;
774
+                    margin-<?php echo $end; ?>: 25px;
775
+                    padding-<?php echo $end; ?>: 25px;
776 776
                     padding-bottom: 10px;
777 777
                     vertical-align: top;
778 778
                     box-shadow: 5px 5px 5px #666666;
@@ -803,7 +803,7 @@  discard block
 block discarded – undo
803 803
 
804 804
 #faq {
805 805
     padding: 20px;
806
-    color: <?php echo $colour2;?>;
806
+    color: <?php echo $colour2; ?>;
807 807
     background: #ffffff;
808 808
 }
809 809
 
@@ -821,7 +821,7 @@  discard block
 block discarded – undo
821 821
 #idp_logo {
822 822
    display:none;
823 823
    position:absolute;
824
-   <?php echo $end;?>:30px;
824
+   <?php echo $end; ?>:30px;
825 825
    max-height:150px;
826 826
    max-width:150px;
827 827
    padding-top:10px;
@@ -844,18 +844,18 @@  discard block
 block discarded – undo
844 844
 #slides img {
845 845
     position: absolute;
846 846
     top: 145px;
847
-    <?php echo $end;?>: 60px;
847
+    <?php echo $end; ?>: 60px;
848 848
 }
849 849
 
850 850
 #slides span {
851 851
     position: absolute;
852
-    <?php echo $start;?>: 180px;
852
+    <?php echo $start; ?>: 180px;
853 853
     z-index: 20;
854 854
 }
855 855
 
856 856
 #line1 {
857 857
     top:145px;
858
-    color: <?php echo $colour2;?>;
858
+    color: <?php echo $colour2; ?>;
859 859
     font-size:20px;
860 860
 }
861 861
 
@@ -867,7 +867,7 @@  discard block
 block discarded – undo
867 867
 
868 868
 #line3 {
869 869
     top:245px;
870
-    <?php echo $start;?>: 200px;
870
+    <?php echo $start; ?>: 200px;
871 871
     color: maroon;
872 872
     font-size:25px;
873 873
 }
@@ -896,16 +896,16 @@  discard block
 block discarded – undo
896 896
     height:100%;
897 897
     border-spacing:0; 
898 898
     border-collapse:collapse;
899
-    padding-<?php echo $start;?>:200px;
899
+    padding-<?php echo $start; ?>:200px;
900 900
     padding-top:10px;
901 901
 }
902 902
 
903 903
 #front_page_leftmenu {
904
-    border-<?php echo $end;?>:solid; 
905
-    border-color: <?php echo $colour1;?>; 
904
+    border-<?php echo $end; ?>:solid; 
905
+    border-color: <?php echo $colour1; ?>; 
906 906
     border-width:5px; 
907 907
     min-height:400px; 
908
-    padding-<?php echo $start;?>: 10px; 
908
+    padding-<?php echo $start; ?>: 10px; 
909 909
     vertical-align:top; 
910 910
     width:110px; 
911 911
     padding-top:30px;
@@ -915,8 +915,8 @@  discard block
 block discarded – undo
915 915
     vertical-align: top;
916 916
     height:280px;
917 917
     background: #fff;
918
-    padding-<?php echo $start;?>: 20px;
919
-    padding-<?php echo $end;?>: 20px;
918
+    padding-<?php echo $start; ?>: 20px;
919
+    padding-<?php echo $end; ?>: 20px;
920 920
 }
921 921
 
922 922
 #user_button_td {
@@ -927,11 +927,11 @@  discard block
 block discarded – undo
927 927
 }
928 928
 
929 929
 a:link {
930
-    color:<?php echo $colour2;?>;
930
+    color:<?php echo $colour2; ?>;
931 931
 }
932 932
 
933 933
 a:visited {
934
-    color:<?php echo $colour2;?>;
934
+    color:<?php echo $colour2; ?>;
935 935
 }
936 936
 
937 937
 a:hover {
@@ -939,7 +939,7 @@  discard block
 block discarded – undo
939 939
 }
940 940
 
941 941
 a:active {
942
-    color:<?php echo $colour2;?>;
942
+    color:<?php echo $colour2; ?>;
943 943
 }
944 944
 
945 945
 .comment {
@@ -970,14 +970,14 @@  discard block
 block discarded – undo
970 970
 table.user_overview th {
971 971
     text-align: start;  
972 972
     background: #f0f0f0;
973
-    padding-<?php echo $start;?>: 4px;
974
-    padding-<?php echo $end;?>: 4px;
973
+    padding-<?php echo $start; ?>: 4px;
974
+    padding-<?php echo $end; ?>: 4px;
975 975
 }
976 976
 
977 977
 table.user_overview td {
978 978
     border-top-style: none;
979
-    padding-<?php echo $start;?>: 4px;
980
-    padding-<?php echo $end;?>: 4px;
979
+    padding-<?php echo $start; ?>: 4px;
980
+    padding-<?php echo $end; ?>: 4px;
981 981
     vertical-align: middle;
982 982
     height: 28px;
983 983
 }
@@ -994,14 +994,14 @@  discard block
 block discarded – undo
994 994
 .download_button_text {
995 995
     width: 380px;
996 996
     position:absolute;
997
-    <?php echo $end;?>: 5px;
997
+    <?php echo $end; ?>: 5px;
998 998
     padding-top:0px;
999 999
 }
1000 1000
 
1001 1001
 #download_info {
1002 1002
    background: #f0f0f0;
1003
-   padding-<?php echo $start;?>: 20px;
1004
-   padding-<?php echo $end;?>: 20px;
1003
+   padding-<?php echo $start; ?>: 20px;
1004
+   padding-<?php echo $end; ?>: 20px;
1005 1005
    padding-top:3px;
1006 1006
    padding-bottom:3px;
1007 1007
 }
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
 }
1046 1046
 
1047 1047
 .downloads tr td {
1048
-    text-align: <?php echo $end;?>;
1048
+    text-align: <?php echo $end; ?>;
1049 1049
     padding-left: 5px;
1050 1050
     padding-right: 5px;
1051 1051
     border-bottom-style: solid;
@@ -1053,5 +1053,5 @@  discard block
 block discarded – undo
1053 1053
 }
1054 1054
 
1055 1055
 .downloads tr td:first-child {
1056
-    text-align: <?php echo $start;?>;
1056
+    text-align: <?php echo $start; ?>;
1057 1057
 }
1058 1058
\ No newline at end of file
Please login to merge, or discard this patch.