@@ -65,7 +65,7 @@ discard block |
||
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 | |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | $advancedControls = TRUE; |
124 | 124 | switch ($area) { |
125 | 125 | case "ADMIN-IDP": |
126 | - $cap2 = sprintf(_("Administrator Interface - Identity Provider"),$this->ui->nomenclature_inst); |
|
126 | + $cap2 = sprintf(_("Administrator Interface - Identity Provider"), $this->ui->nomenclature_inst); |
|
127 | 127 | break; |
128 | 128 | case "ADMIN-IDP-USERS": |
129 | 129 | $cap2 = sprintf(_("Administrator Interface - %s User Management"), \core\ProfileSilverbullet::PRODUCTNAME); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | $cap2 = _("Management of User Details"); |
136 | 136 | break; |
137 | 137 | case "FEDERATION": |
138 | - $cap2 = sprintf(_("Administrator Interface - %s Management"),$this->ui->nomenclature_fed); |
|
138 | + $cap2 = sprintf(_("Administrator Interface - %s Management"), $this->ui->nomenclature_fed); |
|
139 | 139 | break; |
140 | 140 | case "USER": |
141 | 141 | $cap1 = sprintf(_("Welcome to %s"), CONFIG['APPEARANCE']['productname']); |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | // content from here on will SCROLL instead of being fixed at the top |
158 | 158 | $retval .= "<div class='pagecontent'>"; // closes in footer again |
159 | 159 | $retval .= "<div class='trick'>"; // closes in footer again |
160 | - $retval .= "<div id='secondrow' style='border-bottom:5px solid ".CONFIG['APPEARANCE']['colour1']."; min-height:100px;'> |
|
160 | + $retval .= "<div id='secondrow' style='border-bottom:5px solid " . CONFIG['APPEARANCE']['colour1'] . "; min-height:100px;'> |
|
161 | 161 | <div id='secondarycaptions' style='display:inline-block; float:left'> |
162 | 162 | <h2>$cap2</h2> |
163 | 163 | </div><!--secondarycaptions-->"; |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | if ($host === FALSE) { |
207 | 207 | throw new \Exception("We don't know our own hostname!"); |
208 | 208 | } |
209 | - $cssUrl = "//$host" . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition )."/resources/css/cat.css.php"; |
|
209 | + $cssUrl = "//$host" . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition) . "/resources/css/cat.css.php"; |
|
210 | 210 | |
211 | 211 | $retval .= "<link rel='stylesheet' type='text/css' href='$cssUrl' />"; |
212 | 212 | $retval .= "<title>" . htmlspecialchars($pagetitle) . "</title>"; |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | if ($host === FALSE) { |
238 | 238 | throw new Exception("We don't know our own hostname!"); |
239 | 239 | } |
240 | - $logoBase = "//$host" . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition)."/resources/images"; |
|
240 | + $logoBase = "//$host" . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition) . "/resources/images"; |
|
241 | 241 | |
242 | 242 | return "<span id='logos' style='position:fixed; left:50%;'><img src='$logoBase/dante.png' alt='DANTE' style='height:23px;width:47px'/> |
243 | 243 | <img src='$logoBase/eu.png' alt='EU' style='height:23px;width:27px;border-width:0px;'/></span> |