summaryrefslogtreecommitdiff
path: root/Postman/Postman-Configuration
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2017-12-12 22:00:06 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2017-12-12 22:00:06 +0000
commit97a47666f6bf86c7cb9387eec51dae5bc2486010 (patch)
tree40db7ffcd0dab2fdaa6420955c7738ba72079665 /Postman/Postman-Configuration
parentd53ff2324d38c6fbdc0669324c3e3fa3ae6c4ca8 (diff)
downloadPost-SMTP-97a47666f6bf86c7cb9387eec51dae5bc2486010.zip
* MAILGUN IS ABOUT TO RELEASE
* Email log - trash all * Email log - records per page * Welcome page * Fix config screen tabs
Diffstat (limited to 'Postman/Postman-Configuration')
-rw-r--r--Postman/Postman-Configuration/PostmanConfigurationController.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/Postman/Postman-Configuration/PostmanConfigurationController.php b/Postman/Postman-Configuration/PostmanConfigurationController.php
index db63f6b..97972c2 100644
--- a/Postman/Postman-Configuration/PostmanConfigurationController.php
+++ b/Postman/Postman-Configuration/PostmanConfigurationController.php
@@ -73,11 +73,15 @@ class PostmanConfigurationController {
}
// register the stylesheet and javascript external resources
$pluginData = apply_filters( 'postman_get_plugin_metadata', null );
+
wp_register_script( 'postman_manual_config_script', plugins_url( 'Postman/Postman-Configuration/postman_manual_config.js', $this->rootPluginFilenameAndPath ), array(
PostmanViewController::JQUERY_SCRIPT,
+ 'jquery-ui-core',
+ 'jquery-ui-tabs',
'jquery_validation',
PostmanViewController::POSTMAN_SCRIPT,
), $pluginData ['version'] );
+
wp_register_script( 'postman_wizard_script', plugins_url( 'Postman/Postman-Configuration/postman_wizard.js', $this->rootPluginFilenameAndPath ), array(
PostmanViewController::JQUERY_SCRIPT,
'jquery_validation',
@@ -145,7 +149,6 @@ class PostmanConfigurationController {
wp_enqueue_style( PostmanViewController::POSTMAN_STYLE );
wp_enqueue_style( 'jquery_ui_style' );
wp_enqueue_script( 'postman_manual_config_script' );
- wp_enqueue_script( 'jquery-ui-tabs' );
}
/**
@@ -222,6 +225,9 @@ class PostmanConfigurationController {
print '<div id="sendgrid_settings" class="authentication_setting non-basic non-oauth2">';
do_settings_sections( PostmanSendGridTransport::SENDGRID_AUTH_OPTIONS );
print '</div>';
+ print '<div id="mailgun_settings" class="authentication_setting non-basic non-oauth2">';
+ do_settings_sections( PostmanMailgunTransport::MAILGUN_AUTH_OPTIONS );
+ print '</div>';
print '</section>';
print '<section id="message_config">';
do_settings_sections( PostmanAdminController::MESSAGE_SENDER_OPTIONS );