summaryrefslogtreecommitdiff
path: root/timelinejs.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'timelinejs.tpl.php')
-rw-r--r--timelinejs.tpl.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/timelinejs.tpl.php b/timelinejs.tpl.php
index 0c1004a..1dc3aed 100644
--- a/timelinejs.tpl.php
+++ b/timelinejs.tpl.php
@@ -2,14 +2,14 @@
<div id="timeline-embed" style="width:960px; height: 500px;"></div>
<script type="text/javascript">
var timeline_config = {
- width: "960px",
- height: "500px",
- source: '/sites/boletim/files/timeline-saude-indigena_2.json',
- start_at_end: false,
- hash_bookmark: true,
- css: '/sites/boletim/themes/boletimclean/timeline.css',
- js: '/sites/all/libraries/timelinejs/compiled/js/timeline.js',
- lang: '/sites/all/libraries/timelinejs/compiled/js/locale/pt-br.js'
+ width: "<?php print $width; ?>",
+ height: "<?php print $height; ?>",
+ source: '<?php print $source; ?>',
+ start_at_end: <?php print $start_at_end; ?>,
+ hash_bookmark: <?php print $hash_bookmark; ?>,
+ css: '<?php print $css; ?>',
+ js: '<?php print $js; ?>',
+ lang: '<?php print $lang; ?>'
}
</script>
<script type="text/javascript" src="/sites/all/libraries/timelinejs/compiled/js/timeline-embed.js"></script>