PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
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
acymailing / back / Views / Queue / tmpl / detailed.php

detailed.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.1.0, at back/Views/Queue/tmpl/detailed.php

85 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 <form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm" data-abide novalidate>
6 <?php
7 $isEmpty = empty($data['allElements']) && empty($data['search']) && empty($data['tag']) && empty($data['status']);
8 if (!$isEmpty) {
9 $data['toolbar']->displayToolbar($data);
10 }
11 ?>
12 <div id="acym__queue" class="acym__content">
13 <?php
14 $workflow = $data['workflowHelper'];
15 $workflow->displayTabs($this->steps, 'detailed');
16 ?>
17
18 <?php if ($isEmpty) { ?>
19 <div class="grid-x text-center">
20 <h1 class="acym__listing__empty__title cell"><?php echo esc_html(acym_translation('ACYM_YOU_DONT_HAVE_ANY_CAMPAIGN_IN_QUEUE')); ?></h1>
21 <h1 class="acym__listing__empty__subtitle cell"><?php echo esc_html(acym_translation('ACYM_SEND_ONE_AND_SEE_HOW_AMAZING_QUEUE_IS')); ?></h1>
22 </div>
23 <?php } else { ?>
24 <?php if (empty($data['allElements'])) { ?>
25 <h1 class="cell acym__listing__empty__search__title text-center"><?php echo esc_html(acym_translation('ACYM_NO_RESULTS_FOUND')); ?></h1>
26 <?php } else { ?>
27 <div class="grid-x acym__listing acym__listing__view__dqueue">
28 <div class="cell grid-x acym__listing__header hide-for-small-only">
29 <div class="acym__listing__header__title cell large-2 medium-3">
30 <?php echo esc_html(acym_translation('ACYM_SENDING_DATE')); ?>
31 </div>
32 <div class="acym__listing__header__title cell medium-4">
33 <?php echo esc_html(acym_translation('ACYM_CAMPAIGN')); ?>
34 </div>
35 <div class="acym__listing__header__title cell large-4 medium-3">
36 <?php echo esc_html(acym_translation('ACYM_RECIPIENTS')); ?>
37 </div>
38 <div class="acym__listing__header__title cell medium-1 hide-for-small-only text-center">
39 <?php echo esc_html(acym_translation('ACYM_TRY')); ?>
40 </div>
41 <div class="acym__listing__header__title cell medium-1 text-center">
42 <?php echo esc_html(acym_translation('ACYM_DELETE')); ?>
43 </div>
44 </div>
45 <?php foreach ($data['allElements'] as $row) { ?>
46 <div data-acy-elementid="<?php echo esc_attr($row->id.'_'.$row->user_id); ?>" class="cell grid-x acym__listing__row">
47 <div class="cell large-2 medium-3">
48 <?php echo esc_html(acym_date($row->sending_date, acym_getDateTimeFormat())); ?>
49 </div>
50 <div class="cell medium-4 acym__listing__title">
51 <div class="acym__listing__title acym_text_ellipsis"><?php echo esc_html($row->name); ?></div>
52 <span class="acym__listing__title__secondary acym_text_ellipsis"><?php echo esc_html($row->subject); ?></span>
53 </div>
54 <div class="cell large-4 medium-3">
55 <a href="<?php echo esc_url(acym_completeLink('users&task=edit&userId='.$row->user_id)); ?>">
56 <?php
57 if (empty($row->user_name)) {
58 echo esc_html($row->email);
59 } else {
60 echo '<span class="hide-for-medium-only hide-for-small-only">'.esc_html($row->user_name).' (</span>'.esc_html(
61 $row->email
62 ).'<span class="hide-for-medium-only hide-for-small-only">)</span>';
63 }
64 ?>
65 </a>
66 </div>
67 <div class="cell medium-1 hide-for-small-only text-center">
68 <?php echo esc_html($row->try); ?>
69 </div>
70 <div class="cell medium-1 text-center">
71 <i class="acymicon-delete js-acym_toggle_delete acym_delete_queue"
72 data-acy-table="queue"
73 data-acy-elementid="<?php echo esc_attr($row->id.'_'.$row->user_id); ?>"
74 confirmation="1"></i>
75 </div>
76 </div>
77 <?php } ?>
78 </div>
79 <?php $data['pagination']->display('dqueue'); ?>
80 <?php } ?>
81 <?php } ?>
82 <?php acym_formOptions(false, 'detailed'); ?>
83 </div>
84 </form>
85