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

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

91 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!empty($data['translation_languages'])) {
3 echo acym_displayLanguageRadio(
4 $data['translation_languages'],
5 'list[translation]',
6 $data['listInformation']->translation,
7 acym_translation('ACYM_LANGUAGE_LIST_DESC'),
8 '',
9 'list'
10 );
11 } ?>
12 <div class="cell">
13 <label>
14 <?php echo acym_translation('ACYM_LIST_NAME'); ?>
15 <input name="list[name]" type="text" class="acy_required_field" value="<?php echo acym_escape($data['listInformation']->name); ?>" required>
16 </label>
17 </div>
18 <div class="cell">
19 <label>
20 <?php echo acym_translation('ACYM_DISPLAY_NAME').acym_info(['textShownInTooltip' => 'ACYM_LIST_DISPLAY_NAME_DESC']); ?>
21 <input name="list[display_name]" type="text" value="<?php echo acym_escape($data['listInformation']->display_name); ?>">
22 </label>
23 </div>
24
25 <div class="cell">
26 <label><?php echo acym_translation('ACYM_DESCRIPTION'); ?></label>
27 <textarea name="list[description]"><?php echo acym_escape($data['listInformation']->description); ?></textarea>
28 </div>
29 <div class="cell margin-bottom-1">
30 <label>
31 <?php echo acym_translation('ACYM_TAGS'); ?>
32 <?php echo acym_selectMultiple(
33 $data['allTags'],
34 "list_tags",
35 $data['listTagsName'],
36 ['id' => 'acym__tags__field', 'placeholder' => acym_translation('ACYM_ADD_TAGS')],
37 "name",
38 "name"
39 ); ?>
40 </label>
41 </div>
42 <div class="cell grid-x grid-margin-x margin-left-0 margin-right-0">
43 <div class="cell grid-x acym__list__settings__active small-6">
44 <?php echo acym_switch('list[active]', acym_escape($data['listInformation']->active), acym_translation('ACYM_ACTIVE'), [], 'small-6', 'shrink', 'margin-0'); ?>
45 </div>
46 <p class="cell margin-bottom-1 small-6" id="acym__lists__settings__list-color">
47 <?php echo acym_translation('ACYM_COLOR'); ?> :
48 <input type="text" name="list[color]" id="acym__list__settings__color-picker" value="<?php echo acym_escape($data['listInformation']->color); ?>" />
49 </p>
50 <div class="cell grid-x acym__list__settings__visible small-6">
51 <?php echo acym_switch('list[visible]', acym_escape($data['listInformation']->visible), acym_translation('ACYM_VISIBLE'), [], 'small-6', 'shrink', 'margin-0'); ?>
52 </div>
53 <?php if (!empty($data['listInformation']->id)) { ?>
54 <p class="cell margin-bottom-1 small-6" id="acym__list__settings__list-id"><?php echo acym_translation('ACYM_LIST_ID'); ?> :
55 <b class="acym__color__blue"><?php echo acym_escape($data['listInformation']->id); ?></b></p>
56 <?php } ?>
57 <div class="cell grid-x small-6">
58 <?php
59 $label = acym_translation('ACYM_TRACK_THIS_LIST');
60 $label .= acym_info(['textShownInTooltip' => 'ACYM_TRACK_THIS_LIST_DESC']);
61 echo acym_switch('list[tracking]', $data['listInformation']->tracking, $label, [], 'small-6', 'shrink', 'margin-0'); ?>
62 </div>
63 <div class="cell small-6">
64 <?php echo acym_translation('ACYM_DATE_CREATED'); ?> : <b><?php echo acym_date(
65 empty($data['listInformation']->id) ? time() : $data['listInformation']->creation_date,
66 acym_getDateTimeFormat('ACYM_DATE_FORMAT_LC3')
67 ); ?></b>
68 </div>
69 </div>
70 <?php if (acym_level(ACYM_ENTERPRISE) && ACYM_CMS === 'joomla') { ?>
71 <div class="cell grid-x">
72 <div class="cell grid-x">
73 <label class="cell">
74 <?php
75 echo acym_translation('ACYM_LIST_ACCESS');
76 echo acym_info(['textShownInTooltip' => 'ACYM_LIST_ACCESS_DESC']);
77 echo acym_selectMultiple(
78 acym_getGroups(),
79 'list[access]',
80 $data['listInformation']->access,
81 [
82 'class' => 'acym__select',
83 ]
84 );
85 ?>
86 </label>
87 </div>
88 </div>
89 <?php
90 }
91