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/Users/tmpl/import.php +0 -57 11.0.1 → 11.1.1 View file →
@@ -1,57 +1,0 @@
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 -<form id="acym_form" enctype="multipart/form-data" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm">
6 - <div class="acym__content acym__content__tab">
7 - <?php
8 - $data['tab']->startTab(acym_translation('ACYM_IMPORT_FROM_FILE'));
9 - include acym_getView('users', 'importfromfile', true);
10 - $data['tab']->endTab();
11 -
12 - $data['tab']->startTab(acym_translation('ACYM_IMPORT_FROM_TEXT'));
13 - include acym_getView('users', 'importfromtext', true);
14 - $data['tab']->endTab();
15 -
16 - $data['tab']->startTab(acym_translationSprintf('ACYM_IMPORT_CMS_USERS', ACYM_CMS_TITLE));
17 - include acym_getView('users', 'importcmsusers', true);
18 - $data['tab']->endTab();
19 -
20 - if (ACYM_CMS === 'joomla') {
21 - $data['tab']->startTab(acym_translationSprintf('ACYM_IMPORT_CMS_USERS', strtolower(acym_translation('ACYM_CONTACT'))));
22 - include acym_getView('users', 'importfromcontact', true);
23 - $data['tab']->endTab();
24 - }
25 -
26 - $data['tab']->startTab(acym_translation('ACYM_IMPORT_DATABASE'));
27 - include acym_getView('users', 'importfromdatabase', true);
28 - $data['tab']->endTab();
29 -
30 - if (ACYM_CMS == 'wordpress' && acym_isExtensionActive('mailpoet/mailpoet.php')) {
31 - $data['tab']->startTab(acym_translation('ACYM_IMPORT_MAILPOET'));
32 - include acym_getView('users', 'importfrommailpoet', true);
33 - $data['tab']->endTab();
34 - }
35 -
36 - $data['tab']->display('import');
37 - ?>
38 - </div>
39 - <?php
40 - $modalData = $data['entitySelect']->entitySelect(
41 - [
42 - 'entity' => 'list',
43 - 'columnsToDisplay' => $data['entitySelect']->getColumnsForList(),
44 - 'additionalData' => $data['importHelper']->additionalDataUsersImport(false),
45 - ]
46 - );
47 - acym_modal(
48 - acym_translation('ACYM_IMPORT_SUBSCRIBERS'),
49 - $modalData,
50 - 'acym__user__import__add-subscription__modal',
51 - [],
52 - ['style' => 'display: none']
53 - );
54 - ?>
55 - <input type="hidden" name="import_from" />
56 - <?php acym_formOptions(true, "doImport"); ?>
57 -</form>