aboutsummaryrefslogtreecommitdiff
path: root/mod/graphstats/views/default/js/timeline.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/graphstats/views/default/js/timeline.php')
-rw-r--r--mod/graphstats/views/default/js/timeline.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/graphstats/views/default/js/timeline.php b/mod/graphstats/views/default/js/timeline.php
new file mode 100644
index 000000000..eae9c24ba
--- /dev/null
+++ b/mod/graphstats/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');