From ab93527a7774fe354c0cf75c630a7403cdb9061b Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 22 Feb 2011 19:58:04 +0000 Subject: [PATCH] Get list of extensions from parent class --- calendar/inc/class.calendar_hooks.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_hooks.inc.php b/calendar/inc/class.calendar_hooks.inc.php index 3ef36e588f..a76db786cb 100644 --- a/calendar/inc/class.calendar_hooks.inc.php +++ b/calendar/inc/class.calendar_hooks.inc.php @@ -593,7 +593,7 @@ class calendar_hooks 'name' => 'default_document', 'help' => lang('If you specify a document (full vfs path) here, %1 displays an extra document icon for each entry. That icon allows to download the specified document with the contact data inserted.',lang('calendar')).' '. lang('The document can contain placeholder like {{calendar_title}}, to be replaced with the contact data (%1full list of placeholder names%2).','','').' '. - lang('At the moment the following document-types are supported:').'*.rtf, *.txt', + lang('At the moment the following document-types are supported:'). implode(',',bo_merge::get_file_extensions()), 'run_lang' => false, 'xmlrpc' => True, 'admin' => False, @@ -605,7 +605,7 @@ class calendar_hooks 'name' => 'document_dir', 'help' => lang('If you specify a directory (full vfs path) here, %1 displays an action for each document. That action allows to download the specified document with the infolog data inserted.',lang('calendar')).' '. lang('The document can contain placeholder like {{calendar_title}}, to be replaced with the contact data (%1full list of placeholder names%2).','','').' '. - lang('At the moment the following document-types are supported:').'*.rtf, *.txt', + lang('At the moment the following document-types are supported:'). implode(',',bo_merge::get_file_extensions()), 'run_lang' => false, 'xmlrpc' => True, 'admin' => False,