Rev 147 | Rev 151 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 147 | Rev 150 | ||
---|---|---|---|
Line 492... | Line 492... | ||
492 | features.push(cookiesText); |
492 | features.push(cookiesText); |
493 | } |
493 | } |
494 | else |
494 | else |
495 | { |
495 | { |
496 | features.push('<span class="unavailable"' |
496 | features.push('<span class="unavailable"' |
497 | +' title="Cookies supported, but no data for this site">' + cookiesText + '<\/span>'); |
497 | + ' title="<?php echo _('Cookies supported, but no data for this site'); ?>"' |
- | 498 | + '>' + cookiesText + '<\/span>'); |
|
498 | } |
499 | } |
499 | } |
500 | } |
500 | else |
501 | else |
501 | { |
502 | { |
- | 503 | features.push('<span class="offline"' |
|
502 | features.push('<span class="offline" title="Cookies supported, but disabled">' + cookiesText + '<\/span>'); |
504 | + ' title="<?php echo _('Cookies supported, but disabled'); ?>"' |
- | 505 | + '>' + cookiesText + '<\/span>'); |
|
503 | } |
506 | } |
504 | } |
507 | } |
505 | 508 | ||
506 | if (fullscreen.isSupportedBy(document.documentElement)) |
509 | if (fullscreen.isSupportedBy(document.documentElement)) |
507 | { |
510 | { |
Line 530... | Line 533... | ||
530 | { |
533 | { |
531 | if (navigator.plugins.length > 0) |
534 | if (navigator.plugins.length > 0) |
532 | { |
535 | { |
533 | features.push('<span title="' |
536 | features.push('<span title="' |
534 | + navigator.plugins.length |
537 | + navigator.plugins.length |
535 | + ' plugins installed">Plugins<\/span>'); |
538 | + ' <?php echo _('plugins installed'); ?>">Plugins<\/span>'); |
536 | } |
539 | } |
537 | else |
540 | else |
538 | { |
541 | { |
- | 542 | features.push('<span class="unavailable"' |
|
539 | features.push('<span class="unavailable" title="Plugins supported, but none detected">Plugins<\/span>'); |
543 | + ' title="<?php echo _('Plugins supported, but none detected'); ?>"' |
- | 544 | + '>Plugins<\/span>'); |
|
540 | } |
545 | } |
541 | } |
546 | } |
542 | 547 | ||
543 | if (storage.sessionStorage.isSupported()) |
548 | if (storage.sessionStorage.isSupported()) |
544 | { |
549 | { |
Line 553... | Line 558... | ||
553 | { |
558 | { |
554 | return s.replace(/<[^>]+>/g, "") |
559 | return s.replace(/<[^>]+>/g, "") |
555 | } |
560 | } |
556 | 561 | ||
557 | var sFeatures = getFeatures(); |
562 | var sFeatures = getFeatures(); |
558 | document.write('<span id="features" title="' + stripTags(sFeatures) + '">' + sFeatures + '<\/span>'); |
563 | document.write('<span id="features" title="' |
- | 564 | + stripTags(sFeatures) + '">' + sFeatures |
|
- | 565 | + '<\/span>'); |
|
559 | 566 | ||
560 | var oFeatures; |
567 | var oFeatures; |
561 | var oFeaturesHtml; |
568 | var oFeaturesHtml; |
562 | var tFeatures = runAsync(function () { |
569 | var tFeatures = runAsync(function () { |
563 | if (typeof oFeatures == "undefined") |
570 | if (typeof oFeatures == "undefined") |