diff options
Diffstat (limited to 'modules_v3/todays_events/module.php')
| -rw-r--r-- | modules_v3/todays_events/module.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules_v3/todays_events/module.php b/modules_v3/todays_events/module.php index ade06ed20c..4eedfd385d 100644 --- a/modules_v3/todays_events/module.php +++ b/modules_v3/todays_events/module.php @@ -1,6 +1,6 @@ <?php // webtrees: Web based Family History software -// Copyright (C) 2014 webtrees development team. +// Copyright (C) 2015 webtrees development team. // // Derived from PhpGedView // Copyright (C) 2010 John Finlay @@ -20,6 +20,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA use WT\Auth; +use WT\Theme; /** * Class todays_events_WT_Module @@ -81,10 +82,9 @@ class todays_events_WT_Module extends WT_Module implements WT_Module_Block { if ($template) { if ($block) { - require WT_THEME_DIR . 'templates/block_small_temp.php'; - } else { - require WT_THEME_DIR . 'templates/block_main_temp.php'; + $class .= ' small_inner_block'; } + return Theme::theme()->formatBlock($id, $title, $class, $content); } else { return $content; } |
