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 / Lists / tmpl / settings_information.php

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

126 lines 5.1 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 if (!empty($data['translation_languages'])) {
5 acym_displayLanguageRadio(
6 $data['translation_languages'],
7 'list[translation]',
8 $data['listInformation']->translation,
9 acym_translation('ACYM_LANGUAGE_LIST_DESC'),
10 '',
11 'list'
12 );
13 } ?>
14 <div class="cell">
15 <label>
16 <?php echo esc_html(acym_translation('ACYM_LIST_NAME')); ?>
17 <input name="list[name]" type="text" class="acy_required_field" value="<?php echo esc_attr($data['listInformation']->name); ?>" required>
18 </label>
19 </div>
20 <div class="cell">
21 <label>
22 <?php echo esc_html(acym_translation('ACYM_DISPLAY_NAME'));
23 acym_info(['textShownInTooltip' => 'ACYM_LIST_DISPLAY_NAME_DESC']); ?>
24 <input name="list[display_name]" type="text" value="<?php echo esc_attr($data['listInformation']->display_name ?? ''); ?>">
25 </label>
26 </div>
27
28 <div class="cell">
29 <label><?php echo esc_html(acym_translation('ACYM_DESCRIPTION')); ?></label>
30 <textarea name="list[description]"><?php echo esc_html($data['listInformation']->description); ?></textarea>
31 </div>
32 <div class="cell margin-bottom-1">
33 <label>
34 <?php echo esc_html(acym_translation('ACYM_TAGS')); ?>
35 <?php acym_selectMultiple(
36 $data['allTags'],
37 "list_tags",
38 $data['listTagsName'],
39 ['id' => 'acym__tags__field', 'placeholder' => acym_translation('ACYM_ADD_TAGS')],
40 'name',
41 'name',
42 true
43 ); ?>
44 </label>
45 </div>
46 <div class="cell grid-x grid-margin-x margin-left-0 margin-right-0">
47 <div class="cell grid-x acym__list__settings__active small-6">
48 <?php acym_switch(
49 [
50 'name' => 'list[active]',
51 'value' => esc_attr($data['listInformation']->active),
52 'label' => acym_translation('ACYM_ACTIVE'),
53 'labelClass' => 'small-6',
54 'switchContainerClass' => 'shrink',
55 'switchClass' => 'margin-0',
56 ]
57 ); ?>
58 </div>
59 <p class="cell margin-bottom-1 small-6" id="acym__lists__settings__list-color">
60 <?php echo esc_html(acym_translation('ACYM_COLOR')); ?> :
61 <input type="text" name="list[color]" id="acym__list__settings__color-picker" value="<?php echo esc_attr($data['listInformation']->color); ?>" />
62 </p>
63 <div class="cell grid-x acym__list__settings__visible small-6">
64 <?php acym_switch(
65 [
66 'name' => 'list[visible]',
67 'value' => esc_attr($data['listInformation']->visible),
68 'label' => acym_translation('ACYM_VISIBLE'),
69 'labelClass' => 'small-6',
70 'switchContainerClass' => 'shrink',
71 'switchClass' => 'margin-0',
72 ]
73 ); ?>
74 </div>
75 <?php if (!empty($data['listInformation']->id)) { ?>
76 <p class="cell margin-bottom-1 small-6" id="acym__list__settings__list-id"><?php echo esc_html(acym_translation('ACYM_LIST_ID')); ?> :
77 <b class="acym__color__blue"><?php echo esc_html($data['listInformation']->id); ?></b></p>
78 <?php } ?>
79 <div class="cell grid-x small-6">
80 <?php
81 acym_switch(
82 [
83 'name' => 'list[tracking]',
84 'value' => $data['listInformation']->tracking,
85 'label' => acym_translation('ACYM_TRACK_THIS_LIST'),
86 'tip' => ['textShownInTooltip' => 'ACYM_TRACK_THIS_LIST_DESC'],
87 'labelClass' => 'small-6',
88 'switchContainerClass' => 'shrink',
89 'switchClass' => 'margin-0',
90 ]
91 ); ?>
92 </div>
93 <div class="cell small-6">
94 <?php echo esc_html(acym_translation('ACYM_DATE_CREATED')); ?> : <b><?php echo esc_html(
95 acym_date(
96 empty($data['listInformation']->id) ? time() : $data['listInformation']->creation_date,
97 acym_getDateTimeFormat('ACYM_DATE_FORMAT_LC3')
98 )
99 ); ?></b>
100 </div>
101 </div>
102 <?php if (acym_level(ACYM_ENTERPRISE) && ACYM_CMS === 'joomla') { ?>
103 <div class="cell grid-x">
104 <div class="cell grid-x">
105 <label class="cell">
106 <?php
107 echo esc_html(acym_translation('ACYM_LIST_ACCESS'));
108 acym_info(['textShownInTooltip' => 'ACYM_LIST_ACCESS_DESC']);
109 acym_selectMultiple(
110 acym_getGroups(),
111 'list[access]',
112 $data['listInformation']->access,
113 [
114 'class' => 'acym__select',
115 ],
116 'value',
117 'text',
118 true
119 );
120 ?>
121 </label>
122 </div>
123 </div>
124 <?php
125 }
126