<?php
foreach (array("lib/prototype.js",
- "lib/scriptaculous/scriptaculous.js?load=effects,controls",
+ "//ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js?load=effects,controls",
+ // "//ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js",
"lib/dojo/dojo.js",
"lib/dojo/tt-rss-layer.js",
"errors.php?mode=js") as $jsfile) {
+ if ($jsfile == "klib/dojo/dojo.js") {?>
+ <script data-dojo-config="async: 1, dojoBlankHtmlUrl: '/lib/dojo/resources/blank.html',
+ packages: [ {
+ name: 'custom',
+ location: location.pathname.replace(/\/[^/]+$/, '') + '/js/custom'
+ } ]"
+ src="//ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js"></script>
+ <?} else
+
echo javascript_tag($jsfile);
} ?>