diff options
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php index 3f8e1f18c..a3f7444ec 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -662,6 +662,20 @@ function widget_conversations($arr) { return $o; } +function widget_eventsmenu($arr) { + if (! local_channel()) + return; + + return replace_macros(get_markup_template('events_side.tpl'), array( + '$title' => t('Events Menu'), + '$day' => t('Day View'), + '$week' => t('Week View'), + '$month' => t('Month View'), + '$export' => t('Export'), + '$upload' => t('Import'), + '$submit' => t('Submit') + )); +} function widget_design_tools($arr) { $a = get_app(); |