digest: use new translation init stuff

This commit is contained in:
Andrew Dolgov 2013-03-25 12:47:42 +04:00
parent bcbb2ec792
commit 9515f1cc0f

View file

@ -18,15 +18,17 @@
<?php
foreach (array("lib/prototype.js",
"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
"localized_js.php",
"js/functions.js",
"plugins/digest/digest.js",
"errors.php?mode=js") as $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">