Creative Mail – Easier WordPress & WooCommerce Email Marketing - Version 1.1.4

Version Description

Download this release

Release Info

Developer constantcontact
Plugin Icon 128x128 Creative Mail – Easier WordPress & WooCommerce Email Marketing
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.3 to 1.1.4

CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
  Changelog
2
  =========
3
 
 
 
 
4
  #### 1.1.3 - September 1 2020
5
  - Implemented a new design
6
 
1
  Changelog
2
  =========
3
 
4
+ #### 1.1.4 - September 2 2020
5
+ - Minor improvements
6
+
7
  #### 1.1.3 - September 1 2020
8
  - Implemented a new design
9
 
README.md CHANGED
@@ -3,7 +3,7 @@ Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
- Stable tag: 1.1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
@@ -88,6 +88,7 @@ Creative Mail by Constant Contact [Privacy Policy](https://endurance.clarip.com/
88
  6. Enhance your brand with logomaker
89
 
90
  == Changelog ==
 
91
  * 1.1.3 - Implemented a new design
92
  * 1.1.2 - Add support for beta versions of Jetpack
93
  * 1.1.1 - Fixes a bug that would cache API responses
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
+ Stable tag: 1.1.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
88
  6. Enhance your brand with logomaker
89
 
90
  == Changelog ==
91
+ * 1.1.4 - Minor improvements
92
  * 1.1.3 - Implemented a new design
93
  * 1.1.2 - Add support for beta versions of Jetpack
94
  * 1.1.1 - Fixes a bug that would cache API responses
assets/css/admin.css CHANGED
@@ -183,6 +183,10 @@
183
  float: left;
184
  }
185
 
 
 
 
 
186
  .ce4wp-checkbox {
187
  z-index: 0;
188
  position: relative;
@@ -345,13 +349,13 @@
345
  margin-bottom: .5rem !important;
346
  }
347
 
348
- .ce4wp-mt-2,
349
- .ce4wp-my-2 {
350
- margin-top: .5rem !important;
351
  }
352
- .ce4wp-mb-2,
353
- .ce4wp-my-2 {
354
- margin-bottom: .5rem !important;
355
  }
356
 
357
  .ce4wp-mb-4,
@@ -444,6 +448,12 @@
444
  line-height: 20px;
445
  }
446
 
 
 
 
 
 
 
447
  .ce4wp-typography-h6 {
448
  font-size: 18px;
449
  font-weight: 400;
@@ -569,6 +579,10 @@
569
  bottom: auto !important;
570
  }
571
 
 
 
 
 
572
  .ce4wp-backdrop-container {
573
  margin: 0 auto;
574
  position: relative;
@@ -576,7 +590,7 @@
576
  }
577
  @media (min-width:600px) {
578
  .ce4wp-backdrop-container {
579
- max-width: 890px;
580
  }
581
  }
582
  .ce4wp-backdrop-header {
@@ -600,12 +614,14 @@
600
  }
601
 
602
  p.ce4wp-subtitle {
 
603
  font-size: 24px;
604
  line-height: 28px;
605
  font-weight: 400;
606
  }
607
 
608
  .ce4wp-body2 {
 
609
  font-size: 14px;
610
  font-weight: 400;
611
  line-height: 20px;
183
  float: left;
184
  }
185
 
186
+ .ce4wp-inline-block {
187
+ display: inline-block;
188
+ }
189
+
190
  .ce4wp-checkbox {
191
  z-index: 0;
192
  position: relative;
349
  margin-bottom: .5rem !important;
350
  }
351
 
352
+ .ce4wp-mt-3,
353
+ .ce4wp-my-3 {
354
+ margin-top: 1rem !important;
355
  }
356
+ .ce4wp-mb-3,
357
+ .ce4wp-my-3 {
358
+ margin-bottom: 1rem !important;
359
  }
360
 
361
  .ce4wp-mb-4,
448
  line-height: 20px;
449
  }
450
 
451
+ .ce4wp-typography-h5 {
452
+ font-size: 14px;
453
+ font-weight: 400;
454
+ line-height: 20px;
455
+ }
456
+
457
  .ce4wp-typography-h6 {
458
  font-size: 18px;
459
  font-weight: 400;
579
  bottom: auto !important;
580
  }
581
 
582
+ .ce4wp-backdrop {
583
+ padding: 0 20px;
584
+ }
585
+
586
  .ce4wp-backdrop-container {
587
  margin: 0 auto;
588
  position: relative;
590
  }
591
  @media (min-width:600px) {
592
  .ce4wp-backdrop-container {
593
+ max-width: 890px;
594
  }
595
  }
596
  .ce4wp-backdrop-header {
614
  }
615
 
616
  p.ce4wp-subtitle {
617
+ color: rgba(0,0,0,0.6);
618
  font-size: 24px;
619
  line-height: 28px;
620
  font-weight: 400;
621
  }
622
 
623
  .ce4wp-body2 {
624
+ color: rgba(38, 46, 57, 0.7);
625
  font-size: 14px;
626
  font-weight: 400;
627
  line-height: 20px;
creative-mail-plugin.php CHANGED
@@ -4,9 +4,9 @@ use CreativeMail\CreativeMail;
4
  /**
5
  * Plugin Name: Creative Mail by Constant Contact
6
  * Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
7
- * Description: Power your WooCommerce Store or WordPress Blog with simple & free email marketing from Constant Contact. With the official Creative Mail for WooCommerce plugin, your products, blog posts, images and store links are automatically included as rich shoppable email marketing content for your customers. Our included CRM also intelligently pulls in and identifies your WordPress site contacts and WooCommerce store customers. That makes it easy to build audiences and send targeted customer campaigns. Get free email marketing, 97% deliverability, and Constant Contact rock solid reliability all without ever needing to leave your WP Admin.
8
  * Author: Constant Contact
9
- * Version: 1.1.3
10
  * Author URI: https://www.constantcontact.com
11
  */
12
 
@@ -20,7 +20,7 @@ function _load_ce4wp_plugin() {
20
 
21
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
22
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
23
- define('CE4WP_PLUGIN_VERSION', '1.1.3');
24
  define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
25
  define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
26
  define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
@@ -35,7 +35,7 @@ function _load_ce4wp_plugin() {
35
  define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
36
  define('CE4WP_APP_URL', 'https://app.creativemail.com/');
37
  define('CE4WP_ENVIRONMENT', 'PRODUCTION');
38
- define('CE4WP_BUILD_NUMBER', '536');
39
  define('CE4WP_BATCH_SIZE', 500);
40
  define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
41
  define('CE4WP_WC_API_CONSUMER_KEY', 'ce4wp_woocommerce_consumer_key');
4
  /**
5
  * Plugin Name: Creative Mail by Constant Contact
6
  * Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
7
+ * Description: Free email marketing designed specifically for WordPress, Jetpack and WooCommerce. Send newsletters, promotions, updates and transactional e-commerce emails. Simple and easy, powered by Constant Contact’s rock solid reliability.
8
  * Author: Constant Contact
9
+ * Version: 1.1.4
10
  * Author URI: https://www.constantcontact.com
11
  */
12
 
20
 
21
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
22
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
23
+ define('CE4WP_PLUGIN_VERSION', '1.1.4');
24
  define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
25
  define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
26
  define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
35
  define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
36
  define('CE4WP_APP_URL', 'https://app.creativemail.com/');
37
  define('CE4WP_ENVIRONMENT', 'PRODUCTION');
38
+ define('CE4WP_BUILD_NUMBER', '547');
39
  define('CE4WP_BATCH_SIZE', 500);
40
  define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
41
  define('CE4WP_WC_API_CONSUMER_KEY', 'ce4wp_woocommerce_consumer_key');
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
- Stable tag: 1.1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
@@ -88,6 +88,7 @@ Creative Mail by Constant Contact [Privacy Policy](https://endurance.clarip.com/
88
  6. Enhance your brand with logomaker
89
 
90
  == Changelog ==
 
91
  * 1.1.3 - Implemented a new design
92
  * 1.1.2 - Add support for beta versions of Jetpack
93
  * 1.1.1 - Fixes a bug that would cache API responses
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
+ Stable tag: 1.1.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
88
  6. Enhance your brand with logomaker
89
 
90
  == Changelog ==
91
+ * 1.1.4 - Minor improvements
92
  * 1.1.3 - Implemented a new design
93
  * 1.1.2 - Add support for beta versions of Jetpack
94
  * 1.1.1 - Fixes a bug that would cache API responses
src/managers/admin-manager.php CHANGED
@@ -60,7 +60,7 @@ class AdminManager
60
  {
61
  wp_register_style('ce4wp_admin', CE4WP_PLUGIN_URL . 'assets/css/admin.css', null, CE4WP_PLUGIN_VERSION);
62
  wp_enqueue_style( 'ce4wp_admin');
63
- wp_enqueue_style('font-1', 'https://fonts.googleapis.com/css?family=Poppins:400,500');
64
  }
65
 
66
  /**
60
  {
61
  wp_register_style('ce4wp_admin', CE4WP_PLUGIN_URL . 'assets/css/admin.css', null, CE4WP_PLUGIN_VERSION);
62
  wp_enqueue_style( 'ce4wp_admin');
63
+ wp_enqueue_style('ce4wp-font-poppins', 'https://fonts.googleapis.com/css?family=Poppins:400,500');
64
  }
65
 
66
  /**
src/views/activated-integrations.php CHANGED
@@ -8,12 +8,14 @@ $activated_integrations = CreativeMail::get_instance()->get_integration_manager(
8
  ?>
9
 
10
 
11
- <p>We will synchronise your contacts from the following plugins:</p>
 
 
12
 
13
 
14
  <form name="plugins" action="" method="post">
15
  <input type="hidden" name="action" value="change_activated_plugins" />
16
- <ul>
17
  <?php
18
 
19
  foreach ($available_integrations as $available_integration){
8
  ?>
9
 
10
 
11
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
12
+ We will synchronise your contacts from the following plugins:
13
+ </p>
14
 
15
 
16
  <form name="plugins" action="" method="post">
17
  <input type="hidden" name="action" value="change_activated_plugins" />
18
+ <ul style="color: rgba(0, 0, 0, 0.6);">
19
  <?php
20
 
21
  foreach ($available_integrations as $available_integration){
src/views/available-integrations.php CHANGED
@@ -6,11 +6,11 @@ $supported_integrations = CreativeMail::get_instance()->get_integration_manager(
6
 
7
  ?>
8
 
9
- <p>
10
  We couldn't find any plugins that we support. <br/>
11
  In order to help you sync your contacts to Creative Mail we have build integrations with the following plugins:
12
  </p>
13
- <ul>
14
  <?php
15
  foreach ($supported_integrations as $supported_integration) {
16
  echo '<li>- ' . esc_html($supported_integration->get_name()) . '</li>';
6
 
7
  ?>
8
 
9
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
10
  We couldn't find any plugins that we support. <br/>
11
  In order to help you sync your contacts to Creative Mail we have build integrations with the following plugins:
12
  </p>
13
+ <ul style="color: rgba(0, 0, 0, 0.6);">
14
  <?php
15
  foreach ($supported_integrations as $supported_integration) {
16
  echo '<li>- ' . esc_html($supported_integration->get_name()) . '</li>';
src/views/dashboard.php CHANGED
@@ -23,13 +23,13 @@ use CreativeMail\Helpers\EnvironmentHelper;
23
 
24
  <div class="ce4wp-card">
25
  <div class="ce4wp-px-4 ce4wp-pt-4">
26
- <h1 class="ce4wp-typography-root ce4wp-typography-h1">
27
  Intelligent email marketing for<br>WordPress and WooCommerce
28
  </h1>
29
  <p class="ce4wp-typography-root ce4wp-subtitle ce4wp-mt-4 ce4wp-mb-4">
30
  You’re all set! Creative Mail and WordPress have been linked.
31
  </p>
32
- <a id='ce4wp-go-button' href="<?php echo esc_url($this->dashboard_url) ?>" target="_blank" class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-button-contained-primary" tabindex="0" type="button" data-element-type="button">
33
  <span class="ce4wp-button-label" style="width: 100%;">Open your Creative Mail dashboard<span class="ce4wp-button-endIcon">
34
  <svg class="ce4wp-Svgicon-root" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
35
  <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path>
@@ -37,10 +37,10 @@ use CreativeMail\Helpers\EnvironmentHelper;
37
  </span>
38
  </span>
39
  </a>
40
- <h6 id='ce4wp-sub-apps-title' class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-2">
41
  Or jump straight into:
42
  </h6>
43
- <div id='ce4wp-sub-apps-container' class="ce4wp-grid ce4wp-mt-2">
44
  <div class="ce4wp-grid-item" onclick="navigateWooCommerce()">
45
  <div class="ce4wp-grid-item-card ce4wp-mb-4">
46
  <div class="ce4wp-grid-item-card-media" title="WooCommerce emails" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-woocommerce.svg'; ?>);"></div>
23
 
24
  <div class="ce4wp-card">
25
  <div class="ce4wp-px-4 ce4wp-pt-4">
26
+ <h1 class="ce4wp-typography-root ce4wp-typography-h1 ce4wp-inline-block ce4wp-mb-3">
27
  Intelligent email marketing for<br>WordPress and WooCommerce
28
  </h1>
29
  <p class="ce4wp-typography-root ce4wp-subtitle ce4wp-mt-4 ce4wp-mb-4">
30
  You’re all set! Creative Mail and WordPress have been linked.
31
  </p>
32
+ <a id='ce4wp-go-button' href="<?php echo esc_url($this->dashboard_url) ?>" target="_blank" class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-button-contained-primary ce4wp-mt-2" tabindex="0" type="button" data-element-type="button">
33
  <span class="ce4wp-button-label" style="width: 100%;">Open your Creative Mail dashboard<span class="ce4wp-button-endIcon">
34
  <svg class="ce4wp-Svgicon-root" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
35
  <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path>
37
  </span>
38
  </span>
39
  </a>
40
+ <h6 id='ce4wp-sub-apps-title' class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-3">
41
  Or jump straight into:
42
  </h6>
43
+ <div id='ce4wp-sub-apps-container' class="ce4wp-grid ce4wp-mt-3">
44
  <div class="ce4wp-grid-item" onclick="navigateWooCommerce()">
45
  <div class="ce4wp-grid-item-card ce4wp-mb-4">
46
  <div class="ce4wp-grid-item-card-media" title="WooCommerce emails" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-woocommerce.svg'; ?>);"></div>
src/views/pending-setup.php CHANGED
@@ -1 +1,12 @@
1
- <p>Power your WooCommerce Store or WordPress Blog with simple & free email marketing from Constant Contact. With the official Creative Mail for WooCommerce plugin, your products, blog posts, images and store links are automatically included as rich shoppable email marketing content for your customers. Our included CRM also intelligently pulls in and identifies your WordPress site contacts and WooCommerce store customers. That makes it easy to build audiences and send targeted customer campaigns. Get free email marketing, 98% deliverability, and Constant Contact rock solid reliability all without ever needing to leave your WP Admin.</p>
 
 
 
 
 
 
 
 
 
 
 
1
+ <p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
2
+ Power your WooCommerce Store or WordPress Blog with simple & free email marketing from Constant Contact.
3
+ With the official Creative Mail for WooCommerce plugin, your products, blog posts, images and store links
4
+ are automatically included as rich shoppable email marketing content for your customers.
5
+ </p>
6
+ <p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
7
+ Our included CRM also intelligently pulls in and identifies your WordPress site contacts and WooCommerce store customers.
8
+ That makes it easy to build audiences and send targeted customer campaigns.
9
+ </p>
10
+ <p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
11
+ Get free email marketing, 98% deliverability, and Constant Contact rock solid reliability all without ever needing to leave your WP Admin.
12
+ </p>
src/views/settings-internal.php CHANGED
@@ -2,34 +2,38 @@
2
  use CreativeMail\Helpers\EnvironmentHelper;
3
  ?>
4
 
5
- <h5>Technical details</h5>
 
 
6
 
7
- <div class="ce4wp-kvp">
8
- <h6>Instance UUID</h6>
9
- <h5><?php echo esc_html($this->instance_uuid) ?></h5>
10
- </div>
11
 
12
- <div class="ce4wp-kvp">
13
- <h6>Instance Id</h6>
14
- <h5><?php echo esc_html($this->instance_id) ?></h5>
15
- </div>
16
 
17
- <div class="ce4wp-kvp">
18
- <h6>Environment</h6>
19
- <h5><?php echo esc_html(EnvironmentHelper::get_environment()) ?></h5>
20
- </div>
21
 
22
- <div class="ce4wp-kvp">
23
- <h6>Plugin version</h6>
24
- <h5><?php echo esc_html(CE4WP_PLUGIN_VERSION) . '.' . esc_html(CE4WP_BUILD_NUMBER) ?></h5>
25
- </div>
26
 
27
- <div class="ce4wp-kvp">
28
- <h6>App</h6>
29
- <h5><?php echo esc_js(EnvironmentHelper::get_app_url()) ?></h5>
30
- </div>
31
 
32
- <div class="ce4wp-kvp">
33
- <h6>App Gateway</h6>
34
- <h5><?php echo esc_js(EnvironmentHelper::get_app_gateway_url()) ?></h5>
35
- </div>
 
 
2
  use CreativeMail\Helpers\EnvironmentHelper;
3
  ?>
4
 
5
+ <div class="ce4wp-card">
6
+ <div class="ce4wp-px-4 ce4wp-py-4">
7
+ <h2 class="ce4wp-typography-root ce4wp-typography-h2 ce4wp-mb-2">Technical details</h2>
8
 
9
+ <div class="ce4wp-kvp">
10
+ <h4 class="ce4wp-typography-root ce4wp-typography-h4 ce4wp-mb-2">Instance UUID</h4>
11
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);"><?php echo esc_html($this->instance_uuid) ?></p>
12
+ </div>
13
 
14
+ <div class="ce4wp-kvp">
15
+ <h4 class="ce4wp-typography-root ce4wp-typography-h4 ce4wp-mb-2">Instance Id</h4>
16
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);"><?php echo esc_html($this->instance_id) ?></p>
17
+ </div>
18
 
19
+ <div class="ce4wp-kvp">
20
+ <h4 class="ce4wp-typography-root ce4wp-typography-h4 ce4wp-mb-2">Environment</h4>
21
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);"><?php echo esc_html(EnvironmentHelper::get_environment()) ?></p>
22
+ </div>
23
 
24
+ <div class="ce4wp-kvp">
25
+ <h4 class="ce4wp-typography-root ce4wp-typography-h4 ce4wp-mb-2">Plugin version</h4>
26
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);"><?php echo esc_html(CE4WP_PLUGIN_VERSION) . '.' . esc_html(CE4WP_BUILD_NUMBER) ?></p>
27
+ </div>
28
 
29
+ <div class="ce4wp-kvp">
30
+ <h4 class="ce4wp-typography-root ce4wp-typography-h4 ce4wp-mb-2">App</h4>
31
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);"><?php echo esc_js(EnvironmentHelper::get_app_url()) ?></p>
32
+ </div>
33
 
34
+ <div class="ce4wp-kvp">
35
+ <h4 class="ce4wp-typography-root ce4wp-typography-h4 ce4wp-mb-2">App Gateway</h4>
36
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);"><?php echo esc_js(EnvironmentHelper::get_app_gateway_url()) ?></p>
37
+ </div>
38
+ </div>
39
+ </div>
src/views/settings.php CHANGED
@@ -41,36 +41,40 @@
41
  </div>
42
 
43
  <div class="ce4wp-card">
44
- <h4>Creative Mail by Constant Contact</h4>
 
45
 
46
- <?php
47
- if (EnvironmentHelper::is_test_environment()) {
48
- include 'settings-internal.php';
49
- }
50
- ?>
 
 
 
 
 
 
 
 
 
51
 
52
- <?php
53
- if (OptionsHelper::get_instance_id()) {
54
- include 'unlink.php';
55
  }
56
  else {
57
- include 'pending-setup.php';
58
  }
59
- ?>
 
60
  </div>
61
 
62
- <div class="ce4wp-card" style="display: <?php echo !empty($this->instance_id) ? 'block' : 'none' ?>">
63
- <h4>Contact Synchronization</h4>
64
-
65
- <?php
66
- if ($contact_sync_available) {
67
- include 'activated-integrations.php';
68
  }
69
- else {
70
- include 'available-integrations.php';
71
- }
72
- ?>
73
- </div>
74
  </div>
75
  </div>
76
  </div>
41
  </div>
42
 
43
  <div class="ce4wp-card">
44
+ <div class="ce4wp-px-4 ce4wp-py-4">
45
+ <h2 class="ce4wp-typography-root ce4wp-typography-h2 ce4wp-mb-2">Creative Mail by Constant Contact</h2>
46
 
47
+ <?php
48
+ if (OptionsHelper::get_instance_id()) {
49
+ include 'unlink.php';
50
+ }
51
+ else {
52
+ include 'pending-setup.php';
53
+ }
54
+ ?>
55
+ </div>
56
+ </div>
57
+
58
+ <div class="ce4wp-card" style="display: <?php echo !empty($this->instance_id) ? 'block' : 'none' ?>">
59
+ <div class="ce4wp-px-4 ce4wp-py-4">
60
+ <h2 class="ce4wp-typography-root ce4wp-typography-h2 ce4wp-mb-2">Contact Synchronization</h2>
61
 
62
+ <?php
63
+ if ($contact_sync_available) {
64
+ include 'activated-integrations.php';
65
  }
66
  else {
67
+ include 'available-integrations.php';
68
  }
69
+ ?>
70
+ </div>
71
  </div>
72
 
73
+ <?php
74
+ if (EnvironmentHelper::is_test_environment()) {
75
+ include 'settings-internal.php';
 
 
 
76
  }
77
+ ?>
 
 
 
 
78
  </div>
79
  </div>
80
  </div>
src/views/unlink.php CHANGED
@@ -1,5 +1,9 @@
1
  <div class="ce4wp-kvp">
2
- <p>Your WordPress instance is connected to your Creative Mail account. If you would like to unlink your WordPress instance from your account, please click the 'Unlink' button below. <b>Unlinking your account is permanent and cannot be undone.</b></p>
 
 
 
 
3
  </div>
4
 
5
  <div class="ce4wp-kvp">
1
  <div class="ce4wp-kvp">
2
+ <p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
3
+ Your WordPress instance is connected to your Creative Mail account. If you would like to
4
+ unlink your WordPress instance from your account, please click the 'Unlink' button below.
5
+ <strong>Unlinking your account is permanent and cannot be undone.</strong>
6
+ </p>
7
  </div>
8
 
9
  <div class="ce4wp-kvp">
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit023a11f769c87ad575fed6e0fbfb1dc7::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9a06407d8929adf6e344919a2e2e0ab2::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit023a11f769c87ad575fed6e0fbfb1dc7
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit023a11f769c87ad575fed6e0fbfb1dc7
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit023a11f769c87ad575fed6e0fbfb1dc7', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit023a11f769c87ad575fed6e0fbfb1dc7', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit023a11f769c87ad575fed6e0fbfb1dc7::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit9a06407d8929adf6e344919a2e2e0ab2
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit9a06407d8929adf6e344919a2e2e0ab2', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit9a06407d8929adf6e344919a2e2e0ab2', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit9a06407d8929adf6e344919a2e2e0ab2::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit023a11f769c87ad575fed6e0fbfb1dc7
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
@@ -121,9 +121,9 @@ class ComposerStaticInit023a11f769c87ad575fed6e0fbfb1dc7
121
  public static function getInitializer(ClassLoader $loader)
122
  {
123
  return \Closure::bind(function () use ($loader) {
124
- $loader->prefixLengthsPsr4 = ComposerStaticInit023a11f769c87ad575fed6e0fbfb1dc7::$prefixLengthsPsr4;
125
- $loader->prefixDirsPsr4 = ComposerStaticInit023a11f769c87ad575fed6e0fbfb1dc7::$prefixDirsPsr4;
126
- $loader->classMap = ComposerStaticInit023a11f769c87ad575fed6e0fbfb1dc7::$classMap;
127
 
128
  }, null, ClassLoader::class);
129
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9a06407d8929adf6e344919a2e2e0ab2
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
121
  public static function getInitializer(ClassLoader $loader)
122
  {
123
  return \Closure::bind(function () use ($loader) {
124
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9a06407d8929adf6e344919a2e2e0ab2::$prefixLengthsPsr4;
125
+ $loader->prefixDirsPsr4 = ComposerStaticInit9a06407d8929adf6e344919a2e2e0ab2::$prefixDirsPsr4;
126
+ $loader->classMap = ComposerStaticInit9a06407d8929adf6e344919a2e2e0ab2::$classMap;
127
 
128
  }, null, ClassLoader::class);
129
  }