r4300 printPageHeaders(): also use static proxy for JS files
[racktables] / wwwroot / js / codepress / codepress.html
index 99209bf88a81ee98918c879a9b05279cfcabde9e..1f563e293b0d61c4791868a43f9728b75a5c87f2 100644 (file)
 \r
        if(lh.match('language=')) language = lh.replace(/.*language=(.*?)(&.*)?$/,'$1');\r
 \r
-       document.write('<link type="text/css" href="codepress.css?ts='+ts+'" rel="stylesheet" />');\r
-       document.write('<link type="text/css" href="languages/'+language+'.css?ts='+ts+'" rel="stylesheet" id="cp-lang-style" />');\r
-       document.write('<scr'+'ipt type="text/javascript" src="engines/'+engine+'.js?ts='+ts+'"></scr'+'ipt>');\r
-       document.write('<scr'+'ipt type="text/javascript" src="languages/'+language+'.js?ts='+ts+'"></scr'+'ipt>');\r
+       document.write('<link type="text/css" href="index.php?module=chrome&uri=js/codepress/codepress.css&ts='+ts+'" rel="stylesheet" />');\r
+       document.write('<link type="text/css" href="index.php?module=chrome&uri=js/codepress/languages/'+language+'.css&ts='+ts+'" rel="stylesheet" id="cp-lang-style" />');\r
+       document.write('<scr'+'ipt type="text/javascript" src="index.php?module=chrome&uri=js/codepress/engines/'+engine+'.js&ts='+ts+'"></scr'+'ipt>');\r
+       document.write('<scr'+'ipt type="text/javascript" src="index.php?module=chrome&uri=js/codepress/languages/'+language+'.js&ts='+ts+'"></scr'+'ipt>');\r
        </script>\r
 \r
 </head>\r