);
$smarty = new smartyTemplateSupport();
-
+
$eventsList = GLM_MEMBERS_EVENTS_PLUGIN_ADMIN_URL ."?page=glm-members-admin-menu-events-index&glm_action=index";
$viewPath = GLM_MEMBERS_EVENTS_PLUGIN_PATH . '/views';
$smarty->template->setTemplateDir($viewPath);
$smarty->templateAssign('from_email', $fromEmail);
$smarty->templateAssign('emailNotification', $emailNotification);
$smarty->templateAssign('pendingEvents', $eventsList);
+ $smarty->templateAssign('name', $name);
$smarty->templateAssign('startDate', $starting);
+ $smarty->templateAssign('endDate', $ending);
+ $smarty->templateAssign('startTime', $smilitaryTime);
+ $smarty->templateAssign('endTime', $emilitaryTime);
+
$eventsList = GLM_MEMBERS_EVENTS_PLUGIN_ADMIN_URL ."?page=glm-members-admin-menu-events-index&glm_action=index";
$smarty->templateAssign('items', $events);
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>
- <body style="background: rgb(5, 104, 179); padding-bottom: 10px;">
- <h1 style="color: rgb(245, 130, 42); margin-left: 15px;" id="title"> Event Submission Notification</h1>
- <div id="emailMessage">
- <p style="color: white; margin-left: 20px;"> Event Start Date: {$startDate} </p>
- {if $emailNotification}
- <p style="margin: 20px 20px; color: white;">{$emailNotification}</p>
+ <body>
+ <h1 id="title"> Event Submission Notification</h1>
+ <table cellspacing="0" cellpadding="0" width="500" style="background: lightgrey;border:1px solid #ccc;border-collapse:collapse;">
+ <tr>
+ <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>
+ {/if}
+ </tr>
+ <tr>
+ {if $startTime}
+ <td style="font-weight:bold;width:200px;padding:5px;border:1px solid #ccc;">Event Start Time: {$tartTime}</td>
+ {/if}
+ {if $endTime}
+ <td style="font-weight:bold;width:200px;padding:5px;border:1px solid #ccc;">Event End Time: {$endTime}</td>
+ {/if}
+ </tr>
+ </table>
+ {if $emailNotification}
+ {$emailNotification}
{/if}
- </div>
<div id="emailFooter">
- <p style="margin: 0px 5px 0px 20px; color: white;">A new Event has been added to your Website from your "Add Your Event" page.</p>
- <p style="margin: 0px 5px 0px 20px; color: white;">To approve it, please go to the <a style="color: rgb(245, 130, 42);" href="{$pendingEvents}"> events </a> page in your admin.</p>
+ <p style="margin-bottom: 0px;">A new Event has been added to your Website from your "Add Your Event" page.</p>
+ <p style="margin-top: 0px;">To approve it, please go to the <a style="color: rgb(245, 130, 42);" href="{$pendingEvents}"> events </a> page in your admin.</p>
</div>
</body>
</html>
\ No newline at end of file