Plugin Directory

Changeset 2532321


Ignore:
Timestamp:
05/15/2021 09:30:42 PM (5 years ago)
Author:
elasticemail
Message:

Regular update

Location:
elastic-email-subscribe-form/trunk
Files:
2 added
8 edited

Legend:

Unmodified
Added
Removed
  • elastic-email-subscribe-form/trunk/class/eesf_admin.php

    r2437680 r2532321  
    123123            wp_register_style('eesubscribe-bootstrap-grid', $eesf_plugin_path . '/lib/bootstrap-grid.min.css', '', 4.1, false);
    124124
    125             wp_register_script('eesubscribe-send-test', $eesf_plugin_path . '/dist/eesf_sendTest.min.js', '', 1.1, true);
    126             wp_register_style('eesubscribe-css', $eesf_plugin_path . '/dist/eesf_admin.min.css', '', 1.1, false);
     125            wp_register_script('eesubscribe-send-test', $eesf_plugin_path . '/dist/eesf_sendTest.min.js', '', 1.2, true);
     126            wp_register_style('eesubscribe-css', $eesf_plugin_path . '/dist/eesf_admin.min.css', '', 1.2, false);
    127127            wp_register_style('eewidget-admin-css', $eesf_plugin_path . '/dist/eesf_widget_admin.min.css', '', 1.1, false);
    128128
     
    207207
    208208        if (get_option('ee_accountemail') !== null) {
    209             $status = 'A';
    210             $this->addToUserList($status);
     209            $this->addToUserList('A');
     210        }
     211
     212        $channelsList = [
     213            'Elastic Email Subscribe Form',
     214            'Elastic Email - Send Test',
     215        ];
     216
     217        if (get_option('eesf_is_created_channels') !== 'true') {
     218           
     219            foreach ($channelsList as $channelName) {
     220                $this->addChannel($channelName);
     221            }
     222
     223            add_option('eesf_is_created_channels', true);
    211224        }
    212225
    213226        require_once($this->theme_path . '/template/t-eesf_admin.php');
    214227        return;
     228    }
     229
     230    public function addChannel($name)
     231    {
     232        $this->initAPI();
     233        try {
     234            $channelAPI = new \ElasticEmailClient\Channel();
     235            $error = null;
     236            $channelAdd= $channelAPI->Add($name);
     237        } catch (ElasticEmailClient\ApiException $e) {
     238            $error = $e->getMessage();
     239            $channelAdd = [];
     240        }
    215241    }
    216242
     
    297323            $LogAPI_json = $LogAPI->Summary($from, $to, null, null, null);
    298324
    299             if ($LogAPI_json['data']['logstatussummary']['emailtotal'] !== null) {
     325            if ($LogAPI_json) {
    300326                $total = $LogAPI_json['data']['logstatussummary']['emailtotal'];
    301327                $delivered = $LogAPI_json['data']['logstatussummary']['delivered'];
  • elastic-email-subscribe-form/trunk/dist/eesf_admin.min.css

    r2437680 r2532321  
    1 .eewp-eckab-frovd{box-sizing:border-box}.eewp-eckab-frovd [class*=col-]{padding-left:0;padding-right:0}.eewp-eckab-frovd .eewp_container{width:100%;display:flex}.eewp-eckab-frovd .eewp_container .ee-single-log{padding:4px 0;border-bottom:1px solid #677389}.eewp-eckab-frovd .eewp_container .ee-single-log__empty{padding:4px 0;color:#449d44}.eewp-eckab-frovd .ee_pagetitle{padding:10px 0}.eewp-eckab-frovd .ee-send-test-container .form-box .valid{display:block;color:#cb2e25}.eewp-eckab-frovd .ee-button-clean-log{cursor:pointer;color:#fff;background:#cb2e25;border-radius:4px;padding:3px 12px}.eewp-eckab-frovd .ee-button-clean-log:hover{background-color:#b31108}.eewp-eckab-frovd .ee-clean-log-box{display:flex;justify-content:end;padding:10px 0}.eewp-eckab-frovd .ee_marketing{padding:50px 60px 24px}.eewp-eckab-frovd .ee_success{color:#449d44}.eewp-eckab-frovd .ee_error{color:#cb2e25}.eewp-eckab-frovd h1,.eewp-eckab-frovd h2,.eewp-eckab-frovd h3{color:#32325c;font-weight:400}.eewp-eckab-frovd h1{font-size:30px}.eewp-eckab-frovd h2{font-size:18px}.eewp-eckab-frovd h4{font-size:14px;font-weight:bolder;color:#32325c}.eewp-eckab-frovd .ee_p,.eewp-eckab-frovd .user-info{font-size:14px;font-weight:400;color:#677389}.eewp-eckab-frovd .user-info{text-align:left;background:#e3e3e3;margin-top:40px;padding:10px 20px}.eewp-eckab-frovd .margin-p-xs{margin-top:2px;margin-bottom:2px}.eewp-eckab-frovd .settings-box-form{padding-top:30px;padding-bottom:30px}.eewp-eckab-frovd .ee_header{position:relative}.eewp-eckab-frovd .ee_logo{background:#fff;width:30px;height:30px;border-radius:30px;display:inline-block;line-height:38px;padding-left:5px}.eewp-eckab-frovd .ee_account-status-active{color:#449d44}.eewp-eckab-frovd .ee_account-status-deactive{color:#cb2e25}.eewp-eckab-frovd .ee_reports-container{width:100%}.eewp-eckab-frovd .ee_reports-list{padding-top:5%}.eewp-eckab-frovd #canvas-holder{margin-left:auto;margin-right:auto}.eewp-eckab-frovd .ee_report-table th{line-height:2;text-align:center;font-size:18px}.eewp-eckab-frovd .ee_report-table td{line-height:3;text-align:center;font-size:18px}.eewp-eckab-frovd .empty-chart{text-align:center;background-color:transparent;border:1px solid #f9c053}.eewp-eckab-frovd .empty-chart img{width:360px}.eewp-eckab-frovd .ee_alert-account{color:#cb2e25}.eewp-eckab-frovd .ee_warning-account{color:#f9c053}.eewp-eckab-frovd .ee_ok-account{color:#449d44}.eewp-eckab-frovd .ee_standard-account{color:#444}.eewp-eckab-frovd .ee_default-text{color:#ccc}.eewp-eckab-frovd .ee_connect-alert{margin:30px auto;padding:20px;width:100%;background-color:#fbb}.eewp-eckab-frovd .ee_connect-alert h1{font-size:14px;line-height:1.3;color:#3f3f3f}.eewp-eckab-frovd .ee_select-form-box{padding-top:20px;padding-bottom:20px}.eewp-eckab-frovd .ee_select-form{display:inline-block}.eewp-eckab-frovd .ee_tooltip{position:relative;display:inline-block}.eewp-eckab-frovd .ee_tooltip .ee_tooltiptext{visibility:hidden;width:400px;background-color:#555;color:#fff;border-radius:6px;padding:5px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-60px;opacity:0;transition:opacity 1s}.eewp-eckab-frovd .ee_tooltip .ee_tooltiptext a{color:#fff}.eewp-eckab-frovd .ee_tooltip .ee_tooltiptext:after{content:"";position:absolute;top:100%;left:15%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}.eewp-eckab-frovd .ee_tooltip:hover .ee_tooltiptext{visibility:visible;opacity:1}.eewp-eckab-frovd .ee_tootlip-icon{width:14px;margin-bottom:-4px}.eewp-eckab-frovd .ee_title_small{font-weight:700}.eewp-eckab-frovd .ee_button-sync{background-color:#2699fb;text-transform:uppercase;border:none;color:#fff;padding:15px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;min-width:48px;cursor:pointer;line-height:0;border-radius:3px;min-height:28px}.eewp-eckab-frovd .ee_button-sync:hover{background-color:#5eaef3}.eewp-eckab-frovd .ee-button-test{background-color:#2699fb;text-transform:uppercase;border:none;color:#fff;padding:15px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;min-width:48px;cursor:pointer;line-height:0;border-radius:3px;min-height:28px}.eewp-eckab-frovd .ee-button-test:hover{background-color:#5eaef3}.eewp-eckab-frovd .ee_linkbutton-del{background-color:transparent;text-transform:uppercase;border:0;color:#cb2e25;text-align:center;text-decoration:none;font-size:14px;min-width:58px;cursor:pointer;min-height:14px}.eewp-eckab-frovd .ee_linkbutton-del:hover{color:#b31108}.eewp-eckab-frovd .ee_button-add{background-color:#32325c;text-transform:uppercase;border:0;color:#fff;text-align:center;text-decoration:none;display:inline-block;font-size:14px;max-width:78px;cursor:pointer;line-height:1;border-radius:4px;min-height:30px}.eewp-eckab-frovd .ee_button-add:hover{background-color:#424268}.eewp-eckab-frovd .ee_button-security,.eewp-eckab-frovd .ee_button-test{background-color:#2699fb;text-transform:uppercase;border:none;color:#fff;padding:15px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;min-width:48px;cursor:pointer;line-height:0;border-radius:3px;min-height:28px}.eewp-eckab-frovd .ee_button-security:hover,.eewp-eckab-frovd .ee_button-test:hover{background-color:#5eaef3}.eewp-eckab-frovd .error-email{line-height:1;margin:2px 6px}.eewp-eckab-frovd .test-button-box{padding-top:25px}.eewp-eckab-frovd .listist{padding:5px}.eewp-eckab-frovd .sync-box{padding:23px 0}.eewp-eckab-frovd .listist_header{padding:5px;background:#32325c;color:#fff}.eewp-eckab-frovd .padding-right-action{padding-right:20px}.eewp-eckab-frovd .listist_add{color:#fff}.eewp-eckab-frovd input[type=text]{padding:0 8px;line-height:2;min-height:30px;box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c;width:50%}.eewp-eckab-frovd input[type=text]:focus{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.eewp-eckab-frovd input[type=submit]:disabled,.eewp-eckab-frovd input[type=text]:disabled{background:#ebedef;color:#fff;cursor:not-allowed}.eewp-eckab-frovd .listist{border-bottom:1px solid #e6e6f2}.eewp-eckab-frovd .form_success{color:#449d44}.eewp-eckab-frovd .form_error{color:#cb2e25}.eewp-eckab-frovd .ee_checkbox{background-color:#fff;border:1px solid #ccc;border-radius:3px}.eewp-eckab-frovd .ee_nopadding{padding:0}.eewp-eckab-frovd .ee_colorsetter{min-height:148px;padding:0 5px 10px}.eewp-eckab-frovd .ee_namelist{min-height:128px;padding:0 5px 10px}.eewp-eckab-frovd .ee_checkboxlist{min-height:188px;padding:0 5px 10px}.eewp-eckab-frovd .ee_newilstinput{min-height:154px;padding:0 5px 10px}.eewp-eckab-frovd .ee_selectedlist{padding:0 5px 10px}.eewp-eckab-frovd .ee_chceckboxlist{padding:4px 5px}.eewp-eckab-frovd .ee_buttonpadding{height:100px;padding:32px 5px 18px 0}.eewp-eckab-frovd .ee_containerfull{width:100%}.eewp-eckab-frovd .ee_containerfull .row{margin-right:0;margin-left:0}.eewp-eckab-frovd .ee_addedlist-success{color:green;padding-top:22px;font-weight:700}.eewp-eckab-frovd .ee_addedlist-warning{color:orange;padding-top:22px;font-weight:700}.eewp-eckab-frovd .ee_addedlist-info{color:orange}.eewp-eckab-frovd .ee_refrestlists{cursor:pointer}.eewp-eckab-frovd .ee_colorsetterbox p{margin-top:2px;margin-bottom:2px}.eewp-eckab-frovd .ee_clearfix{overflow:auto}.eewp-eckab-frovd .ee_send-test-container .form-box .valid{display:block;color:#cb2e25}.eewp-eckab-frovd .ee-admin-settings-radio-inline span:first-of-type{padding-right:10px}.eewp-eckab-frovd .ee-admin-settings-radio-block div:first-of-type{padding-bottom:10px}.eewp-eckab-frovd .ee_tablestyle{border-top:1px solid #fff;border-bottom:1px solid #fff;min-height:50px;overflow:hidden}.eewp-eckab-frovd .form-control{margin-top:5px;margin-bottom:5px}.eewp-eckab-frovd .ee_button-subscribe{padding-top:5px;padding-bottom:5px}.eewp-eckab-frovd .section-marketing{padding-top:10px;padding-bottom:10px}@media screen and (min-width:992px){.eewp-eckab-frovd .form-control{width:45%}}@media screen and (max-width:991px){.eewp-eckab-frovd .form-control{width:100%}.eewp-eckab-frovd .ee_marketing{display:none}.eewp-eckab-frovd .ee_line{border-right:none}}.eewp-eckab-frovd #subscribe-inputs .form_error{color:#f33}.eewp-eckab-frovd #ee-success{text-align:center;border:1px solid #1b4;padding:10px}.eewp-eckab-frovd .text-center{text-align:center}.eewp-eckab-frovd .text-left{text-align:left}.eewp-eckab-frovd .text-right{text-align:right}.eewp-eckab-frovd .table-slim th,.eewp-eckab-frovd th{font-size:14px;font-weight:400;color:#282f37;padding:10px 5px}.eewp-eckab-frovd .table-slim td,.eewp-eckab-frovd td{padding:10px 20px;font-size:14px;font-weight:400;color:#4c535b}.eewp-eckab-frovd .connection-error-container{padding-top:200px;text-align:center}.eewp-eckab-frovd .ee_security-container,.eewp-eckab-frovd .ee_send-test-container{width:100%;padding-top:10px;padding-bottom:10px}.eewp-eckab-frovd .ee_security-faq-container{padding:20px 40px 20px 0}.eewp-eckab-frovd .ee_security-faq-section-title{border-top:2px solid #dedede}.eewp-eckab-frovd .ee_security-faq-section-title p{font-size:16px;font-weight:700}.eewp-eckab-frovd .ee_security-faq-item{padding:10px 0}.eewp-eckab-frovd .ee_security-faq-header p{margin:4px 0;font-size:14px;font-weight:700}.eewp-eckab-frovd .form-group{padding-top:10px;padding-bottom:10px}.eewp-eckab-frovd .form-group label{display:block;padding-top:5px;padding-bottom:5px}.eewp-eckab-frovd .ee_send-test-container .form-group input[type=email],.eewp-eckab-frovd .ee_send-test-container .form-group input[type=text],.eewp-eckab-frovd .ee_send-test-container .form-group textarea{width:60%}.eewp-eckab-frovd .test-description{width:91%}.eewp-eckab-frovd .loader{border-radius:50%;border:5px solid #f3f3f3;border-top-color:#3498db;width:30px;height:30px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.eewp-eckab-frovd .hide{display:none}
     1.eewp-eckab-frovd{box-sizing:border-box}.eewp-eckab-frovd [class*=col-]{padding-left:0;padding-right:0}.eewp-eckab-frovd .eewp_container{width:100%;display:flex}.eewp-eckab-frovd .eewp_container .ee-single-log{padding:4px 0;border-bottom:1px solid #677389}.eewp-eckab-frovd .eewp_container .ee-single-log__empty{padding:4px 0;color:#449d44}.eewp-eckab-frovd .ee_send-test-container .ee-info-box{display:flex;align-items:center}.eewp-eckab-frovd .ee_send-test-container .ee-info-box__text{padding-left:4px}.eewp-eckab-frovd .ee_send-test-container .hide{display:none}.eewp-eckab-frovd .ee_pagetitle{padding:10px 0}.eewp-eckab-frovd .ee-send-test-container .form-box .valid{display:block;color:#cb2e25}.eewp-eckab-frovd .ee-button-clean-log{cursor:pointer;color:#fff;background:#cb2e25;border-radius:4px;padding:3px 12px}.eewp-eckab-frovd .ee-button-clean-log:hover{background-color:#b31108}.eewp-eckab-frovd .ee-clean-log-box{display:flex;justify-content:end;padding:10px 0}.eewp-eckab-frovd .ee_marketing{padding:50px 60px 24px}.eewp-eckab-frovd .ee_success{color:#449d44}.eewp-eckab-frovd .ee_error{color:#cb2e25}.eewp-eckab-frovd h1,.eewp-eckab-frovd h2,.eewp-eckab-frovd h3{color:#32325c;font-weight:400}.eewp-eckab-frovd h1{font-size:30px}.eewp-eckab-frovd h2{font-size:18px}.eewp-eckab-frovd h4{font-size:14px;font-weight:bolder;color:#32325c}.eewp-eckab-frovd .ee_p,.eewp-eckab-frovd .user-info{font-size:14px;font-weight:400;color:#677389}.eewp-eckab-frovd .user-info{text-align:left;background:#e3e3e3;margin-top:40px;padding:10px 20px}.eewp-eckab-frovd .margin-p-xs{margin-top:2px;margin-bottom:2px}.eewp-eckab-frovd .settings-box-form{padding-top:30px;padding-bottom:30px}.eewp-eckab-frovd .ee_header{position:relative}.eewp-eckab-frovd .ee_logo{background:#fff;width:30px;height:30px;border-radius:30px;display:inline-block;line-height:38px;padding-left:5px}.eewp-eckab-frovd .ee_account-status-active{color:#449d44}.eewp-eckab-frovd .ee_account-status-deactive{color:#cb2e25}.eewp-eckab-frovd .ee_reports-container{width:100%}.eewp-eckab-frovd .ee_reports-list{padding-top:5%}.eewp-eckab-frovd #canvas-holder{margin-left:auto;margin-right:auto}.eewp-eckab-frovd .ee_report-table th{line-height:2;text-align:center;font-size:18px}.eewp-eckab-frovd .ee_report-table td{line-height:3;text-align:center;font-size:18px}.eewp-eckab-frovd .empty-chart{text-align:center;background-color:transparent;border:1px solid #f9c053}.eewp-eckab-frovd .empty-chart img{width:360px}.eewp-eckab-frovd .ee_alert-account{color:#cb2e25}.eewp-eckab-frovd .ee_warning-account{color:#f9c053}.eewp-eckab-frovd .ee_ok-account{color:#449d44}.eewp-eckab-frovd .ee_standard-account{color:#444}.eewp-eckab-frovd .ee_default-text{color:#ccc}.eewp-eckab-frovd .ee_connect-alert{margin:30px auto;padding:20px;width:100%;background-color:#fbb}.eewp-eckab-frovd .ee_connect-alert h1{font-size:14px;line-height:1.3;color:#3f3f3f}.eewp-eckab-frovd .ee_select-form-box{padding-top:20px;padding-bottom:20px}.eewp-eckab-frovd .ee_select-form{display:inline-block}.eewp-eckab-frovd .ee_tooltip{position:relative;display:inline-block}.eewp-eckab-frovd .ee_tooltip .ee_tooltiptext{visibility:hidden;width:400px;background-color:#555;color:#fff;border-radius:6px;padding:5px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-60px;opacity:0;transition:opacity 1s}.eewp-eckab-frovd .ee_tooltip .ee_tooltiptext a{color:#fff}.eewp-eckab-frovd .ee_tooltip .ee_tooltiptext:after{content:"";position:absolute;top:100%;left:15%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}.eewp-eckab-frovd .ee_tooltip:hover .ee_tooltiptext{visibility:visible;opacity:1}.eewp-eckab-frovd .ee_tootlip-icon{width:14px;margin-bottom:-4px}.eewp-eckab-frovd .ee_title_small{font-weight:700}.eewp-eckab-frovd .ee_button-sync{background-color:#2699fb;text-transform:uppercase;border:none;color:#fff;padding:15px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;min-width:48px;cursor:pointer;line-height:0;border-radius:3px;min-height:28px}.eewp-eckab-frovd .ee_button-sync:hover{background-color:#5eaef3}.eewp-eckab-frovd .ee-button-test{background-color:#2699fb;text-transform:uppercase;border:none;color:#fff;padding:15px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;min-width:48px;cursor:pointer;line-height:0;border-radius:3px;min-height:28px}.eewp-eckab-frovd .ee-button-test:hover{background-color:#5eaef3}.eewp-eckab-frovd .ee_linkbutton-del{background-color:transparent;text-transform:uppercase;border:0;color:#cb2e25;text-align:center;text-decoration:none;font-size:14px;min-width:58px;cursor:pointer;min-height:14px}.eewp-eckab-frovd .ee_linkbutton-del:hover{color:#b31108}.eewp-eckab-frovd .ee_button-add{background-color:#32325c;text-transform:uppercase;border:0;color:#fff;text-align:center;text-decoration:none;display:inline-block;font-size:14px;max-width:78px;cursor:pointer;line-height:1;border-radius:4px;min-height:30px}.eewp-eckab-frovd .ee_button-add:hover{background-color:#424268}.eewp-eckab-frovd .ee_button-security,.eewp-eckab-frovd .ee_button-test{background-color:#2699fb;text-transform:uppercase;border:none;color:#fff;padding:15px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;min-width:48px;cursor:pointer;line-height:0;border-radius:3px;min-height:28px}.eewp-eckab-frovd .ee_button-security:hover,.eewp-eckab-frovd .ee_button-test:hover{background-color:#5eaef3}.eewp-eckab-frovd .error-email{line-height:1;margin:2px 6px}.eewp-eckab-frovd .test-button-box{padding-top:25px}.eewp-eckab-frovd .listist{padding:5px}.eewp-eckab-frovd .sync-box{padding:23px 0}.eewp-eckab-frovd .listist_header{padding:5px;background:#32325c;color:#fff}.eewp-eckab-frovd .padding-right-action{padding-right:20px}.eewp-eckab-frovd .listist_add{color:#fff}.eewp-eckab-frovd input[type=text]{padding:0 8px;line-height:2;min-height:30px;box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c;width:50%}.eewp-eckab-frovd input[type=text]:focus{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.eewp-eckab-frovd input[type=submit]:disabled,.eewp-eckab-frovd input[type=text]:disabled{background:#ebedef;color:#fff;cursor:not-allowed}.eewp-eckab-frovd .listist{border-bottom:1px solid #e6e6f2}.eewp-eckab-frovd .form_success{color:#449d44}.eewp-eckab-frovd .form_error{color:#cb2e25}.eewp-eckab-frovd .ee_checkbox{background-color:#fff;border:1px solid #ccc;border-radius:3px}.eewp-eckab-frovd .ee_nopadding{padding:0}.eewp-eckab-frovd .ee_colorsetter{min-height:148px;padding:0 5px 10px}.eewp-eckab-frovd .ee_namelist{min-height:128px;padding:0 5px 10px}.eewp-eckab-frovd .ee_checkboxlist{min-height:188px;padding:0 5px 10px}.eewp-eckab-frovd .ee_newilstinput{min-height:154px;padding:0 5px 10px}.eewp-eckab-frovd .ee_selectedlist{padding:0 5px 10px}.eewp-eckab-frovd .ee_chceckboxlist{padding:4px 5px}.eewp-eckab-frovd .ee_buttonpadding{height:100px;padding:32px 5px 18px 0}.eewp-eckab-frovd .ee_containerfull{width:100%}.eewp-eckab-frovd .ee_containerfull .row{margin-right:0;margin-left:0}.eewp-eckab-frovd .ee_addedlist-success{color:green;padding-top:22px;font-weight:700}.eewp-eckab-frovd .ee_addedlist-warning{color:orange;padding-top:22px;font-weight:700}.eewp-eckab-frovd .ee_addedlist-info{color:orange}.eewp-eckab-frovd .ee_refrestlists{cursor:pointer}.eewp-eckab-frovd .ee_colorsetterbox p{margin-top:2px;margin-bottom:2px}.eewp-eckab-frovd .ee_clearfix{overflow:auto}.eewp-eckab-frovd .ee_send-test-container .form-box .valid{display:block;color:#cb2e25}.eewp-eckab-frovd .ee-admin-settings-radio-inline span:first-of-type{padding-right:10px}.eewp-eckab-frovd .ee-admin-settings-radio-block div:first-of-type{padding-bottom:10px}.eewp-eckab-frovd .ee_tablestyle{border-top:1px solid #fff;border-bottom:1px solid #fff;min-height:50px;overflow:hidden}.eewp-eckab-frovd .form-control{margin-top:5px;margin-bottom:5px}.eewp-eckab-frovd .ee_button-subscribe{padding-top:5px;padding-bottom:5px}.eewp-eckab-frovd .section-marketing{padding-top:10px;padding-bottom:10px}@media screen and (min-width:992px){.eewp-eckab-frovd .form-control{width:45%}}@media screen and (max-width:991px){.eewp-eckab-frovd .form-control{width:100%}.eewp-eckab-frovd .ee_marketing{display:none}.eewp-eckab-frovd .ee_line{border-right:none}}.eewp-eckab-frovd #subscribe-inputs .form_error{color:#f33}.eewp-eckab-frovd #ee-success{text-align:center;border:1px solid #1b4;padding:10px}.eewp-eckab-frovd .text-center{text-align:center}.eewp-eckab-frovd .text-left{text-align:left}.eewp-eckab-frovd .text-right{text-align:right}.eewp-eckab-frovd .status-more-info-bold{font-weight:700;padding-right:8px;display:flex;align-items:center}.eewp-eckab-frovd .table-slim th,.eewp-eckab-frovd th{font-size:14px;font-weight:400;color:#282f37;padding:10px 5px}.eewp-eckab-frovd .table-slim td,.eewp-eckab-frovd td{padding:10px 20px;font-size:14px;font-weight:400;color:#4c535b}.eewp-eckab-frovd .connection-error-container{padding-top:200px;text-align:center}.eewp-eckab-frovd .ee_security-container,.eewp-eckab-frovd .ee_send-test-container{width:100%;padding-top:10px;padding-bottom:10px}.eewp-eckab-frovd .ee_security-faq-container{padding:20px 40px 20px 0}.eewp-eckab-frovd .ee_security-faq-section-title{border-top:2px solid #dedede}.eewp-eckab-frovd .ee_security-faq-section-title p{font-size:16px;font-weight:700}.eewp-eckab-frovd .ee_security-faq-item{padding:10px 0}.eewp-eckab-frovd .ee_security-faq-header p{margin:4px 0;font-size:14px;font-weight:700}.eewp-eckab-frovd .form-group{padding-top:10px;padding-bottom:10px}.eewp-eckab-frovd .form-group label{display:block;padding-top:5px;padding-bottom:5px}.eewp-eckab-frovd .ee_send-test-container .form-group input[type=email],.eewp-eckab-frovd .ee_send-test-container .form-group input[type=text],.eewp-eckab-frovd .ee_send-test-container .form-group textarea{width:60%}.eewp-eckab-frovd .test-description{width:91%}.eewp-eckab-frovd .loader{border-radius:50%;border:5px solid #f3f3f3;border-top-color:#3498db;width:30px;height:30px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.eewp-eckab-frovd .hide{display:none}
  • elastic-email-subscribe-form/trunk/dist/eesf_sendTest.min.js

    r2437680 r2532321  
    1 "use strict";!function(e){var t=function(){var t="Elastic Email - Send Test";setTimeout(function(){e.post("https://api.elasticemail.com/v2/channel/list?",{apikey:eesf_send_test_data.token,search:t},function(a){a.data[0]?function(t){e.post("https://api.elasticemail.com/v2/log/load?",{apikey:eesf_send_test_data.token,statuses:0,channelName:t,offset:1},function(t){t.success?(e("#recipientsStatus").text(t.data.recipients[0].status),null!==t.data.recipients[0].contactlasterror?e("#recipientsContactLastError").text(t.data.recipients[0].contactlasterror):e("#recipientsContactLastError").text("No errors")):t.error&&(e("#recipientsContactLastError").text(t.error),e("#recipientsStatus").text("Error"),e("#loader").addClass("hide")),e("#loader").addClass("hide")})}(t):e("#sendStatus").text("Channel not found. Please try again later.")})},5e3)};e("#sendTest").click(function(){var a=e("#to").val(),s=e("#message").val();return e("#invalid_email").text("").addClass("hide"),e("#invalid_message").text("").addClass("hide"),e("#send-status").addClass("hide"),e("#recipientsStatus").text(""),e("#recipientsContactLastError").text(""),0==function(e){return!!/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)}(a)?(e("#invalid_email").removeClass("hide").text("Invalid email"),!1):0==function(e){return""!==e}(s)?(e("#invalid_message").removeClass("hide").text("Invalid message"),!1):(e("#invalid_email").addClass("hide"),e("#invalid_message").addClass("hide"),function(a,s){var n="".concat(eesf_send_test_data.adminUrl,"admin-ajax.php?action=subscribe_send_test&hex=422f753b2d746e205b422e2068276f352143");e.post(n,{to:a,message:s},function(t){e("#loader").removeClass("hide"),e("#send-status").removeClass("hide"),t?e("#sendStatus").text("Success"):e("#sendStatus").text("Error")}),setTimeout(function(){t()},1e4)}(a,s),!1)});e("#eeCleanErrorLog").click(function(){var t;t="".concat(eesf_send_test_data.adminUrl,"admin-ajax.php?action=clean_error_log&hex=222h753b5d796e205b422e2068274f351991"),e.post(t,{},function(e){e&&location.reload()})})}(jQuery);
     1"use strict";!function(e){var s=function(){var s="Elastic Email - Send Test";setTimeout(function(){e.post("https://api.elasticemail.com/v2/channel/list?",{apikey:eesf_send_test_data.token,search:s},function(t){t.data[0]?function(s){e.post("https://api.elasticemail.com/v2/log/load?",{apikey:eesf_send_test_data.token,statuses:0,channelName:s,offset:1},function(s){if(e("#statusInfoLineTwo").removeClass("hide"),s.success)if(e("#recipientsStatus-ok").removeClass("hide"),e("#recipientsStatus-warning").addClass("hide"),e("#recipientsStatus").text(""),s.data.recipients[0]){if(s.data.recipients[0].status)switch(s.data.recipients[0].status){case"AbuseReport":case"Unsubscribed":case"Bounced":e("#recipientsStatus-ok").addClass("hide"),e("#recipientsStatus-warning").removeClass("hide"),e("#recipientsStatus").text(s.data.recipients[0].status);break;default:e("#recipientsStatus-ok").removeClass("hide"),e("#recipientsStatus-warning").addClass("hide"),e("#recipientsStatus").text(s.data.recipients[0].status)}else e("#recipientsStatus-ok").addClass("hide"),e("#recipientsStatus-warning").removeClass("hide"),e("#recipientsStatus").text("Please check your API key.");null!==s.data.recipients[0].contactlasterror?(e("#statusInfoLineThree").removeClass("hide"),e("#recipientsContactLastError-ok").addClass("hide"),e("#recipientsContactLastError-warning").removeClass("hide"),e("#recipientsContactLastError").text(s.data.recipients[0].contactlasterror)):(e("#statusInfoLineThree").removeClass("hide"),e("#recipientsContactLastError-ok").removeClass("hide"),e("#recipientsContactLastError-warning").addClass("hide"),e("#recipientsContactLastError").text(""))}else e("#recipientsStatus-ok").addClass("hide"),e("#recipientsStatus-warning").removeClass("hide"),e("#recipientsStatus").text("Please check your API key.");else s.error&&(e("#recipientsStatus-ok").addClass("hide"),e("#recipientsStatus-warning").removeClass("hide"),e("#recipientsStatus").text(s.error),e("#loader").addClass("hide"));e("#loader").addClass("hide")})}(s):(e("#statusInfoLineOne").removeClass("hide"),e("#sendStatus-ok").addClass("hide"),e("#sendStatus-warning").removeClass("hide"),e("#sendStatus").text("Channel not found. Please check your API key."))})},5e3)};e("#sendTest").click(function(){var t=e("#to").val(),a=e("#message").val();return e("#invalid_email").text("").addClass("hide"),e("#invalid_message").text("").addClass("hide"),e("#statusInfoLineOne").addClass("hide"),e("#statusInfoLineTwo").addClass("hide"),e("#statusInfoLineThree").addClass("hide"),e("#sendStatus-ok").addClass("hide"),e("#sendStatus-warning").addClass("hide"),e("#sendStatus").text(""),e("#recipientsStatus-ok").addClass("hide"),e("#recipientsStatus-warning").addClass("hide"),e("#recipientsStatus").text(""),e("#recipientsContactLastError").text(""),0==function(e){return!!/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)}(t)?(e("#invalid_email").removeClass("hide").text("Invalid email"),!1):0==function(e){return""!==e}(a)?(e("#invalid_message").removeClass("hide").text("Invalid message"),!1):(e("#invalid_email").addClass("hide"),e("#invalid_message").addClass("hide"),function(t,a){var i="".concat(eesf_send_test_data.adminUrl,"admin-ajax.php?action=subscribe_send_test&hex=422f753b2d746e205b422e2068276f352143");e.post(i,{to:t,message:a},function(s){e("#loader").removeClass("hide"),e("#statusInfoLineOne").removeClass("hide"),s?(e("#sendStatus-ok").removeClass("hide"),e("#sendStatus-warning").addClass("hide")):(e("#sendStatus-ok").addClass("hide"),e("#sendStatus-warning").removeClass("hide"),e("#sendStatus").text("Send failed. Please check your account or API key."))}),setTimeout(function(){s()},1e4)}(t,a),!1)});e("#eeCleanErrorLog").click(function(){var s;s="".concat(eesf_send_test_data.adminUrl,"admin-ajax.php?action=clean_error_log&hex=222h753b5d796e205b422e2068274f351991"),e.post(s,{},function(e){e&&location.reload()})})}(jQuery);
  • elastic-email-subscribe-form/trunk/elasticemailsubscribe.php

    r2493254 r2532321  
    2424    /*
    2525     * Plugin Name: Elastic Email Subscribe Form
    26      * Version: 1.1.9
     26     * Version: 1.1.10
    2727     * Plugin URI: https://wordpress.org/plugins/elastic-email-subscribe-form/
    2828     * Description: This plugin add subscribe widget to your page and integration with Elastic Email account.
     
    6262
    6363        register_activation_hook(__FILE__, 'elasticemailsubscribe_activate');
     64        register_deactivation_hook(__FILE__, 'elasticemailsubscribe_deactivate');
     65        register_uninstall_hook(__FILE__, 'elasticemailsubscribe_uninstall');
    6466
    65         function elasticemailsubscribe_activate()
    66         {
    67             update_option('ee_actualselectedlist', '00000000-0000-0000-0000-000000000000');
    68             register_deactivation_hook(__FILE__, 'elasticemailsubscribe_deactivate');
    69             register_uninstall_hook(__FILE__, 'elasticemailsubscribe_uninstall');
    70             create_elasticemail_log_table();
     67        require_once 'class/eesf_admin.php';
     68        $ee_admin = new eeadmin_subscribe(__DIR__);
     69
     70        add_action('wp_ajax_subscribe_send_test', 'eeSubscribeTestMsg');
     71    }
     72
     73    function elasticemailsubscribe_activate()
     74    {
     75        update_option('ee_actualselectedlist', '00000000-0000-0000-0000-000000000000');
     76        create_elasticemail_log_table();
     77    }
     78
     79    function elasticemailsubscribe_deactivate()
     80    {
     81        update_option('ee_actualselectedlist', '');
     82        update_option('daterangeselect', 'last-wk');
     83        update_option('elastic-email-subscribe-status', false);
     84
     85        require_once 'class/eesf_admin.php';
     86        $eeadmin_subscribe = new eeadmin_subscribe(__DIR__);
     87
     88        if (class_exists('ElasticEmailClient\\ApiClient')) {
     89            $eeadmin_subscribe->addToUserList('D');
    7190        }
     91    }
    7292
    73         function elasticemailsubscribe_deactivate()
    74         {
    75             update_option('ee_actualselectedlist', '');
    76             update_option('daterangeselect', 'last-wk');
    77             update_option('elastic-email-subscribe-status', false);
     93    function elasticemailsubscribe_uninstall()
     94    {
     95        unregister_widget('eeswidgetadmin');
    7896
    79             $status = 'D';
    80             if (class_exists('ElasticEmailClient\\ApiClient')) {
    81                 eeadmin_subscribe::addToUserList($status);
    82             }
    83         }
    84 
    85         function elasticemailsubscribe_uninstall()
    86         {
    87             $status = 'D';
    88 
    89             if (class_exists('ElasticEmailClient\\ApiClient')) {
    90                 eeadmin_subscribe::addToUserList($status);
    91             }
    92 
    93             unregister_widget('eeswidgetadmin');
    94 
    95             $options = [
     97        $optionsList = [
    9698                'eesf-connecting-status',
    9799                'ee_options',
     
    110112                'ee_accountemail_2',
    111113                'ee-list-checkbox',
    112                 'ee_send-email-type'
     114                'ee_send-email-type',
     115                'eesf_is_created_channels'
    113116            ];
    114117
    115             foreach ($options as $option) {
    116                 delete_option($option);
    117             }
     118        foreach ($optionsList as $option) {
     119            delete_option($option);
    118120        }
    119 
    120         require_once 'class/eesf_admin.php';
    121 
    122         $ee_admin = new eeadmin_subscribe(__DIR__);
    123 
    124         add_action('wp_ajax_subscribe_send_test', 'eeSubscribeTestMsg');
    125 
    126         function eeSubscribeTestMsg()
    127         {
    128             $key = filter_input(INPUT_GET, "hex", FILTER_SANITIZE_STRING);
    129             if ($key === '422f753b2d746e205b422e2068276f352143') {
    130                 $to = $_POST['to'];
    131                 $subject = 'Elastic Email Subscribe Form send test';
    132                 $message = filter_input(INPUT_POST, "message", FILTER_SANITIZE_STRING);
    133 
    134                 $message = filter_input(INPUT_POST, "message", FILTER_SANITIZE_STRING);
    135                 $send = eemail::send($to, $subject, $message, null, null, true);
    136                 exit($send);
    137             }
    138         }
    139 
    140121    }
    141122
    142     function create_elasticemail_log_table() {
     123    function eeSubscribeTestMsg()
     124    {
     125        $key = filter_input(INPUT_GET, "hex", FILTER_SANITIZE_STRING);
     126        if ($key === '422f753b2d746e205b422e2068276f352143') {
     127            $to = $_POST['to'];
     128            $subject = 'Elastic Email Subscribe Form send test';
     129            $message = filter_input(INPUT_POST, "message", FILTER_SANITIZE_STRING);
     130
     131            $message = filter_input(INPUT_POST, "message", FILTER_SANITIZE_STRING);
     132            $send = eemail::send($to, $subject, $message, null, null, true);
     133            exit($send);
     134        }
     135    }
     136
     137    function create_elasticemail_log_table()
     138    {
    143139        global $wpdb;
    144140        $table = $wpdb->prefix . 'elasticemail_log';
     
    155151    }
    156152
    157     function drop_elasticemail_log_table() {
     153    function drop_elasticemail_log_table()
     154    {
    158155        global $wpdb;
    159156        $table = $wpdb->prefix . 'elasticemail_log';
     
    161158    }
    162159
    163     function clean_elasticemail_log_table() {
     160    function clean_elasticemail_log_table()
     161    {
    164162        global $wpdb;
    165163        $table = $wpdb->prefix . 'elasticemail_log';
     
    188186
    189187    require_once 'security/eesf_security.php';
    190 
    191188}
  • elastic-email-subscribe-form/trunk/readme.txt

    r2493254 r2532321  
    8080
    8181== Screenshots ==
    82 1. Install Elastic Email Subscribe Form with ease! Just provide some details and use the possibilities we give you.
    83 2. Send test messages.
    84 3. Manage contact lists.
     821. Install the Elastic Email Subscribe Form with ease! Just provide a few details and check out  the possibilities
     832. Send test messages
     843. Manage contact lists
    85854. Check statistics
    86865. Secure your contact forms - Google reCaptcha v2 invisible integration
    87876. Error log
    88 7. Personalize your widget.
    89 8. Add to many lists and let subscribers choose
     887. Personalize your widget
     898. Add to many lists and let your subscribers choose
    90909. Collect contacts.
    919110. Collect contacts.
    929211. Collect contacts and avoid spam.
    9393
     94
    9495== Translations ==
    95 You can translate Elastic Email Subscribe Form on [__translate.wordpress.org__](https://translate.wordpress.org/projects/wp-plugins/elastic-email-subscribe-form).
     96You can translate the Elastic Email Subscribe Form on [__translate.wordpress.org__](https://translate.wordpress.org/projects/wp-plugins/elastic-email-subscribe-form).
    9697
    9798== Changelog ==
    9899
    99 = 1.1.9 =
     100= 1.1.10 =
    100101* Regular update
    101102
    102 = 1.1.8 =
    103 * Add: Custom double opt-in templates
     103== Upgrade Notice ==
    104104
    105 = 1.1.7 =
    106 * Update: Widget terms and policy
    107 
    108 = 1.1.6 =
    109 * Regular update
    110 
    111 = 1.1.5 =
    112 * Regular update
    113 
    114 = 1.1.4 =
    115 * Regular update
    116 
    117 = 1.1.3 =
    118 * Regular update
    119 
    120 = 1.1.2 =
    121 * Regular update
    122 
    123 = 1.1.1 =
    124 * Fix: Invalid address for help articles
    125 
    126 = 1.1.0 =
    127 * Add: Integration with Google reCaptcha v2 invisible
    128 * Fix: Security
    129 * Fix: Selected lists validation
    130 * Update: Translation
    131 * Update: Dashboard and widget styles
    132 
    133 = 1.0.20 =
    134 * Fix: Widget dashboard
    135 
    136 = 1.0.19 =
    137 * Regular update
    138 
    139 = 1.0.18 =
    140 * Fix: Network and regular update
    141 
    142 = 1.0.17 =
    143 * Regular update
    144 
    145 = 1.0.16 =
    146 * Regular update
    147 
    148 = 1.0.15 =
    149 * Regular update
    150 
    151 = 1.0.14 =
    152 * Fix to visual changes
    153 
    154 = 1.0.13 =
    155 * Visual changes
    156 
    157 = 1.0.12 =
    158 * Bugfix
    159 
    160 = 1.0.11 =
    161 * Regular update
    162 
    163 = 1.0.10 =
    164 * Bugfix
    165 
    166 = 1.0.9 =
    167 * Regular update
    168 
    169 = 1.0.8 =
    170 * Regular update
    171 
    172 = 1.0.7 =
    173 * Added: Custom email from and from name
    174 * Regular update
    175 
    176 = 1.0.6 =
    177 * Fixed:Network notice
    178 * Fixed: WooCommerce display bug
    179 * Update: Selection of lists in the widget settings - Older versions will have to assign the widget to the lists again!
    180 
    181 = 1.0.5 =
    182 * Fixed: Reset password
    183 
    184 = 1.0.4 =
    185 * Fixed: Script loading
    186 
    187 = 1.0.3 =
    188 * Fixed: Selecting lists
    189 * Fixed: Translations
    190 
    191 = 1.0.2 =
    192 * Fixed: error handling, admin panel, widgets
    193 
    194 = 1.0.1 =
    195 * Changes in the widget and settings page
    196 
    197 = 1.0.0 =
    198 * Public release
     105= 1.1.10 =
     106This version fixes a translations and send test
  • elastic-email-subscribe-form/trunk/template/t-eesf_admin.php

    r2437680 r2532321  
    2222        <p class="ee_p margin-p-xs">
    2323            <?php
    24             _e('Welcome to Elastic Email WordPress Plugin! From now on, you can send your
     24            _e('Welcome to the Elastic Email WordPress Plugin! From now on, you can send your
    2525            emails in the fastest and most reliable way and collect contacts in the subscription widget!
    2626            Just one quick step and you will be ready to rock your subscribers\' inbox. Fill in the details
  • elastic-email-subscribe-form/trunk/template/t-eesf_marketing.php

    r2437680 r2532321  
    1010
    1111    <div class="section-marketing">
    12         <h2 class="ee_h2"><?php _e('How we can help you?', 'elastic-email-subscribe-form') ?></h2>
     12        <h2 class="ee_h2"><?php _e('How can we help you?', 'elastic-email-subscribe-form') ?></h2>
    1313        <p class="ee_p"><?php _e('If you would like to boost your email marketing campaigns or improve your email delivery, check out our helpful guides to get you started!', 'elastic-email-subscribe-form') ?></p>
    1414        <ul style="padding-left: 40px;">
     
    4747        <h2 class="ee_h2"><?php _e('Rate plugin', 'elastic-email-subscribe-form') ?></h2>
    4848        <p class="ee_p">
    49             <?php _e('Share your experience of using Elastic Email WordPress Plugin by ', 'elastic-email-sender') ?>
     49            <?php _e('Share your experience with using the Elastic Email WordPress Plugin by ', 'elastic-email-sender') ?>
    5050            <a href="https://wordpress.org/support/plugin/elastic-email-subscribe-form/reviews/#new-post"><?php _e('rating us here.', 'elastic-email-subscribe-form') ?></a> <?php _e('Thanks!', 'elastic-email-subscribe-form') ?>
    5151        </p>
  • elastic-email-subscribe-form/trunk/template/t-eesf_sendtest.php

    r2437680 r2532321  
    66wp_enqueue_script('eesubscribe-jquery-admin');
    77wp_enqueue_script('eesubscribe-send-test');
     8
     9$plugin_path = plugins_url() . '/' . get_option('ees_plugin_dir_name');
    810
    911if (isset($_GET['settings-updated'])):
     
    3133            <div class="ee_send-test-container">
    3234
    33                 <p class="ee_p test-description"><?php _e('Sending this testing email will provide You with the necessary information about the ability to send emails from your account as well as email and contact status. The email provided by You will be added to your All Contacts list, then the testing message will be send to this contact. Be aware that if you are charged by number of email sent, sending this testing messages will have impact on your credits.', 'elastic-email-subscribe-form') ?></p>
     35                <p class="ee_p test-description"><?php _e('Sending this testing email will provide you with the necessary information about the ability to send emails from your account as well as email and contact status. The email provided by you will be added to your All Contacts list, then the testing message will be sent to this contact. Be aware that if you are charged by the number of emails sent, sending these testing messages will have an impact on your credits.', 'elastic-email-subscribe-form') ?></p>
    3436
    3537                <div class="form-box">
     
    4951                </div>
    5052
    51                 <div id="send-status" class="hide">
    52                     <p><span class="status-more-info-bold"><?php _e('Sending: ', 'elastic-email-subscribe-form') ?></span><span id="sendStatus"></span></p>
    53                     <p><span class="status-more-info-bold"><?php _e('Status: ', 'elastic-email-subscribe-form') ?></span><span id="recipientsStatus"></span></p>
    54                     <p><span class="status-more-info-bold"><?php _e('Error: ', 'elastic-email-subscribe-form') ?></span><span id="recipientsContactLastError"></span></p>
     53                <div class="">
     54                   
     55                <p id="statusInfoLineOne" class="ee-info-box hide">
     56                        <span class="status-more-info-bold">
     57                            <?php _e('Sending: ', 'elastic-email-sender') ?>
     58                        </span>
     59                        <span id="sendStatus-ok" class="ee-info-box hide">
     60                            <img class="ee-info-box" src="<?= $plugin_path . '/src/img/icon-ok.svg' ?>">
     61                        </span>
     62                        <span id="sendStatus-warning" class="ee-info-box hide">
     63                            <img src="<?= $plugin_path . '/src/img/icon-warning.svg' ?>">
     64                        </span>
     65                        <span class="ee-info-box__text" id="sendStatus"></span>
     66                    </p>
     67
     68                    <p id="statusInfoLineTwo" class="ee-info-box hide">
     69                        <span class="status-more-info-bold">
     70                            <?php _e('Status: ', 'elastic-email-sender') ?>
     71                        </span>
     72                        <span id="recipientsStatus-ok" class="hide">
     73                            <img src="<?= $plugin_path . '/src/img/icon-ok.svg' ?>">
     74                        </span>
     75                        <span id="recipientsStatus-warning" class="hide">
     76                            <img src="<?= $plugin_path . '/src/img/icon-warning.svg' ?>">
     77                        </span>
     78                        <span class="ee-info-box__text" id="recipientsStatus"></span>
     79                    </p>
     80
     81                    <p id="statusInfoLineThree" class="ee-info-box hide">
     82                        <span class="status-more-info-bold">
     83                            <?php _e('Error: ', 'elastic-email-sender') ?>
     84                        </span>
     85                        <span id="recipientsContactLastError-ok" class="ee-info-box hide">
     86                            <img class="ee-info-box" src="<?= $plugin_path . '/src/img/icon-ok.svg' ?>">
     87                        </span>
     88                        <span id="recipientsContactLastError-warning" class="ee-info-box hide">
     89                            <img src="<?= $plugin_path . '/src/img/icon-warning.svg' ?>">
     90                        </span>
     91                        <span class="ee-info-box__text" id="recipientsContactLastError"></span>
     92                    </p>
     93
     94                    <div id="loader" class="loader hide"></div>
    5595                </div>
    56                 <div id="loader" class="loader hide"></div>
    57 
    5896            </div>
    5997
Note: See TracChangeset for help on using the changeset viewer.