$smarty->template->setTemplateDir($viewPath);
$smarty->templateAssign('eventUrlBase', get_bloginfo('url') . '/add-an-event/');
$smarty->templateAssign('title', 'Events');
- $smarty->templateAssign('link', 'main_event_page_url');
- $smarty->templateAssign('description', 'Calendar of Events');
- $smarty->templateAssign('pubDate', date('r'));
$smarty->templateAssign('to_email', $to_email);
$smarty->templateAssign('from_email', $fromEmail);
$smarty->templateAssign('emailNotification', $emailNotification);
$smarty->templateAssign('name', $name);
$smarty->templateAssign('startDate', $starting);
$smarty->templateAssign('endDate', $ending);
- $smarty->templateAssign('startTime', $smilitaryTime);
- $smarty->templateAssign('endTime', $emilitaryTime);
+ $smarty->templateAssign('startTime', $startTime);
+ $smarty->templateAssign('endTime', $endTime);
$eventsList = GLM_MEMBERS_EVENTS_PLUGIN_ADMIN_URL ."?page=glm-members-admin-menu-events-index&glm_action=index";
<td style="font-weight:bold;width:200px;padding:5px;border:1px solid #ccc;">Event Name: {$name}</td>
</tr>
<tr>
- <td style="font-weight:bold;width:200px;padding:5px;border:1px solid #ccc;">Event Start Date: {$starting} </td>
- {if $ending}
- <td style="font-weight:bold;width:200px;padding:5px;border:1px solid #ccc;" >Event End Date: {$ending}</td>
+ <td style="font-weight:bold;width:200px;padding:5px;border:1px solid #ccc;">Event Start Date: {$startDate} </td>
+ {if $endDate}
+ <td style="font-weight:bold;width:200px;padding:5px;border:1px solid #ccc;" >Event End Date: {$endDate}</td>
{/if}
</tr>
<tr>