PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.0.3
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.0.3
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 / Mails / tmpl / listing.php

listing.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.0.3, at back/Views/Mails/tmpl/listing.php

33 lines 1.6 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" enctype="multipart/form-data">
6 <input type="hidden" id="acym_create_template_type_editor" name="type_editor">
7 <input type="hidden" id="acym_create_template_type_tmpl" name="type" value="<?php echo esc_attr($data['mailClass']::TYPE_TEMPLATE); ?>">
8 <?php
9 $isEmpty = empty($data['allMails']) && empty($data['search']) && empty($data['tag']) && empty($data['status']);
10 if (!$isEmpty) {
11 $data['toolbar']->displayToolbar($data);
12 }
13 ?>
14 <div id="acym__templates" class="acym__content">
15 <?php if ($isEmpty) { ?>
16 <div class="grid-x text-center">
17 <h1 class="acym__listing__empty__title cell"><?php echo esc_html(acym_translation('ACYM_YOU_DONT_HAVE_ANY_TEMPLATE')); ?></h1>
18 <h1 class="acym__listing__empty__subtitle cell"><?php echo esc_html(acym_translation('ACYM_CREATE_AN_AMAZING_TEMPLATE_WITH_OUR_AMAZING_EDITOR')); ?></h1>
19 <div class="medium-3"></div>
20 <div class="medium-6 small-12 cell">
21 <?php include acym_getView('mails', 'listing_empty'); ?>
22 </div>
23 <div class="medium-3"></div>
24 </div>
25 <?php } else { ?>
26 <div class="grid-x grid-margin-x">
27 <?php include acym_getView('mails', 'listing_listing'); ?>
28 </div>
29 <?php } ?>
30 </div>
31 <?php acym_formOptions(); ?>
32 </form>
33