PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.1
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
← All changes | back/Views/Configuration/tmpl/languages.php +0 -146 10.10.2 → 11.1.1 View file →
@@ -1,146 +1,0 @@
1 -<?php if (count($data['languages']) > 1 && acym_level(ACYM_ESSENTIAL)) { ?>
2 - <div class="acym__content acym_area padding-vertical-1 padding-horizontal-2">
3 - <div class="acym__title acym__title__secondary"><?php echo acym_translation('ACYM_MULTILINGUAL'); ?></div>
4 - <div class="grid-x margin-y">
5 - <div class="cell grid-x grid-margin-x">
6 - <?php
7 - echo acym_switch(
8 - 'config[multilingual]',
9 - $this->config->get('multilingual'),
10 - acym_translation('ACYM_MULTILINGUAL_EMAILS'),
11 - [],
12 - 'xlarge-3 medium-5 small-9',
13 - 'auto',
14 - '',
15 - 'multilingual_config'
16 - );
17 - ?>
18 - </div>
19 - <div class="cell grid-x margin-y" id="multilingual_config">
20 - <div class="cell grid-x">
21 - <div class="cell xlarge-3 medium-5">
22 - <label for="acym__config__multilingual-default">
23 - <?php echo acym_translation('ACYM_DEFAULT_LANGUAGE').acym_info(['textShownInTooltip' => 'ACYM_DEFAULT_LANGUAGE_DESC']); ?>
24 - </label>
25 - </div>
26 - <div class="cell xlarge-4 medium-7">
27 - <?php
28 - $defaultLanguage = ACYM_DEFAULT_LANGUAGE;
29 - if (ACYM_CMS === 'wordpress') $defaultLanguage = strtolower($defaultLanguage);
30 - echo acym_select(
31 - $data['languages'],
32 - 'config[multilingual_default]',
33 - $this->config->get('multilingual_default', $defaultLanguage),
34 - [
35 - 'class' => 'acym__select',
36 - ],
37 - 'language',
38 - 'name'
39 - );
40 - ?>
41 - </div>
42 - </div>
43 - <div class="cell grid-x">
44 - <div class="cell xlarge-3 medium-5">
45 - <label for="acym__config__multilingual-languages">
46 - <?php echo acym_translation('ACYM_LANGUAGES_USED').acym_info(['textShownInTooltip' => 'ACYM_LANGUAGES_USED_DESC']); ?>
47 - </label>
48 - </div>
49 - <div class="cell xlarge-4 medium-7">
50 - <?php
51 - $selectedLanguages = $this->config->get('multilingual_languages');
52 - echo acym_selectMultiple(
53 - $data['languages'],
54 - 'config[multilingual_languages]',
55 - explode(',', $selectedLanguages),
56 - [
57 - 'class' => 'acym__select',
58 - 'id' => 'configmultilingual_languages',
59 - ],
60 - 'language',
61 - 'name'
62 - );
63 - ?>
64 - <input type="hidden" name="previous_multilingual_languages" value="<?php echo acym_escape($selectedLanguages); ?>" />
65 - </div>
66 - </div>
67 - <div class="cell grid-x">
68 - <div class="cell xlarge-3 medium-5">
69 - <label for="acym__config__multilingual-default">
70 - <?php echo acym_translation('ACYM_DEFAULT_USER_LANGUAGE').acym_info(['textShownInTooltip' => 'ACYM_DEFAULT_USER_LANGUAGE_DESC']); ?>
71 - </label>
72 - </div>
73 - <div class="cell xlarge-4 medium-7">
74 - <?php
75 - echo acym_select(
76 - $data['user_languages'],
77 - 'config[multilingual_user_default]',
78 - $this->config->get('multilingual_user_default', 'current_language'),
79 - ['class' => 'acym__select'],
80 - 'language',
81 - 'name'
82 - );
83 - ?>
84 - </div>
85 - </div>
86 - <?php if (!empty($data['content_translation'])) { ?>
87 - <div class="cell grid-x">
88 - <div class="cell xlarge-3 medium-5">
89 - <label for="acym__config__multilingual-languages">
90 - <?php echo acym_translation('ACYM_TRANSLATE_CONTENT').acym_info(['textShownInTooltip' => 'ACYM_TRANSLATE_CONTENT_DESC']); ?>
91 - </label>
92 - </div>
93 - <div class="cell xlarge-4 medium-7">
94 - <?php
95 - echo acym_select(
96 - $data['content_translation'],
97 - 'config[translate_content]',
98 - $this->config->get('translate_content', 'no'),
99 - [
100 - 'class' => 'acym__select',
101 - ],
102 - 'value',
103 - 'text',
104 - false,
105 - true
106 - );
107 - ?>
108 - </div>
109 - </div>
110 - <?php } ?>
111 - </div>
112 - </div>
113 - </div>
114 -<?php } ?>
115 -
116 -<div class="acym__content acym_area padding-vertical-1 padding-horizontal-2" id="acym__configuration__languages">
117 - <div class="acym__title acym__title__secondary"><?php echo acym_translation('ACYM_TRANSLATIONS'); ?></div>
118 - <div class="acym__listing margin-top-2">
119 - <div class="grid-x cell acym__configuration__languages__listing acym__listing__header">
120 - <div class="grid-x medium-auto small-11 cell">
121 - <div class="medium-1 small-1 cell acym__listing__header__title">
122 - <?php echo acym_translation('ACYM_EDIT'); ?>
123 - </div>
124 - <div class="medium-auto small-3 cell text-left acym__listing__header__title">
125 - <?php echo acym_translation('ACYM_NAME'); ?>
126 - </div>
127 - <div class="medium-2 small-2 text-center cell acym__listing__header__title">
128 - <?php echo acym_translation('ACYM_ID'); ?>
129 - </div>
130 - </div>
131 - </div>
132 - <?php foreach ($data['languages'] as $oneLanguage) { ?>
133 - <div class="grid-x cell align-middle acym__listing__row">
134 - <div class="medium-1 small-1 cell acym__listing__text">
135 - <?php echo $oneLanguage->edit; ?>
136 - </div>
137 - <div class="medium-auto small-auto cell acym__listing__text">
138 - <?php echo $oneLanguage->name; ?>
139 - </div>
140 - <div class="medium-2 small-2 cell text-center acym__listing__text">
141 - <?php echo $oneLanguage->language; ?>
142 - </div>
143 - </div>
144 - <?php } ?>
145 - </div>
146 -</div>