diff options
Diffstat (limited to 'timelinejs.tpl.php')
-rw-r--r-- | timelinejs.tpl.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/timelinejs.tpl.php b/timelinejs.tpl.php index 4393264..a551df4 100644 --- a/timelinejs.tpl.php +++ b/timelinejs.tpl.php @@ -1,5 +1,6 @@ +<?php global $base_url; ?> <!-- BEGIN Timeline Embed --> -<img style="z-index: 99999999; position: fixed; margin-top: 10px; margin-left: 10px;" src="/<?php print $module_path; ?>/images/isa-icon.png" alt="Instituto Socioambiental"> +<a href="<?php print $base_url; ?>/<?php print $lang; ?>/node/<?php print $nid; ?>"><img style="z-index: 99999999; position: fixed; margin-top: 10px; margin-left: 10px;" src="/<?php print $module_path; ?>/images/isa-icon.png" alt="Instituto Socioambiental"></a> <div id="timeline-embed" style="width:<?print $width; ?>; height: <?php print $height; ?>;"></div> <script type="text/javascript"> var timeline_config = { @@ -11,7 +12,7 @@ css: "<?php print $css; ?>", js: "<?php print $js; ?>", font: "<?php print $font; ?>", - lang: "<?php print $lang; ?>" + lang: "<?php print $lang_js; ?>" } // Used to open links in the parent iframe when showing as a widget |