From b5fd728e37aa2a9c7a5f37e8dead0a95117d541b Mon Sep 17 00:00:00 2001 From: yehudah Date: Mon, 25 Nov 2019 09:25:43 +0000 Subject: =?UTF-8?q?phpmailer=20delivery=20improvments=20bug=20fixes=20add?= =?UTF-8?q?=20option=20to=20disable=20notifications=20fix=20Invalid=20?= =?UTF-8?q?=E2=80=9CReply-To=E2=80=9D=20e-mail=20address?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Postman/Extensions/Admin/PostmanAdminView.php | 86 +++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 Postman/Extensions/Admin/PostmanAdminView.php (limited to 'Postman/Extensions/Admin/PostmanAdminView.php') diff --git a/Postman/Extensions/Admin/PostmanAdminView.php b/Postman/Extensions/Admin/PostmanAdminView.php new file mode 100644 index 0000000..c9f0509 --- /dev/null +++ b/Postman/Extensions/Admin/PostmanAdminView.php @@ -0,0 +1,86 @@ + + + + +
+

Post SMTP Installed Extensions

+
+
+ get_extensions(); + + foreach ( $extensions as $slug => $extension) : + $short_name = $extension['license_manager']->get_slug( $extension['plugin_data']['Name'] ); + $nonce = $short_name . '_license_key-nonce'; + + $license_data = get_option( $short_name . '_license_active' ); + $license_key = get_option( $short_name . '_license_key' ); + + $license_valid = is_object( $license_data ) && $license_data->license === 'valid'; + $license_field_class = $license_valid ? 'readonly' : ''; + $license_field_value = $license_valid ? base64_encode($license_key) : ''; + + wp_nonce_field( $nonce, $nonce ); + ?> + +
+
+ +
+ +
+
+ + type="password" + name="post_smtp_extension[]" + class="regular-text" + value="" + placeholder="Serial Key"> +
+ +
+ + + + + +
+
+ +
+ + + +
+
+
-- cgit v1.2.3