summaryrefslogtreecommitdiff
path: root/timelinejs_embed.tpl.php
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2018-07-03 16:00:22 -0300
committerSilvio <silvio@socioambiental.org>2018-07-03 16:00:22 -0300
commit9826a88694a0f1ad35ed5c9da2287f366ad890f7 (patch)
treee305c500aefad12572836e1eb64cf8e1172d274f /timelinejs_embed.tpl.php
parentf56b5020a92d581cc6a9c61f56e78c6cbb305ad0 (diff)
downloadtimelinejs-9826a88694a0f1ad35ed5c9da2287f366ad890f7.tar.gz
timelinejs-9826a88694a0f1ad35ed5c9da2287f366ad890f7.tar.bz2
Adds embed code textarea
Diffstat (limited to 'timelinejs_embed.tpl.php')
-rw-r--r--timelinejs_embed.tpl.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/timelinejs_embed.tpl.php b/timelinejs_embed.tpl.php
new file mode 100644
index 0000000..cc5a18a
--- /dev/null
+++ b/timelinejs_embed.tpl.php
@@ -0,0 +1,3 @@
+<br />
+<?php global $base_url; ?>
+<?php print t('Embed code'); ?>: <textarea rows="1" style="width: 90%;"><iframe src="<?php print $base_url; ?>/<?php print $lang; ?>/node/<?php print $nid; ?>" height="300px" width="100%" allowfullscreen frameborder="0"></textarea>