From 8ea5c71c9aa386d858b602fd20717d1b15e8dc59 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 26 Jun 2013 17:55:23 -0300 Subject: Adding font parameter --- timelinejs.module | 2 ++ 1 file changed, 2 insertions(+) (limited to 'timelinejs.module') diff --git a/timelinejs.module b/timelinejs.module index 30c6e92..0fef214 100644 --- a/timelinejs.module +++ b/timelinejs.module @@ -55,6 +55,7 @@ function timelinejs_theme($existing, $type, $theme, $path) { 'hash_bookmark' => 'true', 'css' => NULL, 'js' => '/'. timelinejs_library_path() .'/compiled/js/timeline.js', + 'font' => NULL, 'lang' => NULL, ), ), @@ -240,6 +241,7 @@ function timelinejs($nid = NULL, $width = '960px', $height = '500px') { 'css' => $css, 'js' => '/'. $library_path .'/compiled/js/timeline-min.js', 'lang' => '/'. $library_path .'/compiled/js/locale/'. $language->language .'.js', + 'font' => variable_get('timelinejs_font', 'Bevan-PotanoSans'), 'library_path' => $library_path, )); } -- cgit v1.2.3