fixing times format for email notification
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 May 2016 20:40:11 +0000 (16:40 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 May 2016 20:40:11 +0000 (16:40 -0400)
models/front/events/frontAdd.php
views/front/events/ownerEmail.html

index e7c3c4a..899565c 100644 (file)
@@ -452,9 +452,6 @@ class GLmMembersFront_events_frontAdd extends GlmDataEvents
         $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);
@@ -462,8 +459,8 @@ class GLmMembersFront_events_frontAdd extends GlmDataEvents
         $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";
index 768d2a2..8139033 100644 (file)
@@ -10,9 +10,9 @@
                <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>