digest: use new translation init stuff
This commit is contained in:
parent
bcbb2ec792
commit
9515f1cc0f
1 changed files with 4 additions and 2 deletions
|
@ -18,15 +18,17 @@
|
||||||
<?php
|
<?php
|
||||||
foreach (array("lib/prototype.js",
|
foreach (array("lib/prototype.js",
|
||||||
"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
|
"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
|
||||||
"localized_js.php",
|
|
||||||
"js/functions.js",
|
"js/functions.js",
|
||||||
"plugins/digest/digest.js",
|
"plugins/digest/digest.js",
|
||||||
"errors.php?mode=js") as $jsfile) {
|
"errors.php?mode=js") as $jsfile) {
|
||||||
|
|
||||||
echo javascript_tag($jsfile);
|
echo javascript_tag($jsfile);
|
||||||
|
|
||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
<?php init_js_translations(); ?>
|
||||||
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript" src="plugins/digest/digest.js"></script>
|
<script type="text/javascript" src="plugins/digest/digest.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
Loading…
Reference in a new issue