diff options
Diffstat (limited to 'timelinejs_json.tpl.php')
-rw-r--r-- | timelinejs_json.tpl.php | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/timelinejs_json.tpl.php b/timelinejs_json.tpl.php index 68cfcbb..2e69e8d 100644 --- a/timelinejs_json.tpl.php +++ b/timelinejs_json.tpl.php @@ -1,23 +1,3 @@ -<?php - - global $base_url; - -?> -{ - "timeline": - { - "headline":"<?php print $headline; ?>", - "type":"default", - "startDate":"<?php print $date; ?>", - "text":"<?php print $text; ?>", - "asset": - { - "media":"<?php print $media; ?>", - "credit":"", - "caption":"" - }, -<?php foreach ($events as $event) { ?> - "date": [ { "startDate":"<?php print $event['date']; ?>", "headline":"<?php print $event['headline']; ?>", @@ -28,8 +8,4 @@ "credit":"", "caption":"" } - }, - ] -<?php } ?> - } -} + } |