PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / trunk
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress vtrunk
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 / Campaigns / tmpl / edit_email_info.php

edit_email_info.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress trunk, at back/Views/Campaigns/tmpl/edit_email_info.php

50 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 <div class="cell grid-x grid-margin-x margin-y">
6 <div class="cell large-6">
7 <label>
8 <?php echo esc_html(acym_translation('ACYM_CAMPAIGN_NAME')); ?>
9 <input name="mail[name]" type="text" value="<?php echo esc_attr($data['mailInformation']->name ?? ''); ?>">
10 </label>
11 </div>
12 <div class="cell large-6">
13 <label>
14 <?php
15 echo esc_html(acym_translation('ACYM_TAGS'));
16 acym_selectMultiple(
17 $data['allTags'],
18 'template_tags',
19 empty($data['mailInformation']->tags) ? [] : $data['mailInformation']->tags,
20 [
21 'id' => 'acym__tags__field',
22 'placeholder' => acym_translation('ACYM_ADD_TAGS'),
23 ],
24 'name',
25 'name',
26 true
27 );
28 ?>
29 </label>
30 </div>
31
32 <?php
33 if (empty($data['multilingual']) && empty($data['abtest'])) {
34 $preheaderSize = 'large-6';
35 include acym_getView('campaigns', 'edit_email_info_content');
36 } ?>
37
38 <div class="cell grid-x">
39 <?php
40 acym_switch([
41 'name' => 'visible',
42 'value' => $data['mailInformation']->visible,
43 'label' => acym_translation('ACYM_VISIBLE'),
44 'tip' => ['textShownInTooltip' => 'ACYM_VISIBLE_CAMPAIGN_DESC'],
45 'labelClass' => 'shrink',
46 ])
47 ?>
48 </div>
49 </div>
50