summaryrefslogtreecommitdiff
path: root/timelinejs.module
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-06-26 17:55:23 -0300
committerSilvio <silvio@socioambiental.org>2013-06-26 17:55:23 -0300
commit8ea5c71c9aa386d858b602fd20717d1b15e8dc59 (patch)
treea4371b111e6fc14c021c3793cc535378433fa868 /timelinejs.module
parented96b9b69718246532196f03c0f3bf17545ef299 (diff)
downloadtimelinejs-8ea5c71c9aa386d858b602fd20717d1b15e8dc59.tar.gz
timelinejs-8ea5c71c9aa386d858b602fd20717d1b15e8dc59.tar.bz2
Adding font parameter
Diffstat (limited to 'timelinejs.module')
-rw-r--r--timelinejs.module2
1 files changed, 2 insertions, 0 deletions
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,
));
}