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 / Users / tmpl / edit_information.php

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

64 lines 2.6 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 ?>
5 <div class="cell acym__content acym__user__edit__custom__fields margin-y">
6 <?php
7 if (!empty($data['allFields'])) {
8 foreach ($data['allFields'] as $field) {
9 if (intval($field->active) === 0) continue;
10 echo $field->html;
11 }
12 }
13 ?>
14 <div class="cell grid-x margin-top-1">
15 <?php acym_switch(['name' => 'user[active]', 'value' => $data['user-information']->active, 'label' => acym_translation('ACYM_ACTIVE')]); ?>
16 </div>
17 <?php if ($this->config->get('require_confirmation', '0') == '1') { ?>
18 <div class="cell grid-x">
19 <?php acym_switch(['name' => 'user[confirmed]', 'value' => $data['user-information']->confirmed, 'label' => acym_translation('ACYM_CONFIRMED')]); ?>
20 </div>
21 <?php } ?>
22 <div class="cell grid-x">
23 <?php
24 acym_switch([
25 'name' => 'user[tracking]',
26 'value' => $data['user-information']->tracking,
27 'label' => acym_translation('ACYM_TRACK_THIS_SUBSCRIBER'),
28 'tip' => ['textShownInTooltip' => 'ACYM_TRACK_THIS_SUBSCRIBER_DESC'],
29 ]); ?>
30 </div>
31 <?php if (!empty($data['user-information']->source)) { ?>
32 <div class="cell grid-x margin-top-1">
33 <div class="cell medium-6 small-12">
34 <?php
35 echo esc_html(acym_translation('ACYM_DATE_CREATED')).' : <b>';
36 echo esc_html(
37 acym_date(
38 empty($data['user-information']->id) ? time() : $data['user-information']->creation_date,
39 acym_getDateTimeFormat('ACYM_DATE_FORMAT_LC3')
40 )
41 );
42 echo '</b>';
43 ?>
44 </div>
45 <div class="cell medium-6 small-12">
46 <?php echo esc_html(acym_translation('ACYM_SOURCE')); ?> : <b><?php echo esc_html($data['user-information']->source); ?></b>
47 </div>
48 </div>
49 <?php } else { ?>
50 <div class="cell margin-top-1">
51 <?php echo esc_html(acym_translation('ACYM_DATE_CREATED')); ?> : <b>
52 <?php
53 echo esc_html(
54 acym_date(
55 empty($data['user-information']->id) ? time() : $data['user-information']->creation_date,
56 acym_getDateTimeFormat('ACYM_DATE_FORMAT_LC3')
57 )
58 );
59 ?>
60 </b>
61 </div>
62 <?php } ?>
63 </div>
64