|
@@ -519,7 +519,7 @@ function template_calendar_base($col_span = 1)
|
|
|
// Template for posting a calendar event.
|
|
|
function template_event_post()
|
|
|
{
|
|
|
- global $context, $txt, $scripturl;
|
|
|
+ global $context, $txt, $scripturl, $modSettings;
|
|
|
|
|
|
echo '
|
|
|
<form action="', $scripturl, '?action=calendar;sa=post" method="post" name="postevent" accept-charset="', $context['character_set'], '" onsubmit="submitonce(this);smc_saveEntities(\'postevent\', [\'evtitle\']);" style="margin: 0;">';
|