Rev 28 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 28 | Rev 36 | ||
|---|---|---|---|
| Line 543... | Line 543... | ||
| 543 | {
|
543 | {
|
| 544 | if (!empty($ver) && $testcase) |
544 | if (!empty($ver) && $testcase) |
| 545 | {
|
545 | {
|
| 546 | ?><script type="text/javascript">
|
546 | ?><script type="text/javascript">
|
| 547 | // <![CDATA[ |
547 | // <![CDATA[ |
| 548 | var s = test(<?php echo $ver; ?>, |
548 | var s = test(<?php echo $ver; ?>, '<span title="Supported">+<\/span>', |
| 549 | '<input title="Supported" name="<?php echo htmlspecialchars($this->title, ENT_COMPAT, FEATURES_ENCODING); ?>" value="+" readonly>', |
- | |
| 550 | '<input title="Not supported" name="<?php echo htmlspecialchars($this->title, ENT_COMPAT, FEATURES_ENCODING); ?>" value="−" readonly>'); |
549 | '<span title="Not supported">−<\/span>'); |
| 551 | jsx.tryThis("document.write(s);",
|
550 | jsx.tryThis("document.write(s);",
|
| 552 | "document.getElementById('<?php echo $id; ?>').appendChild("
|
551 | "document.getElementById('<?php echo $id; ?>').appendChild("
|
| 553 | + "document.createTextNode(s));"); |
552 | + "document.createTextNode(s));"); |
| 554 | // ]]> |
553 | // ]]> |
| 555 | </script><?php
|
554 | </script><?php
|