|
@@ -283,6 +283,18 @@ if ($agenda->type === 'course') {
|
|
|
|
|
|
$tpl->assign('form_add', $form->returnForm());
|
|
|
$tpl->assign('legend_list', api_get_configuration_value('agenda_legend'));
|
|
|
+
|
|
|
+$onHoverInfo = api_get_configuration_value('agenda_on_hover_info');
|
|
|
+if (!empty($onHoverInfo)) {
|
|
|
+ $options = $onHoverInfo['options'];
|
|
|
+} else {
|
|
|
+ $options = [
|
|
|
+ 'comment' => true,
|
|
|
+ 'description' => true,
|
|
|
+ ];
|
|
|
+}
|
|
|
+$tpl->assign('on_hover_info', $options);
|
|
|
+
|
|
|
$templateName = $tpl->get_template('agenda/month.tpl');
|
|
|
$content = $tpl->fetch($templateName);
|
|
|
$tpl->assign('content', $content);
|