PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.0.4
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.0.4
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 / Users / tmpl / edit_subscription_subscribed.php

edit_subscription_subscribed.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.0.4, at back/Views/Users/tmpl/edit_subscription_subscribed.php

35 lines 1.9 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 <div class="grid-x acym__listing">
6 <?php if (!empty($data['subscriptions']) || !empty($data['unsubscribe'])) { ?>
7 <?php foreach ($data['subscriptions'] as $oneSubscription) { ?>
8 <div class="grid-x cell align-middle acym__listing__row">
9 <div class="grid-x small-6 large-8 cell acym__users__display__list__name">
10 <?php echo '<i class="cell shrink acymicon-circle" style="color:'.esc_attr($oneSubscription->color).'"></i>'; ?>
11 <h6 class="cell auto"><?php echo esc_html($oneSubscription->name); ?></h6>
12 <span class="cell medium-auto">
13 <?php
14 if (acym_isDateValid($oneSubscription->subscription_date)) {
15 echo esc_html(acym_date($oneSubscription->subscription_date, acym_translation('ACYM_DATE_FORMAT_LC2')));
16 } else {
17 echo esc_html(acym_translation('ACYM_INVALID_DATE'));
18 }
19 ?>
20 </div>
21 <div acym-data-id="<?php echo intval($oneSubscription->id); ?>"
22 class="cell small-3 medium-auto medium-margin-right-1 acym__users__display__list--action acym__user__action--reset">
23 <i class="acymicon-delete"></i>
24 <span><?php echo esc_html(acym_strtolower(acym_translation('ACYM_RESET'))); ?></span>
25 </div>
26 <div acym-data-id="<?php echo intval($oneSubscription->id); ?>"
27 class="cell small-3 medium-shrink acym__users__display__list--action acym__user__action--unsubscribe">
28 <i class="acymicon-times-circle"></i>
29 <span><?php echo esc_html(acym_strtolower(acym_translation('ACYM_UNSUBSCRIBE'))); ?></span>
30 </div>
31 </div>
32 <?php } ?>
33 <?php } ?>
34 </div>
35