diff options
author | Matt Friedman <maf675@gmail.com> | 2011-10-05 21:24:34 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2011-10-05 21:24:34 -0700 |
commit | 2d0f96e8cc48ba6eed06f99efb33193fc495eab7 (patch) | |
tree | 8b250ca17e616ada116167918435d69fa318db36 /phpBB/adm/style | |
parent | 9bea7c327846c7281dd5d1f78322ac0016c4dfc9 (diff) | |
download | forums-2d0f96e8cc48ba6eed06f99efb33193fc495eab7.tar forums-2d0f96e8cc48ba6eed06f99efb33193fc495eab7.tar.gz forums-2d0f96e8cc48ba6eed06f99efb33193fc495eab7.tar.bz2 forums-2d0f96e8cc48ba6eed06f99efb33193fc495eab7.tar.xz forums-2d0f96e8cc48ba6eed06f99efb33193fc495eab7.zip |
[ticket/10390] Revert back to escaped script tags inside document.write
Revert all script tags inside a document.write back to the escaped
version so they won't trip up any XML parsers.
PHPBB3-10390
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r-- | phpBB/adm/style/install_footer.html | 2 | ||||
-rw-r--r-- | phpBB/adm/style/overall_footer.html | 2 | ||||
-rw-r--r-- | phpBB/adm/style/simple_footer.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/adm/style/install_footer.html b/phpBB/adm/style/install_footer.html index 342d8d4151..a3b2294025 100644 --- a/phpBB/adm/style/install_footer.html +++ b/phpBB/adm/style/install_footer.html @@ -13,7 +13,7 @@ </div> <script type="text/javascript" src="{T_JQUERY_LINK}"></script> -<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write('<script src="{T_ASSETS_PATH}/javascript/jquery.js"><\/script>')</script><!-- ENDIF --> +<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> </body> </html> diff --git a/phpBB/adm/style/overall_footer.html b/phpBB/adm/style/overall_footer.html index a190b2299a..f05e9c56c5 100644 --- a/phpBB/adm/style/overall_footer.html +++ b/phpBB/adm/style/overall_footer.html @@ -21,7 +21,7 @@ </div> <script type="text/javascript" src="{T_JQUERY_LINK}"></script> -<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write('<script src="{T_ASSETS_PATH}/javascript/jquery.js"><\/script>')</script><!-- ENDIF --> +<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> </body> </html> diff --git a/phpBB/adm/style/simple_footer.html b/phpBB/adm/style/simple_footer.html index 5632d3fc9c..0d697aec1d 100644 --- a/phpBB/adm/style/simple_footer.html +++ b/phpBB/adm/style/simple_footer.html @@ -17,7 +17,7 @@ </div> <script type="text/javascript" src="{T_JQUERY_LINK}"></script> -<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write('<script src="{T_ASSETS_PATH}/javascript/jquery.js"><\/script>')</script><!-- ENDIF --> +<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> </body> </html> |