@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | break; |
| 124 | 124 | case "boolean": |
| 125 | - $retval .= "<tr><td>" . $this->displayName($option['name']) . "</td><td>$language</td><td><strong>" . ($content == "on" ? _("on") : _("off") ) . "</strong></td></tr>"; |
|
| 125 | + $retval .= "<tr><td>" . $this->displayName($option['name']) . "</td><td>$language</td><td><strong>" . ($content == "on" ? _("on") : _("off")) . "</strong></td></tr>"; |
|
| 126 | 126 | break; |
| 127 | 127 | default: |
| 128 | 128 | $retval .= "<tr><td>" . $this->displayName($option['name']) . "</td><td>$language</td><td><strong>$content</strong></td></tr>"; |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | |
| 192 | 192 | $details['name'] = preg_replace('/(.)\/(.)/', "$1<br/>$2", $details['name']); |
| 193 | 193 | $details['name'] = preg_replace('/\//', "", $details['name']); |
| 194 | - $certstatus = ( $details['root'] == 1 ? "R" : "I"); |
|
| 194 | + $certstatus = ($details['root'] == 1 ? "R" : "I"); |
|
| 195 | 195 | if ($details['ca'] == 0 && $details['root'] != 1) { |
| 196 | 196 | return "<div class='ca-summary' style='background-color:red'><div style='position:absolute; right: 0px; width:20px; height:20px; background-color:maroon; border-radius:10px; text-align: center;'><div style='padding-top:3px; font-weight:bold; color:#ffffff;'>S</div></div>" . _("This is a <strong>SERVER</strong> certificate!") . "<br/>" . $details['name'] . "</div>"; |
| 197 | 197 | } |
@@ -120,6 +120,9 @@ discard block |
||
| 120 | 120 | return $find[0]; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | + /** |
|
| 124 | + * @param string $input |
|
| 125 | + */ |
|
| 123 | 126 | public function tooltip($input) { |
| 124 | 127 | $descriptions = []; |
| 125 | 128 | if (count(CONFIG_CONFASSISTANT['CONSORTIUM']['ssid']) > 0) { |
@@ -256,6 +259,10 @@ discard block |
||
| 256 | 259 | return $number . " B"; |
| 257 | 260 | } |
| 258 | 261 | |
| 262 | + /** |
|
| 263 | + * @param string $ref |
|
| 264 | + * @param boolean $checkpublic |
|
| 265 | + */ |
|
| 259 | 266 | public static function getBlobFromDB($ref, $checkpublic) { |
| 260 | 267 | $validator = new \web\lib\common\InputValidation(); |
| 261 | 268 | $reference = $validator->databaseReference($ref); |
@@ -402,7 +409,7 @@ discard block |
||
| 402 | 409 | * @param string $text the text to display |
| 403 | 410 | * @param string $caption the caption to display |
| 404 | 411 | * @param bool $omittabletags the output usually has tr/td table tags, this option suppresses them |
| 405 | - * @return type |
|
| 412 | + * @return string |
|
| 406 | 413 | */ |
| 407 | 414 | public function boxOkay(string $text = NULL, string $caption = NULL, bool $omittabletags = FALSE) { |
| 408 | 415 | return $this->boxFlexible(\core\common\Entity::L_OK, $text, $caption, $omittabletags); |
@@ -414,7 +421,7 @@ discard block |
||
| 414 | 421 | * @param string $text the text to display |
| 415 | 422 | * @param string $caption the caption to display |
| 416 | 423 | * @param bool $omittabletags the output usually has tr/td table tags, this option suppresses them |
| 417 | - * @return type |
|
| 424 | + * @return string |
|
| 418 | 425 | */ |
| 419 | 426 | public function boxRemark(string $text = NULL, string $caption = NULL, bool $omittabletags = FALSE) { |
| 420 | 427 | return $this->boxFlexible(\core\common\Entity::L_REMARK, $text, $caption, $omittabletags); |
@@ -426,7 +433,7 @@ discard block |
||
| 426 | 433 | * @param string $text the text to display |
| 427 | 434 | * @param string $caption the caption to display |
| 428 | 435 | * @param bool $omittabletags the output usually has tr/td table tags, this option suppresses them |
| 429 | - * @return type |
|
| 436 | + * @return string |
|
| 430 | 437 | */ |
| 431 | 438 | public function boxWarning(string $text = NULL, string $caption = NULL, bool $omittabletags = FALSE) { |
| 432 | 439 | return $this->boxFlexible(\core\common\Entity::L_WARN, $text, $caption, $omittabletags); |
@@ -438,7 +445,7 @@ discard block |
||
| 438 | 445 | * @param string $text the text to display |
| 439 | 446 | * @param string $caption the caption to display |
| 440 | 447 | * @param bool $omittabletags the output usually has tr/td table tags, this option suppresses them |
| 441 | - * @return type |
|
| 448 | + * @return string |
|
| 442 | 449 | */ |
| 443 | 450 | public function boxError(string $text = NULL, string $caption = NULL, bool $omittabletags = FALSE) { |
| 444 | 451 | return $this->boxFlexible(\core\common\Entity::L_ERROR, $text, $caption, $omittabletags); |
@@ -97,14 +97,14 @@ |
||
| 97 | 97 | case "SUCCESS": |
| 98 | 98 | $cryptText = ""; |
| 99 | 99 | switch ($_GET['transportsecurity']) { |
| 100 | - case "ENCRYPTED": |
|
| 101 | - $cryptText = _("and <b>encrypted</b> to the mail domain"); |
|
| 102 | - break; |
|
| 103 | - case "CLEAR": |
|
| 104 | - $cryptText = _("but <b>in clear text</b> to the mail domain"); |
|
| 105 | - break; |
|
| 106 | - default: |
|
| 107 | - throw new Exception("Error: unknown encryption status of invitation!?!"); |
|
| 100 | + case "ENCRYPTED": |
|
| 101 | + $cryptText = _("and <b>encrypted</b> to the mail domain"); |
|
| 102 | + break; |
|
| 103 | + case "CLEAR": |
|
| 104 | + $cryptText = _("but <b>in clear text</b> to the mail domain"); |
|
| 105 | + break; |
|
| 106 | + default: |
|
| 107 | + throw new Exception("Error: unknown encryption status of invitation!?!"); |
|
| 108 | 108 | } |
| 109 | 109 | echo $uiElements->boxRemark(sprintf(_("The invitation email was sent successfully %s."), $cryptText), _("The invitation email was sent.")); |
| 110 | 110 | break; |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | $ownermgmt = new \core\UserManagement(); |
| 79 | 79 | $ownermgmt->addAdminToIdp($my_inst, $_SESSION['user']); |
| 80 | 80 | } else { |
| 81 | - echo "Fatal Error: you wanted to take control over an ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'].", but are not a ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_federation']." operator!"; |
|
| 81 | + echo "Fatal Error: you wanted to take control over an " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . ", but are not a " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_federation'] . " operator!"; |
|
| 82 | 82 | exit(1); |
| 83 | 83 | } |
| 84 | 84 | } |
@@ -121,13 +121,13 @@ discard block |
||
| 121 | 121 | |
| 122 | 122 | if ($isFedAdmin) { |
| 123 | 123 | echo "<div class='ca-summary' style='position:relative;'><table>"; |
| 124 | - echo $uiElements->boxRemark(sprintf(_("You are the %s administrator of this %s. You can invite new administrators, who can in turn appoint further administrators on their own."),$uiElements->nomenclature_fed, $uiElements->nomenclature_inst), sprintf(_("%s Administrator"),$uiElements->nomenclature_fed)); |
|
| 124 | + echo $uiElements->boxRemark(sprintf(_("You are the %s administrator of this %s. You can invite new administrators, who can in turn appoint further administrators on their own."), $uiElements->nomenclature_fed, $uiElements->nomenclature_inst), sprintf(_("%s Administrator"), $uiElements->nomenclature_fed)); |
|
| 125 | 125 | echo "</table></div>"; |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | if (!$isFedAdmin && $is_admin_with_blessing) { |
| 129 | 129 | echo "<div class='ca-summary' style='position:relative;'><table>"; |
| 130 | - echo $uiElements->boxRemark(sprintf(_("You are an administrator of this %s, and were directly appointed by the %s administrator. You can appoint further administrators, but these can't in turn appoint any more administrators."),$uiElements->nomenclature_inst ,$uiElements->nomenclature_fed), _("Directly Appointed IdP Administrator")); |
|
| 130 | + echo $uiElements->boxRemark(sprintf(_("You are an administrator of this %s, and were directly appointed by the %s administrator. You can appoint further administrators, but these can't in turn appoint any more administrators."), $uiElements->nomenclature_inst, $uiElements->nomenclature_fed), _("Directly Appointed IdP Administrator")); |
|
| 131 | 131 | echo "</table></div>"; |
| 132 | 132 | } |
| 133 | 133 | ?> |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | |
| 156 | 156 | echo "</td> |
| 157 | 157 | <td> |
| 158 | - <form action='inc/manageAdmins.inc.php?inst_id=" . $my_inst->identifier . "' method='post' " . ( $oneowner['ID'] != $_SESSION['user'] ? "onsubmit='popupRedirectWindow(this); return false;'" : "" ) . " accept-charset='UTF-8'> |
|
| 158 | + <form action='inc/manageAdmins.inc.php?inst_id=" . $my_inst->identifier . "' method='post' " . ($oneowner['ID'] != $_SESSION['user'] ? "onsubmit='popupRedirectWindow(this); return false;'" : "") . " accept-charset='UTF-8'> |
|
| 159 | 159 | <input type='hidden' name='admin_id' value='" . $oneowner['ID'] . "'></input> |
| 160 | 160 | <button type='submit' name='submitbutton' class='delete' value='" . web\lib\common\FormElements::BUTTON_DELETE . "'>" . _("Delete Administrator") . "</button> |
| 161 | 161 | </form> |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | } |
| 185 | 185 | $lookFor .= "$name"; |
| 186 | 186 | } |
| 187 | - $finding = preg_match("/^(".$lookFor."):(.*)/", $oneRow->user_id, $matches); |
|
| 187 | + $finding = preg_match("/^(" . $lookFor . "):(.*)/", $oneRow->user_id, $matches); |
|
| 188 | 188 | if ($finding === 0 || $finding === FALSE) { |
| 189 | 189 | return FALSE; |
| 190 | 190 | } |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | case $providerStrings[3]: |
| 207 | 207 | case $providerStrings[4]: |
| 208 | 208 | case $providerStrings[5]: |
| 209 | - if (!in_array(User::PROVIDER_STRINGS[$matches[1]],$listOfProviders)) { |
|
| 209 | + if (!in_array(User::PROVIDER_STRINGS[$matches[1]], $listOfProviders)) { |
|
| 210 | 210 | $listOfProviders[] = User::PROVIDER_STRINGS[$matches[1]]; |
| 211 | 211 | } |
| 212 | 212 | break; |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | */ |
| 135 | 135 | public function string($input, $allowWhitespace = FALSE) { |
| 136 | 136 | // always chop out invalid characters, and surrounding whitespace |
| 137 | - $retvalStep0 = iconv("UTF-8", "UTF-8//TRANSLIT", $input); |
|
| 137 | + $retvalStep0 = iconv("UTF-8", "UTF-8//TRANSLIT", $input); |
|
| 138 | 138 | if ($retvalStep0 === FALSE) { |
| 139 | 139 | throw new Exception("iconv failure for string sanitisation. With TRANSLIT, this should never happen!"); |
| 140 | 140 | } |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | if (isset($Cache[$entry])) { |
| 42 | 42 | continue; |
| 43 | 43 | } |
| 44 | - \core\common\Entity::rrmdir($downloads . '/' . $entry); |
|
| 44 | + \core\common\Entity::rrmdir($downloads . '/' . $entry); |
|
| 45 | 45 | print "$entry\n"; |
| 46 | 46 | } |
| 47 | 47 | closedir($handle); |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | if ($ftime < 3600) { |
| 57 | 57 | continue; |
| 58 | 58 | } |
| 59 | - \core\common\Entity::rrmdir($downloads . '/' . $entry); |
|
| 59 | + \core\common\Entity::rrmdir($downloads . '/' . $entry); |
|
| 60 | 60 | print "$entry\n"; |
| 61 | 61 | } |
| 62 | 62 | closedir($handle); |
@@ -11,15 +11,15 @@ |
||
| 11 | 11 | namespace devices\redirect_dev; |
| 12 | 12 | |
| 13 | 13 | class Device_RedirectDev extends \core\DeviceConfig { |
| 14 | - /** |
|
| 15 | - * Constructs a Device object. |
|
| 16 | - * |
|
| 17 | - * @final not to be redefined |
|
| 18 | - */ |
|
| 14 | + /** |
|
| 15 | + * Constructs a Device object. |
|
| 16 | + * |
|
| 17 | + * @final not to be redefined |
|
| 18 | + */ |
|
| 19 | 19 | final public function __construct() { |
| 20 | 20 | parent::__construct(); |
| 21 | - $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]); |
|
| 22 | - $this->loggerInstance->debug(4,"RedirectEx called"); |
|
| 21 | + $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]); |
|
| 22 | + $this->loggerInstance->debug(4,"RedirectEx called"); |
|
| 23 | 23 | } |
| 24 | 24 | public function writeDeviceInfo() { |
| 25 | 25 | $out = "<p>"; |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | final public function __construct() { |
| 20 | 20 | parent::__construct(); |
| 21 | 21 | $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]); |
| 22 | - $this->loggerInstance->debug(4,"RedirectEx called"); |
|
| 22 | + $this->loggerInstance->debug(4, "RedirectEx called"); |
|
| 23 | 23 | } |
| 24 | 24 | public function writeDeviceInfo() { |
| 25 | 25 | $out = "<p>"; |
@@ -206,8 +206,7 @@ |
||
| 206 | 206 | $cutoffPosition = strrpos($_SERVER['PHP_SELF'], "accountstatus/"); |
| 207 | 207 | } elseif (strrpos($_SERVER['PHP_SELF'], "diag/")) { |
| 208 | 208 | $cutoffPosition = strrpos($_SERVER['PHP_SELF'], "diag/"); |
| 209 | - } |
|
| 210 | - else { |
|
| 209 | + } else { |
|
| 211 | 210 | $cutoffPosition = strrpos($_SERVER['PHP_SELF'], "/"); |
| 212 | 211 | } |
| 213 | 212 | |
@@ -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 | |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | $retval .= "</form> |
| 78 | 78 | </div><!--langselection-->"; |
| 79 | 79 | |
| 80 | - $logoUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, (strrpos($_SERVER['PHP_SELF'], "admin/") !== FALSE ? strrpos($_SERVER['PHP_SELF'], "admin/") : strrpos($_SERVER['PHP_SELF'], "/")))."/resources/images/consortium_logo.png"; |
|
| 80 | + $logoUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, (strrpos($_SERVER['PHP_SELF'], "admin/") !== FALSE ? strrpos($_SERVER['PHP_SELF'], "admin/") : strrpos($_SERVER['PHP_SELF'], "/"))) . "/resources/images/consortium_logo.png"; |
|
| 81 | 81 | $retval .= "<div class='consortium_logo'> |
| 82 | 82 | <img id='test_locate' src='$logoUrl' alt='Consortium Logo'> |
| 83 | 83 | </div> <!-- consortium_logo --> |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | switch ($area) { |
| 120 | 120 | case "ADMIN-IDP": |
| 121 | 121 | $cap1 = CONFIG['APPEARANCE']['productname_long']; |
| 122 | - $cap2 = sprintf(_("Administrator Interface - Identity Provider"),$this->ui->nomenclature_inst); |
|
| 122 | + $cap2 = sprintf(_("Administrator Interface - Identity Provider"), $this->ui->nomenclature_inst); |
|
| 123 | 123 | $advancedControls = TRUE; |
| 124 | 124 | break; |
| 125 | 125 | case "ADMIN-IDP-USERS": |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | break; |
| 140 | 140 | case "FEDERATION": |
| 141 | 141 | $cap1 = CONFIG['APPEARANCE']['productname_long']; |
| 142 | - $cap2 = sprintf(_("Administrator Interface - %s Management"),$this->ui->nomenclature_fed); |
|
| 142 | + $cap2 = sprintf(_("Administrator Interface - %s Management"), $this->ui->nomenclature_fed); |
|
| 143 | 143 | $advancedControls = TRUE; |
| 144 | 144 | break; |
| 145 | 145 | case "USER": |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | // content from here on will SCROLL instead of being fixed at the top |
| 169 | 169 | $retval .= "<div class='pagecontent'>"; // closes in footer again |
| 170 | 170 | $retval .= "<div class='trick'>"; // closes in footer again |
| 171 | - $retval .= "<div id='secondrow' style='border-bottom:5px solid ".CONFIG['APPEARANCE']['colour1']."; min-height:100px;'> |
|
| 171 | + $retval .= "<div id='secondrow' style='border-bottom:5px solid " . CONFIG['APPEARANCE']['colour1'] . "; min-height:100px;'> |
|
| 172 | 172 | <div id='secondarycaptions' style='display:inline-block; float:left'> |
| 173 | 173 | <h2>$cap2</h2> |
| 174 | 174 | </div><!--secondarycaptions-->"; |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | $cutoffPosition = strrpos($_SERVER['PHP_SELF'], "/"); |
| 214 | 214 | } |
| 215 | 215 | |
| 216 | - $cssUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition )."/resources/css/cat.css.php"; |
|
| 216 | + $cssUrl = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition) . "/resources/css/cat.css.php"; |
|
| 217 | 217 | |
| 218 | 218 | $retval .= "<link rel='stylesheet' type='text/css' href='$cssUrl' />"; |
| 219 | 219 | $retval .= "<title>" . htmlspecialchars($pagetitle) . "</title>"; |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | $cutoffPosition = strrpos($_SERVER['PHP_SELF'], "/"); |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | - $logoBase = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition)."/resources/images"; |
|
| 244 | + $logoBase = "//" . $this->validator->hostname($_SERVER['SERVER_NAME']) . substr($_SERVER['PHP_SELF'], 0, $cutoffPosition) . "/resources/images"; |
|
| 245 | 245 | |
| 246 | 246 | return "<span id='logos' style='position:fixed; left:50%;'><img src='$logoBase/dante.png' alt='DANTE' style='height:23px;width:47px'/> |
| 247 | 247 | <img src='$logoBase/eu.png' alt='EU' style='height:23px;width:27px;border-width:0px;'/></span> |
@@ -246,11 +246,11 @@ discard block |
||
| 246 | 246 | } |
| 247 | 247 | |
| 248 | 248 | /** |
| 249 | - * This function parses a X.509 cert and returns all certificatePolicies OIDs |
|
| 250 | - * |
|
| 251 | - * @param array $cert (returned from openssl_x509_parse) |
|
| 252 | - * @return array of OIDs |
|
| 253 | - */ |
|
| 249 | + * This function parses a X.509 cert and returns all certificatePolicies OIDs |
|
| 250 | + * |
|
| 251 | + * @param array $cert (returned from openssl_x509_parse) |
|
| 252 | + * @return array of OIDs |
|
| 253 | + */ |
|
| 254 | 254 | private function propertyCheckPolicy($cert) { |
| 255 | 255 | $oids = []; |
| 256 | 256 | if ($cert['extensions']['certificatePolicies']) { |
@@ -263,11 +263,11 @@ discard block |
||
| 263 | 263 | return $oids; |
| 264 | 264 | } |
| 265 | 265 | /** |
| 266 | - * This function parses a X.509 cert and returns the value of $field |
|
| 267 | - * |
|
| 268 | - * @param array $cert (returned from openssl_x509_parse) |
|
| 269 | - * @return string value of the issuer field or '' |
|
| 270 | - */ |
|
| 266 | + * This function parses a X.509 cert and returns the value of $field |
|
| 267 | + * |
|
| 268 | + * @param array $cert (returned from openssl_x509_parse) |
|
| 269 | + * @return string value of the issuer field or '' |
|
| 270 | + */ |
|
| 271 | 271 | private function getCertificateIssuer($cert) { |
| 272 | 272 | $issuer = ''; |
| 273 | 273 | foreach ($cert['issuer'] as $key => $val) { |
@@ -68,13 +68,12 @@ |
||
| 68 | 68 | |
| 69 | 69 | <?php |
| 70 | 70 | /** |
| 71 | - * The OS object holds operating system descriptions |
|
| 72 | - * @param name is the main title |
|
| 73 | - * @param subtitle - the subtitle |
|
| 74 | - * @param path - the path to the scriin-dump image |
|
| 75 | - * @param signed - if true show information that the module is signed |
|
| 76 | - |
|
| 77 | -*/ |
|
| 71 | + * The OS object holds operating system descriptions |
|
| 72 | + * @param name is the main title |
|
| 73 | + * @param subtitle - the subtitle |
|
| 74 | + * @param path - the path to the scriin-dump image |
|
| 75 | + * @param signed - if true show information that the module is signed |
|
| 76 | + */ |
|
| 78 | 77 | ?> |
| 79 | 78 | |
| 80 | 79 | function OS(name, subtitle, path, signed) { |
@@ -129,12 +129,12 @@ |
||
| 129 | 129 | */ |
| 130 | 130 | ?> |
| 131 | 131 | |
| 132 | -var win8 = new OS('<?php echo _("MS Windows")?>', '<?php echo _("10, 8, 7, Vista") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES","screenshots/sampleinstaller-win8-english-h234.png")?>",true); |
|
| 133 | -var mac = new OS('<?php echo _("Apple OS X")?>','10.7+',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES","screenshots/sampleinstaller-mac-english-h234.png")?>",true); |
|
| 134 | -var android = new OS('<?php echo _("Android")?>','<?php echo _("4.3+") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES","screenshots/sampleinstaller-android-english-h234.png")?>",false); |
|
| 135 | -var iphone = new OS('<?php echo _("Apple iOS devices")?>','<?php echo _("iPhone, iPad, iPod touch") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES","screenshots/sampleinstaller-iphone-english-h234.png")?>",true); |
|
| 136 | -var linux = new OS('<?php echo _("Linux")?>','<?php echo _("all major distributions") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES","screenshots/sampleinstaller-linux-english-h234.png")?>",false); |
|
| 137 | -var chromeos = new OS('<?php echo _("Chrome OS")?>','',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES","screenshots/sampleinstaller-chromeos-english-h234.png")?>",false); |
|
| 132 | +var win8 = new OS('<?php echo _("MS Windows")?>', '<?php echo _("10, 8, 7, Vista") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES", "screenshots/sampleinstaller-win8-english-h234.png")?>",true); |
|
| 133 | +var mac = new OS('<?php echo _("Apple OS X")?>','10.7+',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES", "screenshots/sampleinstaller-mac-english-h234.png")?>",true); |
|
| 134 | +var android = new OS('<?php echo _("Android")?>','<?php echo _("4.3+") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES", "screenshots/sampleinstaller-android-english-h234.png")?>",false); |
|
| 135 | +var iphone = new OS('<?php echo _("Apple iOS devices")?>','<?php echo _("iPhone, iPad, iPod touch") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES", "screenshots/sampleinstaller-iphone-english-h234.png")?>",true); |
|
| 136 | +var linux = new OS('<?php echo _("Linux")?>','<?php echo _("all major distributions") ?>',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES", "screenshots/sampleinstaller-linux-english-h234.png")?>",false); |
|
| 137 | +var chromeos = new OS('<?php echo _("Chrome OS")?>','',"<?php echo $Gui->skinObject->findResourceUrl("IMAGES", "screenshots/sampleinstaller-chromeos-english-h234.png")?>",false); |
|
| 138 | 138 | |
| 139 | 139 | |
| 140 | 140 | |