sent) && !empty($data['campaignInformation']->active); $campaignController = acym_isAdmin() ? 'campaigns' : 'frontcampaigns'; ?>
addSegmentStep($data['displaySegmentTab']); $workflow = $data['workflowHelper']; $workflow->display($this->steps, $this->step, true, false, '', 'campaignId'); ?>
'ACYM_REFRESH_ARCHIVE_DESC']); ?>
body), '', 'acym__hidden__mail__content'); ?>
attachments)) { ?>
attachments, true); foreach ($attachments as $key => $oneAttachment) { $onlyFilename = explode('/', $oneAttachment['filename']); $onlyFilename = end($onlyFilename); acym_tooltip( [ 'hoveredText' => '
'.$onlyFilename.'
', 'textShownInTooltip' => $oneAttachment['filename'], 'classContainer' => 'cell', ] ); } ?>
'ACYM_SUMMARY_NUMBER_RECEIVERS_DESC']); echo ')'; ?>
name); ?> active)) { ?> '.esc_html($oneList->subscribers).' '.esc_html(acym_strtolower(acym_translation('ACYM_SUBSCRIBERS'))).' ', acym_getPartial('modal', 'users'), 'acym__campaign__summary__users_summary__'.$oneList->list_id, [ 'ctrl' => acym_isAdmin() ? 'lists' : 'frontlists', 'task' => 'usersSummary', 'list_id' => $oneList->list_id, ], 'acym__modal__users__summary__container' ); ?>
sending_params['segment']['invert'])) { $segmentInformation = $data['campaignInformation']->sending_params['segment']['invert'] === 'exclude' ? ' ('.acym_translation('ACYM_EXCLUDE').')' : ' ('.acym_translation('ACYM_INCLUDE').')'; } else { $segmentInformation = ' ('.acym_translation('ACYM_INCLUDE').')'; } echo esc_html(acym_translation('ACYM_SEGMENT').$segmentInformation); ?>
'.esc_html(strtolower(acym_translation('ACYM_SUBSCRIBERS'))); ?>
sending_params['abtest'])) { $numberOfUsersToSend = round($data['campaignInformation']->sending_params['abtest']['repartition'] * $data['nbSubscribersAbTest'] / 100); ?>
sending_params['segment']['invert'])) { $segmentInformation = $data['campaignInformation']->sending_params['segment']['invert'] === 'exclude' ? ' ('.acym_translation('ACYM_EXCLUDE').')' : ' ('.acym_translation('ACYM_INCLUDE').')'; } else { $segmentInformation = ' ('.acym_translation('ACYM_INCLUDE').')'; } echo esc_html(acym_translation('ACYM_SEGMENT').$segmentInformation); ?>
'.esc_html( strtolower(acym_translation('ACYM_SUBSCRIBERS')) ); ?>

:

sending_type) { if (empty($data['campaignInformation']->sending_date)) { echo esc_html(acym_translation('ACYM_PLEASE_SET_SEND_DATE')); } else { if ($isSent) { $text = 'ACYM_THIS_CAMPAIGN_HAS_BEEN_SENT_ON_AT'; } else { $text = 'ACYM_THIS_CAMPAIGN_WILL_BE_SENT_ON_AT'; } echo esc_html( acym_translationSprintf( $text, acym_date($data['campaignInformation']->sending_date, 'F j, Y'), acym_date($data['campaignInformation']->sending_date, 'H:i') ) ); } } elseif (!$isSent) { echo esc_html(acym_translation('ACYM_THIS_CAMPAIGN_WILL_BE_SENT').' '.acym_strtolower(acym_translation('ACYM_NOW'))); } else { echo esc_html( acym_translationSprintf( 'ACYM_THIS_CAMPAIGN_HAS_BEEN_SENT_ON_AT', acym_date($data['campaignInformation']->sending_date, 'F j, Y'), acym_date($data['campaignInformation']->sending_date, 'H:i') ) ); } ?>

:

:

tracking ? 'ACYM_THIS_CAMPAIGN_BEING_TRACKED' : 'ACYM_THIS_CAMPAIGN_NOT_BEING_TRACKED') ); ?>

sent) && !empty($data['campaignInformation']->active)) { ?>
acym_translation('ACYM_YES'), 'all' => acym_translation('ACYM_ALREADY_SENT_ALL'), ], 'resend_target', null, [], ['required' => true], !acym_isAdmin() ); ?>
sending_type, ['birthday', 'woocommerce_cart']) ? $campaignController.'&task=specificListing&type='.$data['campaignInformation']->sending_type : $campaignController ); ?>
active) && !$data['campaignInformation']->isAuto && $data['campaignInformation']->sent) { ?> active && $data['campaignInformation']->isAuto) { ?> sent) && (empty($data['campaignInformation']->active) && $data['campaignInformation']->draft)) { ?> sending_type) { $task = 'addQueue'; $buttonText = 'ACYM_SEND_CAMPAIGN'; if (!acym_level(ACYM_ESSENTIAL) || $this->config->get('cron_last', 0) < (time() - 43200)) $buttonText = 'ACYM_ADD_TO_QUEUE'; } elseif (!$data['campaignInformation']->isAuto) { $task = 'confirmCampaign'; $buttonText = 'ACYM_CONFIRM_CAMPAIGN'; } else { $task = 'activeAutoCampaign'; $buttonText = 'ACYM_ACTIVE_CAMPAIGN'; } if ($isAbTest && empty($data['campaignInformation']->sending_params['abtest']['B'])) { $data['notAllowedSendingError'] = acym_translation('ACYM_VERSION_MISSING_AB_TEST'); } if (isset($numberOfUsersToSend) && $numberOfUsersToSend < 2) { $data['notAllowedSendingError'] = acym_translation('ACYM_NOT_ENOUGH_USERS_AB_TEST'); } if ($isAbTest && $isSent) { $data['notAllowedSendingError'] = acym_translation('ACYM_CANNOT_SEND_AB_TEST_AGAIN'); } if ($data['nbSubscribers'] <= 0) { $data['notAllowedSendingError'] = acym_translation('ACYM_ADD_RECIPIENTS_TO_SEND_THIS_CAMPAIGN'); } $buttonClass = empty($data['notAllowedSendingError']) ? '' : ' disabled'; if (!empty($data['notAllowedSendingError'])) { ob_start(); } if ($this->config->get('mailer_method') === 'acymailer' && $this->config->get('acymailer_popup', '0') === '0') { ob_start(); require acym_getView('mails', 'acymailer_popup', true); $popupData = ob_get_clean(); acym_modal( acym_translation($buttonText), $popupData, 'acym__acymailer__popup', [], ['class' => 'cell button medium-shrink'.$buttonClass] ); } else { echo ''; } if (!empty($data['notAllowedSendingError'])) { $button = ob_get_clean(); acym_tooltip( [ 'hoveredText' => $button, 'textShownInTooltip' => $data['notAllowedSendingError'], 'classContainer' => 'cell medium-shrink', ] ); } } ?>