@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | $this->installerPath = $cache['path']; |
| 87 | 87 | if ($this->installerPath !== NULL && $token === NULL && $password === NULL) { |
| 88 | 88 | $this->loggerInstance->debug(4, "Using cached installer for: $device\n"); |
| 89 | - $installerProperties['link'] = "API.php?action=downloadInstaller&lang=" . $this->languageInstance->getLang() . "&profile=$profileId&device=$device&generatedfor=$generatedFor&openroaming=$openRoaming"; |
|
| 89 | + $installerProperties['link'] = "API.php?action=downloadInstaller&lang=".$this->languageInstance->getLang()."&profile=$profileId&device=$device&generatedfor=$generatedFor&openroaming=$openRoaming"; |
|
| 90 | 90 | $installerProperties['mime'] = $cache['mime']; |
| 91 | 91 | } else { |
| 92 | 92 | $myInstaller = $this->generateNewInstaller($device, $profile, $generatedFor, $openRoaming, $token, $password); |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | $this->loggerInstance->debug(5, "generateNewInstaller() - Device setup done"); |
| 180 | 180 | $installer = $dev->writeInstaller(); |
| 181 | 181 | $this->loggerInstance->debug(5, "generateNewInstaller() - writeInstaller complete"); |
| 182 | - $iPath = $dev->FPATH . '/tmp/' . $installer; |
|
| 182 | + $iPath = $dev->FPATH.'/tmp/'.$installer; |
|
| 183 | 183 | if ($iPath && is_file($iPath)) { |
| 184 | 184 | if (isset($dev->options['mime'])) { |
| 185 | 185 | $out['mime'] = $dev->options['mime']; |
@@ -187,17 +187,17 @@ discard block |
||
| 187 | 187 | $info = new \finfo(); |
| 188 | 188 | $out['mime'] = $info->file($iPath, FILEINFO_MIME_TYPE); |
| 189 | 189 | } |
| 190 | - $this->installerPath = $dev->FPATH . '/' . $installer; |
|
| 190 | + $this->installerPath = $dev->FPATH.'/'.$installer; |
|
| 191 | 191 | rename($iPath, $this->installerPath); |
| 192 | 192 | $integerEap = (new \core\common\EAP($dev->selectedEap))->getIntegerRep(); |
| 193 | 193 | $profile->updateCache($device, $this->installerPath, $out['mime'], $integerEap); |
| 194 | 194 | if (\config\Master::DEBUG_LEVEL < 4) { |
| 195 | - \core\common\Entity::rrmdir($dev->FPATH . '/tmp'); |
|
| 195 | + \core\common\Entity::rrmdir($dev->FPATH.'/tmp'); |
|
| 196 | 196 | } |
| 197 | - $this->loggerInstance->debug(4, "Generated installer: " . $this->installerPath . ": for: $device, EAP:" . $integerEap . ", openRoaming: $openRoaming\n"); |
|
| 198 | - $out['link'] = "API.php?action=downloadInstaller&lang=" . $this->languageInstance->getLang() . "&profile=" . $profile->identifier . "&device=$device&generatedfor=$generatedFor&openroaming=$openRoaming"; |
|
| 197 | + $this->loggerInstance->debug(4, "Generated installer: ".$this->installerPath.": for: $device, EAP:".$integerEap.", openRoaming: $openRoaming\n"); |
|
| 198 | + $out['link'] = "API.php?action=downloadInstaller&lang=".$this->languageInstance->getLang()."&profile=".$profile->identifier."&device=$device&generatedfor=$generatedFor&openroaming=$openRoaming"; |
|
| 199 | 199 | } else { |
| 200 | - $this->loggerInstance->debug(2, "Installer generation failed for: " . $profile->identifier . ":$device:" . $this->languageInstance->getLang() . "openRoaming: $openRoaming\n"); |
|
| 200 | + $this->loggerInstance->debug(2, "Installer generation failed for: ".$profile->identifier.":$device:".$this->languageInstance->getLang()."openRoaming: $openRoaming\n"); |
|
| 201 | 201 | $out['link'] = 0; |
| 202 | 202 | } |
| 203 | 203 | } |
@@ -321,13 +321,13 @@ discard block |
||
| 321 | 321 | $file = $this->installerPath; |
| 322 | 322 | $filetype = $output['mime']; |
| 323 | 323 | $this->loggerInstance->debug(4, "installer MIME type:$filetype\n"); |
| 324 | - header("Content-type: " . $filetype); |
|
| 324 | + header("Content-type: ".$filetype); |
|
| 325 | 325 | if ($filetype !== "application/x-wifi-config") { // for those installers to work on Android, Content-Disposition MUST NOT be set |
| 326 | - header('Content-Disposition: inline; filename="' . basename($file) . '"'); |
|
| 326 | + header('Content-Disposition: inline; filename="'.basename($file).'"'); |
|
| 327 | 327 | } else { |
| 328 | 328 | header('Content-Transfer-Encoding: base64'); |
| 329 | 329 | } |
| 330 | - header('Content-Length: ' . filesize($file)); |
|
| 330 | + header('Content-Length: '.filesize($file)); |
|
| 331 | 331 | ob_clean(); |
| 332 | 332 | flush(); |
| 333 | 333 | readfile($file); |
@@ -349,7 +349,7 @@ discard block |
||
| 349 | 349 | $filetype = $info->buffer($inputImage, FILEINFO_MIME_TYPE); |
| 350 | 350 | $offset = 60 * 60 * 24 * 30; |
| 351 | 351 | // gmdate cannot fail here - time() is its default argument (and integer), and we are adding an integer to it |
| 352 | - $expiresString = "Expires: " . /** @scrutinizer ignore-type */ gmdate("D, d M Y H:i:s", time() + $offset) . " GMT"; |
|
| 352 | + $expiresString = "Expires: "./** @scrutinizer ignore-type */ gmdate("D, d M Y H:i:s", time() + $offset)." GMT"; |
|
| 353 | 353 | $blob = $inputImage; |
| 354 | 354 | |
| 355 | 355 | if ($resize === TRUE) { |
@@ -405,7 +405,7 @@ discard block |
||
| 405 | 405 | $filetype = 'image/png'; // default, only one code path where it can become different |
| 406 | 406 | list($width, $height, $resize) = $this->testForResize($widthIn, $heightIn); |
| 407 | 407 | if ($resize) { |
| 408 | - $logoFile = ROOT . '/web/downloads/logos/' . $identifier . '_' . $width . '_' . $height . '.png'; |
|
| 408 | + $logoFile = ROOT.'/web/downloads/logos/'.$identifier.'_'.$width.'_'.$height.'.png'; |
|
| 409 | 409 | } |
| 410 | 410 | if (is_file($logoFile)) { // $logoFile could be an empty string but then we will get a FALSE |
| 411 | 411 | $this->loggerInstance->debug(4, "Using cached logo $logoFile for: $identifier\n"); |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | if (!isset($device['match'])) { |
| 518 | 518 | continue; |
| 519 | 519 | } |
| 520 | - if (preg_match('/' . $device['match'] . '/', $browser)) { |
|
| 520 | + if (preg_match('/'.$device['match'].'/', $browser)) { |
|
| 521 | 521 | return $this->returnDevice($devId, $device); |
| 522 | 522 | } |
| 523 | 523 | } |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | otherdata = j.otherdata; |
| 152 | 152 | if (! result) { |
| 153 | 153 | alert(guiTexts.noMatchingData); |
| 154 | - document.location.href='<?php echo rtrim(dirname($_SERVER['SCRIPT_NAME']), '/') . '/' ?>'; |
|
| 154 | + document.location.href='<?php echo rtrim(dirname($_SERVER['SCRIPT_NAME']), '/').'/' ?>'; |
|
| 155 | 155 | } |
| 156 | 156 | j = j.data; |
| 157 | 157 | n = j.length; |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | result = j1.status; |
| 321 | 321 | if (! result) { |
| 322 | 322 | alert(guiTexts.noMatchingData); |
| 323 | - document.location.href='<?php echo rtrim(dirname($_SERVER['SCRIPT_NAME']), '/') . '/' ?>'; |
|
| 323 | + document.location.href='<?php echo rtrim(dirname($_SERVER['SCRIPT_NAME']), '/').'/' ?>'; |
|
| 324 | 324 | } |
| 325 | 325 | j = j1.data; |
| 326 | 326 | if (j.description !== undefined && j.description) { |
@@ -60,11 +60,11 @@ discard block |
||
| 60 | 60 | $location = $this->Gui->skinObject->findResourceUrl("IMAGES", "consortium_logo.png"); |
| 61 | 61 | if ($location !== FALSE) { |
| 62 | 62 | $retval .= "<div id='cat_logo'> |
| 63 | - <a href='" . \config\ConfAssistant::CONSORTIUM['homepage'] . "'><img id='logo_img' src='$location' alt='Consortium Logo'/></a> |
|
| 63 | + <a href='" . \config\ConfAssistant::CONSORTIUM['homepage']."'><img id='logo_img' src='$location' alt='Consortium Logo'/></a> |
|
| 64 | 64 | <span>Configuration Assistant Tool</span> |
| 65 | 65 | </div>"; |
| 66 | 66 | } |
| 67 | - $retval .= "<div id='motd'>" . (isset(\config\Master::APPEARANCE['MOTD']) ? \config\Master::APPEARANCE['MOTD'] : ' ') . "</div>"; |
|
| 67 | + $retval .= "<div id='motd'>".(isset(\config\Master::APPEARANCE['MOTD']) ? \config\Master::APPEARANCE['MOTD'] : ' ')."</div>"; |
|
| 68 | 68 | $loc2 = $this->Gui->skinObject->findResourceUrl("IMAGES", "icons/menu.png"); |
| 69 | 69 | if ($loc2 !== FALSE) { |
| 70 | 70 | $retval .= "<img id='hamburger' src='$loc2' alt='Menu'/>"; |
@@ -87,13 +87,13 @@ discard block |
||
| 87 | 87 | public function divUserWelcome() { |
| 88 | 88 | $retval = " |
| 89 | 89 | <div id='user_welcome'> <!-- this information is shown just before the download --> |
| 90 | - <strong>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_PAGEHEADING] . "</strong> |
|
| 90 | + <strong>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_PAGEHEADING]."</strong> |
|
| 91 | 91 | <p> |
| 92 | 92 | <span id='download_info'> |
| 93 | 93 | <!-- the empty href is dynamically exchanged with the actual path by jQuery at runtime --> |
| 94 | - " . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_DOWNLOAD] . " |
|
| 94 | + " . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_DOWNLOAD]." |
|
| 95 | 95 | </span> |
| 96 | - <p>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_HEADING] . " |
|
| 96 | + <p>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_HEADING]." |
|
| 97 | 97 | <br/> |
| 98 | 98 | <br/>"; |
| 99 | 99 | switch (\config\ConfAssistant::CONSORTIUM['name']) { |
@@ -104,12 +104,12 @@ discard block |
||
| 104 | 104 | } |
| 105 | 105 | $retval .= " |
| 106 | 106 | </p> |
| 107 | - <p>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_USAGE] . " |
|
| 108 | - <p>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_PROBLEMS] . " |
|
| 109 | - <p>" . (false ? $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_TERMS] : "") . " |
|
| 107 | + <p>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_USAGE]." |
|
| 108 | + <p>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_PROBLEMS]." |
|
| 109 | + <p>" . (false ? $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_TERMS] : "")." |
|
| 110 | 110 | </p> |
| 111 | 111 | <p> |
| 112 | - <a href='javascript:back_to_downloads()'><strong>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_BACKTODOWNLOADS] . "</strong></a> |
|
| 112 | + <a href='javascript:back_to_downloads()'><strong>" . $this->Gui->textTemplates->templates[user\WELCOME_ABOARD_BACKTODOWNLOADS]."</strong></a> |
|
| 113 | 113 | </p> |
| 114 | 114 | </div> <!-- id='user_welcomer_page' --> |
| 115 | 115 | "; |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | public function divSilverbullet() { |
| 125 | 125 | $retval = " |
| 126 | 126 | <div id='silverbullet'>" |
| 127 | - . $this->Gui->textTemplates->templates[user\SB_GO_AWAY] . |
|
| 127 | + . $this->Gui->textTemplates->templates[user\SB_GO_AWAY]. |
|
| 128 | 128 | "</div> |
| 129 | 129 | "; |
| 130 | 130 | return $retval; |
@@ -138,14 +138,14 @@ discard block |
||
| 138 | 138 | public function divTopWelcome() { |
| 139 | 139 | $retval = ''; |
| 140 | 140 | if (\config\ConfAssistant::CONSORTIUM['name'] == "eduroam" && isset(\config\ConfAssistant::CONSORTIUM['deployment-voodoo']) && \config\ConfAssistant::CONSORTIUM['deployment-voodoo'] == "Operations Team") { // SW: APPROVED |
| 141 | - $retval = "<br><div id='top_invite_ad'>" . $this->Gui->textTemplates->templates[user\FRONTPAGE_EDUROAM_AD] . "</div>"; |
|
| 141 | + $retval = "<br><div id='top_invite_ad'>".$this->Gui->textTemplates->templates[user\FRONTPAGE_EDUROAM_AD]."</div>"; |
|
| 142 | 142 | } |
| 143 | 143 | return " |
| 144 | 144 | <div id='welcome_top1'> |
| 145 | - " . $this->Gui->textTemplates->templates[user\HEADING_TOPLEVEL_GREET] . " |
|
| 145 | + " . $this->Gui->textTemplates->templates[user\HEADING_TOPLEVEL_GREET]." |
|
| 146 | 146 | </div> |
| 147 | 147 | <div id='top_invite'> |
| 148 | - " . $this->Gui->textTemplates->templates[user\HEADING_TOPLEVEL_PURPOSE] . $retval . " |
|
| 148 | + " . $this->Gui->textTemplates->templates[user\HEADING_TOPLEVEL_PURPOSE].$retval." |
|
| 149 | 149 | </div>"; |
| 150 | 150 | } |
| 151 | 151 | |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | $retval = " |
| 159 | 159 | <div id='roller'> |
| 160 | 160 | <div id='slides'> |
| 161 | - <span id='line1'>" . $this->Gui->textTemplates->templates[user\FRONTPAGE_ROLLER_EASY] . "</span> |
|
| 161 | + <span id='line1'>" . $this->Gui->textTemplates->templates[user\FRONTPAGE_ROLLER_EASY]."</span> |
|
| 162 | 162 | <span id='line2'></span> |
| 163 | 163 | <span id='line3'></span> |
| 164 | 164 | <span id='line4'>"; |
@@ -220,9 +220,9 @@ discard block |
||
| 220 | 220 | public function divProfiles() { |
| 221 | 221 | return " |
| 222 | 222 | <div id='profiles'> <!-- this is the profile selection filled during run time --> |
| 223 | - <div id='profiles_h' class='sub_h'>" . $this->Gui->textTemplates->templates[user\PROFILE_SELECTION] . " |
|
| 223 | + <div id='profiles_h' class='sub_h'>" . $this->Gui->textTemplates->templates[user\PROFILE_SELECTION]." |
|
| 224 | 224 | </div>" . |
| 225 | - "<select id='profile_list'></select><div id='profile_desc' class='profile_desc'></div>" . |
|
| 225 | + "<select id='profile_list'></select><div id='profile_desc' class='profile_desc'></div>". |
|
| 226 | 226 | "</div>"; |
| 227 | 227 | } |
| 228 | 228 | |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | public function divInstitution($selectButton = TRUE) { |
| 251 | 251 | $retval = "<div id='institution_name'> |
| 252 | 252 | <span id='inst_name_span'></span> <div id='inst_extra_text'></div><!-- this will be filled with the IdP name -->" . |
| 253 | - ($selectButton ? "<a id='select_another' class='signin' href=\"\">" . $this->Gui->textTemplates->templates[user\INSTITUTION_SELECTION] . "</a>" : "") . |
|
| 253 | + ($selectButton ? "<a id='select_another' class='signin' href=\"\">".$this->Gui->textTemplates->templates[user\INSTITUTION_SELECTION]."</a>" : ""). |
|
| 254 | 254 | "</div>"; |
| 255 | 255 | $retval .= $this->emptyImage('idp_logo', 'IdP Logo'); |
| 256 | 256 | return $retval; |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | public function divOtherinstallers() { |
| 275 | 275 | $retval = " |
| 276 | 276 | <div class='sub_h'> |
| 277 | - <div id='other_installers'>" . $this->Gui->textTemplates->templates[user\DOWNLOAD_CHOOSE] . " |
|
| 277 | + <div id='other_installers'>" . $this->Gui->textTemplates->templates[user\DOWNLOAD_CHOOSE]." |
|
| 278 | 278 | <table id='device_list' style='padding:0px;'>"; |
| 279 | 279 | |
| 280 | 280 | foreach ($this->Gui->listDevices(isset($_REQUEST['hidden']) ? $_REQUEST['hidden'] : 0) as $group => $deviceGroup) { |
@@ -282,19 +282,19 @@ discard block |
||
| 282 | 282 | $deviceIndex = 0; |
| 283 | 283 | |
| 284 | 284 | $imgTag = ""; |
| 285 | - $imgLocation = $this->Gui->skinObject->findResourceUrl("IMAGES", "vendorlogo/" . $group . ".png"); |
|
| 285 | + $imgLocation = $this->Gui->skinObject->findResourceUrl("IMAGES", "vendorlogo/".$group.".png"); |
|
| 286 | 286 | if ($imgLocation !== FALSE) { |
| 287 | - $imgTag = '<img src="' . $imgLocation . '" alt="' . $group . ' Device" title="' . $group . ' Device">'; |
|
| 287 | + $imgTag = '<img src="'.$imgLocation.'" alt="'.$group.' Device" title="'.$group.' Device">'; |
|
| 288 | 288 | } |
| 289 | - $retval .= '<tbody><tr><td class="vendor" rowspan="' . $groupIndex . '">' . $imgTag . '</td>'; |
|
| 289 | + $retval .= '<tbody><tr><td class="vendor" rowspan="'.$groupIndex.'">'.$imgTag.'</td>'; |
|
| 290 | 290 | foreach ($deviceGroup as $d => $D) { |
| 291 | 291 | if ($deviceIndex) { |
| 292 | 292 | $retval .= '<tr>'; |
| 293 | 293 | } |
| 294 | - $retval .= "<td><button id='" . $d . "'>" . $D['display'] . "</button>" |
|
| 295 | - . "<div class='openroaming_selection' id='openroaming_" . $d . "'><button>eduroam</button> <button>eduroam + OpenRoaming</button></div>" |
|
| 296 | - . "<div class='device_info' id='info_" . $d . "'></div></td>" |
|
| 297 | - . "<td><button class='more_info_b' id='info_b_" . $d . "'>i</button></td></tr>\n"; |
|
| 294 | + $retval .= "<td><button id='".$d."'>".$D['display']."</button>" |
|
| 295 | + . "<div class='openroaming_selection' id='openroaming_".$d."'><button>eduroam</button> <button>eduroam + OpenRoaming</button></div>" |
|
| 296 | + . "<div class='device_info' id='info_".$d."'></div></td>" |
|
| 297 | + . "<td><button class='more_info_b' id='info_b_".$d."'>i</button></td></tr>\n"; |
|
| 298 | 298 | $deviceIndex++; |
| 299 | 299 | } |
| 300 | 300 | $retval .= "</tbody>"; |
@@ -314,38 +314,38 @@ discard block |
||
| 314 | 314 | * @return string |
| 315 | 315 | */ |
| 316 | 316 | public function divGuessOs($operatingSystem) { |
| 317 | - $vendorlogo = $this->Gui->skinObject->findResourceUrl("IMAGES", "vendorlogo/" . $operatingSystem['group'] . ".png"); |
|
| 317 | + $vendorlogo = $this->Gui->skinObject->findResourceUrl("IMAGES", "vendorlogo/".$operatingSystem['group'].".png"); |
|
| 318 | 318 | $vendorstyle = ""; |
| 319 | 319 | |
| 320 | 320 | if ($vendorlogo !== FALSE) { |
| 321 | - $vendorstyle = "style='background-image:url(\"" . $vendorlogo . "\")'"; |
|
| 321 | + $vendorstyle = "style='background-image:url(\"".$vendorlogo."\")'"; |
|
| 322 | 322 | } |
| 323 | 323 | |
| 324 | 324 | $deleteIcon = $this->Gui->skinObject->findResourceUrl("IMAGES", "icons/delete_32.png"); |
| 325 | 325 | $deleteImg = ""; |
| 326 | 326 | if ($deleteIcon !== FALSE) { |
| 327 | - $deleteImg = "<img id='cross_icon_" . $operatingSystem['device'] . "' src='$deleteIcon' >"; |
|
| 327 | + $deleteImg = "<img id='cross_icon_".$operatingSystem['device']."' src='$deleteIcon' >"; |
|
| 328 | 328 | } |
| 329 | 329 | return " |
| 330 | 330 | <div class='sub_h' id='guess_os' > |
| 331 | -<div id='download_text_1' $vendorstyle><div style='margin: 0; position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%);'>Download installer for " . $operatingSystem['display'] . "</div></div> |
|
| 331 | +<div id='download_text_1' $vendorstyle><div style='margin: 0; position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%);'>Download installer for ".$operatingSystem['display']."</div></div> |
|
| 332 | 332 | <div> |
| 333 | - <div class='button_wrapper'><button class='guess_os' id='g_" . $operatingSystem['device'] . "'> |
|
| 334 | - <div class='download_button_text_1' id='download_button_header_" . $operatingSystem['device'] . "'>eduroam only |
|
| 333 | + <div class='button_wrapper'><button class='guess_os' id='g_" . $operatingSystem['device']."'> |
|
| 334 | + <div class='download_button_text_1' id='download_button_header_" . $operatingSystem['device']."'>eduroam only |
|
| 335 | 335 | </div> |
| 336 | 336 | </button></div> |
| 337 | - <div class='button_wrapper'><button class='guess_os' id='g_or_" . $operatingSystem['device'] . "'> |
|
| 338 | - <div class='download_button_text_1' id='download_button_or_header_" . $operatingSystem['device'] . "'>eduroam and OpenRoaming |
|
| 337 | + <div class='button_wrapper'><button class='guess_os' id='g_or_" . $operatingSystem['device']."'> |
|
| 338 | + <div class='download_button_text_1' id='download_button_or_header_" . $operatingSystem['device']."'>eduroam and OpenRoaming |
|
| 339 | 339 | </div> |
| 340 | 340 | </button> |
| 341 | 341 | <div id='openroaming_tou'><input type='checkbox' id='openroaming_check' name='openroaming_check'> I have read and accept <a href='https://wballiance.com/openroaming/toc-2020/' target='_blank'>OpenRoaming terms and conditions</a></div> |
| 342 | 342 | </div> |
| 343 | - <div class='button_wrapper'><button class='more_info_b' id='g_info_b_" . $operatingSystem['device'] . "'>i</button></div> |
|
| 343 | + <div class='button_wrapper'><button class='more_info_b' id='g_info_b_" . $operatingSystem['device']."'>i</button></div> |
|
| 344 | 344 | </div> |
| 345 | - <div class='device_info' id='info_g_" . $operatingSystem['device'] . "'>XXXXX</div> |
|
| 345 | + <div class='device_info' id='info_g_" . $operatingSystem['device']."'>XXXXX</div> |
|
| 346 | 346 | <div id='more_i'><a href='xx'>See more installer information</a></div> |
| 347 | 347 | <div class='sub_h'> |
| 348 | - <a href='javascript:other_installers()'>" . $this->Gui->textTemplates->templates[user\DOWNLOAD_CHOOSE] . "</a> |
|
| 348 | + <a href='javascript:other_installers()'>" . $this->Gui->textTemplates->templates[user\DOWNLOAD_CHOOSE]."</a> |
|
| 349 | 349 | </div> |
| 350 | 350 | </div> <!-- id='guess_os' -->"; |
| 351 | 351 | } |
@@ -366,7 +366,7 @@ discard block |
||
| 366 | 366 | </td>"; |
| 367 | 367 | |
| 368 | 368 | if (!empty(\config\Master::APPEARANCE['privacy_notice_url'])) { |
| 369 | - $retval .= "<td><a href='" . \config\Master::APPEARANCE['privacy_notice_url'] . "'>" . sprintf(_("%s Privacy Notice"), \config\ConfAssistant::CONSORTIUM['display_name']) . "</a></td>"; |
|
| 369 | + $retval .= "<td><a href='".\config\Master::APPEARANCE['privacy_notice_url']."'>".sprintf(_("%s Privacy Notice"), \config\ConfAssistant::CONSORTIUM['display_name'])."</a></td>"; |
|
| 370 | 370 | } |
| 371 | 371 | $retval .= "<td>"; |
| 372 | 372 | if (\config\ConfAssistant::CONSORTIUM['name'] == "eduroam" && isset(\config\ConfAssistant::CONSORTIUM['deployment-voodoo']) && \config\ConfAssistant::CONSORTIUM['deployment-voodoo'] == "Operations Team") { |