Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram - Version 1.1.1

Version Description

Compatibility with W3TC and Localization

=

Download this release

Release Info

Developer niravmehta
Plugin Icon 128x128 Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1 to 1.1.1

about-icegram.php CHANGED
@@ -148,26 +148,26 @@ function icegram_support_ticket_content() {
148
  </script>
149
  <table id="icegram_post_query_table">
150
  <tr>
151
- <td><label for="client_name"><?php _e('Name', 'translate_icegram'); ?>*</label></td>
152
  <td><input type="text" class="regular-text sm_text_field" id="client_name" name="client_name" value="<?php echo $customer_name; ?>" /></td>
153
  </tr>
154
  <tr>
155
- <td><label for="client_email"><?php _e('E-mail', 'translate_icegram'); ?>*</label></td>
156
  <td><input type="email" class="regular-text sm_text_field" id="client_email" name="client_email" value="<?php echo $customer_email; ?>" /></td>
157
  </tr>
158
  <!--
159
  <tr>
160
- <td><label for="current_plugin"><?php _e('Product', 'translate_icegram'); ?></label></td>
161
  <td><input type="text" class="regular-text sm_text_field" id="current_plugin" name="current_plugin" value="<?php echo $this_plugins_version; ?>" readonly /></td>
162
  </tr>
163
  -->
164
  <input type="hidden" id="current_plugin" name="current_plugin" value="<?php echo $this_plugins_version; ?>" />
165
  <tr>
166
- <td><label for="subject"><?php _e('Subject', 'translate_icegram'); ?>*</label></td>
167
  <td><input type="text" class="regular-text sm_text_field" id="subject" name="subject" value="<?php echo ( !empty( $subject ) ) ? $subject : ''; ?>" /></td>
168
  </tr>
169
  <tr>
170
- <td style="vertical-align: top; padding-top: 12px;"><label for="message"><?php _e('Message', 'translate_icegram'); ?>*</label></td>
171
  <td><textarea id="message" name="message" rows="10" cols="60"><?php echo ( !empty( $message ) ) ? $message : ''; ?></textarea></td>
172
  </tr>
173
  <tr>
@@ -207,9 +207,9 @@ if ( !wp_script_is( 'thickbox' ) ) {
207
  ?>
208
  <div class="wrap about-wrap icegram">
209
 
210
- <h1><?php _e( "Welcome to Icegram", "translate_icegram" ); ?></h1>
211
  <div class="about-text icegram-about-text">
212
- <?php _e( "Your sample campaign is ready. We've added a few messages for you to test.", "translate_icegram" )?>
213
  <?php
214
  $sample_id = get_option('icegram_sample_data_imported');
215
  $view_campaign = admin_url( 'post.php?post='.$sample_id[0].'&action=edit' );
@@ -217,51 +217,51 @@ if ( !wp_script_is( 'thickbox' ) ) {
217
  $assets_base = $icegram->plugin_url . '/assets/images/';
218
  ?>
219
  <p class="icegram-actions">
220
- <a class="button button-primary button-large" href="<?php echo $view_campaign ; ?>"><?php _e( 'Edit & Publish it', 'translate_icegram' ); ?></a>
221
- <?php _e( "OR", "translate_icegram")?>
222
- <b><a href="<?php echo $preview_url; ?>" target="_blank"><?php _e( 'Preview Campaign', 'translate_icegram' ); ?></a></b>
223
  </p>
224
 
225
  </div>
226
 
227
  <div class="icegram-badge">
228
- <?php printf(__( "Version: %s", "translate_icegram"), $icegram_upgrader->plugin_data['Version'] ); ?>
229
  </div>
230
  <div class="icegram-support">
231
- <?php _e( 'Questions? Need Help?', "translate_icegram" ); ?>
232
- <div id="icegram-contact-us" class="icegram-contact-us"><a class="thickbox" href="<?php echo admin_url() . "#TB_inline?inlineId=icegram_post_query_form&post_type=icegram" ?>"><?php _e("Contact Us", "translate_icegram"); ?></a></div>
233
  </div>
234
  <hr>
235
  <div class="changelog">
236
 
237
  <div class="about-text">
238
- <?php _e("Do read Icegram's core concepts below to understand how you can use Icegram to inspire, convert and engage your audience.", "translate_icegram"); ?>
239
  </div>
240
 
241
  <div class="feature-section col three-col">
242
  <div class="col-1">
243
 
244
- <h2 class="icegram-dashicons dashicons-testimonial"><?php _e( "Messages", "translate_icegram" ); ?></h2>
245
  <!--<img src="//s.w.org/images/core/3.9/editor.jpg?0">-->
246
- <p><?php _e("A 'Message' is a communication you want to deliver to your audience.","translate_icegram"); ?></p>
247
- <p><?php _e("And Icegram comes with not one, but four message types.","translate_icegram"); ?></p>
248
- <p><?php _e("Different message types look and behave differently, but they all have many common characteristics. For instance, most message types will allow you to set a headline, a body text, label for the ‘call to action’ button, a link for that button, theme and styling options, animation effect and position on screen where that message should show.","translate_icegram"); ?></p>
249
  </div>
250
  <div class="col-2">
251
- <h4><?php _e("Action Bar", "translate_icegram"); ?></h4>
252
  <img src="<?php echo $assets_base; ?>/sketch-action-bar.png" width="180" height="145">
253
- <p><?php _e("An action bar is a proven attention grabber. It shows up as a solid bar either at top or bottom. Use it for your most important messages or time sensitive announcements. Put longer content in it and it acts like a collapsible panel!", "translate_icegram"); ?></p>
254
- <h4><?php _e("Messenger", "translate_icegram"); ?></h4>
255
  <img src="<?php echo $assets_base; ?>/sketch-messenger.png" width="180" height="145">
256
- <p><?php _e("A messenger is best used to invoke interest while your visitor is reading your content. Users perceive it as something new, important and urgent and are highly likely to click on it.", "translate_icegram"); ?></p>
257
  </div>
258
  <div class="col-3 last-feature">
259
- <h4><?php _e("Toast Notification", "translate_icegram"); ?></h4>
260
  <img src="<?php echo $assets_base; ?>/sketch-toast-notification.png" width="180" height="145">
261
- <p><?php _e("Want to alert your visitor about some news, an update from your blog, a social proof or an offer? Use Icegram’s unique toast notification, it will catch their attention, let them click on the message, and disappear after a while.", "translate_icegram"); ?></p>
262
- <h4><?php _e("Popup", "translate_icegram"); ?></h4>
263
  <img src="<?php echo $assets_base; ?>/sketch-popup.png" width="180" height="145">
264
- <p><?php _e("Lightbox popup windows are most widely used for lead capture, promotions and additional content display. Ask visitors to sign up to your newsletter, or like you on social networks, or tell them about a special offer...", "translate_icegram"); ?></p>
265
 
266
  </div>
267
  </div>
@@ -270,20 +270,20 @@ if ( !wp_script_is( 'thickbox' ) ) {
270
 
271
  <div class="feature-section col three-col">
272
  <div class="col-1">
273
- <h2 class="icegram-dashicons dashicons-megaphone"><?php _e("Campaigns", "translate_icegram"); ?></h2>
274
- <p><?php _e("Campaign = Messages + Rules", "translate_icegram"); ?></p>
275
- <p><?php _e("A campaign allows sequencing multiple messages and defining targeting rules. Create different campaigns for different marketing goals. Icegram supports showing multiple campaigns on any page.", "translate_icegram"); ?></p>
276
- <p><?php _e("You can always preview your campaign to ensure campaign works the way you want, before making it live.", "translate_icegram"); ?></p>
277
  </div>
278
  <div class="col-2">
279
- <h4><?php _e("Multiple Messages & Sequencing", "translate_icegram"); ?></h4>
280
  <img src="<?php echo $assets_base; ?>/sketch-multiple-sequence.png" width="180" height="145">
281
- <p><?php _e("Add one or as many messages to a campaign as you want. Also choose the number of seconds after which each message should show up. Showing multiple messages for same goal, but with slightly different content / presentation, greatly improves conversions.", "translate_icegram"); ?></p>
282
  </div>
283
  <div class="col-3 last-feature">
284
- <h4><?php _e("Targeting Rules", "translate_icegram"); ?></h4>
285
  <img src="<?php echo $assets_base; ?>/sketch-rules.png" width="180" height="145">
286
- <p><?php _e("You can control who sees a campaign – and on what device, which pages does it show on, and what time period will it stay active for. You can run different campaigns with different rules to maximize engagement.", "translate_icegram"); ?></p>
287
  </div>
288
  </div>
289
 
@@ -291,37 +291,37 @@ if ( !wp_script_is( 'thickbox' ) ) {
291
 
292
  <div class="feature-section col two-col">
293
  <div class="col-1">
294
- <h2 class="icegram-dashicons dashicons-editor-help"><?php _e("FAQ / Common Problems", "translate_icegram"); ?></h2>
295
 
296
- <h4><?php _e("Messages look broken / formatting is weird...", "translate_icegram"); ?></h4>
297
- <p><?php _e("This is most likely due to CSS conflicts with current theme. We suggest using simple formatting for messages. You can also write custom CSS in your theme to fix any problems.", "translate_icegram"); ?></p>
298
 
299
- <h4><?php _e("Extra Line Breaks / Paragraphs in messages...", "translate_icegram"); ?></h4>
300
- <p><?php _e("Go to HTML mode in content editor and pull your custom HTML code all together in one line. Don't leave blank lines between two tags. That should fix it.", "translate_icegram"); ?></p>
301
 
302
- <h4><?php _e("How do I add custom CSS for messages?", "translate_icegram"); ?></h4>
303
- <p><?php _e("You can use custom CSS/JS inline in your message HTML. You can also use your theme's custom JS / CSS feature to add your changes.", "translate_icegram"); ?></p>
304
 
305
- <h4><?php _e("Optin Forms / Mailing service integration...", "translate_icegram"); ?></h4>
306
- <p><?php _e("You can embed any optin / subscription form to your Icegram messages using HTML code. You may even use a shortcode if you are using a WP plugin from your newsletter / lead capture service.", "translate_icegram"); ?></p>
307
 
308
  </div>
309
  <div class="col-2 last-feature">
310
- <h4><?php _e("Preview does not work / not refreshing...", "translate_icegram"); ?></h4>
311
- <p><?php _e("Doing a browser refresh while previewing will not show your most recent changes. Click 'Preview' button to see a preview with your latest changes.", "translate_icegram"); ?></p>
312
 
313
- <h4><?php _e("Can I use shortcodes in a message?", "translate_icegram"); ?></h4>
314
- <p><?php _e("Yes! Messages support shortcodes. You may need to adjust CSS so the shortcode output looks good in your message.", "translate_icegram"); ?></p>
315
 
316
 
317
- <h4><?php _e("I can't find a way to do X...", "translate_icegram"); ?></h4>
318
- <p><?php _e("Icegram is actively developed. If you can't find your favorite feature (or have a suggestion) contact us. We'd love to hear from you.", "translate_icegram"); ?></p>
319
 
320
- <h4><?php _e("I'm facing a problem and can't find a way out...", "translate_icegram"); ?></h4>
321
- <p><a class="thickbox" href="<?php echo admin_url() . "#TB_inline?inlineId=icegram_post_query_form&post_type=icegram" ?>"><?php _e("Contact Us", "translate_icegram"); ?></a><?php _e(", provide as much detail of the problem as you can. We will try to solve the problem ASAP.", "translate_icegram"); ?></p>
322
 
323
- <h4><?php _e("", "translate_icegram"); ?></h4>
324
- <p><?php _e("", "translate_icegram"); ?></p>
325
  </div>
326
  </div>
327
 
148
  </script>
149
  <table id="icegram_post_query_table">
150
  <tr>
151
+ <td><label for="client_name"><?php _e('Name', 'icegram'); ?>*</label></td>
152
  <td><input type="text" class="regular-text sm_text_field" id="client_name" name="client_name" value="<?php echo $customer_name; ?>" /></td>
153
  </tr>
154
  <tr>
155
+ <td><label for="client_email"><?php _e('E-mail', 'icegram'); ?>*</label></td>
156
  <td><input type="email" class="regular-text sm_text_field" id="client_email" name="client_email" value="<?php echo $customer_email; ?>" /></td>
157
  </tr>
158
  <!--
159
  <tr>
160
+ <td><label for="current_plugin"><?php _e('Product', 'icegram'); ?></label></td>
161
  <td><input type="text" class="regular-text sm_text_field" id="current_plugin" name="current_plugin" value="<?php echo $this_plugins_version; ?>" readonly /></td>
162
  </tr>
163
  -->
164
  <input type="hidden" id="current_plugin" name="current_plugin" value="<?php echo $this_plugins_version; ?>" />
165
  <tr>
166
+ <td><label for="subject"><?php _e('Subject', 'icegram'); ?>*</label></td>
167
  <td><input type="text" class="regular-text sm_text_field" id="subject" name="subject" value="<?php echo ( !empty( $subject ) ) ? $subject : ''; ?>" /></td>
168
  </tr>
169
  <tr>
170
+ <td style="vertical-align: top; padding-top: 12px;"><label for="message"><?php _e('Message', 'icegram'); ?>*</label></td>
171
  <td><textarea id="message" name="message" rows="10" cols="60"><?php echo ( !empty( $message ) ) ? $message : ''; ?></textarea></td>
172
  </tr>
173
  <tr>
207
  ?>
208
  <div class="wrap about-wrap icegram">
209
 
210
+ <h1><?php _e( "Welcome to Icegram", "icegram" ); ?></h1>
211
  <div class="about-text icegram-about-text">
212
+ <?php _e( "Your sample campaign is ready. We've added a few messages for you to test.", "icegram" )?>
213
  <?php
214
  $sample_id = get_option('icegram_sample_data_imported');
215
  $view_campaign = admin_url( 'post.php?post='.$sample_id[0].'&action=edit' );
217
  $assets_base = $icegram->plugin_url . '/assets/images/';
218
  ?>
219
  <p class="icegram-actions">
220
+ <a class="button button-primary button-large" href="<?php echo $view_campaign ; ?>"><?php _e( 'Edit & Publish it', 'icegram' ); ?></a>
221
+ <?php _e( "OR", "icegram")?>
222
+ <b><a href="<?php echo $preview_url; ?>" target="_blank"><?php _e( 'Preview Campaign', 'icegram' ); ?></a></b>
223
  </p>
224
 
225
  </div>
226
 
227
  <div class="icegram-badge">
228
+ <?php printf(__( "Version: %s", "icegram"), $icegram_upgrader->plugin_data['Version'] ); ?>
229
  </div>
230
  <div class="icegram-support">
231
+ <?php _e( 'Questions? Need Help?', "icegram" ); ?>
232
+ <div id="icegram-contact-us" class="icegram-contact-us"><a class="thickbox" href="<?php echo admin_url() . "#TB_inline?inlineId=icegram_post_query_form&post_type=icegram" ?>"><?php _e("Contact Us", "icegram"); ?></a></div>
233
  </div>
234
  <hr>
235
  <div class="changelog">
236
 
237
  <div class="about-text">
238
+ <?php _e("Do read Icegram's core concepts below to understand how you can use Icegram to inspire, convert and engage your audience.", "icegram"); ?>
239
  </div>
240
 
241
  <div class="feature-section col three-col">
242
  <div class="col-1">
243
 
244
+ <h2 class="icegram-dashicons dashicons-testimonial"><?php _e( "Messages", "icegram" ); ?></h2>
245
  <!--<img src="//s.w.org/images/core/3.9/editor.jpg?0">-->
246
+ <p><?php _e("A 'Message' is a communication you want to deliver to your audience.","icegram"); ?></p>
247
+ <p><?php _e("And Icegram comes with not one, but four message types.","icegram"); ?></p>
248
+ <p><?php _e("Different message types look and behave differently, but they all have many common characteristics. For instance, most message types will allow you to set a headline, a body text, label for the ‘call to action’ button, a link for that button, theme and styling options, animation effect and position on screen where that message should show.","icegram"); ?></p>
249
  </div>
250
  <div class="col-2">
251
+ <h4><?php _e("Action Bar", "icegram"); ?></h4>
252
  <img src="<?php echo $assets_base; ?>/sketch-action-bar.png" width="180" height="145">
253
+ <p><?php _e("An action bar is a proven attention grabber. It shows up as a solid bar either at top or bottom. Use it for your most important messages or time sensitive announcements. Put longer content in it and it acts like a collapsible panel!", "icegram"); ?></p>
254
+ <h4><?php _e("Messenger", "icegram"); ?></h4>
255
  <img src="<?php echo $assets_base; ?>/sketch-messenger.png" width="180" height="145">
256
+ <p><?php _e("A messenger is best used to invoke interest while your visitor is reading your content. Users perceive it as something new, important and urgent and are highly likely to click on it.", "icegram"); ?></p>
257
  </div>
258
  <div class="col-3 last-feature">
259
+ <h4><?php _e("Toast Notification", "icegram"); ?></h4>
260
  <img src="<?php echo $assets_base; ?>/sketch-toast-notification.png" width="180" height="145">
261
+ <p><?php _e("Want to alert your visitor about some news, an update from your blog, a social proof or an offer? Use Icegram’s unique toast notification, it will catch their attention, let them click on the message, and disappear after a while.", "icegram"); ?></p>
262
+ <h4><?php _e("Popup", "icegram"); ?></h4>
263
  <img src="<?php echo $assets_base; ?>/sketch-popup.png" width="180" height="145">
264
+ <p><?php _e("Lightbox popup windows are most widely used for lead capture, promotions and additional content display. Ask visitors to sign up to your newsletter, or like you on social networks, or tell them about a special offer...", "icegram"); ?></p>
265
 
266
  </div>
267
  </div>
270
 
271
  <div class="feature-section col three-col">
272
  <div class="col-1">
273
+ <h2 class="icegram-dashicons dashicons-megaphone"><?php _e("Campaigns", "icegram"); ?></h2>
274
+ <p><?php _e("Campaign = Messages + Rules", "icegram"); ?></p>
275
+ <p><?php _e("A campaign allows sequencing multiple messages and defining targeting rules. Create different campaigns for different marketing goals. Icegram supports showing multiple campaigns on any page.", "icegram"); ?></p>
276
+ <p><?php _e("You can always preview your campaign to ensure campaign works the way you want, before making it live.", "icegram"); ?></p>
277
  </div>
278
  <div class="col-2">
279
+ <h4><?php _e("Multiple Messages & Sequencing", "icegram"); ?></h4>
280
  <img src="<?php echo $assets_base; ?>/sketch-multiple-sequence.png" width="180" height="145">
281
+ <p><?php _e("Add one or as many messages to a campaign as you want. Also choose the number of seconds after which each message should show up. Showing multiple messages for same goal, but with slightly different content / presentation, greatly improves conversions.", "icegram"); ?></p>
282
  </div>
283
  <div class="col-3 last-feature">
284
+ <h4><?php _e("Targeting Rules", "icegram"); ?></h4>
285
  <img src="<?php echo $assets_base; ?>/sketch-rules.png" width="180" height="145">
286
+ <p><?php _e("You can control who sees a campaign – and on what device, which pages does it show on, and what time period will it stay active for. You can run different campaigns with different rules to maximize engagement.", "icegram"); ?></p>
287
  </div>
288
  </div>
289
 
291
 
292
  <div class="feature-section col two-col">
293
  <div class="col-1">
294
+ <h2 class="icegram-dashicons dashicons-editor-help"><?php _e("FAQ / Common Problems", "icegram"); ?></h2>
295
 
296
+ <h4><?php _e("Messages look broken / formatting is weird...", "icegram"); ?></h4>
297
+ <p><?php _e("This is most likely due to CSS conflicts with current theme. We suggest using simple formatting for messages. You can also write custom CSS in your theme to fix any problems.", "icegram"); ?></p>
298
 
299
+ <h4><?php _e("Extra Line Breaks / Paragraphs in messages...", "icegram"); ?></h4>
300
+ <p><?php _e("Go to HTML mode in content editor and pull your custom HTML code all together in one line. Don't leave blank lines between two tags. That should fix it.", "icegram"); ?></p>
301
 
302
+ <h4><?php _e("How do I add custom CSS for messages?", "icegram"); ?></h4>
303
+ <p><?php _e("You can use custom CSS/JS inline in your message HTML. You can also use your theme's custom JS / CSS feature to add your changes.", "icegram"); ?></p>
304
 
305
+ <h4><?php _e("Optin Forms / Mailing service integration...", "icegram"); ?></h4>
306
+ <p><?php _e("You can embed any optin / subscription form to your Icegram messages using HTML code. You may even use a shortcode if you are using a WP plugin from your newsletter / lead capture service.", "icegram"); ?></p>
307
 
308
  </div>
309
  <div class="col-2 last-feature">
310
+ <h4><?php _e("Preview does not work / not refreshing...", "icegram"); ?></h4>
311
+ <p><?php _e("Doing a browser refresh while previewing will not show your most recent changes. Click 'Preview' button to see a preview with your latest changes.", "icegram"); ?></p>
312
 
313
+ <h4><?php _e("Can I use shortcodes in a message?", "icegram"); ?></h4>
314
+ <p><?php _e("Yes! Messages support shortcodes. You may need to adjust CSS so the shortcode output looks good in your message.", "icegram"); ?></p>
315
 
316
 
317
+ <h4><?php _e("I can't find a way to do X...", "icegram"); ?></h4>
318
+ <p><?php _e("Icegram is actively developed. If you can't find your favorite feature (or have a suggestion) contact us. We'd love to hear from you.", "icegram"); ?></p>
319
 
320
+ <h4><?php _e("I'm facing a problem and can't find a way out...", "icegram"); ?></h4>
321
+ <p><a class="thickbox" href="<?php echo admin_url() . "#TB_inline?inlineId=icegram_post_query_form&post_type=icegram" ?>"><?php _e("Contact Us", "icegram"); ?></a><?php _e(", provide as much detail of the problem as you can. We will try to solve the problem ASAP.", "icegram"); ?></p>
322
 
323
+ <h4><?php _e("", "icegram"); ?></h4>
324
+ <p><?php _e("", "icegram"); ?></p>
325
  </div>
326
  </div>
327
 
assets/css/messenger/canvas.css CHANGED
@@ -2,7 +2,6 @@
2
  display: block;
3
  position: fixed;
4
  cursor: pointer;
5
- background: #FFF;
6
  z-index: 100000;
7
  margin: 0;
8
  padding: 0;
@@ -16,6 +15,7 @@
16
  overflow: hidden;
17
  -webkit-box-shadow: 0 0.15em 0.35em 0 rgba(0, 0, 0, 0.135);
18
  box-shadow: 0 0.15em 0.35em 0 rgba(0, 0, 0, 0.13);
 
19
  }
20
 
21
  .canvas .popup_box_header_image, .canvas .popup_box_header2_image {
2
  display: block;
3
  position: fixed;
4
  cursor: pointer;
 
5
  z-index: 100000;
6
  margin: 0;
7
  padding: 0;
15
  overflow: hidden;
16
  -webkit-box-shadow: 0 0.15em 0.35em 0 rgba(0, 0, 0, 0.135);
17
  box-shadow: 0 0.15em 0.35em 0 rgba(0, 0, 0, 0.13);
18
+ background: #FFF;
19
  }
20
 
21
  .canvas .popup_box_header_image, .canvas .popup_box_header2_image {
classes/class-wp-campaign.php CHANGED
@@ -64,20 +64,20 @@ class WP_Campaign {
64
 
65
  function add_campaigns_metaboxes() {
66
 
67
- $meta_box_title = '<label class="options_header" for="icegram_messages">' . __( 'Message &mdash; ', 'translate_icegram' ) . '</label>
68
- <select id="icegram_messages" name="icegram_messages[]" class="ajax_chosen_select_messages" data-placeholder="' . __( 'Search to add / Create new&hellip;', 'translate_icegram' ) . '">';
69
 
70
  $promotype = apply_filters( 'icegram_all_message_type', array() );
71
  $meta_box_title .= '<option value=""></option>';
72
  foreach ( $promotype as $key => $value ) {
73
- $meta_box_title .= '<option value="'.$key.'">'.__( 'Create new', 'translate_icegram' ).' '.$value.' ...</option>';
74
  }
75
 
76
  $meta_box_title .= '</select>';
77
  $meta_box_title .= '<div class="button button-primary campaign_preview" value="' . home_url() . '">' . __( 'Preview' ) . '</div>';
78
 
79
  add_meta_box( 'campaign_data', $meta_box_title, array( &$this, 'campaign_data_content' ), 'campaign', 'normal', 'high' );
80
- add_meta_box( 'campaign_target_rules', __( 'Targeting Rules <em>Messages in this campaign will be shown when all these rules match...</em>', 'translate_icegram' ), array( &$this, 'campaign_target_rules_content' ), 'campaign', 'normal' );
81
 
82
  }
83
 
@@ -109,16 +109,16 @@ class WP_Campaign {
109
  </td>
110
  <td class="message_title">
111
  <div class="message-title-text"><?php echo $message_title; ?></div>
112
- <input type="text" class="message-title-input" name="message_data[<?php echo $message['id']; ?>][post_title]" value="<?php echo $message_title; ?>" placeholder="<?php echo __( 'Give this message a name for your own reference', 'translate_icegram' ); ?>" style="display: none;">
113
  </td>
114
  <td class="message_seconds">
115
  <input type="hidden" name="messages[<?php echo $row; ?>][id]" value="<?php echo $message['id']; ?>" />
116
  <input type="number" class="seconds-text" name="messages[<?php echo $row; ?>][time]" min="0" value="<?php echo ( !empty( $message['time'] ) ) ? $message['time'] : 0; ?>" size="3" />
117
- <?php _e( ' sec', 'translate_icegram' )?>
118
  </td>
119
  <td class="action_links">
120
- <span class="actions message_edit" title="<?php _e( 'Edit Message', 'translate_icegram' ); ?>" ></span>
121
- <span class="actions message_delete" title="<?php _e( 'Remove from Campaign', 'translate_icegram' ); ?>" ></span>
122
  </td>
123
  </tr>
124
  <tr id="message_row_<?php echo $message['id']; ?>" class="message-edit-row" style="display: none;">
@@ -136,7 +136,7 @@ class WP_Campaign {
136
  </table>
137
  <div class="empty_campaign">
138
  <?php
139
- echo __( 'No messages yet. Use search / create bar above to add messages to this campaign.', 'translate_icegram' );
140
  ?>
141
  </div>
142
  </div>
@@ -195,11 +195,11 @@ class WP_Campaign {
195
  $found_messages[ $post ] = $promo_type . ' &mdash; ' . $message_title;
196
 
197
  }
198
- $found_messages[''] = __( '- - - - - - - - - - - - - - - - - - - - - - - - - -', 'translate_icegram' );
199
  }
200
 
201
  foreach ( $promotype as $key => $value ) {
202
- $found_messages[ $key ] = __( 'Create new', 'translate_icegram' ) . ' ' . $value . ' ...';
203
  }
204
  ob_clean();
205
  echo json_encode( $found_messages );
@@ -212,10 +212,10 @@ class WP_Campaign {
212
  ?>
213
  <thead>
214
  <tr class="form-field message-row-header">
215
- <th class="message_header"><?php _e( 'Type', 'translate_icegram' ); ?></th>
216
- <th class="message_title"><?php _e( 'Name', 'translate_icegram' ); ?></th>
217
- <th class="message_seconds"><?php _e( 'Show after', 'translate_icegram' ); ?></th>
218
- <th class="action_links"><?php _e( 'Actions', 'translate_icegram' ); ?></th>
219
  </tr>
220
  </thead>
221
  <?php
@@ -252,15 +252,15 @@ class WP_Campaign {
252
  </td>
253
  <td class="message_title">
254
  <div class="message-title-text" style="display:none;"><?php echo $message_title; ?></div>
255
- <input type="text" class="message-title-input" name="message_data[<?php echo $message_id; ?>][post_title]" value="<?php echo $message_title; ?>" placeholder="<?php echo __( 'Give this message a name for your own reference', 'translate_icegram' ); ?>">
256
  </td>
257
  <td class="message_seconds">
258
  <input type="hidden" name="messages[<?php echo $_POST['row']; ?>][id]" value="<?php echo $message_id; ?>" />
259
- <input type="number" class="seconds-text" name="messages[<?php echo $_POST['row']; ?>][time]" min="0" value="0" size="3" /><?php _e( ' sec', 'translate_icegram' )?>
260
  </td>
261
  <td class="action_links">
262
- <span class="actions message_edit" title="<?php _e( 'Edit Message', 'translate_icegram' ); ?>" ></span>
263
- <span class="actions message_delete" title="<?php _e( 'Remove from Campaign', 'translate_icegram' ); ?>" ></span>
264
  </td>
265
  </tr>
266
  <tr id="message_row_<?php echo $message_id; ?>" class="message-edit-row">
@@ -290,30 +290,30 @@ class WP_Campaign {
290
  <div class="campaign_target_rules_panel">
291
  <div class="options_group" id="campaign_target_rules_where">
292
  <p class="form-field">
293
- <label class="options_header"><?php _e( 'Where?', 'translate_icegram' ); ?></label>
294
  <label for="where_sitewide">
295
  <input type="checkbox" name="campaign_target_rules[sitewide]" id="where_sitewide" value="yes" <?php ( !empty( $campaign_target_rules['sitewide'] ) ) ? checked( $campaign_target_rules['sitewide'], 'yes' ) : ''; ?> />
296
- <?php _e( 'Sitewide', 'translate_icegram' ); ?>
297
  </label>
298
  </p>
299
  <p class="form-field">
300
  <label class="options_header">&nbsp;</label>
301
  <label for="where_homepage">
302
  <input type="checkbox" name="campaign_target_rules[homepage]" id="where_homepage" value="yes" <?php ( !empty( $campaign_target_rules['homepage'] ) ) ? checked( $campaign_target_rules['homepage'], 'yes' ) : ''; ?> />
303
- <?php _e( 'Homepage', 'translate_icegram' ); ?>
304
  </label>
305
  </p>
306
  <p class="form-field">
307
  <label class="options_header">&nbsp;</label>
308
  <label for="where_other_page">
309
  <input type="checkbox" name="campaign_target_rules[other_page]" id="where_other_page" value="yes" <?php ( !empty( $campaign_target_rules['other_page'] ) ) ? checked( $campaign_target_rules['other_page'], 'yes' ) : ''; ?> />
310
- <?php _e( 'Selected pages', 'translate_icegram' ); ?>
311
  </label>
312
  </p>
313
  <p class="form-field" <?php echo ( !empty( $campaign_target_rules['other_page'] ) && $campaign_target_rules['other_page'] == 'yes' ) ? '' : 'style="display: none;"'; ?>>
314
  <label class="options_header">&nbsp;</label>
315
  <?php
316
- echo '<select name="page_id[]" id="where_page_id" data-placeholder="' . __( 'Select a page&hellip;', 'translate_icegram' ) . '" style="min-width:300px;" class="icegram_chosen_page" multiple>';
317
  foreach ( get_pages() as $page ) {
318
  echo '<option value="' . $page->ID . '"';
319
  if( !empty( $campaign_target_rules['page_id'] ) ) {
@@ -327,29 +327,29 @@ class WP_Campaign {
327
  <p class="form-field">
328
  <label class="campaign_shortcode">
329
  <span class="shortcode_description admin_field_icon"></span>
330
- <?php echo sprintf(__( 'Additionally you can insert <code>[%s]</code> wherever you want to run this campaign.', 'translate_icegram' ), 'icegram campaigns="' .$post->ID . '"' ); ?>
331
  </label>
332
  </p>
333
  </div>
334
  <div class="options_group" id="campaign_target_rules_when">
335
  <p class="form-field">
336
- <label class="options_header"><?php _e( 'When?', 'translate_icegram' ); ?></label>
337
  <label for="when_always">
338
  <input type="radio" class="schedule_rule" name="campaign_target_rules[when]" id="when_always" value="always" <?php ( !empty( $campaign_target_rules['when'] ) ) ? checked( $campaign_target_rules['when'], 'always' ) : ''; ?> />
339
- <?php _e( 'Always', 'translate_icegram' ); ?>
340
  </label>
341
  </p>
342
  <p class="form-field">
343
  <label class="options_header">&nbsp;</label>
344
  <label for="when_schedule">
345
  <input type="radio" class="schedule_rule" name="campaign_target_rules[when]" id="when_schedule" value="schedule" <?php ( !empty( $campaign_target_rules['when'] ) ) ? checked( $campaign_target_rules['when'], 'schedule' ) : ''; ?> />
346
- <?php _e( 'Schedule', 'translate_icegram' ); ?>
347
  <span class="form-field" id="date_picker" <?php echo ( !empty( $campaign_target_rules['when'] ) && $campaign_target_rules['when'] == 'schedule' ) ? '' : 'style="display: none;"'; ?>>
348
  <label class="date_picker">
349
- <input type="text" class="date-picker" name="campaign_target_rules[from]" value="<?php echo ( !empty( $campaign_target_rules['from'] ) ) ? $campaign_target_rules['from'] : ''; ?>" placeholder="<?php _e( 'From&hellip;', 'translate_icegram' );?>" />
350
  </label>
351
  <label class="date_picker">
352
- <input type="text" class="date-picker" name="campaign_target_rules[to]" value="<?php echo ( !empty( $campaign_target_rules['to'] ) ) ? $campaign_target_rules['to'] : ''; ?>" placeholder="<?php _e( 'To&hellip;', 'translate_icegram' );?>" />
353
  </label>
354
  </span>
355
  </label>
@@ -357,16 +357,16 @@ class WP_Campaign {
357
  </div>
358
  <div class="options_group" id="campaign_target_rules_device">
359
  <p class="form-field">
360
- <label class="options_header"><?php _e( 'Device?', 'translate_icegram' ); ?></label>
361
- <label for="device_mobile" class="device" title="<?php _e( 'Mobile / Smartphones', 'translate_icegram' ); ?>">
362
  <input type="checkbox" name="campaign_target_rules[mobile]" id="device_mobile" value="yes" <?php ( !empty( $campaign_target_rules['mobile'] ) ) ? checked( $campaign_target_rules['mobile'], 'yes' ) : ''; ?> />
363
  <span class="device_mobile"></span>
364
  </label>
365
- <label for="device_tablet" class="device" title="<?php _e( 'Tablet', 'translate_icegram' ); ?>">
366
  <input type="checkbox" name="campaign_target_rules[tablet]" id="device_tablet" value="yes" <?php ( !empty( $campaign_target_rules['tablet'] ) ) ? checked( $campaign_target_rules['tablet'], 'yes' ) : ''; ?> />
367
  <span class="device_tablet"></span>
368
  </label>
369
- <label for="device_laptop" class="device" title="<?php _e( 'Desktop / Laptop', 'translate_icegram' ); ?>">
370
  <input type="checkbox" name="campaign_target_rules[laptop]" id="device_laptop" value="yes" <?php ( !empty( $campaign_target_rules['laptop'] ) ) ? checked( $campaign_target_rules['laptop'], 'yes' ) : ''; ?> />
371
  <span class="device_laptop"></span>
372
  </label>
@@ -374,17 +374,17 @@ class WP_Campaign {
374
  </div>
375
  <div class="options_group" id="campaign_target_rules_users">
376
  <p class="form-field">
377
- <label class="options_header"><?php _e( 'Who?', 'translate_icegram' ); ?></label>
378
  <label for="users_all">
379
  <input type="radio" name="campaign_target_rules[logged_in]" id="users_all" value="all" <?php ( !empty( $campaign_target_rules['logged_in'] ) ) ? checked( $campaign_target_rules['logged_in'], 'all' ) : ''; ?> />
380
- <?php _e( 'All users', 'translate_icegram' ); ?>
381
  </label>
382
  </p>
383
  <p class="form-field">
384
  <label class="options_header">&nbsp;</label>
385
  <label for="users_logged_in">
386
  <input type="radio" name="campaign_target_rules[logged_in]" id="users_logged_in" value="logged_in" <?php ( !empty( $campaign_target_rules['logged_in'] ) ) ? checked( $campaign_target_rules['logged_in'], 'logged_in' ) : ''; ?> />
387
- <?php _e( 'Logged in users only', 'translate_icegram' ); ?>
388
  </label>
389
  </p>
390
  <div class="user_roles">
@@ -402,7 +402,7 @@ class WP_Campaign {
402
  $wp_roles = new WP_Roles();
403
  $roles = $wp_roles->get_names();
404
 
405
- echo '<select name="campaign_target_rules[users][]" id="users_roles" data-placeholder="' . __( 'Select a user role&hellip;', 'translate_icegram' ) . '" style="min-width:300px;" class="icegram_chosen_page" multiple>';
406
  foreach ( $roles as $role_value => $role_name ) {
407
  echo '<option value="' . $role_value . '"';
408
  if( !empty( $campaign_target_rules['users'] ) ) {
@@ -417,10 +417,10 @@ class WP_Campaign {
417
  </div>
418
  <div class="options_group" id="campaign_target_rules_retrageting">
419
  <p class="form-field">
420
- <label class="options_header"><?php _e( 'Retargeting', 'translate_icegram' ); ?></label>
421
  <label for="retargeting">
422
  <input type="checkbox" name="campaign_target_rules[retargeting]" id="retargeting" value="yes" <?php ( !empty( $campaign_target_rules['retargeting'] ) ) ? checked( $campaign_target_rules['retargeting'], 'yes' ) : ''; ?> />
423
- <?php _e( 'Once shown, do NOT show a message again for current session', 'translate_icegram' ); ?>
424
  </label>
425
  </p>
426
  </div>
64
 
65
  function add_campaigns_metaboxes() {
66
 
67
+ $meta_box_title = '<label class="options_header" for="icegram_messages">' . __( 'Message &mdash; ', 'icegram' ) . '</label>
68
+ <select id="icegram_messages" name="icegram_messages[]" class="ajax_chosen_select_messages" data-placeholder="' . __( 'Search to add / Create new&hellip;', 'icegram' ) . '">';
69
 
70
  $promotype = apply_filters( 'icegram_all_message_type', array() );
71
  $meta_box_title .= '<option value=""></option>';
72
  foreach ( $promotype as $key => $value ) {
73
+ $meta_box_title .= '<option value="'.$key.'">'.__( 'Create new', 'icegram' ).' '.$value.' ...</option>';
74
  }
75
 
76
  $meta_box_title .= '</select>';
77
  $meta_box_title .= '<div class="button button-primary campaign_preview" value="' . home_url() . '">' . __( 'Preview' ) . '</div>';
78
 
79
  add_meta_box( 'campaign_data', $meta_box_title, array( &$this, 'campaign_data_content' ), 'campaign', 'normal', 'high' );
80
+ add_meta_box( 'campaign_target_rules', __( 'Targeting Rules <em>Messages in this campaign will be shown when all these rules match...</em>', 'icegram' ), array( &$this, 'campaign_target_rules_content' ), 'campaign', 'normal' );
81
 
82
  }
83
 
109
  </td>
110
  <td class="message_title">
111
  <div class="message-title-text"><?php echo $message_title; ?></div>
112
+ <input type="text" class="message-title-input" name="message_data[<?php echo $message['id']; ?>][post_title]" value="<?php echo $message_title; ?>" placeholder="<?php echo __( 'Give this message a name for your own reference', 'icegram' ); ?>" style="display: none;">
113
  </td>
114
  <td class="message_seconds">
115
  <input type="hidden" name="messages[<?php echo $row; ?>][id]" value="<?php echo $message['id']; ?>" />
116
  <input type="number" class="seconds-text" name="messages[<?php echo $row; ?>][time]" min="0" value="<?php echo ( !empty( $message['time'] ) ) ? $message['time'] : 0; ?>" size="3" />
117
+ <?php _e( ' sec', 'icegram' )?>
118
  </td>
119
  <td class="action_links">
120
+ <span class="actions message_edit" title="<?php _e( 'Edit Message', 'icegram' ); ?>" ></span>
121
+ <span class="actions message_delete" title="<?php _e( 'Remove from Campaign', 'icegram' ); ?>" ></span>
122
  </td>
123
  </tr>
124
  <tr id="message_row_<?php echo $message['id']; ?>" class="message-edit-row" style="display: none;">
136
  </table>
137
  <div class="empty_campaign">
138
  <?php
139
+ echo __( 'No messages yet. Use search / create bar above to add messages to this campaign.', 'icegram' );
140
  ?>
141
  </div>
142
  </div>
195
  $found_messages[ $post ] = $promo_type . ' &mdash; ' . $message_title;
196
 
197
  }
198
+ $found_messages[''] = __( '- - - - - - - - - - - - - - - - - - - - - - - - - -', 'icegram' );
199
  }
200
 
201
  foreach ( $promotype as $key => $value ) {
202
+ $found_messages[ $key ] = __( 'Create new', 'icegram' ) . ' ' . $value . ' ...';
203
  }
204
  ob_clean();
205
  echo json_encode( $found_messages );
212
  ?>
213
  <thead>
214
  <tr class="form-field message-row-header">
215
+ <th class="message_header"><?php _e( 'Type', 'icegram' ); ?></th>
216
+ <th class="message_title"><?php _e( 'Name', 'icegram' ); ?></th>
217
+ <th class="message_seconds"><?php _e( 'Show after', 'icegram' ); ?></th>
218
+ <th class="action_links"><?php _e( 'Actions', 'icegram' ); ?></th>
219
  </tr>
220
  </thead>
221
  <?php
252
  </td>
253
  <td class="message_title">
254
  <div class="message-title-text" style="display:none;"><?php echo $message_title; ?></div>
255
+ <input type="text" class="message-title-input" name="message_data[<?php echo $message_id; ?>][post_title]" value="<?php echo $message_title; ?>" placeholder="<?php echo __( 'Give this message a name for your own reference', 'icegram' ); ?>">
256
  </td>
257
  <td class="message_seconds">
258
  <input type="hidden" name="messages[<?php echo $_POST['row']; ?>][id]" value="<?php echo $message_id; ?>" />
259
+ <input type="number" class="seconds-text" name="messages[<?php echo $_POST['row']; ?>][time]" min="0" value="0" size="3" /><?php _e( ' sec', 'icegram' )?>
260
  </td>
261
  <td class="action_links">
262
+ <span class="actions message_edit" title="<?php _e( 'Edit Message', 'icegram' ); ?>" ></span>
263
+ <span class="actions message_delete" title="<?php _e( 'Remove from Campaign', 'icegram' ); ?>" ></span>
264
  </td>
265
  </tr>
266
  <tr id="message_row_<?php echo $message_id; ?>" class="message-edit-row">
290
  <div class="campaign_target_rules_panel">
291
  <div class="options_group" id="campaign_target_rules_where">
292
  <p class="form-field">
293
+ <label class="options_header"><?php _e( 'Where?', 'icegram' ); ?></label>
294
  <label for="where_sitewide">
295
  <input type="checkbox" name="campaign_target_rules[sitewide]" id="where_sitewide" value="yes" <?php ( !empty( $campaign_target_rules['sitewide'] ) ) ? checked( $campaign_target_rules['sitewide'], 'yes' ) : ''; ?> />
296
+ <?php _e( 'Sitewide', 'icegram' ); ?>
297
  </label>
298
  </p>
299
  <p class="form-field">
300
  <label class="options_header">&nbsp;</label>
301
  <label for="where_homepage">
302
  <input type="checkbox" name="campaign_target_rules[homepage]" id="where_homepage" value="yes" <?php ( !empty( $campaign_target_rules['homepage'] ) ) ? checked( $campaign_target_rules['homepage'], 'yes' ) : ''; ?> />
303
+ <?php _e( 'Homepage', 'icegram' ); ?>
304
  </label>
305
  </p>
306
  <p class="form-field">
307
  <label class="options_header">&nbsp;</label>
308
  <label for="where_other_page">
309
  <input type="checkbox" name="campaign_target_rules[other_page]" id="where_other_page" value="yes" <?php ( !empty( $campaign_target_rules['other_page'] ) ) ? checked( $campaign_target_rules['other_page'], 'yes' ) : ''; ?> />
310
+ <?php _e( 'Selected pages', 'icegram' ); ?>
311
  </label>
312
  </p>
313
  <p class="form-field" <?php echo ( !empty( $campaign_target_rules['other_page'] ) && $campaign_target_rules['other_page'] == 'yes' ) ? '' : 'style="display: none;"'; ?>>
314
  <label class="options_header">&nbsp;</label>
315
  <?php
316
+ echo '<select name="page_id[]" id="where_page_id" data-placeholder="' . __( 'Select a page&hellip;', 'icegram' ) . '" style="min-width:300px;" class="icegram_chosen_page" multiple>';
317
  foreach ( get_pages() as $page ) {
318
  echo '<option value="' . $page->ID . '"';
319
  if( !empty( $campaign_target_rules['page_id'] ) ) {
327
  <p class="form-field">
328
  <label class="campaign_shortcode">
329
  <span class="shortcode_description admin_field_icon"></span>
330
+ <?php echo sprintf(__( 'Additionally you can insert <code>[%s]</code> wherever you want to run this campaign.', 'icegram' ), 'icegram campaigns="' .$post->ID . '"' ); ?>
331
  </label>
332
  </p>
333
  </div>
334
  <div class="options_group" id="campaign_target_rules_when">
335
  <p class="form-field">
336
+ <label class="options_header"><?php _e( 'When?', 'icegram' ); ?></label>
337
  <label for="when_always">
338
  <input type="radio" class="schedule_rule" name="campaign_target_rules[when]" id="when_always" value="always" <?php ( !empty( $campaign_target_rules['when'] ) ) ? checked( $campaign_target_rules['when'], 'always' ) : ''; ?> />
339
+ <?php _e( 'Always', 'icegram' ); ?>
340
  </label>
341
  </p>
342
  <p class="form-field">
343
  <label class="options_header">&nbsp;</label>
344
  <label for="when_schedule">
345
  <input type="radio" class="schedule_rule" name="campaign_target_rules[when]" id="when_schedule" value="schedule" <?php ( !empty( $campaign_target_rules['when'] ) ) ? checked( $campaign_target_rules['when'], 'schedule' ) : ''; ?> />
346
+ <?php _e( 'Schedule', 'icegram' ); ?>
347
  <span class="form-field" id="date_picker" <?php echo ( !empty( $campaign_target_rules['when'] ) && $campaign_target_rules['when'] == 'schedule' ) ? '' : 'style="display: none;"'; ?>>
348
  <label class="date_picker">
349
+ <input type="text" class="date-picker" name="campaign_target_rules[from]" value="<?php echo ( !empty( $campaign_target_rules['from'] ) ) ? $campaign_target_rules['from'] : ''; ?>" placeholder="<?php _e( 'From&hellip;', 'icegram' );?>" />
350
  </label>
351
  <label class="date_picker">
352
+ <input type="text" class="date-picker" name="campaign_target_rules[to]" value="<?php echo ( !empty( $campaign_target_rules['to'] ) ) ? $campaign_target_rules['to'] : ''; ?>" placeholder="<?php _e( 'To&hellip;', 'icegram' );?>" />
353
  </label>
354
  </span>
355
  </label>
357
  </div>
358
  <div class="options_group" id="campaign_target_rules_device">
359
  <p class="form-field">
360
+ <label class="options_header"><?php _e( 'Device?', 'icegram' ); ?></label>
361
+ <label for="device_mobile" class="device" title="<?php _e( 'Mobile / Smartphones', 'icegram' ); ?>">
362
  <input type="checkbox" name="campaign_target_rules[mobile]" id="device_mobile" value="yes" <?php ( !empty( $campaign_target_rules['mobile'] ) ) ? checked( $campaign_target_rules['mobile'], 'yes' ) : ''; ?> />
363
  <span class="device_mobile"></span>
364
  </label>
365
+ <label for="device_tablet" class="device" title="<?php _e( 'Tablet', 'icegram' ); ?>">
366
  <input type="checkbox" name="campaign_target_rules[tablet]" id="device_tablet" value="yes" <?php ( !empty( $campaign_target_rules['tablet'] ) ) ? checked( $campaign_target_rules['tablet'], 'yes' ) : ''; ?> />
367
  <span class="device_tablet"></span>
368
  </label>
369
+ <label for="device_laptop" class="device" title="<?php _e( 'Desktop / Laptop', 'icegram' ); ?>">
370
  <input type="checkbox" name="campaign_target_rules[laptop]" id="device_laptop" value="yes" <?php ( !empty( $campaign_target_rules['laptop'] ) ) ? checked( $campaign_target_rules['laptop'], 'yes' ) : ''; ?> />
371
  <span class="device_laptop"></span>
372
  </label>
374
  </div>
375
  <div class="options_group" id="campaign_target_rules_users">
376
  <p class="form-field">
377
+ <label class="options_header"><?php _e( 'Who?', 'icegram' ); ?></label>
378
  <label for="users_all">
379
  <input type="radio" name="campaign_target_rules[logged_in]" id="users_all" value="all" <?php ( !empty( $campaign_target_rules['logged_in'] ) ) ? checked( $campaign_target_rules['logged_in'], 'all' ) : ''; ?> />
380
+ <?php _e( 'All users', 'icegram' ); ?>
381
  </label>
382
  </p>
383
  <p class="form-field">
384
  <label class="options_header">&nbsp;</label>
385
  <label for="users_logged_in">
386
  <input type="radio" name="campaign_target_rules[logged_in]" id="users_logged_in" value="logged_in" <?php ( !empty( $campaign_target_rules['logged_in'] ) ) ? checked( $campaign_target_rules['logged_in'], 'logged_in' ) : ''; ?> />
387
+ <?php _e( 'Logged in users only', 'icegram' ); ?>
388
  </label>
389
  </p>
390
  <div class="user_roles">
402
  $wp_roles = new WP_Roles();
403
  $roles = $wp_roles->get_names();
404
 
405
+ echo '<select name="campaign_target_rules[users][]" id="users_roles" data-placeholder="' . __( 'Select a user role&hellip;', 'icegram' ) . '" style="min-width:300px;" class="icegram_chosen_page" multiple>';
406
  foreach ( $roles as $role_value => $role_name ) {
407
  echo '<option value="' . $role_value . '"';
408
  if( !empty( $campaign_target_rules['users'] ) ) {
417
  </div>
418
  <div class="options_group" id="campaign_target_rules_retrageting">
419
  <p class="form-field">
420
+ <label class="options_header"><?php _e( 'Retargeting', 'icegram' ); ?></label>
421
  <label for="retargeting">
422
  <input type="checkbox" name="campaign_target_rules[retargeting]" id="retargeting" value="yes" <?php ( !empty( $campaign_target_rules['retargeting'] ) ) ? checked( $campaign_target_rules['retargeting'], 'yes' ) : ''; ?> />
423
+ <?php _e( 'Once shown, do NOT show a message again for current session', 'icegram' ); ?>
424
  </label>
425
  </p>
426
  </div>
classes/class-wp-message.php CHANGED
@@ -69,9 +69,9 @@ class WP_Message {
69
  $date = $existing_columns['date'];
70
  unset( $existing_columns['date'] );
71
 
72
- $existing_columns['message_type'] = __( 'Type', 'translate_icegram' );
73
- $existing_columns['message_theme'] = __( 'Theme', 'translate_icegram' );
74
- $existing_columns['message_thumbnail'] = __( 'Thumbnail', 'translate_icegram' );
75
  $existing_columns['date'] = $date;
76
 
77
  return $existing_columns;
@@ -197,7 +197,7 @@ class WP_Message {
197
  ?>
198
  <div class="wp_attachment_details edit-form-section message-setting-fields">
199
  <p>
200
- <label for="message_type" class="message_label"><strong><?php _e( 'Type', 'translate_icegram' ); ?></strong></label>
201
  <select id="message_type" name="message_data[<?php echo $message_id; ?>][type]" class="message_type icegram_chosen_page">
202
  <?php foreach ( $message_types as $value => $label ) {
203
  $selected = ( ( !empty( $message_data['type'] ) && esc_attr( $value ) == $message_data['type'] ) ) ? 'selected' : '';
@@ -209,7 +209,7 @@ class WP_Message {
209
 
210
  <?php foreach ( $message_themes as $message_type => $message_theme ) { ?>
211
  <p class="message_row <?php echo $message_type; ?>">
212
- <label for="message_theme_<?php echo $message_type; ?>" class="message_label"><strong><?php _e( 'Theme', 'translate_icegram' ); ?></strong></label>
213
  <select id="message_theme_<?php echo $message_type; ?>" name="message_data[<?php echo $message_id; ?>][theme][<?php echo $message_type; ?>]" class="icegram_chosen_page message_theme message_theme_<?php echo $message_type; ?>">
214
  <?php foreach ( $message_theme as $value => $label ) {
215
  $bg_img = "background-image: url(" . $icegram->plugin_url . "/assets/images/themes/" . $message_type . "/" . esc_attr( $value ) .".png)";
@@ -221,7 +221,7 @@ class WP_Message {
221
  <?php } ?>
222
 
223
  <p class="message_row messenger">
224
- <label for="message_animation" class="message_label"><strong><?php _e( 'Animation', 'translate_icegram' ); ?></strong></label>
225
  <select id="message_animation" name="message_data[<?php echo $message_id; ?>][animation]" class="icegram_chosen_page">
226
  <?php foreach ( $message_animation as $value => $label ) { ?>
227
  <option value="<?php echo esc_attr( $value ) ?>" <?php echo ( !empty( $message_data['animation'] ) && esc_attr( $value ) == $message_data['animation'] ) ? 'selected' : ''; ?>><?php echo esc_html( $label ) ?></option>
@@ -229,7 +229,7 @@ class WP_Message {
229
  </select>
230
  </p>
231
  <p class="message_row toast">
232
- <label for="message_toast_animation" class="message_label"><strong><?php _e( 'Animation', 'translate_icegram' ); ?></strong></label>
233
  <select id="message_toast_animation" name="message_data[<?php echo $message_id; ?>][toast_animation]" class="icegram_chosen_page">
234
  <?php foreach ( $message_toast_animation as $value => $label ) { ?>
235
  <option value="<?php echo esc_attr( $value ) ?>" <?php echo ( !empty( $message_data['toast_animation'] ) && esc_attr( $value ) == $message_data['toast_animation'] ) ? 'selected' : ''; ?>><?php echo esc_html( $label ) ?></option>
@@ -238,44 +238,44 @@ class WP_Message {
238
  </p>
239
  <p class="message_row all_promo">
240
  <label for="message_title" class="message_label">
241
- <strong><?php _e( 'Headline', 'translate_icegram' ); ?></strong>
242
- <span class="help_tip admin_field_icon" data-tip="<?php _e( 'Shown with highest prominence. Click on idea button on right to get a new headline.', 'translate_icegram' ); ?>"></span>
243
  </label>
244
  <input type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][title]" id="message_title" value="<?php echo ( isset( $message_data['title'] ) ) ? $message_data['title'] : $default_message_title; ?>" data-headline="<?php echo $message_title_key; ?>" data-max="<?php echo ( count( $message_headlines ) - 1 ); ?>" />
245
- <a class="button message_title_button tips" data-tip="<?php _e( 'Give Me Another Headline', 'translate_icegram' ); ?>">
246
  <span class="title-buttons-icon admin_field_icon"></span>
247
  </a>
248
  </p>
249
  <p class="message_row action-bar popup">
250
  <label for="message_label" class="message_label">
251
- <strong><?php _e( 'Button Label', 'translate_icegram' ); ?></strong>
252
- <span class="help_tip admin_field_icon" data-tip="<?php _e( 'Your call to action text. Something unusual will increase conversions.', 'translate_icegram' ); ?>"></span>
253
  </label>
254
  <input type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][label]" id="message_label" value="<?php if( isset( $message_data['label'] ) ) echo $message_data['label']; ?>" />
255
  </p>
256
  <p class="message_row all_promo">
257
  <label for="message_link" class="message_label">
258
- <strong><?php _e( 'Target Link', 'translate_icegram' ); ?></strong>
259
- <span class="help_tip admin_field_icon" data-tip="<?php _e( 'Enter destination URL here. Clicking will redirect to this link.', 'translate_icegram' ); ?>"></span>
260
  </label>
261
  <input type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][link]" id="message_link" value="<?php if( isset( $message_data['link'] ) ) echo $message_data['link']; ?>" />
262
  </p>
263
  <p class="message_row toast messenger">
264
  <label for="upload_image" class="message_label">
265
- <strong><?php _e( 'Icon / Avatar Image', 'translate_icegram' ); ?></strong>
266
- <span class="help_tip admin_field_icon" data-tip="<?php _e( 'This image will appear in message content.', 'translate_icegram' ); ?>"></span>
267
  </label>
268
  <input id="upload_image" type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][promo_image]" value="<?php if( isset( $message_data['promo_image'] ) ) echo $message_data['promo_image']; ?>"/>
269
- <a class="button message_image_button tips" data-tip="<?php _e( 'Upload / Select an image', 'translate_icegram' ); ?>" onclick="tb_show('<?php _e( 'Upload / Select Image' ); ?>', 'media-upload.php?type=image&TB_iframe=true', false);" >
270
  <span class="image-buttons-icon admin_field_icon"></span>
271
  </a>
272
  </p>
273
  <p class="message_row action-bar">
274
- <label for="message_bg_color" class="message_label"><strong><?php _e( 'Backgound Color', 'translate_icegram' ); ?></strong></label>
275
  <input type="text" class="message_field color-field" name="message_data[<?php echo $message_id; ?>][bg_color]" id="message_bg_color" value="<?php if( isset( $message_data['bg_color'] ) ) echo $message_data['bg_color']; ?>" data-default-color="<?php if( isset( $this->default_message_color['bg_color'][$message_data['type']] ) ) echo $this->default_message_color['bg_color'][$message_data['type']]; ?>" />
276
  </p>
277
  <p class="message_row action-bar">
278
- <label for="message_text_color" class="message_label"><strong><?php _e( 'Text Color', 'translate_icegram' ); ?></strong></label>
279
  <input type="text" class="message_field color-field" name="message_data[<?php echo $message_id; ?>][text_color]" id="message_text_color" value="<?php if( isset( $message_data['text_color'] ) ) echo $message_data['text_color']; ?>" data-default-color="<?php if( isset( $this->default_message_color['text_color'][$message_data['type']] ) ) echo $this->default_message_color['text_color'][$message_data['type']]; ?>" />
280
  </p>
281
 
@@ -289,12 +289,12 @@ class WP_Message {
289
  );
290
  ?>
291
  <p class="message_row all_promo">
292
- <label for="message_message" class="message_label"><strong><?php _e( 'Message Body', 'translate_icegram' ); ?></strong></label>
293
  <?php $message = ( !empty( $message_data['message'] ) ) ? $message_data['message'] : ''; ?>
294
  <?php wp_editor( $message, 'edit'.$message_id, $editor_args ); ?>
295
  </p>
296
  <p class="message_row messenger action-bar toast position">
297
- <label for="message_position" class="message_label"><strong><?php _e( 'Position', 'translate_icegram' ); ?></strong></label>
298
  <span class="message_field location-selector message_label">
299
  <input type="radio" id="radio01_<?php echo $message_id;?>" name="message_data[<?php echo $message_id; ?>][position]" value="00" <?php echo ( !empty( $message_data['position'] ) && "00" == $message_data['position'] ) ? 'checked' : ''; ?> />
300
  <label for="radio01_<?php echo $message_id;?>" title="Top Left">
@@ -355,7 +355,7 @@ class WP_Message {
355
  ?>
356
  <span class="shortcode_description admin_field_icon"></span>
357
  <?php
358
- echo sprintf(__( 'You can insert <code>[%s]</code> wherever you want to show this message. We recommend running a campaign though.', 'translate_icegram' ), 'icegram messages="' .$post->ID . '"' );
359
 
360
  }
361
 
@@ -421,52 +421,52 @@ class WP_Message {
421
 
422
  function available_headlines( $available_headlines = array() ) {
423
  $available_headlines = array_merge( $available_headlines, array(
424
- __( 'Here Is A Method That Is Helping ____ To ____', 'translate_icegram' ),
425
- __( '__ Little Known Ways To ____', 'translate_icegram' ),
426
- __( 'Get Rid Of ____ Once And For All', 'translate_icegram' ),
427
- __( 'How To ____ So You Can ____', 'translate_icegram' ),
428
- __( 'They Didn\'t Think I Could ____, But I Did', 'translate_icegram' ),
429
- __( 'How ____ Made Me ____', 'translate_icegram' ),
430
- __( 'Are You ____ ?', 'translate_icegram' ),
431
- __( 'Warning: ____ !', 'translate_icegram' ),
432
- __( 'Do You Make These Mistakes With ____ ?', 'translate_icegram' ),
433
- __( '7 Ways To ____', 'translate_icegram' ),
434
- __( 'If You\'re ____, You Can ____', 'translate_icegram' ),
435
- __( 'Turn your ____ into a ____', 'translate_icegram' ),
436
- __( 'Want To Be A ____?', 'translate_icegram' ),
437
- __( 'The Ugly Truth About Your Beautiful ____', 'translate_icegram' ),
438
- __( 'The Secret to ____ Is Simply ____!', 'translate_icegram' ),
439
- __( 'The Quickest Way I Know To ____', 'translate_icegram' ),
440
- __( 'The Lazy Man\'s Way To ____', 'translate_icegram' ),
441
- __( 'The Amazing Story Of ____ That Requires So Little Of ____ You Could ____', 'translate_icegram' ),
442
- __( 'The Amazing Secret Of The ____ Genius Who Is Afraid Of ____', 'translate_icegram' ),
443
- __( 'The 10 Wackiest Ideas That ____... And How You Can Too!', 'translate_icegram' ),
444
- __( 'The Inside Secrets To ____ With Crazy, Outlandish And Outrageous ____', 'translate_icegram' ),
445
- __( '____ Like A ____', 'translate_icegram' ),
446
- __( 'Remember When You Could Have ____, And You Didn\'t?', 'translate_icegram' ),
447
- __( 'Is The ____ Worth $x To You?', 'translate_icegram' ),
448
- __( 'Increase your ____, reduce ____, maintain ____ and ____ with ____', 'translate_icegram' ),
449
- __( 'If You Can ____ You Can ____', 'translate_icegram' ),
450
- __( 'I Discovered How To ____... Now I\'m Revealing My Secret', 'translate_icegram' ),
451
- __( 'How To Turn Your ____ Into The Most ____', 'translate_icegram' ),
452
- __( 'How To Take The Headache Out Of ____', 'translate_icegram' ),
453
- __( 'How To ____ ... Legally', 'translate_icegram' ),
454
- __( 'How To ____ That ____', 'translate_icegram' ),
455
- __( 'How To Discover The ____ That Lies Hidden In Your ____', 'translate_icegram' ),
456
- __( 'How To ____ Even When Your Not ____', 'translate_icegram' ),
457
- __( '____ With No ____!', 'translate_icegram' ),
458
- __( 'Greatest Goldmine of ____ Ever Jammed Into One Big ____', 'translate_icegram' ),
459
- __( 'Free ____ Tells How To Get Better ____', 'translate_icegram' ),
460
- __( 'FREE ____ Worth $____ for the first 100 People to take Advantage of this Offer', 'translate_icegram' ),
461
- __( 'Don\'t Try This With Any Other ____', 'translate_icegram' ),
462
- __( 'Do You Honestly Want To ____?', 'translate_icegram' ),
463
- __( 'Discover The Magic ____ That Will Bring You ____ & ____!', 'translate_icegram' ),
464
- __( '____ Man Reveals A Short-Cut To ____', 'translate_icegram' ),
465
- __( 'Confessions Of A ____', 'translate_icegram' ),
466
- __( 'Are You Ready To ____?', 'translate_icegram' ),
467
- __( 'An Open Letter To Everyone Who ____ More Than ____ Per ____', 'translate_icegram' ),
468
- __( 'An Amazing ____ You Can Carry In Your ____', 'translate_icegram' ),
469
- __( '21 Secret ____ that will ____... NOW!', 'translate_icegram' )
470
  ) );
471
  return $available_headlines;
472
  }
69
  $date = $existing_columns['date'];
70
  unset( $existing_columns['date'] );
71
 
72
+ $existing_columns['message_type'] = __( 'Type', 'icegram' );
73
+ $existing_columns['message_theme'] = __( 'Theme', 'icegram' );
74
+ $existing_columns['message_thumbnail'] = __( 'Thumbnail', 'icegram' );
75
  $existing_columns['date'] = $date;
76
 
77
  return $existing_columns;
197
  ?>
198
  <div class="wp_attachment_details edit-form-section message-setting-fields">
199
  <p>
200
+ <label for="message_type" class="message_label"><strong><?php _e( 'Type', 'icegram' ); ?></strong></label>
201
  <select id="message_type" name="message_data[<?php echo $message_id; ?>][type]" class="message_type icegram_chosen_page">
202
  <?php foreach ( $message_types as $value => $label ) {
203
  $selected = ( ( !empty( $message_data['type'] ) && esc_attr( $value ) == $message_data['type'] ) ) ? 'selected' : '';
209
 
210
  <?php foreach ( $message_themes as $message_type => $message_theme ) { ?>
211
  <p class="message_row <?php echo $message_type; ?>">
212
+ <label for="message_theme_<?php echo $message_type; ?>" class="message_label"><strong><?php _e( 'Theme', 'icegram' ); ?></strong></label>
213
  <select id="message_theme_<?php echo $message_type; ?>" name="message_data[<?php echo $message_id; ?>][theme][<?php echo $message_type; ?>]" class="icegram_chosen_page message_theme message_theme_<?php echo $message_type; ?>">
214
  <?php foreach ( $message_theme as $value => $label ) {
215
  $bg_img = "background-image: url(" . $icegram->plugin_url . "/assets/images/themes/" . $message_type . "/" . esc_attr( $value ) .".png)";
221
  <?php } ?>
222
 
223
  <p class="message_row messenger">
224
+ <label for="message_animation" class="message_label"><strong><?php _e( 'Animation', 'icegram' ); ?></strong></label>
225
  <select id="message_animation" name="message_data[<?php echo $message_id; ?>][animation]" class="icegram_chosen_page">
226
  <?php foreach ( $message_animation as $value => $label ) { ?>
227
  <option value="<?php echo esc_attr( $value ) ?>" <?php echo ( !empty( $message_data['animation'] ) && esc_attr( $value ) == $message_data['animation'] ) ? 'selected' : ''; ?>><?php echo esc_html( $label ) ?></option>
229
  </select>
230
  </p>
231
  <p class="message_row toast">
232
+ <label for="message_toast_animation" class="message_label"><strong><?php _e( 'Animation', 'icegram' ); ?></strong></label>
233
  <select id="message_toast_animation" name="message_data[<?php echo $message_id; ?>][toast_animation]" class="icegram_chosen_page">
234
  <?php foreach ( $message_toast_animation as $value => $label ) { ?>
235
  <option value="<?php echo esc_attr( $value ) ?>" <?php echo ( !empty( $message_data['toast_animation'] ) && esc_attr( $value ) == $message_data['toast_animation'] ) ? 'selected' : ''; ?>><?php echo esc_html( $label ) ?></option>
238
  </p>
239
  <p class="message_row all_promo">
240
  <label for="message_title" class="message_label">
241
+ <strong><?php _e( 'Headline', 'icegram' ); ?></strong>
242
+ <span class="help_tip admin_field_icon" data-tip="<?php _e( 'Shown with highest prominence. Click on idea button on right to get a new headline.', 'icegram' ); ?>"></span>
243
  </label>
244
  <input type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][title]" id="message_title" value="<?php echo ( isset( $message_data['title'] ) ) ? $message_data['title'] : $default_message_title; ?>" data-headline="<?php echo $message_title_key; ?>" data-max="<?php echo ( count( $message_headlines ) - 1 ); ?>" />
245
+ <a class="button message_title_button tips" data-tip="<?php _e( 'Give Me Another Headline', 'icegram' ); ?>">
246
  <span class="title-buttons-icon admin_field_icon"></span>
247
  </a>
248
  </p>
249
  <p class="message_row action-bar popup">
250
  <label for="message_label" class="message_label">
251
+ <strong><?php _e( 'Button Label', 'icegram' ); ?></strong>
252
+ <span class="help_tip admin_field_icon" data-tip="<?php _e( 'Your call to action text. Something unusual will increase conversions.', 'icegram' ); ?>"></span>
253
  </label>
254
  <input type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][label]" id="message_label" value="<?php if( isset( $message_data['label'] ) ) echo $message_data['label']; ?>" />
255
  </p>
256
  <p class="message_row all_promo">
257
  <label for="message_link" class="message_label">
258
+ <strong><?php _e( 'Target Link', 'icegram' ); ?></strong>
259
+ <span class="help_tip admin_field_icon" data-tip="<?php _e( 'Enter destination URL here. Clicking will redirect to this link.', 'icegram' ); ?>"></span>
260
  </label>
261
  <input type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][link]" id="message_link" value="<?php if( isset( $message_data['link'] ) ) echo $message_data['link']; ?>" />
262
  </p>
263
  <p class="message_row toast messenger">
264
  <label for="upload_image" class="message_label">
265
+ <strong><?php _e( 'Icon / Avatar Image', 'icegram' ); ?></strong>
266
+ <span class="help_tip admin_field_icon" data-tip="<?php _e( 'This image will appear in message content.', 'icegram' ); ?>"></span>
267
  </label>
268
  <input id="upload_image" type="text" class="message_field" name="message_data[<?php echo $message_id; ?>][promo_image]" value="<?php if( isset( $message_data['promo_image'] ) ) echo $message_data['promo_image']; ?>"/>
269
+ <a class="button message_image_button tips" data-tip="<?php _e( 'Upload / Select an image', 'icegram' ); ?>" onclick="tb_show('<?php _e( 'Upload / Select Image' ); ?>', 'media-upload.php?type=image&TB_iframe=true', false);" >
270
  <span class="image-buttons-icon admin_field_icon"></span>
271
  </a>
272
  </p>
273
  <p class="message_row action-bar">
274
+ <label for="message_bg_color" class="message_label"><strong><?php _e( 'Backgound Color', 'icegram' ); ?></strong></label>
275
  <input type="text" class="message_field color-field" name="message_data[<?php echo $message_id; ?>][bg_color]" id="message_bg_color" value="<?php if( isset( $message_data['bg_color'] ) ) echo $message_data['bg_color']; ?>" data-default-color="<?php if( isset( $this->default_message_color['bg_color'][$message_data['type']] ) ) echo $this->default_message_color['bg_color'][$message_data['type']]; ?>" />
276
  </p>
277
  <p class="message_row action-bar">
278
+ <label for="message_text_color" class="message_label"><strong><?php _e( 'Text Color', 'icegram' ); ?></strong></label>
279
  <input type="text" class="message_field color-field" name="message_data[<?php echo $message_id; ?>][text_color]" id="message_text_color" value="<?php if( isset( $message_data['text_color'] ) ) echo $message_data['text_color']; ?>" data-default-color="<?php if( isset( $this->default_message_color['text_color'][$message_data['type']] ) ) echo $this->default_message_color['text_color'][$message_data['type']]; ?>" />
280
  </p>
281
 
289
  );
290
  ?>
291
  <p class="message_row all_promo">
292
+ <label for="message_message" class="message_label"><strong><?php _e( 'Message Body', 'icegram' ); ?></strong></label>
293
  <?php $message = ( !empty( $message_data['message'] ) ) ? $message_data['message'] : ''; ?>
294
  <?php wp_editor( $message, 'edit'.$message_id, $editor_args ); ?>
295
  </p>
296
  <p class="message_row messenger action-bar toast position">
297
+ <label for="message_position" class="message_label"><strong><?php _e( 'Position', 'icegram' ); ?></strong></label>
298
  <span class="message_field location-selector message_label">
299
  <input type="radio" id="radio01_<?php echo $message_id;?>" name="message_data[<?php echo $message_id; ?>][position]" value="00" <?php echo ( !empty( $message_data['position'] ) && "00" == $message_data['position'] ) ? 'checked' : ''; ?> />
300
  <label for="radio01_<?php echo $message_id;?>" title="Top Left">
355
  ?>
356
  <span class="shortcode_description admin_field_icon"></span>
357
  <?php
358
+ echo sprintf(__( 'You can insert <code>[%s]</code> wherever you want to show this message. We recommend running a campaign though.', 'icegram' ), 'icegram messages="' .$post->ID . '"' );
359
 
360
  }
361
 
421
 
422
  function available_headlines( $available_headlines = array() ) {
423
  $available_headlines = array_merge( $available_headlines, array(
424
+ __( 'Here Is A Method That Is Helping ____ To ____', 'icegram' ),
425
+ __( '__ Little Known Ways To ____', 'icegram' ),
426
+ __( 'Get Rid Of ____ Once And For All', 'icegram' ),
427
+ __( 'How To ____ So You Can ____', 'icegram' ),
428
+ __( 'They Didn\'t Think I Could ____, But I Did', 'icegram' ),
429
+ __( 'How ____ Made Me ____', 'icegram' ),
430
+ __( 'Are You ____ ?', 'icegram' ),
431
+ __( 'Warning: ____ !', 'icegram' ),
432
+ __( 'Do You Make These Mistakes With ____ ?', 'icegram' ),
433
+ __( '7 Ways To ____', 'icegram' ),
434
+ __( 'If You\'re ____, You Can ____', 'icegram' ),
435
+ __( 'Turn your ____ into a ____', 'icegram' ),
436
+ __( 'Want To Be A ____?', 'icegram' ),
437
+ __( 'The Ugly Truth About Your Beautiful ____', 'icegram' ),
438
+ __( 'The Secret to ____ Is Simply ____!', 'icegram' ),
439
+ __( 'The Quickest Way I Know To ____', 'icegram' ),
440
+ __( 'The Lazy Man\'s Way To ____', 'icegram' ),
441
+ __( 'The Amazing Story Of ____ That Requires So Little Of ____ You Could ____', 'icegram' ),
442
+ __( 'The Amazing Secret Of The ____ Genius Who Is Afraid Of ____', 'icegram' ),
443
+ __( 'The 10 Wackiest Ideas That ____... And How You Can Too!', 'icegram' ),
444
+ __( 'The Inside Secrets To ____ With Crazy, Outlandish And Outrageous ____', 'icegram' ),
445
+ __( '____ Like A ____', 'icegram' ),
446
+ __( 'Remember When You Could Have ____, And You Didn\'t?', 'icegram' ),
447
+ __( 'Is The ____ Worth $x To You?', 'icegram' ),
448
+ __( 'Increase your ____, reduce ____, maintain ____ and ____ with ____', 'icegram' ),
449
+ __( 'If You Can ____ You Can ____', 'icegram' ),
450
+ __( 'I Discovered How To ____... Now I\'m Revealing My Secret', 'icegram' ),
451
+ __( 'How To Turn Your ____ Into The Most ____', 'icegram' ),
452
+ __( 'How To Take The Headache Out Of ____', 'icegram' ),
453
+ __( 'How To ____ ... Legally', 'icegram' ),
454
+ __( 'How To ____ That ____', 'icegram' ),
455
+ __( 'How To Discover The ____ That Lies Hidden In Your ____', 'icegram' ),
456
+ __( 'How To ____ Even When Your Not ____', 'icegram' ),
457
+ __( '____ With No ____!', 'icegram' ),
458
+ __( 'Greatest Goldmine of ____ Ever Jammed Into One Big ____', 'icegram' ),
459
+ __( 'Free ____ Tells How To Get Better ____', 'icegram' ),
460
+ __( 'FREE ____ Worth $____ for the first 100 People to take Advantage of this Offer', 'icegram' ),
461
+ __( 'Don\'t Try This With Any Other ____', 'icegram' ),
462
+ __( 'Do You Honestly Want To ____?', 'icegram' ),
463
+ __( 'Discover The Magic ____ That Will Bring You ____ & ____!', 'icegram' ),
464
+ __( '____ Man Reveals A Short-Cut To ____', 'icegram' ),
465
+ __( 'Confessions Of A ____', 'icegram' ),
466
+ __( 'Are You Ready To ____?', 'icegram' ),
467
+ __( 'An Open Letter To Everyone Who ____ More Than ____ Per ____', 'icegram' ),
468
+ __( 'An Amazing ____ You Can Carry In Your ____', 'icegram' ),
469
+ __( '21 Secret ____ that will ____... NOW!', 'icegram' )
470
  ) );
471
  return $available_headlines;
472
  }
icegram.php CHANGED
@@ -1,12 +1,15 @@
1
  <?php
2
  /*
3
- Plugin Name: Icegram
4
- Plugin URI: http://www.icegram.com/
5
- Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
- Version: 1.1
7
- Author: Icegram
8
- Author URI: http://www.icegram.com/
9
- Copyright (c) 2014 Icegram All rights reserved.
 
 
 
10
  */
11
 
12
  /**
@@ -74,28 +77,27 @@ class Icegram {
74
  }
75
 
76
  static function install() {
77
- // Redirect to welcome screen
78
- set_transient( '_icegram_activation_redirect', 1, 60 * 60 );
 
79
  }
80
 
81
  public function welcome() {
82
-
83
  // Bail if no activation redirect transient is set
84
- if ( ! get_transient( '_icegram_activation_redirect' ) )
85
  return;
86
 
87
  // Delete the redirect transient
88
- delete_transient( '_icegram_activation_redirect' );
89
 
90
  wp_redirect( admin_url( 'edit.php?post_type=campaign&page=icegram-support' ) );
91
  exit;
92
-
93
  }
94
 
95
  public function admin_menus() {
96
 
97
- $welcome_page_title = __( 'Welcome to Icegram', 'translate_icegram' );
98
- $menu_title = __( 'Docs & Support', 'translate_icegram' );
99
  $about = add_submenu_page( 'edit.php?post_type=campaign', $welcome_page_title, $menu_title, 'manage_options', 'icegram-support', array( $this, 'about_screen' ) );
100
 
101
  add_action( 'admin_print_styles-'. $about, array( $this, 'admin_css' ) );
@@ -108,6 +110,12 @@ class Icegram {
108
 
109
  public function about_screen() {
110
  global $icegram, $icegram_upgrader;
 
 
 
 
 
 
111
  include ( 'about-icegram.php' );
112
  }
113
 
@@ -172,7 +180,7 @@ class Icegram {
172
  $icegram_default = apply_filters( 'icegram_branding_data',
173
  array ( 'default_promo_image' => $this->plugin_url . '/assets/images/icegram-logo-branding-64-grey.png',
174
  'powered_by_logo' => $this->plugin_url . '/assets/images/icegram-logo-branding-64-grey.png',
175
- 'powered_by_text' => __( 'Powered by Icegram', 'translate_icegram' )
176
  ) );
177
  $icegram = array ( 'messages' => array_values( $messages ),
178
  'ajax_url' => admin_url( 'admin-ajax.php' ),
@@ -405,19 +413,19 @@ class Icegram {
405
  // Register Campaign post type
406
  function register_campaign_post_type() {
407
  $labels = array(
408
- 'name' => __( 'Campaigns', 'translate_icegram' ),
409
- 'singular_name' => __( 'Campaign', 'translate_icegram' ),
410
- 'add_new' => __( 'Add New Campaign', 'translate_icegram' ),
411
- 'add_new_item' => __( 'Add New Campaign', 'translate_icegram' ),
412
- 'edit_item' => __( 'Edit Campaign', 'translate_icegram' ),
413
- 'new_item' => __( 'New Campaign', 'translate_icegram' ),
414
- 'all_items' => __( 'Campaigns', 'translate_icegram' ),
415
- 'view_item' => __( 'View Campaign', 'translate_icegram' ),
416
- 'search_items' => __( 'Search Campaigns', 'translate_icegram' ),
417
- 'not_found' => __( 'No campaigns found', 'translate_icegram' ),
418
- 'not_found_in_trash' => __( 'No campaigns found in Trash', 'translate_icegram' ),
419
- 'parent_item_colon' => __( '', 'translate_icegram' ),
420
- 'menu_name' => __( 'Icegram', 'translate_icegram' )
421
  );
422
 
423
  $args = array(
@@ -442,19 +450,19 @@ class Icegram {
442
  // Register Message promo type
443
  function register_message_post_type() {
444
  $labels = array(
445
- 'name' => __( 'Messages', 'translate_icegram' ),
446
- 'singular_name' => __( 'Message', 'translate_icegram' ),
447
- 'add_new' => __( 'Create New', 'translate_icegram' ),
448
- 'add_new_item' => __( 'Create New Message', 'translate_icegram' ),
449
- 'edit_item' => __( 'Edit Message', 'translate_icegram' ),
450
- 'new_item' => __( 'New Message', 'translate_icegram' ),
451
- 'all_items' => __( 'Messages', 'translate_icegram' ),
452
- 'view_item' => __( 'View Message', 'translate_icegram' ),
453
- 'search_items' => __( 'Search Messages', 'translate_icegram' ),
454
- 'not_found' => __( 'No messages found', 'translate_icegram' ),
455
- 'not_found_in_trash' => __( 'No messages found in Trash', 'translate_icegram' ),
456
- 'parent_item_colon' => __( '', 'translate_icegram' ),
457
- 'menu_name' => __( 'Messages', 'translate_icegram' )
458
  );
459
 
460
  $args = array(
@@ -521,7 +529,6 @@ class Icegram {
521
 
522
  $target_rules = wp_parse_args( $campaign['target_rules'], $defaults );
523
  update_post_meta( $new_campaign_id, 'icegram_campaign_target_rules', $target_rules );
524
-
525
  }
526
 
527
  if ( !empty( $campaign['messages'] ) ) {
@@ -821,19 +828,19 @@ class Icegram {
821
  function initialize_icegram() {
822
  global $icegram, $icegram_upgrader;
823
 
 
 
 
824
  $icegram = new Icegram();
825
 
826
  if ( ! class_exists( 'IceGram_Upgrade' ) ) {
827
  require_once 'icegram-includes/class-icegram-upgrade.php';
828
  }
829
- if( get_option( 'icegram_sample_data_imported' ) === false ) {
830
- $icegram->import( $icegram->get_sample_data() );
831
- }
832
 
833
  $sku = 'icegram';
834
  $prefix = 'icegram';
835
  $plugin_name = 'Icegram ';
836
- $text_domain = 'translate_icegram';
837
  $documentation_link = '';
838
  $icegram_upgrader = new IceGram_Upgrade( __FILE__, $sku, $prefix, $plugin_name, $text_domain, $documentation_link );
839
 
1
  <?php
2
  /*
3
+ * Plugin Name: Icegram
4
+ * Plugin URI: http://www.icegram.com/
5
+ * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
+ * Version: 1.1.1
7
+ * Author: Icegram
8
+ * Author URI: http://www.icegram.com/
9
+ * Copyright (c) 2014 Icegram All rights reserved.
10
+ *
11
+ * Text Domain: icegram
12
+ * Domain Path: /lang/
13
  */
14
 
15
  /**
77
  }
78
 
79
  static function install() {
80
+ // Redirect to welcome screen
81
+ delete_option( '_icegram_activation_redirect' );
82
+ add_option( '_icegram_activation_redirect', 'pending' );
83
  }
84
 
85
  public function welcome() {
 
86
  // Bail if no activation redirect transient is set
87
+ if ( false === get_option( '_icegram_activation_redirect' ) )
88
  return;
89
 
90
  // Delete the redirect transient
91
+ delete_option( '_icegram_activation_redirect' );
92
 
93
  wp_redirect( admin_url( 'edit.php?post_type=campaign&page=icegram-support' ) );
94
  exit;
 
95
  }
96
 
97
  public function admin_menus() {
98
 
99
+ $welcome_page_title = __( 'Welcome to Icegram', 'icegram' );
100
+ $menu_title = __( 'Docs & Support', 'icegram' );
101
  $about = add_submenu_page( 'edit.php?post_type=campaign', $welcome_page_title, $menu_title, 'manage_options', 'icegram-support', array( $this, 'about_screen' ) );
102
 
103
  add_action( 'admin_print_styles-'. $about, array( $this, 'admin_css' ) );
110
 
111
  public function about_screen() {
112
  global $icegram, $icegram_upgrader;
113
+
114
+ // Import data if not done already
115
+ if( false === get_option( 'icegram_sample_data_imported' ) ) {
116
+ $icegram->import( $icegram->get_sample_data() );
117
+ }
118
+
119
  include ( 'about-icegram.php' );
120
  }
121
 
180
  $icegram_default = apply_filters( 'icegram_branding_data',
181
  array ( 'default_promo_image' => $this->plugin_url . '/assets/images/icegram-logo-branding-64-grey.png',
182
  'powered_by_logo' => $this->plugin_url . '/assets/images/icegram-logo-branding-64-grey.png',
183
+ 'powered_by_text' => __( 'Powered by Icegram', 'icegram' )
184
  ) );
185
  $icegram = array ( 'messages' => array_values( $messages ),
186
  'ajax_url' => admin_url( 'admin-ajax.php' ),
413
  // Register Campaign post type
414
  function register_campaign_post_type() {
415
  $labels = array(
416
+ 'name' => __( 'Campaigns', 'icegram' ),
417
+ 'singular_name' => __( 'Campaign', 'icegram' ),
418
+ 'add_new' => __( 'Add New Campaign', 'icegram' ),
419
+ 'add_new_item' => __( 'Add New Campaign', 'icegram' ),
420
+ 'edit_item' => __( 'Edit Campaign', 'icegram' ),
421
+ 'new_item' => __( 'New Campaign', 'icegram' ),
422
+ 'all_items' => __( 'Campaigns', 'icegram' ),
423
+ 'view_item' => __( 'View Campaign', 'icegram' ),
424
+ 'search_items' => __( 'Search Campaigns', 'icegram' ),
425
+ 'not_found' => __( 'No campaigns found', 'icegram' ),
426
+ 'not_found_in_trash' => __( 'No campaigns found in Trash', 'icegram' ),
427
+ 'parent_item_colon' => __( '', 'icegram' ),
428
+ 'menu_name' => __( 'Icegram', 'icegram' )
429
  );
430
 
431
  $args = array(
450
  // Register Message promo type
451
  function register_message_post_type() {
452
  $labels = array(
453
+ 'name' => __( 'Messages', 'icegram' ),
454
+ 'singular_name' => __( 'Message', 'icegram' ),
455
+ 'add_new' => __( 'Create New', 'icegram' ),
456
+ 'add_new_item' => __( 'Create New Message', 'icegram' ),
457
+ 'edit_item' => __( 'Edit Message', 'icegram' ),
458
+ 'new_item' => __( 'New Message', 'icegram' ),
459
+ 'all_items' => __( 'Messages', 'icegram' ),
460
+ 'view_item' => __( 'View Message', 'icegram' ),
461
+ 'search_items' => __( 'Search Messages', 'icegram' ),
462
+ 'not_found' => __( 'No messages found', 'icegram' ),
463
+ 'not_found_in_trash' => __( 'No messages found in Trash', 'icegram' ),
464
+ 'parent_item_colon' => __( '', 'icegram' ),
465
+ 'menu_name' => __( 'Messages', 'icegram' )
466
  );
467
 
468
  $args = array(
529
 
530
  $target_rules = wp_parse_args( $campaign['target_rules'], $defaults );
531
  update_post_meta( $new_campaign_id, 'icegram_campaign_target_rules', $target_rules );
 
532
  }
533
 
534
  if ( !empty( $campaign['messages'] ) ) {
828
  function initialize_icegram() {
829
  global $icegram, $icegram_upgrader;
830
 
831
+ // i18n / l10n - load translations
832
+ load_plugin_textdomain( 'icegram', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
833
+
834
  $icegram = new Icegram();
835
 
836
  if ( ! class_exists( 'IceGram_Upgrade' ) ) {
837
  require_once 'icegram-includes/class-icegram-upgrade.php';
838
  }
 
 
 
839
 
840
  $sku = 'icegram';
841
  $prefix = 'icegram';
842
  $plugin_name = 'Icegram ';
843
+ $text_domain = 'icegram';
844
  $documentation_link = '';
845
  $icegram_upgrader = new IceGram_Upgrade( __FILE__, $sku, $prefix, $plugin_name, $text_domain, $documentation_link );
846
 
lang/src/icegram.pot ADDED
@@ -0,0 +1,801 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014 Icegram
2
+ # This file is distributed under the same license as the Icegram package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Icegram 1.1.1\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/icegram\n"
7
+ "POT-Creation-Date: 2014-06-10 06:09:11+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Icegram Team <hello@icegram.com>\n"
13
+ "Language-Team: Icegram Team <hello@icegram.com>\n"
14
+
15
+ #: about-icegram.php:151 classes/class-wp-campaign.php:216
16
+ #: icegram-includes/class-icegram-upgrade.php:335
17
+ msgid "Name"
18
+ msgstr ""
19
+
20
+ #: about-icegram.php:155 icegram-includes/class-icegram-upgrade.php:339
21
+ msgid "E-mail"
22
+ msgstr ""
23
+
24
+ #: about-icegram.php:160 icegram-includes/class-icegram-upgrade.php:343
25
+ msgid "Product"
26
+ msgstr ""
27
+
28
+ #: about-icegram.php:166 icegram-includes/class-icegram-upgrade.php:347
29
+ msgid "Subject"
30
+ msgstr ""
31
+
32
+ #: about-icegram.php:170 icegram-includes/class-icegram-upgrade.php:351
33
+ #: icegram.php:446
34
+ msgid "Message"
35
+ msgstr ""
36
+
37
+ #: about-icegram.php:210 icegram.php:97
38
+ msgid "Welcome to Icegram"
39
+ msgstr ""
40
+
41
+ #: about-icegram.php:212
42
+ msgid ""
43
+ "Your sample campaign is ready. We've added a few messages for you to test."
44
+ msgstr ""
45
+
46
+ #: about-icegram.php:220
47
+ msgid "Edit & Publish it"
48
+ msgstr ""
49
+
50
+ #: about-icegram.php:221
51
+ msgid "OR"
52
+ msgstr ""
53
+
54
+ #: about-icegram.php:222
55
+ msgid "Preview Campaign"
56
+ msgstr ""
57
+
58
+ #: about-icegram.php:228
59
+ msgid "Version: %s"
60
+ msgstr ""
61
+
62
+ #: about-icegram.php:231
63
+ msgid "Questions? Need Help?"
64
+ msgstr ""
65
+
66
+ #: about-icegram.php:232 about-icegram.php:321
67
+ msgid "Contact Us"
68
+ msgstr ""
69
+
70
+ #: about-icegram.php:238
71
+ msgid ""
72
+ "Do read Icegram's core concepts below to understand how you can use Icegram "
73
+ "to inspire, convert and engage your audience."
74
+ msgstr ""
75
+
76
+ #: about-icegram.php:244 icegram.php:445 icegram.php:451 icegram.php:457
77
+ msgid "Messages"
78
+ msgstr ""
79
+
80
+ #: about-icegram.php:246
81
+ msgid "A 'Message' is a communication you want to deliver to your audience."
82
+ msgstr ""
83
+
84
+ #: about-icegram.php:247
85
+ msgid "And Icegram comes with not one, but four message types."
86
+ msgstr ""
87
+
88
+ #: about-icegram.php:248
89
+ msgid ""
90
+ "Different message types look and behave differently, but they all have many "
91
+ "common characteristics. For instance, most message types will allow you to "
92
+ "set a headline, a body text, label for the ‘call to action’ button, a link "
93
+ "for that button, theme and styling options, animation effect and position on "
94
+ "screen where that message should show."
95
+ msgstr ""
96
+
97
+ #: about-icegram.php:251
98
+ msgid "Action Bar"
99
+ msgstr ""
100
+
101
+ #: about-icegram.php:253
102
+ msgid ""
103
+ "An action bar is a proven attention grabber. It shows up as a solid bar "
104
+ "either at top or bottom. Use it for your most important messages or time "
105
+ "sensitive announcements. Put longer content in it and it acts like a "
106
+ "collapsible panel!"
107
+ msgstr ""
108
+
109
+ #: about-icegram.php:254
110
+ msgid "Messenger"
111
+ msgstr ""
112
+
113
+ #: about-icegram.php:256
114
+ msgid ""
115
+ "A messenger is best used to invoke interest while your visitor is reading "
116
+ "your content. Users perceive it as something new, important and urgent and "
117
+ "are highly likely to click on it."
118
+ msgstr ""
119
+
120
+ #: about-icegram.php:259
121
+ msgid "Toast Notification"
122
+ msgstr ""
123
+
124
+ #: about-icegram.php:261
125
+ msgid ""
126
+ "Want to alert your visitor about some news, an update from your blog, a "
127
+ "social proof or an offer? Use Icegram’s unique toast notification, it will "
128
+ "catch their attention, let them click on the message, and disappear after a "
129
+ "while."
130
+ msgstr ""
131
+
132
+ #: about-icegram.php:262
133
+ msgid "Popup"
134
+ msgstr ""
135
+
136
+ #: about-icegram.php:264
137
+ msgid ""
138
+ "Lightbox popup windows are most widely used for lead capture, promotions and "
139
+ "additional content display. Ask visitors to sign up to your newsletter, or "
140
+ "like you on social networks, or tell them about a special offer..."
141
+ msgstr ""
142
+
143
+ #: about-icegram.php:273 icegram.php:408 icegram.php:414
144
+ msgid "Campaigns"
145
+ msgstr ""
146
+
147
+ #: about-icegram.php:274
148
+ msgid "Campaign = Messages + Rules"
149
+ msgstr ""
150
+
151
+ #: about-icegram.php:275
152
+ msgid ""
153
+ "A campaign allows sequencing multiple messages and defining targeting rules. "
154
+ "Create different campaigns for different marketing goals. Icegram supports "
155
+ "showing multiple campaigns on any page."
156
+ msgstr ""
157
+
158
+ #: about-icegram.php:276
159
+ msgid ""
160
+ "You can always preview your campaign to ensure campaign works the way you "
161
+ "want, before making it live."
162
+ msgstr ""
163
+
164
+ #: about-icegram.php:279
165
+ msgid "Multiple Messages & Sequencing"
166
+ msgstr ""
167
+
168
+ #: about-icegram.php:281
169
+ msgid ""
170
+ "Add one or as many messages to a campaign as you want. Also choose the "
171
+ "number of seconds after which each message should show up. Showing multiple "
172
+ "messages for same goal, but with slightly different content / presentation, "
173
+ "greatly improves conversions."
174
+ msgstr ""
175
+
176
+ #: about-icegram.php:284
177
+ msgid "Targeting Rules"
178
+ msgstr ""
179
+
180
+ #: about-icegram.php:286
181
+ msgid ""
182
+ "You can control who sees a campaign – and on what device, which pages does "
183
+ "it show on, and what time period will it stay active for. You can run "
184
+ "different campaigns with different rules to maximize engagement."
185
+ msgstr ""
186
+
187
+ #: about-icegram.php:294
188
+ msgid "FAQ / Common Problems"
189
+ msgstr ""
190
+
191
+ #: about-icegram.php:296
192
+ msgid "Messages look broken / formatting is weird..."
193
+ msgstr ""
194
+
195
+ #: about-icegram.php:297
196
+ msgid ""
197
+ "This is most likely due to CSS conflicts with current theme. We suggest "
198
+ "using simple formatting for messages. You can also write custom CSS in your "
199
+ "theme to fix any problems."
200
+ msgstr ""
201
+
202
+ #: about-icegram.php:299
203
+ msgid "Extra Line Breaks / Paragraphs in messages..."
204
+ msgstr ""
205
+
206
+ #: about-icegram.php:300
207
+ msgid ""
208
+ "Go to HTML mode in content editor and pull your custom HTML code all "
209
+ "together in one line. Don't leave blank lines between two tags. That should "
210
+ "fix it."
211
+ msgstr ""
212
+
213
+ #: about-icegram.php:302
214
+ msgid "How do I add custom CSS for messages?"
215
+ msgstr ""
216
+
217
+ #: about-icegram.php:303
218
+ msgid ""
219
+ "You can use custom CSS/JS inline in your message HTML. You can also use your "
220
+ "theme's custom JS / CSS feature to add your changes."
221
+ msgstr ""
222
+
223
+ #: about-icegram.php:305
224
+ msgid "Optin Forms / Mailing service integration..."
225
+ msgstr ""
226
+
227
+ #: about-icegram.php:306
228
+ msgid ""
229
+ "You can embed any optin / subscription form to your Icegram messages using "
230
+ "HTML code. You may even use a shortcode if you are using a WP plugin from "
231
+ "your newsletter / lead capture service."
232
+ msgstr ""
233
+
234
+ #: about-icegram.php:310
235
+ msgid "Preview does not work / not refreshing..."
236
+ msgstr ""
237
+
238
+ #: about-icegram.php:311
239
+ msgid ""
240
+ "Doing a browser refresh while previewing will not show your most recent "
241
+ "changes. Click 'Preview' button to see a preview with your latest changes."
242
+ msgstr ""
243
+
244
+ #: about-icegram.php:313
245
+ msgid "Can I use shortcodes in a message?"
246
+ msgstr ""
247
+
248
+ #: about-icegram.php:314
249
+ msgid ""
250
+ "Yes! Messages support shortcodes. You may need to adjust CSS so the "
251
+ "shortcode output looks good in your message."
252
+ msgstr ""
253
+
254
+ #: about-icegram.php:317
255
+ msgid "I can't find a way to do X..."
256
+ msgstr ""
257
+
258
+ #: about-icegram.php:318
259
+ msgid ""
260
+ "Icegram is actively developed. If you can't find your favorite feature (or "
261
+ "have a suggestion) contact us. We'd love to hear from you."
262
+ msgstr ""
263
+
264
+ #: about-icegram.php:320
265
+ msgid "I'm facing a problem and can't find a way out..."
266
+ msgstr ""
267
+
268
+ #: about-icegram.php:321
269
+ msgid ""
270
+ ", provide as much detail of the problem as you can. We will try to solve the "
271
+ "problem ASAP."
272
+ msgstr ""
273
+
274
+ #: classes/class-wp-campaign.php:67
275
+ msgid "Message &mdash; "
276
+ msgstr ""
277
+
278
+ #: classes/class-wp-campaign.php:68
279
+ msgid "Search to add / Create new&hellip;"
280
+ msgstr ""
281
+
282
+ #: classes/class-wp-campaign.php:73 classes/class-wp-campaign.php:202
283
+ msgid "Create new"
284
+ msgstr ""
285
+
286
+ #: classes/class-wp-campaign.php:77
287
+ msgid "Preview"
288
+ msgstr ""
289
+
290
+ #: classes/class-wp-campaign.php:80
291
+ msgid ""
292
+ "Targeting Rules <em>Messages in this campaign will be shown when all these "
293
+ "rules match...</em>"
294
+ msgstr ""
295
+
296
+ #: classes/class-wp-campaign.php:112 classes/class-wp-campaign.php:255
297
+ msgid "Give this message a name for your own reference"
298
+ msgstr ""
299
+
300
+ #: classes/class-wp-campaign.php:117 classes/class-wp-campaign.php:259
301
+ msgid " sec"
302
+ msgstr ""
303
+
304
+ #: classes/class-wp-campaign.php:120 classes/class-wp-campaign.php:262
305
+ #: icegram.php:449
306
+ msgid "Edit Message"
307
+ msgstr ""
308
+
309
+ #: classes/class-wp-campaign.php:121 classes/class-wp-campaign.php:263
310
+ msgid "Remove from Campaign"
311
+ msgstr ""
312
+
313
+ #: classes/class-wp-campaign.php:139
314
+ msgid ""
315
+ "No messages yet. Use search / create bar above to add messages to this "
316
+ "campaign."
317
+ msgstr ""
318
+
319
+ #: classes/class-wp-campaign.php:198
320
+ msgid "- - - - - - - - - - - - - - - - - - - - - - - - - -"
321
+ msgstr ""
322
+
323
+ #: classes/class-wp-campaign.php:215 classes/class-wp-message.php:72
324
+ #: classes/class-wp-message.php:200
325
+ msgid "Type"
326
+ msgstr ""
327
+
328
+ #: classes/class-wp-campaign.php:217
329
+ msgid "Show after"
330
+ msgstr ""
331
+
332
+ #: classes/class-wp-campaign.php:218
333
+ msgid "Actions"
334
+ msgstr ""
335
+
336
+ #: classes/class-wp-campaign.php:293
337
+ msgid "Where?"
338
+ msgstr ""
339
+
340
+ #: classes/class-wp-campaign.php:296
341
+ msgid "Sitewide"
342
+ msgstr ""
343
+
344
+ #: classes/class-wp-campaign.php:303
345
+ msgid "Homepage"
346
+ msgstr ""
347
+
348
+ #: classes/class-wp-campaign.php:310
349
+ msgid "Selected pages"
350
+ msgstr ""
351
+
352
+ #: classes/class-wp-campaign.php:316
353
+ msgid "Select a page&hellip;"
354
+ msgstr ""
355
+
356
+ #: classes/class-wp-campaign.php:330
357
+ msgid ""
358
+ "Additionally you can insert <code>[%s]</code> wherever you want to run this "
359
+ "campaign."
360
+ msgstr ""
361
+
362
+ #: classes/class-wp-campaign.php:336
363
+ msgid "When?"
364
+ msgstr ""
365
+
366
+ #: classes/class-wp-campaign.php:339
367
+ msgid "Always"
368
+ msgstr ""
369
+
370
+ #: classes/class-wp-campaign.php:346
371
+ msgid "Schedule"
372
+ msgstr ""
373
+
374
+ #: classes/class-wp-campaign.php:349
375
+ msgid "From&hellip;"
376
+ msgstr ""
377
+
378
+ #: classes/class-wp-campaign.php:352
379
+ msgid "To&hellip;"
380
+ msgstr ""
381
+
382
+ #: classes/class-wp-campaign.php:360
383
+ msgid "Device?"
384
+ msgstr ""
385
+
386
+ #: classes/class-wp-campaign.php:361
387
+ msgid "Mobile / Smartphones"
388
+ msgstr ""
389
+
390
+ #: classes/class-wp-campaign.php:365
391
+ msgid "Tablet"
392
+ msgstr ""
393
+
394
+ #: classes/class-wp-campaign.php:369
395
+ msgid "Desktop / Laptop"
396
+ msgstr ""
397
+
398
+ #: classes/class-wp-campaign.php:377
399
+ msgid "Who?"
400
+ msgstr ""
401
+
402
+ #: classes/class-wp-campaign.php:380
403
+ msgid "All users"
404
+ msgstr ""
405
+
406
+ #: classes/class-wp-campaign.php:387
407
+ msgid "Logged in users only"
408
+ msgstr ""
409
+
410
+ #: classes/class-wp-campaign.php:405
411
+ msgid "Select a user role&hellip;"
412
+ msgstr ""
413
+
414
+ #: classes/class-wp-campaign.php:420
415
+ msgid "Retargeting"
416
+ msgstr ""
417
+
418
+ #: classes/class-wp-campaign.php:423
419
+ msgid "Once shown, do NOT show a message again for current session"
420
+ msgstr ""
421
+
422
+ #: classes/class-wp-message.php:73 classes/class-wp-message.php:212
423
+ msgid "Theme"
424
+ msgstr ""
425
+
426
+ #: classes/class-wp-message.php:74
427
+ msgid "Thumbnail"
428
+ msgstr ""
429
+
430
+ #: classes/class-wp-message.php:141
431
+ msgid "Message Settings"
432
+ msgstr ""
433
+
434
+ #: classes/class-wp-message.php:224 classes/class-wp-message.php:232
435
+ msgid "Animation"
436
+ msgstr ""
437
+
438
+ #: classes/class-wp-message.php:241
439
+ msgid "Headline"
440
+ msgstr ""
441
+
442
+ #: classes/class-wp-message.php:242
443
+ msgid ""
444
+ "Shown with highest prominence. Click on idea button on right to get a new "
445
+ "headline."
446
+ msgstr ""
447
+
448
+ #: classes/class-wp-message.php:245
449
+ msgid "Give Me Another Headline"
450
+ msgstr ""
451
+
452
+ #: classes/class-wp-message.php:251
453
+ msgid "Button Label"
454
+ msgstr ""
455
+
456
+ #: classes/class-wp-message.php:252
457
+ msgid "Your call to action text. Something unusual will increase conversions."
458
+ msgstr ""
459
+
460
+ #: classes/class-wp-message.php:258
461
+ msgid "Target Link"
462
+ msgstr ""
463
+
464
+ #: classes/class-wp-message.php:259
465
+ msgid "Enter destination URL here. Clicking will redirect to this link."
466
+ msgstr ""
467
+
468
+ #: classes/class-wp-message.php:265
469
+ msgid "Icon / Avatar Image"
470
+ msgstr ""
471
+
472
+ #: classes/class-wp-message.php:266
473
+ msgid "This image will appear in message content."
474
+ msgstr ""
475
+
476
+ #: classes/class-wp-message.php:269
477
+ msgid "Upload / Select an image"
478
+ msgstr ""
479
+
480
+ #: classes/class-wp-message.php:269
481
+ msgid "Upload / Select Image"
482
+ msgstr ""
483
+
484
+ #: classes/class-wp-message.php:274
485
+ msgid "Backgound Color"
486
+ msgstr ""
487
+
488
+ #: classes/class-wp-message.php:278
489
+ msgid "Text Color"
490
+ msgstr ""
491
+
492
+ #: classes/class-wp-message.php:292
493
+ msgid "Message Body"
494
+ msgstr ""
495
+
496
+ #: classes/class-wp-message.php:297
497
+ msgid "Position"
498
+ msgstr ""
499
+
500
+ #: classes/class-wp-message.php:358
501
+ msgid ""
502
+ "You can insert <code>[%s]</code> wherever you want to show this message. We "
503
+ "recommend running a campaign though."
504
+ msgstr ""
505
+
506
+ #: classes/class-wp-message.php:424
507
+ msgid "Here Is A Method That Is Helping ____ To ____"
508
+ msgstr ""
509
+
510
+ #: classes/class-wp-message.php:425
511
+ msgid "__ Little Known Ways To ____"
512
+ msgstr ""
513
+
514
+ #: classes/class-wp-message.php:426
515
+ msgid "Get Rid Of ____ Once And For All"
516
+ msgstr ""
517
+
518
+ #: classes/class-wp-message.php:427
519
+ msgid "How To ____ So You Can ____"
520
+ msgstr ""
521
+
522
+ #: classes/class-wp-message.php:428
523
+ msgid "They Didn't Think I Could ____, But I Did"
524
+ msgstr ""
525
+
526
+ #: classes/class-wp-message.php:429
527
+ msgid "How ____ Made Me ____"
528
+ msgstr ""
529
+
530
+ #: classes/class-wp-message.php:430
531
+ msgid "Are You ____ ?"
532
+ msgstr ""
533
+
534
+ #: classes/class-wp-message.php:431
535
+ msgid "Warning: ____ !"
536
+ msgstr ""
537
+
538
+ #: classes/class-wp-message.php:432
539
+ msgid "Do You Make These Mistakes With ____ ?"
540
+ msgstr ""
541
+
542
+ #: classes/class-wp-message.php:433
543
+ msgid "7 Ways To ____"
544
+ msgstr ""
545
+
546
+ #: classes/class-wp-message.php:434
547
+ msgid "If You're ____, You Can ____"
548
+ msgstr ""
549
+
550
+ #: classes/class-wp-message.php:435
551
+ msgid "Turn your ____ into a ____"
552
+ msgstr ""
553
+
554
+ #: classes/class-wp-message.php:436
555
+ msgid "Want To Be A ____?"
556
+ msgstr ""
557
+
558
+ #: classes/class-wp-message.php:437
559
+ msgid "The Ugly Truth About Your Beautiful ____"
560
+ msgstr ""
561
+
562
+ #: classes/class-wp-message.php:438
563
+ msgid "The Secret to ____ Is Simply ____!"
564
+ msgstr ""
565
+
566
+ #: classes/class-wp-message.php:439
567
+ msgid "The Quickest Way I Know To ____"
568
+ msgstr ""
569
+
570
+ #: classes/class-wp-message.php:440
571
+ msgid "The Lazy Man's Way To ____"
572
+ msgstr ""
573
+
574
+ #: classes/class-wp-message.php:441
575
+ msgid ""
576
+ "The Amazing Story Of ____ That Requires So Little Of ____ You Could ____"
577
+ msgstr ""
578
+
579
+ #: classes/class-wp-message.php:442
580
+ msgid "The Amazing Secret Of The ____ Genius Who Is Afraid Of ____"
581
+ msgstr ""
582
+
583
+ #: classes/class-wp-message.php:443
584
+ msgid "The 10 Wackiest Ideas That ____... And How You Can Too!"
585
+ msgstr ""
586
+
587
+ #: classes/class-wp-message.php:444
588
+ msgid "The Inside Secrets To ____ With Crazy, Outlandish And Outrageous ____"
589
+ msgstr ""
590
+
591
+ #: classes/class-wp-message.php:445
592
+ msgid "____ Like A ____"
593
+ msgstr ""
594
+
595
+ #: classes/class-wp-message.php:446
596
+ msgid "Remember When You Could Have ____, And You Didn't?"
597
+ msgstr ""
598
+
599
+ #: classes/class-wp-message.php:447
600
+ msgid "Is The ____ Worth $x To You?"
601
+ msgstr ""
602
+
603
+ #: classes/class-wp-message.php:448
604
+ msgid "Increase your ____, reduce ____, maintain ____ and ____ with ____"
605
+ msgstr ""
606
+
607
+ #: classes/class-wp-message.php:449
608
+ msgid "If You Can ____ You Can ____"
609
+ msgstr ""
610
+
611
+ #: classes/class-wp-message.php:450
612
+ msgid "I Discovered How To ____... Now I'm Revealing My Secret"
613
+ msgstr ""
614
+
615
+ #: classes/class-wp-message.php:451
616
+ msgid "How To Turn Your ____ Into The Most ____"
617
+ msgstr ""
618
+
619
+ #: classes/class-wp-message.php:452
620
+ msgid "How To Take The Headache Out Of ____"
621
+ msgstr ""
622
+
623
+ #: classes/class-wp-message.php:453
624
+ msgid "How To ____ ... Legally"
625
+ msgstr ""
626
+
627
+ #: classes/class-wp-message.php:454
628
+ msgid "How To ____ That ____"
629
+ msgstr ""
630
+
631
+ #: classes/class-wp-message.php:455
632
+ msgid "How To Discover The ____ That Lies Hidden In Your ____"
633
+ msgstr ""
634
+
635
+ #: classes/class-wp-message.php:456
636
+ msgid "How To ____ Even When Your Not ____"
637
+ msgstr ""
638
+
639
+ #: classes/class-wp-message.php:457
640
+ msgid "____ With No ____!"
641
+ msgstr ""
642
+
643
+ #: classes/class-wp-message.php:458
644
+ msgid "Greatest Goldmine of ____ Ever Jammed Into One Big ____"
645
+ msgstr ""
646
+
647
+ #: classes/class-wp-message.php:459
648
+ msgid "Free ____ Tells How To Get Better ____"
649
+ msgstr ""
650
+
651
+ #: classes/class-wp-message.php:460
652
+ msgid ""
653
+ "FREE ____ Worth $____ for the first 100 People to take Advantage of this "
654
+ "Offer"
655
+ msgstr ""
656
+
657
+ #: classes/class-wp-message.php:461
658
+ msgid "Don't Try This With Any Other ____"
659
+ msgstr ""
660
+
661
+ #: classes/class-wp-message.php:462
662
+ msgid "Do You Honestly Want To ____?"
663
+ msgstr ""
664
+
665
+ #: classes/class-wp-message.php:463
666
+ msgid "Discover The Magic ____ That Will Bring You ____ & ____!"
667
+ msgstr ""
668
+
669
+ #: classes/class-wp-message.php:464
670
+ msgid "____ Man Reveals A Short-Cut To ____"
671
+ msgstr ""
672
+
673
+ #: classes/class-wp-message.php:465
674
+ msgid "Confessions Of A ____"
675
+ msgstr ""
676
+
677
+ #: classes/class-wp-message.php:466
678
+ msgid "Are You Ready To ____?"
679
+ msgstr ""
680
+
681
+ #: classes/class-wp-message.php:467
682
+ msgid "An Open Letter To Everyone Who ____ More Than ____ Per ____"
683
+ msgstr ""
684
+
685
+ #: classes/class-wp-message.php:468
686
+ msgid "An Amazing ____ You Can Carry In Your ____"
687
+ msgstr ""
688
+
689
+ #: classes/class-wp-message.php:469
690
+ msgid "21 Secret ____ that will ____... NOW!"
691
+ msgstr ""
692
+
693
+ #: icegram-includes/class-icegram-upgrade.php:360
694
+ msgid "Send"
695
+ msgstr ""
696
+
697
+ #: icegram-includes/class-icegram-upgrade.php:385
698
+ msgid "Submit your query"
699
+ msgstr ""
700
+
701
+ #: icegram-includes/class-icegram-upgrade.php:385
702
+ msgid "Support"
703
+ msgstr ""
704
+
705
+ #: icegram-includes/class-icegram-upgrade.php:387
706
+ msgid "Documentation"
707
+ msgstr ""
708
+
709
+ #: icegram-includes/class-icegram-upgrade.php:387
710
+ msgid "Docs"
711
+ msgstr ""
712
+
713
+ #: icegram.php:98
714
+ msgid "Docs & Support"
715
+ msgstr ""
716
+
717
+ #: icegram.php:175
718
+ msgid "Powered by Icegram"
719
+ msgstr ""
720
+
721
+ #: icegram.php:409
722
+ msgid "Campaign"
723
+ msgstr ""
724
+
725
+ #: icegram.php:410 icegram.php:411
726
+ msgid "Add New Campaign"
727
+ msgstr ""
728
+
729
+ #: icegram.php:412
730
+ msgid "Edit Campaign"
731
+ msgstr ""
732
+
733
+ #: icegram.php:413
734
+ msgid "New Campaign"
735
+ msgstr ""
736
+
737
+ #: icegram.php:415
738
+ msgid "View Campaign"
739
+ msgstr ""
740
+
741
+ #: icegram.php:416
742
+ msgid "Search Campaigns"
743
+ msgstr ""
744
+
745
+ #: icegram.php:417
746
+ msgid "No campaigns found"
747
+ msgstr ""
748
+
749
+ #: icegram.php:418
750
+ msgid "No campaigns found in Trash"
751
+ msgstr ""
752
+
753
+ #. #-#-#-#-# plugin.pot (Icegram 1.1) #-#-#-#-#
754
+ #. Plugin Name of the plugin/theme
755
+ #. #-#-#-#-# plugin.pot (Icegram 1.1) #-#-#-#-#
756
+ #. Author of the plugin/theme
757
+ #: icegram.php:420
758
+ msgid "Icegram"
759
+ msgstr ""
760
+
761
+ #: icegram.php:447
762
+ msgid "Create New"
763
+ msgstr ""
764
+
765
+ #: icegram.php:448
766
+ msgid "Create New Message"
767
+ msgstr ""
768
+
769
+ #: icegram.php:450
770
+ msgid "New Message"
771
+ msgstr ""
772
+
773
+ #: icegram.php:452
774
+ msgid "View Message"
775
+ msgstr ""
776
+
777
+ #: icegram.php:453
778
+ msgid "Search Messages"
779
+ msgstr ""
780
+
781
+ #: icegram.php:454
782
+ msgid "No messages found"
783
+ msgstr ""
784
+
785
+ #: icegram.php:455
786
+ msgid "No messages found in Trash"
787
+ msgstr ""
788
+
789
+ #. #-#-#-#-# plugin.pot (Icegram 1.1) #-#-#-#-#
790
+ #. Plugin URI of the plugin/theme
791
+ #. #-#-#-#-# plugin.pot (Icegram 1.1) #-#-#-#-#
792
+ #. Author URI of the plugin/theme
793
+ msgid "http://www.icegram.com/"
794
+ msgstr ""
795
+
796
+ #. Description of the plugin/theme
797
+ msgid ""
798
+ "All in one solution to inspire, convert and engage your audiences. Action "
799
+ "bars, Popup windows, Messengers, Toast notifications and more. Awesome "
800
+ "themes and powerful rules."
801
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:http://www.icegram.com/
4
  Tags: popup, window, hellobar, action bar, header bar, footer bar, notification, messenger, targeting, rules, auto responder, icegram, responsive, slide
5
  Requires at least: 3.8
6
  Tested up to: 3.9.1
7
- Stable tag: 1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -80,11 +80,8 @@ Icegram is actively developed. If you can't find your favorite feature (or have
80
  Contact Us, provide as much detail of the problem as you can. We will try to solve the problem ASAP.
81
 
82
  == Screenshots ==
83
-
84
  1. Different Icegram messages
85
-
86
  2. The Icegram workflow
87
-
88
  3. Editing an Icegram campaign - add multiple messages, edit them, targeting rules, full HTML editor, themes and more
89
 
90
  == Upgrade Notice ==
@@ -95,6 +92,9 @@ Initial Release
95
  = 1.1 =
96
  First release on WordPress.org
97
 
 
 
 
98
 
99
  == Changelog ==
100
 
@@ -103,3 +103,8 @@ First release on WordPress.org
103
 
104
  = 1.1 =
105
  * Loading CSS from own domain instead of Google
 
 
 
 
 
4
  Tags: popup, window, hellobar, action bar, header bar, footer bar, notification, messenger, targeting, rules, auto responder, icegram, responsive, slide
5
  Requires at least: 3.8
6
  Tested up to: 3.9.1
7
+ Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
80
  Contact Us, provide as much detail of the problem as you can. We will try to solve the problem ASAP.
81
 
82
  == Screenshots ==
 
83
  1. Different Icegram messages
 
84
  2. The Icegram workflow
 
85
  3. Editing an Icegram campaign - add multiple messages, edit them, targeting rules, full HTML editor, themes and more
86
 
87
  == Upgrade Notice ==
92
  = 1.1 =
93
  First release on WordPress.org
94
 
95
+ = 1.1.1 =
96
+ Compatibility with W3TC and Localization
97
+
98
 
99
  == Changelog ==
100
 
103
 
104
  = 1.1 =
105
  * Loading CSS from own domain instead of Google
106
+
107
+ = 1.1.1 =
108
+ * Fix for crash on activation with W3 Total Cache
109
+ * Added localization / translation ability
110
+