Starting for display of stats per sent message.
wp_enqueue_style( 'glmaFoundation', GLM_MEMBERS_PLUGIN_URL . '/css/glma-foundation.min.css' );
switch ( $option ) {
+ case 'stats':
+ $view = 'stats';
+ $tData = [
+ 'stats' => 'test'
+ ];
+ break;
case 'search':
$view = 'search';
$searchResults = array();
// $notiicationTest to true to just display notification messages
public function modelAction( $actionData = false, $notificationTest = false )
{
- // trigger_error( 'sendMessagesEmail started', E_USER_NOTICE );
+ trigger_error( 'sendMessagesEmail started', E_USER_NOTICE );
// Request a Lock
$lock = $this->requestLock(
<li class="{if $thisOption == 'list' || $thisOption == 'editHtmlEmail'}is-active{/if}">
<a href="{$thisUrl}?page={$thisPage}&option=list">Email Messages</a>
</li>
+ <li class="{if $thisOption == 'stats'}is-active{/if}">
+ <a href="{$thisUrl}?page={$thisPage}&option=stats">Stats</a>
+ </li>
{*
<li class="{if $thisOption == 'listTemplates' || $thisOption == 'editTemplate'}is-active{/if}">
<a href="{$thisUrl}?page={$thisPage}&option=listTemplates">Email Templates</a>
--- /dev/null
+{include file='admin/header.html'}
+<h3>Stats</h3>
+
+{$stats}
+
+{include file='../../admin/footer.html'}