PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.1
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Views/Dashboard/tmpl/campaign_progress.php +0 -49 trunk → 11.1.1 View file →
@@ -1,49 +1,0 @@
1 -<?php
2 -// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals.
3 -defined('ABSPATH') || die('Restricted Access');
4 -?>
5 -<div class="acym__content cell">
6 - <div class="cell acym__title acym__dashboard__title"><?php echo esc_html(acym_translation('ACYM_IN_PROGRESS')); ?></div>
7 - <span class="separator"></span>
8 - <?php if ($data['campaigns']) { ?>
9 - <div class="grid-x acym__listing cell">
10 - <div class="grid-x cell acym__listing__header">
11 - <div class="grid-x medium-auto small-12">
12 - <div class="cell small-6 acym__listing__header__title">
13 - <?php echo esc_html(acym_translation('ACYM_CAMPAIGN')); ?>
14 - </div>
15 - <div class="cell small-3 acym__listing__header__title">
16 - <?php echo esc_html(acym_translation('ACYM_STATUS')); ?>
17 - </div>
18 - <div class="cell small-3 acym__listing__header__title">
19 - <?php echo esc_html(acym_translation('ACYM_PROGRESS')); ?>
20 - </div>
21 - </div>
22 - </div>
23 -
24 - <?php
25 - $activeCampaigns = $data['campaigns'];
26 - foreach ($activeCampaigns as $index => $campaigns) { ?>
27 - <div acym-data-domain="coucou" class="grid-x cell align-middle acym__listing__row">
28 - <div class="cell small-6">
29 - <?php echo esc_html($campaigns->name); ?>
30 - </div>
31 - <div class="cell small-3 large">
32 - <span class="<?php echo $results = $campaigns->active == 1 ? 'acym__dashboard__campaign__active' : 'acym__dashboard__campaign__paused'; ?>">
33 - <?php echo esc_html($results = $campaigns->active == 1 ? acym_translation('ACYM_IN_PROGRESS') : acym_translation('ACYM_STOPPED')); ?>
34 - </span>
35 - </div>
36 - <div class="cell small-3 ">
37 - <?php echo esc_html($campaigns->recipients - $campaigns->nbqueued.' / '.$campaigns->recipients); ?>
38 - </div>
39 - </div>
40 - <?php } ?>
41 - </div>
42 - <?php } else { ?>
43 - <div class="cell grid-x">
44 - <div class="cell text-center acym__dashboard__empty">
45 - <?php echo esc_html(acym_translation('ACYM_QUEUE_IS_EMPTY')); ?>
46 - </div>
47 - </div>
48 - <?php } ?>
49 -</div>