aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/timeline.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:50 -0300
commit36102a094de700ee339f6eaeffb8ab16ba4f2f3b (patch)
tree57676a64905ae0e112cc5d698a5f61b36a88c5b3 /views/default/js/timeline.php
downloadelgg-36102a094de700ee339f6eaeffb8ab16ba4f2f3b.tar.gz
elgg-36102a094de700ee339f6eaeffb8ab16ba4f2f3b.tar.bz2
Squashed 'mod/graphstats/' content from commit b5d0461
git-subtree-dir: mod/graphstats git-subtree-split: b5d046138c5841d55b4497618d5678cb8027c245
Diffstat (limited to 'views/default/js/timeline.php')
-rw-r--r--views/default/js/timeline.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/js/timeline.php b/views/default/js/timeline.php
new file mode 100644
index 000000000..eae9c24ba
--- /dev/null
+++ b/views/default/js/timeline.php
@@ -0,0 +1,8 @@
+<?php
+$timeline_base = elgg_get_site_url() . 'mod/graphstats/vendors/simile-timeline';
+
+echo "Timeline_ajax_url='$timeline_base/timeline_ajax/simile-ajax-api.js';";
+echo "Timeline_urlPrefix='$timeline_base/timeline_js/';";
+echo "Timeline_parameters='bundle=true';";
+
+include(elgg_get_plugins_path() . 'graphstats/vendors/simile-timeline/timeline_js/timeline-api.js');