mailin
Last commit date
css
12 years ago
emails
12 years ago
img
12 years ago
js
12 years ago
lang
12 years ago
ajaxcall.php
12 years ago
ajaxcontent.php
12 years ago
ajaxmanagesubscribe.php
12 years ago
ajaxsmtp.php
12 years ago
api_form.php
12 years ago
compatibility.php
12 years ago
cron.php
12 years ago
listings.php
12 years ago
mailin.php
12 years ago
mailin_widget.php
12 years ago
mailinapi.class.php
12 years ago
readme.html
12 years ago
api_form.php
141 lines
| 1 | <script src="<?php echo plugins_url(); ?>/mailin/js/jquery-1.9.1.min.js" ></script> |
| 2 | <script> |
| 3 | $(document).ready(function () { |
| 4 | jQuery('.toolTip') |
| 5 | .hover(function () { |
| 6 | var title = jQuery(this).attr('title'); |
| 7 | var offset = jQuery(this).offset(); |
| 8 | |
| 9 | jQuery('body').append( |
| 10 | '<div id="tipkk" style="top:' + offset.top + 'px; left:' + offset.left + 'px; ">' + title + '</div>'); |
| 11 | var tipContentHeight = jQuery('#tipkk') |
| 12 | .height() + 25; |
| 13 | jQuery('#tipkk').css( |
| 14 | 'top', (offset.top - tipContentHeight) + 'px'); |
| 15 | |
| 16 | }, function () { |
| 17 | jQuery('#tipkk').remove(); |
| 18 | }); |
| 19 | |
| 20 | var mailin_api_status = $('input:radio[name=mailin_api_status]:checked').val(); |
| 21 | |
| 22 | if(mailin_api_status==0) |
| 23 | { |
| 24 | $('.apikey').hide(); |
| 25 | }else{ |
| 26 | $('.apikey').show(); |
| 27 | } |
| 28 | |
| 29 | $('.mailin_api_status').click(function (){ |
| 30 | |
| 31 | var mailin_api_status = jQuery(this).val(); |
| 32 | |
| 33 | if (mailin_api_status == 0){ |
| 34 | |
| 35 | $('.apikey').hide(); |
| 36 | }else{ |
| 37 | $('.apikey').show(); |
| 38 | } |
| 39 | }); |
| 40 | }); |
| 41 | </script> |
| 42 | <div class=""> |
| 43 | <img src="<?php echo plugins_url(); ?>/mailin/img/ |
| 44 | <?php esc_html_e('mailinblue.jpg', 'mailin_i18n' ); ?>" class="mailin-logo"> |
| 45 | <div style="float:left;font-weight:bold; padding:25px 0px 0px 0px; color:#268CCD;"> |
| 46 | <?php esc_html_e('Mailinblue : THE all-in-one plugin for your marketing and transactional emails.', 'mailin_i18n' ); ?></div><div class="clear"></div> |
| 47 | </div> |
| 48 | |
| 49 | <div class="mailin_row"> |
| 50 | <fieldset class="fields"> |
| 51 | <legend class="lgend"> |
| 52 | <img src="<?php echo plugins_url(); ?>/mailin/img/logo.gif"> |
| 53 | <?php esc_html_e('Mailinblue', 'mailin_i18n' ); ?> |
| 54 | </legend> |
| 55 | <div class="contact-details"> |
| 56 | <h2 style="color:#268CCD;"><?php esc_html_e('Contact Mailinblue team', 'mailin_i18n' ); ?> </h2> |
| 57 | <div style="clear: both;"></div> |
| 58 | <p> <?php esc_html_e('Contact us:', 'mailin_i18n' ); ?> |
| 59 | <br><br><?php esc_html_e('Email:', 'mailin_i18n' ); ?> |
| 60 | <a style="color:#268CCD;" href="mailto:<?php esc_html_e('contact@mailinblue.com', 'mailin_i18n' ); ?>"> |
| 61 | <?php esc_html_e('contact@mailinblue.com', 'mailin_i18n' ); ?> |
| 62 | </a><br> |
| 63 | <?php esc_html_e('Phone : 0899 25 30 61', 'mailin_i18n' ); ?></p> |
| 64 | <p style="padding-top:20px;"><b><?php esc_html_e('For further informations, please visit our website:', 'mailin_i18n' ); ?> |
| 65 | </b><br><a style="color:#268CCD;" target="_blank" href="<?php esc_html_e('http://www.mailinblue.com/', 'mailin_i18n' ); ?>"> |
| 66 | <?php esc_html_e('http://www.mailinblue.com/', 'mailin_i18n' ); ?></a></p> |
| 67 | </div> |
| 68 | <div><?php esc_html_e('With the Mailinblue plugin, you can find everything you need to easily and efficiently send your emailing campains to your prospects and customers. ', 'mailin_i18n' ); ?> |
| 69 | <br><br> |
| 70 | <ul class="listt"> |
| 71 | <li><?php esc_html_e('Synchronize your subscribers with Mailinblue (subscribed and unsubscribed contacts)', 'mailin_i18n' ); ?></li> |
| 72 | <li><?php esc_html_e('Easily create good looking emailings', 'mailin_i18n' ); ?></li> |
| 73 | <li><?php esc_html_e('Schedule your campaigns', 'mailin_i18n' ); ?></li> |
| 74 | <li><?php esc_html_e('Track your results and optimize', 'mailin_i18n' ); ?></li> |
| 75 | </ul> |
| 76 | <?php esc_html_e('Monitor your transactional emails (purchase confirmation, password reset …) with a better deliverability and real-time analytics', 'mailin_i18n' ); ?><br><br> |
| 77 | <b><?php esc_html_e('Why should you use Mailinblue ?', 'mailin_i18n' ); ?></b> |
| 78 | <ul class="listt"> |
| 79 | <li><?php esc_html_e('Optimized deliverability', 'mailin_i18n' ); ?></li> |
| 80 | <li><?php esc_html_e('Unbeatable pricing – best value in the industry', 'mailin_i18n' ); ?></li> |
| 81 | <li><?php esc_html_e('Technical support, by phone or by email', 'mailin_i18n' ); ?></li><br> |
| 82 | </ul> |
| 83 | </div><div style="clear:both;"> </div> |
| 84 | </fieldset> |
| 85 | </div> |
| 86 | <div class="mailin_row"> |
| 87 | <fieldset class="fields"> |
| 88 | <legend><img src="<?php echo plugins_url(); ?>/mailin/img/logo.gif"> <?php esc_html_e('Prerequisites', 'mailin_i18n' ); ?></legend> |
| 89 | <label"> <?php esc_html_e('- You should have a Mailinblue account. You can create a free account here:', 'mailin_i18n' ); ?> <a target="_blank" href="<?php esc_html_e('http://www.mailinblue.com/', 'mailin_i18n' ); ?>"> <?php esc_html_e('http://www.mailinblue.com/', 'mailin_i18n' ); ?></a><br></label"></fieldset> |
| 90 | </div> |
| 91 | |
| 92 | |
| 93 | <?php |
| 94 | $checked1 = ''; |
| 95 | $checked2 = ''; |
| 96 | $mailin_apikey_status = get_option('mailin_apikey_status'); |
| 97 | |
| 98 | if ($mailin_apikey_status == 1) |
| 99 | $checked1 = 'checked="checked"'; |
| 100 | else |
| 101 | $checked2 = 'checked="checked"'; |
| 102 | |
| 103 | ?> |
| 104 | |
| 105 | <div class="mailin_row"> |
| 106 | <fieldset class="fields"> |
| 107 | <legend><img src="<?php echo plugins_url(); ?>/mailin/img/logo.gif"><?php esc_html_e('Settings', 'mailin_i18n' ); ?> </legend> |
| 108 | |
| 109 | <form method="post" action="options-general.php?page=mailin_options"> |
| 110 | |
| 111 | <table class="form-table blog_table"> |
| 112 | |
| 113 | <tr> |
| 114 | <td style="width:250px; text-align:right;"> |
| 115 | <label style="word-wrap:break-word; width:244px;"> |
| 116 | <?php esc_html_e('Activate Mailinblue:', 'mailin_i18n' ); ?></label> |
| 117 | </td> |
| 118 | <td> |
| 119 | <?php esc_html_e('Yes', 'mailin_i18n' ); ?><input type="radio" <?php echo $checked1; ?> size="32" value="1" class="mailin_api_status" name="mailin_api_status"> |
| 120 | <?php esc_html_e('No', 'mailin_i18n' ); ?><input type="radio" <?php echo $checked2; ?> size="32" value="0" class="mailin_api_status" name="mailin_api_status"> |
| 121 | </td> |
| 122 | </tr> |
| 123 | |
| 124 | <tr valign="top" class="apikey"> |
| 125 | <td scope="row" style="width:250px; text-align:right;"><?php esc_html_e('API Key', 'mailin_i18n'); ?>:</td> |
| 126 | <td> |
| 127 | <input name="mailin_apikey" type="text" id="mailin_apikey" class="code" value="<?php echo esc_attr($api_key); ?>" size="32" /> |
| 128 | <span title="<?php esc_html_e('Please enter your API key from your Mailinblue account and if you donot have it yet, please go to www.mailinblue.com and subscribe. You can then get the API key from https://my.mailinblue.com/advanced/apikey', 'mailin_i18n' ); ?>" class="toolTip"> </span> |
| 129 | </td> |
| 130 | </tr> |
| 131 | <tr> |
| 132 | <td colspan="2"> |
| 133 | <input type="hidden" name="mailin_form_action" value="apikey_update"/> |
| 134 | <input type="submit" style="float: left; margin-left:260px;" name="Submit" value="<?php esc_attr_e('Validate & Save' , 'mailin_i18n');?>" class="button" /> |
| 135 | </td> |
| 136 | </tr> |
| 137 | </table> |
| 138 | </form> |
| 139 | </fieldset> |
| 140 | </div> |
| 141 |