Rev 142 | Rev 145 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 142 | Rev 143 | ||
---|---|---|---|
Line 398... | Line 398... | ||
398 | var screenDimText = dim.getScreenText(); |
398 | var screenDimText = dim.getScreenText(); |
399 | var availDimText = dim.getAvailText(); |
399 | var availDimText = dim.getAvailText(); |
400 | var innerDimText = dim.getInnerText(); |
400 | var innerDimText = dim.getInnerText(); |
401 | var colorDepthText = dim.getColorDepthText(); |
401 | var colorDepthText = dim.getColorDepthText(); |
402 | var displayInfo = (screenDimText || availDimText || innerDimText || colorDepthText) |
402 | var displayInfo = (screenDimText || availDimText || innerDimText || colorDepthText) |
403 | ? (screenDimText ? '<span id="screenDim">' + screenDimText + '<\/span>' : "") |
403 | ? (screenDimText ? '<span id="screenDim">' + screenDimText + '<\/span> <?php echo _('pixels'); ?>' : "") |
404 | + (availDimText ? ' (<span id="availDim">' + availDimText + "<\/span>" : "") |
404 | + (availDimText ? ' (<span id="availDim">' + availDimText + "<\/span>" : "") |
405 | + (innerDimText ? '<span id="innerDim">' + innerDimText + "<\/span>) <?php echo _('pixels'); ?>" : "") |
405 | + (innerDimText ? '<span id="innerDim">' + innerDimText + "<\/span>)" : "") |
406 | + (colorDepthText ? ' × <span id="colorDepth">' + colorDepthText + "<\/span>" : "") |
406 | + (colorDepthText ? ' × <span id="colorDepth">' + colorDepthText + "<\/span>" : "") |
407 | : "<?php echo _('N/A'); ?>"; |
407 | : "<?php echo _('N/A'); ?>"; |
408 | 408 | ||
409 | /* FIXME: Convert HTML to text, update whole title text */ |
409 | /* FIXME: Convert HTML to text, update whole title text */ |
410 | document.write('<span>' + displayInfo + '<\/span>'); |
410 | document.write('<span>' + displayInfo + '<\/span>'); |