PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.10.2
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.10.2
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 / edit_info_global.php

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

84 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="cell xlarge-3 medium-6">
2 <label>
3 <?php echo acym_translation('ACYM_NAME'); ?>
4 <input name="mail[name]" type="text" class="acy_required_field" value="<?php echo acym_escape($data['mail']->name); ?>" required>
5 </label>
6 </div>
7 <?php if (empty($data['multilingual']) && empty($data['abtest'])) { ?>
8 <div class="cell xlarge-3 medium-6">
9 <label>
10 <?php echo acym_translation('ACYM_EMAIL_SUBJECT'); ?>
11 <input name="mail[subject]" type="text" value="<?php echo acym_escape($data['mail']->subject); ?>" <?php echo in_array(
12 $data['mail']->type,
13 [$data['mailClass']::TYPE_WELCOME, $data['mailClass']::TYPE_UNSUBSCRIBE, $data['mailClass']::TYPE_AUTOMATION]
14 ) ? 'required' : ''; ?>>
15 </label>
16 </div>
17 <?php } ?>
18 <div class="cell xlarge-3 medium-6">
19 <label>
20 <?php
21 echo acym_translation('ACYM_TAGS');
22 echo acym_selectMultiple(
23 $data['allTags'],
24 'template_tags',
25 $data['mail']->tags,
26 [
27 'id' => 'acym__tags__field',
28 'placeholder' => acym_translation('ACYM_ADD_TAGS'),
29 ],
30 'name',
31 'name'
32 );
33 ?>
34 </label>
35 </div>
36 <div class="cell shrink"></div>
37
38 <?php
39 if ($data['mail']->type === $data['mailClass']::TYPE_TEMPLATE) {
40 if (acym_level(ACYM_ENTERPRISE) && ACYM_CMS === 'joomla') {
41 ?>
42 <div class="cell xlarge-3 medium-6">
43 <label class="cell">
44 <?php
45 echo acym_translation('ACYM_TEMPLATE_ACCESS');
46 echo acym_info(['textShownInTooltip' => 'ACYM_TEMPLATE_ACCESS_DESC']);
47 echo acym_selectMultiple(
48 acym_getGroups(),
49 'mail[access]',
50 $data['mail']->access,
51 [
52 'class' => 'acym__select',
53 ]
54 );
55 ?>
56 </label>
57 </div>
58 <?php
59 }
60 }
61 if (!empty($data['langChoice'])) {
62 ?>
63 <div class="cell xlarge-3 medium-6">
64 <label class="cell">
65 <?php
66 echo acym_translation('ACYM_EMAIL_LANGUAGE');
67 echo acym_info(['textShownInTooltip' => 'ACYM_EMAIL_LANGUAGE_DESC']);
68 echo $data['langChoice'];
69 ?>
70 </label>
71 </div>
72 <?php } ?>
73
74 <?php if (!empty($data['lists'])) { ?>
75 <div class="cell xlarge-3 medium-6">
76 <label>
77 <?php
78 echo acym_translation('ACYM_SELECT_ONE_OR_MORE_LIST');
79 echo acym_selectMultiple($data['lists'], 'list_ids', empty($data['list_id']) ? [] : $data['list_id'], ['class' => 'acym__select']);
80 ?>
81 </label>
82 </div>
83 <?php } ?>
84