summaryrefslogtreecommitdiff
path: root/timelinejs_print_event.tpl.php
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-08-14 13:37:43 -0300
committerSilvio <silvio@socioambiental.org>2012-08-14 13:37:43 -0300
commit563f9f6ff1f294055b2fee95e5aee69905b2ff90 (patch)
tree7406bcc590f583eb6b65b12114ba1d127802edb8 /timelinejs_print_event.tpl.php
parent89700bdad78f58fcedf0fc5fa05e519767fa237e (diff)
downloadtimelinejs-563f9f6ff1f294055b2fee95e5aee69905b2ff90.tar.gz
timelinejs-563f9f6ff1f294055b2fee95e5aee69905b2ff90.tar.bz2
Adding print templates
Diffstat (limited to 'timelinejs_print_event.tpl.php')
-rw-r--r--timelinejs_print_event.tpl.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/timelinejs_print_event.tpl.php b/timelinejs_print_event.tpl.php
new file mode 100644
index 0000000..7a0bc7e
--- /dev/null
+++ b/timelinejs_print_event.tpl.php
@@ -0,0 +1,3 @@
+<li class="timeline">
+ <?php print strftime('%d/%m/%Y', strtotime($event->field_date['und'][0]['value'])); ?> - <?php print $event->title; ?>: <?php print $event->body['und'][0]['value']; ?>
+</li>