PowerPress Podcasting plugin by Blubrry - Version 8.2.6

Version Description

  • Released 3/4/2020
  • Fixed a bug that was messing with some users' season numbers
  • Added an option in Settings to display the whole episode box (as opposed to verifying the media link before allowing any metadata to be entered)
  • Fixed a bug that was being caused by translated characters
  • Corrected the powerpress player shortcode [powerpress] in the episode box
  • Fixed some smaller bugs dealing with the functionality of the tabs and the artwork preview for multiple categories
Download this release

Release Info

Developer benbeecroft
Plugin Icon 128x128 PowerPress Podcasting plugin by Blubrry
Version 8.2.6
Comparing to
See all releases

Code changes from version 8.2.5 to 8.2.6

js/admin.js CHANGED
@@ -15,13 +15,17 @@ function powerpress_openTab(evt, cityName) {
15
  // Get all elements with class="pp-tabcontent" and hide them
16
  tabcontent = document.getElementsByClassName("pp-tabcontent");
17
  for (i = 0; i < tabcontent.length; i++) {
18
- tabcontent[i].style.display = "none";
 
 
19
  }
20
 
21
  // Get all elements with class="tablinks" and remove the class "active"
22
  tablinks = document.getElementsByClassName("tablinks");
23
  for (i = 0; i < tablinks.length; i++) {
24
- tablinks[i].className = tablinks[i].className.replace(" active", "");
 
 
25
  }
26
 
27
  // Show the current tab, and add an "active" class to the button that opened the tab
@@ -29,7 +33,7 @@ function powerpress_openTab(evt, cityName) {
29
  evt.currentTarget.className += " active";
30
 
31
  //Set/unset the interval for updating artwork previews
32
- if (cityName == 'artwork-' + feed_slug && !interval) {
33
  let el = jQuery("#powerpress_itunes_image_" + feed_slug);
34
  interval = setInterval(function() { powerpress_insertArtIntoPreview(el[0]); }, 1000);
35
  }
@@ -196,6 +200,7 @@ function powerpress_saveMediaFile(el) {
196
  player_size_line.removeAttr("style");
197
  player_size_line.attr("style", "display: none");
198
  }
 
199
  if (link.includes("/")) {
200
  link_parts = link.split("/");
201
  } else {
@@ -220,6 +225,42 @@ function powerpress_saveMediaFile(el) {
220
  }
221
  }
222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  //Continue button for adding media to a post
224
  function powerpress_continueToEpisodeSettings(el) {
225
  let feed_slug = el.id.replace("continue-to-episode-settings-", "");
15
  // Get all elements with class="pp-tabcontent" and hide them
16
  tabcontent = document.getElementsByClassName("pp-tabcontent");
17
  for (i = 0; i < tabcontent.length; i++) {
18
+ if (tabcontent[i].id.endsWith(feed_slug)) {
19
+ tabcontent[i].style.display = "none";
20
+ }
21
  }
22
 
23
  // Get all elements with class="tablinks" and remove the class "active"
24
  tablinks = document.getElementsByClassName("tablinks");
25
  for (i = 0; i < tablinks.length; i++) {
26
+ if (tablinks[i].id.endsWith(feed_slug)) {
27
+ tablinks[i].className = tablinks[i].className.replace(" active", "");
28
+ }
29
  }
30
 
31
  // Show the current tab, and add an "active" class to the button that opened the tab
33
  evt.currentTarget.className += " active";
34
 
35
  //Set/unset the interval for updating artwork previews
36
+ if (cityName == 'artwork-' + feed_slug) {
37
  let el = jQuery("#powerpress_itunes_image_" + feed_slug);
38
  interval = setInterval(function() { powerpress_insertArtIntoPreview(el[0]); }, 1000);
39
  }
200
  player_size_line.removeAttr("style");
201
  player_size_line.attr("style", "display: none");
202
  }
203
+ show_input.attr("title", link);
204
  if (link.includes("/")) {
205
  link_parts = link.split("/");
206
  } else {
225
  }
226
  }
227
 
228
+ //Continue button for adding media to a post
229
+ function powerpress_skipToEpisodeSettings(feed_slug) {
230
+ console.log("Skipping");
231
+ let file_input = jQuery("#pp-url-input-container-" + feed_slug);
232
+ let file_show = jQuery("#powerpress_url_show_" + feed_slug);
233
+ let tab_container = jQuery("#tab-container-" + feed_slug);
234
+ let warning = jQuery("#file-select-warning-" + feed_slug);
235
+ let edit_file = jQuery("#edit-media-file-" + feed_slug);
236
+ let select_file = jQuery("#select-media-file-" + feed_slug);
237
+ let head = jQuery("#pp-pp-selected-media-head-" + feed_slug);
238
+ let above_label = jQuery("#pp-url-input-above-" + feed_slug);
239
+ let below_label = jQuery("#pp-url-input-below-" + feed_slug);
240
+ let container = jQuery("#a-pp-selected-media-" + feed_slug);
241
+ let details = jQuery("#media-file-details-" + feed_slug);
242
+
243
+ tab_container.removeAttr("style");
244
+ tab_container.attr("style", "display: block");
245
+ select_file.removeAttr("style");
246
+ select_file.attr("style", "display: none");
247
+ edit_file.removeAttr("style");
248
+ edit_file.attr("style", "display: inline-block");
249
+ file_input.removeAttr("style");
250
+ file_input.attr("style", "display: none");
251
+ file_show.removeAttr("style");
252
+ file_show.attr("style", "display: inline-block");
253
+ warning.removeAttr("style");
254
+ warning.attr("style", "display: none");
255
+ head.removeAttr("style");
256
+ head.attr("style", "display: none");
257
+ above_label.attr("style", "display: none");
258
+ below_label.attr("style", "display: none");
259
+ details.removeAttr("style");
260
+ details.attr("style", "display: inline-block");
261
+ container.removeAttr("style");
262
+ }
263
+
264
  //Continue button for adding media to a post
265
  function powerpress_continueToEpisodeSettings(el) {
266
  let feed_slug = el.id.replace("continue-to-episode-settings-", "");
powerpress-metamarks.php CHANGED
@@ -23,6 +23,9 @@ function powerpress_metabox_save($post_ID)
23
  if (isset($Powerpress['season'])) {
24
  $new = array("current_season" => $Powerpress['season']);
25
  powerpress_save_settings($new, 'powerpress_general');
 
 
 
26
  }
27
 
28
  if( !empty($MetaMarks[ $feed_slug ]) )
23
  if (isset($Powerpress['season'])) {
24
  $new = array("current_season" => $Powerpress['season']);
25
  powerpress_save_settings($new, 'powerpress_general');
26
+ } else {
27
+ $new = array("current_season" => null);
28
+ powerpress_save_settings($new, 'powerpress_general');
29
  }
30
 
31
  if( !empty($MetaMarks[ $feed_slug ]) )
powerpress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
- Version: 8.2.5
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
@@ -36,7 +36,7 @@ if( !function_exists('add_action') ) {
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
- define('POWERPRESS_VERSION', '8.2.5' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
+ Version: 8.2.6
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
+ define('POWERPRESS_VERSION', '8.2.6' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-basic.php CHANGED
@@ -727,6 +727,8 @@ function powerpressadmin_appearance($General=false, $Feed = false)
727
 
728
  <h3><?php echo __('Website Settings', 'powerpress'); ?></h3>
729
  <div id="enable_presentation_settings">
 
 
730
  <table class="form-table">
731
  <tr valign="top">
732
  <th scope="row">&nbsp; </th>
@@ -747,6 +749,19 @@ function powerpressadmin_appearance($General=false, $Feed = false)
747
  </td>
748
  </tr>
749
  </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
750
  </div><!-- end enable_presentation_settings -->
751
  <div id="presentation_settings"<?php if($General['disable_appearance']) echo ' style="display: none;"'; ?>>
752
  <!-- start presentation_settings in advanced mode -->
727
 
728
  <h3><?php echo __('Website Settings', 'powerpress'); ?></h3>
729
  <div id="enable_presentation_settings">
730
+
731
+
732
  <table class="form-table">
733
  <tr valign="top">
734
  <th scope="row">&nbsp; </th>
749
  </td>
750
  </tr>
751
  </table>
752
+
753
+
754
+ <table class="form-table">
755
+ <tr valign="top">
756
+ <th scope="row">
757
+ <?php echo __('Episode Box Appearance', 'powerpress'); ?></th>
758
+ <td>
759
+
760
+ <p><label><input type="checkbox" name="General[skip_to_episode_settings]" value="2" <?php if( isset($General['skip_to_episode_settings']) && $General['skip_to_episode_settings'] ) echo 'checked '; ?>/> <?php echo __('Skip Media Verification', 'powerpress'); ?></label></p>
761
+ <p><?php echo __('Check this box to display all episode settings before the media is verified. If this setting is selected, you risk losing all your entered data if you try to publish an episode that has no media attached. This setting should only be enabled by very experienced PowerPress users.', 'powerpress'); ?></p>
762
+ </td>
763
+ </tr>
764
+ </table>
765
  </div><!-- end enable_presentation_settings -->
766
  <div id="presentation_settings"<?php if($General['disable_appearance']) echo ' style="display: none;"'; ?>>
767
  <!-- start presentation_settings in advanced mode -->
powerpressadmin-metabox.php CHANGED
@@ -29,19 +29,19 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
29
  ?>
30
  <div id="a-pp-selected-media-<?php echo $FeedSlug; ?>" style="<?php echo $style5 ?>">
31
  <h3 id="pp-pp-selected-media-head-<?php echo $FeedSlug; ?>"
32
- style="<?php echo $style4; ?>"><?php echo __('Attach podcast media or enter URL', 'powerpress'); ?></h3>
33
  <div id="pp-selected-media-text-<?php echo $FeedSlug; ?>">
34
  <div id="media-input-<?php echo $FeedSlug; ?>" class="powerpress-label-container">
35
  <div id="pp-url-input-container-<?php echo $FeedSlug; ?>" style="<?php echo $style1 ?>">
36
  <label id="pp-url-input-above-<?php echo $FeedSlug; ?>" class="pp-url-input-label"
37
  style="display: none;"
38
- for="powerpress_url_<?php echo $FeedSlug; ?>"><?php echo __('File Media or URL'); ?></label>
39
- <input type="text" id="powerpress_url_<?php echo $FeedSlug; ?>" title="<?php echo __('File Media or URL'); ?>"
40
- name="Powerpress[<?php echo $FeedSlug; ?>][url]"
41
- value="<?php echo esc_attr($EnclosureURL); ?>" <?php echo(!empty($ExtraData['hosting']) ? 'readOnly' : ''); ?> />
42
  <label id="pp-url-input-below-<?php echo $FeedSlug; ?>" class="pp-url-input-label"
43
  style="display: none;"
44
- for="powerpress_url_<?php echo $FeedSlug; ?>"><?php echo __('Update URL or attach new media file'); ?></label>
45
  </div>
46
  <div style="<?php echo $style3 ?>" class="pp-ep-box-input" title="<?php echo $EnclosureURL; ?>"
47
  id="powerpress_url_show_<?php echo $FeedSlug; ?>">
@@ -55,7 +55,7 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
55
  <img id="powerpress_check_<?php echo $FeedSlug; ?>"
56
  src="<?php echo admin_url(); ?>images/loading.gif"
57
  style="height: 24px; margin-top: 14px; margin-right: 1em; vertical-align:text-top; float: right; display: none;"
58
- alt="<?php echo __('Checking Media', 'powerpress'); ?>"/>
59
  </div>
60
  </div>
61
  </div>
@@ -65,17 +65,17 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
65
  href="<?php echo admin_url('admin.php'); ?>?action=powerpress-jquery-media&podcast-feed=<?php echo $FeedSlug; ?>&KeepThis=true&TB_iframe=true&modal=false"
66
  class="thickbox">
67
  <div class="pp-gray-button"
68
- id="select-media-button-<?php echo $FeedSlug; ?>"><?php echo __('SELECT FILE', 'powerpress'); ?></div>
69
  </a>
70
  <div id="continue-to-episode-settings-<?php echo $FeedSlug; ?>" class="pp-blue-button"
71
- onclick="powerpress_continueToEpisodeSettings(this)"><?php echo __('CONTINUE', 'powerpress'); ?></div>
72
  </div>
73
 
74
  <div id="edit-media-file-<?php echo $FeedSlug; ?>" style="<?php echo $style3 ?>">
75
  <div id="pp-edit-media-button-<?php echo $FeedSlug; ?>" class="pp-gray-button"
76
- onclick="powerpress_changeMediaFile(this)"><?php echo __('CHANGE MEDIA', 'powerpress'); ?></div>
77
  <div id="verify-button-<?php echo $FeedSlug; ?>" class="pp-blue-button"
78
- onclick="powerpress_verifyMedia(this)"><?php echo __('VERIFY LINK', 'powerpress'); ?></div>
79
  </div>
80
 
81
  <div id="pp-change-media-file-<?php echo $FeedSlug; ?>" style="display: none;">
@@ -83,16 +83,16 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
83
  href="<?php echo admin_url('admin.php'); ?>?action=powerpress-jquery-media&podcast-feed=<?php echo $FeedSlug; ?>&KeepThis=true&TB_iframe=true&modal=false"
84
  class="thickbox">
85
  <div class="pp-gray-button"
86
- id="change-media-button-<?php echo $FeedSlug; ?>"><?php echo __('CHOOSE FILE', 'powerpress'); ?></div>
87
  </a>
88
  <div id="save-media-<?php echo $FeedSlug; ?>" class="pp-blue-button"
89
- onclick="powerpress_saveMediaFile(this)"><?php echo __('SAVE', 'powerpress'); ?></div>
90
  </div>
91
  <div id="pp-warning-messages">
92
  <div id="file-select-warning-<?php echo $FeedSlug; ?>"
93
- style="background-color: white; box-shadow: none; margin-left: 0; padding-left: 3px; display:none; color: #dc3232;"><?php echo __('You must have a media file selected to continue to episode settings.', 'powerpress'); ?></div>
94
  <div id="file-change-warning-<?php echo $FeedSlug; ?>"
95
- style="background-color: #f5f5f5; box-shadow: none; margin-left: 0; padding-left: 3px; display:none; color: #dc3232;"><?php echo __('You must have a media file selected to save.', 'powerpress'); ?></div>
96
  <div id="powerpress_warning_<?php echo $FeedSlug; ?>"
97
  style="background-color: #f5f5f5; box-shadow: none; margin-left: 0; padding-left: 3px; display:none; color: #dc3232;"></div>
98
  <input type="hidden" id="powerpress_hosting_<?php echo $FeedSlug; ?>"
@@ -100,9 +100,9 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
100
  value="<?php echo(!empty($ExtraData['hosting']) ? '1' : '0'); ?>"/>
101
  <div id="powerpress_hosting_note_<?php echo $FeedSlug; ?>"
102
  style="margin-left: 2px; padding-bottom: 2px; padding-top: 2px; display: <?php echo(!empty($ExtraData['hosting']) ? 'block' : 'none'); ?>">
103
- <em><?php echo __('Media file hosted by blubrry.com.', 'powerpress'); ?>
104
- (<a href="#" title="<?php echo __('Remove Blubrry.com hosted media file', 'powerpress'); ?>"
105
- onclick="powerpress_remove_hosting('<?php echo $FeedSlug; ?>');return false;"><?php echo __('remove', 'powerpress'); ?></a>)
106
  </em></div>
107
  <input type="hidden" id="powerpress_program_keyword_<?php echo $FeedSlug; ?>"
108
  name="Powerpress[<?php echo $FeedSlug; ?>][program_keyword]"
@@ -125,7 +125,7 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
125
 
126
  ?>
127
  <div id="pp-category-dropdown-<?php echo $FeedSlug; ?>">
128
- <label for="Powerpress[<?php echo $FeedSlug; ?>][category]"><?php echo __('Category', 'powerpress'); ?></label>
129
  <div class="powerpress_row_content"><?php
130
  echo '<select id="powerpress_category_'. $FeedSlug . '" name="Powerpress['. $FeedSlug .'][category]" class="pp-ep-box-input"> title="Category"';
131
  echo '<option value="0"';
@@ -152,71 +152,71 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
152
  <div id="show-hide-media-details-<?php echo $FeedSlug; ?>">
153
  <!--<div class="ep-box-line-bold"></div>-->
154
  <div id="media-details-container-<?php echo $FeedSlug; ?>">
155
- <button id="show-details-link-<?php echo $FeedSlug; ?>" class="media-details" title="<?php echo __("Show file size and duration","powerpress"); ?>"
156
- onclick="powerpress_showHideMediaDetails(this); return false;"><?php echo __('View File Size and Duration', 'powerpress'); ?> &#709;</button>
157
  <!--<a id="hide-details-link-<?php //echo $FeedSlug; ?>" class="pp-hidden-settings"
158
  onclick="showHideMediaDetails(this)"><?php //echo __('Hide File Size and Duration', 'powerpress'); ?> &#708;</a>-->
159
  </div>
160
  </div>
161
  <div id="hidden-media-details-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
162
  <div class="powerpress_row">
163
- <p class="media-details"><?php echo __('FILE SIZE', 'powerpress'); ?></p>
164
  <div class="ep-box-line-bold"></div>
165
  <div class="pp-detail-section">
166
  <div class="details-auto-detect">
167
- <input class="media-details-radio" id="powerpress_set_size_0_<?php echo $FeedSlug; ?>" title="<?php echo __("Auto detect file size","powerpress"); ?>"
168
  name="Powerpress[<?php echo $FeedSlug; ?>][set_size]" value="0"
169
  type="radio" <?php echo($GeneralSettings['set_size'] == 0 ? 'checked' : ''); ?> />
170
- <?php echo __('Auto detect file size', 'powerpress'); ?>
171
  </div>
172
  <div class="details-specify">
173
- <input class="media-details-radio" id="powerpress_set_size_1_<?php echo $FeedSlug; ?>" title="<?php echo __("Select specify file size","powerpress"); ?>"
174
  name="Powerpress[<?php echo $FeedSlug; ?>][set_size]" value="1"
175
  type="radio" <?php echo($GeneralSettings['set_size'] == 1 ? 'checked' : ''); ?> />
176
- <?php echo __('Specify', 'powerpress') . ': '; ?>
177
- <input class="pp-ep-box-input" type="text" id="powerpress_size_<?php echo $FeedSlug; ?>" title="<?php echo __("File size in bytes","powerpress"); ?>"
178
  name="Powerpress[<?php echo $FeedSlug; ?>][size]"
179
  value="<?php echo esc_attr($EnclosureLength); ?>" style="width: 110px;"
180
  onchange="javascript:jQuery('#powerpress_set_size_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
181
- <?php echo __('in bytes', 'powerpress'); ?>
182
  </div>
183
  </div>
184
  </div>
185
  <div class="powerpress_row">
186
- <p class="media-details"><?php echo __('DURATION', 'powerpress'); ?></p>
187
  <div class="ep-box-line-bold"></div>
188
  <div class="pp-detail-section">
189
  <div class="details-auto-detect">
190
- <input class="media-details-radio" id="powerpress_set_duration_0_<?php echo $FeedSlug; ?>" title="<?php echo __("Auto detect duration","powerpress"); ?>"
191
  name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="0"
192
  type="radio" <?php echo($GeneralSettings['set_duration'] == 0 ? 'checked' : ''); ?> />
193
- <?php echo __('Auto detect duration', 'powerpress'); ?>
194
  </div>
195
  <div class="details-specify">
196
- <input class="media-details-radio" id="powerpress_set_duration_1_<?php echo $FeedSlug; ?>" title="<?php echo __("Select specify duration","powerpress"); ?>"
197
  name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="1"
198
  type="radio" <?php echo($GeneralSettings['set_duration'] == 1 ? 'checked' : ''); ?> />
199
- <?php echo __('Specify', 'powerpress') . ': '; ?>
200
- <input type="text" class="pp-ep-box-input" id="powerpress_duration_hh_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration hours","powerpress"); ?>"
201
  placeholder="HH" name="Powerpress[<?php echo $FeedSlug; ?>][duration_hh]"
202
  maxlength="2" value="<?php echo esc_attr($DurationHH); ?>"
203
  onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
204
  style="margin-left: 4px;">:</strong>
205
- <input type="text" class="pp-ep-box-input" id="powerpress_duration_mm_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration minutes","powerpress"); ?>"
206
  placeholder="MM" name="Powerpress[<?php echo $FeedSlug; ?>][duration_mm]"
207
  maxlength="2" value="<?php echo esc_attr($DurationMM); ?>"
208
  onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
209
  style="margin-left: 4px;">:</strong>
210
- <input type="text" class="pp-ep-box-input" id="powerpress_duration_ss_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration seconds","powerpress"); ?>"
211
  placeholder="SS" name="Powerpress[<?php echo $FeedSlug; ?>][duration_ss]"
212
  maxlength="10" value="<?php echo esc_attr($DurationSS); ?>"
213
  onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
214
  </div>
215
  <div class="details-not-specified">
216
- <input class="media-details-radio" id="powerpress_set_duration_2_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration not specified","powerpress"); ?>"
217
  name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="-1"
218
  type="radio" <?php echo($GeneralSettings['set_duration'] == -1 ? 'checked' : ''); ?> />
219
- <?php echo __('Not specified', 'powerpress'); ?>
220
  </div>
221
  </div>
222
  </div>
@@ -254,86 +254,86 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $Gener
254
  ?>
255
  <div class="pp-section-container">
256
 
257
- <h4 class="pp-section-title"><?php echo __("Episode Title", 'powerpress') ?></h4>
258
  <div class="pp-tooltip-right" style="margin: 1ch 0 0 1ch;">i
259
- <span class="text-pp-tooltip" style="top: -50%; min-width: 200px;"><?php echo __('Please enter your episode title in the space for post title, above the post description.', 'powerpress'); ?></span>
260
  </div>
261
  <?php if ($seo_feed_title) { ?>
262
  <div class="powerpress_row">
263
  <div class="powerpress_row_content">
264
- <input type="text" id="powerpress_feed_title_<?php echo $FeedSlug; ?>" title="<?php echo __("Episode title","powerpress"); ?>"
265
  class="pp-ep-box-input"
266
  name="Powerpress[<?php echo $FeedSlug; ?>][feed_title]"
267
  value="<?php echo esc_attr($ExtraData['feed_title']); ?>"
268
- placeholder="<?php echo __('Custom episode title', 'powerpress'); ?>"
269
  style="width: 96%; margin-top: 1em;"/>
270
  </div>
271
- <label class="pp-ep-box-label-under"><?php echo __("Leave blank to use WordPress post title at the top of this page.", 'powerpress'); ?></label>
272
  </div>
273
  <?php } else { ?>
274
- <p class="pp-ep-box-text"><?php echo __("The episode title is pulled from your WordPress post title at the top of this page.", 'powerpress'); ?></p>
275
  <?php } ?>
276
  </div>
277
  <div class="pp-section-container">
278
- <h4 class="pp-section-title"><?php echo __("Episode Description", 'powerpress') ?></h4>
279
  <div class="pp-tooltip-right" style="margin: 1ch 0 0 1ch;">i
280
- <span class="text-pp-tooltip"><?php echo __('Please enter your description in the space above the episode box, underneath the post title.', 'powerpress'); ?></span>
281
  </div>
282
- <p class="pp-ep-box-text"><?php echo __("The episode description is pulled from your WordPress post content, which can be edited above.", 'powerpress'); ?></p>
283
  </div>
284
  <div id="apple-podcast-opt-<?php echo $FeedSlug; ?>" class="pp-section-container">
285
  <div class="pp-section-container">
286
- <h4 class="pp-section-title"><?php echo __("Apple Podcasts Optimization (optional)", 'powerpress') ?></h4>
287
  <div class="pp-tooltip-right">i
288
- <span class="text-pp-tooltip"><?php echo __('Fill this section out thoroughly to optimize the exposure that your podcast gets on Apple.', 'powerpress'); ?></span>
289
  </div>
290
  <div id="pp-explicit-container-<?php echo $FeedSlug; ?>">
291
  <input type="number" style="display: none" id="powerpress_explicit_<?php echo $FeedSlug; ?>"
292
  name="Powerpress[<?php echo $FeedSlug; ?>][explicit]" value="<?php echo $iTunesExplicit ? $iTunesExplicit : 0; ?>">
293
- <label class="pp-ep-box-label" for="explicit-switch-base-<?php echo $FeedSlug; ?>"><?php echo __("Explicit Setting", "powerpress"); ?></label>
294
  <div id="explicit-switch-base-<?php echo $FeedSlug; ?>">
295
- <div id="not-set-<?php echo $FeedSlug; ?>" title="<?php echo __("No explicit selected","powerpress"); ?>"
296
  onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-right: 1px solid #b3b3b3;"' : '' ?>
297
  " class="<?php echo $iTunesExplicit == 0 ? 'explicit-selected' : 'pp-explicit-option' ?>
298
- "><?php echo __('NOT SET', 'powerpress'); ?></div>
299
- <div id="clean-<?php echo $FeedSlug; ?>" title="<?php echo __("Clean content","powerpress"); ?>"
300
  onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? '' : ' style="border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;"' ?>
301
  " class="<?php echo $iTunesExplicit == 2 ? 'explicit-selected' : 'pp-explicit-option' ?>
302
- "><?php echo __('CLEAN', 'powerpress'); ?></div>
303
- <div id="explicit-<?php echo $FeedSlug; ?>" title="<?php echo __("Explicit content","powerpress"); ?>"
304
  onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-left: 1px solid #b3b3b3;"' : '' ?>
305
  " class="<?php echo $iTunesExplicit == 1 ? 'explicit-selected' : 'pp-explicit-option' ?>
306
- "><?php echo __('EXPLICIT', 'powerpress'); ?></div>
307
  </div>
308
  </div>
309
  </div>
310
  <div class="pp-section-container">
311
  <div class="powerpress-label-container" id="apple-title-container-<?php echo $FeedSlug; ?>">
312
  <label class="pp-ep-box-label-apple"
313
- for="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"><?php echo __('Title', 'powerpress'); ?></label>
314
- <input class="pp-ep-box-input" type="text" title="<?php echo __("Apple Podcasts episode title","powerpress"); ?>"
315
  id="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"
316
  name="Powerpress[<?php echo $FeedSlug; ?>][episode_title]"
317
  value="<?php echo esc_attr($ExtraData['episode_title']); ?>" maxlength="255"/>
318
  </div>
319
  <div class="powerpress-label-container" id="episode-no-container-<?php echo $FeedSlug; ?>">
320
  <label class="pp-ep-box-label-apple"
321
- for="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"><?php echo __('Episode #', 'powerpress'); ?></label>
322
- <input class="pp-ep-box-input" type="number" title="<?php echo __("Apple Podcasts episode number","powerpress"); ?>"
323
  id="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"
324
  name="Powerpress[<?php echo $FeedSlug; ?>][episode_no]"
325
  value="<?php echo esc_attr($ExtraData['episode_no']); ?>"/>
326
  </div>
327
  <div class="powerpress-label-container" id="season-container-<?php echo $FeedSlug; ?>">
328
  <label class="pp-ep-box-label-apple"
329
- for="powerpress_episode_season_<?php echo $FeedSlug; ?>"><?php echo __('Season #', 'powerpress'); ?></label>
330
  <!--<div class="pp-tooltip-left" style="float: right;">i
331
  <span class="text-pp-tooltip"
332
- style="float: right;"><?php echo __('If your feed type is set to serial, you may specify a season for each episode.', 'powerpress'); ?></span>
333
  </div>-->
334
  <input class="pp-ep-box-input" type="number" oninput="powerpress_setCurrentSeason(this)"
335
  id="powerpress_episode_season_<?php echo $FeedSlug; ?>"
336
- name="Powerpress[<?php echo $FeedSlug; ?>][season]" title="<?php echo __("Apple Podcasts season number","powerpress"); ?>"
337
  style="width: 100%;"
338
  <?php if (isset($ExtraData['season']) && $ExtraData['season']) {
339
  echo " value=\"" . esc_attr($ExtraData['season']) . "\"/>";
@@ -352,52 +352,52 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $Gener
352
  }
353
  ?>
354
  <script>
355
- var show_settings = "<?php echo __("See More Settings &#709;", "powerpress"); ?>";
356
- var hide_settings = "<?php echo __("Hide Settings &#708;", "powerpress"); ?>";
357
  </script>
358
 
359
  <div id="show-hide-apple-<?php echo $FeedSlug; ?>">
360
  <div class="ep-box-line-margin" style="border-top: 2px solid #EFEFEF;"></div>
361
  <div id="apple-advanced-container-<?php echo $FeedSlug; ?>">
362
- <button id="show-apple-link-<?php echo $FeedSlug; ?>" class="apple-advanced" aria-pressed="false" title="<?php echo __("More settings button","powerpress"); ?>"
363
- onclick="powerpress_showHideAppleAdvanced(this); return false;"><?php echo __('See More Settings &#709;', 'powerpress'); ?></button>
364
  </div>
365
  </div>
366
  <div id="apple-advanced-settings-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
367
  <div class="apple-opt-section-container">
368
  <div id="apple-summary-<?php echo $FeedSlug; ?>" class="powerpress-label-container" style="width: 100%;">
369
  <label class="pp-ep-box-label-apple"
370
- for="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo __('Summary', 'powerpress'); ?></label>
371
- <textarea id="powerpress_summary_<?php echo $FeedSlug; ?>" class="pp-ep-box-input" title="<?php echo __("Apple Podcasts episode summary","powerpress"); ?>"
372
  name="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo esc_textarea($iTunesSummary); ?></textarea>
373
- <label class="pp-ep-box-label-under"><?php echo __('Leave blank to use post content.', 'powerpress'); ?></label>
374
  </div>
375
  </div>
376
  <div class="apple-opt-section-container">
377
  <div class="powerpress-label-container" style="width: 100%;" id="apple-author-<?php echo $FeedSlug; ?>">
378
- <label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][author]"><?php echo __('Author', 'powerpress'); ?></label>
379
- <input class="pp-ep-box-input" type="text" id="powerpress_author_<?php echo $FeedSlug; ?>" title="<?php echo __("Apple Podcasts episode author","powerpress"); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][author]" value="<?php echo esc_attr($iTunesAuthor); ?>" />
380
- <label class="pp-ep-box-label-under"><?php echo __('Leave blank to use default.', 'powerpress'); ?></label>
381
  </div>
382
  </div>
383
  <div class="apple-opt-section-container">
384
  <div class="powerpress-label-container" style="width: 100%;" id="apple-subtitle-<?php echo $FeedSlug; ?>">
385
  <label class="pp-ep-box-label"
386
- for="Powerpress[<?php echo $FeedSlug; ?>][subtitle]"><?php echo __('Subtitle', 'powerpress'); ?></label>
387
  <input class="pp-ep-box-input" type="text" id="powerpress_subtitle_<?php echo $FeedSlug; ?>"
388
- name="Powerpress[<?php echo $FeedSlug; ?>][subtitle]" title="<?php echo __("Apple Podcasts episode subtitle","powerpress"); ?>"
389
  value="<?php echo esc_attr($iTunesSubtitle); ?>" size="250" />
390
- <label class="pp-ep-box-label-under"><?php echo __('Leave blank to use post excerpt.', 'powerpress'); ?></label>
391
  </div>
392
  </div>
393
  <div class="apple-opt-section-container">
394
  <div class="powerpress-label-container">
395
  <label class="pp-ep-box-label-apple"
396
- for="powerpress_episode_type_<?php echo $FeedSlug; ?>"><?php echo __('Type', 'powerpress'); ?></label>
397
  <select style="font-size: 14px;" class="pp-ep-box-input" id="powerpress_episode_type_<?php echo $FeedSlug; ?>"
398
- name="Powerpress[<?php echo $FeedSlug; ?>][episode_type]" title="<?php echo __("Apple Podcasts episode type","powerpress"); ?>">
399
  <?php
400
- $type_array = array('' => __('Full (default)', 'powerpress'), 'full' => __('Full Episode', 'powerpress'), 'trailer' => __('Trailer', 'powerpress'), 'bonus' => __('Bonus', 'powerpress'));
401
 
402
  foreach ($type_array as $value => $desc)
403
  echo "\t<option value=\"$value\"" . ($ExtraData['episode_type'] == $value ? ' selected' : '') . ">$desc</option>\n";
@@ -405,10 +405,10 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $Gener
405
  </select>
406
  </div>
407
  <div class="powerpress-label-container" style="float: right;">
408
- <label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][block]"><?php echo __('Block', 'powerpress'); ?></label>
409
- <select class="pp-ep-box-input" id="powerpress_block_<?php echo $FeedSlug; ?>" name="Powerpress[<?php echo $FeedSlug; ?>][block]" title="<?php echo __("Apple Podcasts block episode","powerpress"); ?>">
410
  <?php
411
- $block_array = array(''=>__('No', 'powerpress'), 1=>__('Yes, Block episode from Apple Podcasts', 'powerpress') );
412
 
413
  foreach( $block_array as $value => $desc )
414
  echo "\t<option value=\"$value\"". ($iTunesBlock==$value?' selected':''). ">$desc</option>\n";
@@ -419,19 +419,19 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $Gener
419
  </div>
420
  <div class="apple-opt-section-container">
421
  <div class="powerpress-label-container" id="apple-feature-<?php echo $FeedSlug; ?>" style="width: 65%;">
422
- <h4 class="pp-section-title-block" style="width: 100%;"><?php echo __("Feature Episode", 'powerpress') ?></h4>
423
  <?php if ($FeaturedChecked) { ?>
424
  <input type="hidden" name="PowerpressFeature[<?php echo $FeedSlug; ?>]" value="0" />
425
  <?php } ?>
426
  <input type="checkbox" id="powerpress_feature_<?php echo $FeedSlug; ?>"
427
- name="PowerpressFeature[<?php echo $FeedSlug; ?>]" title="<?php echo __("Feature episode","powerpress"); ?>"
428
  value="1" <?php echo($FeaturedChecked ? 'checked' : ''); ?> />
429
  <span for="powerpress_feature_<?php echo $FeedSlug; ?>"
430
- style="font-size: 14px;"> <?php echo __('Episode will appear at the top of your episode list in the Apple Podcast directory.', 'powerpress'); ?></span>
431
  </div>
432
  <div class="powerpress-label-container" id="type-<?php echo $FeedSlug; ?>" style="float: right; width: 30%;">
433
- <label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][order]"><?php echo __('Order', 'powerpress'); ?></label>
434
- <input class="pp-ep-box-input" type="number" id="powerpress_order_<?php echo $FeedSlug; ?>" title="<?php echo __("Apple Podcasts episode order","powerpress"); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][order]" value="<?php echo esc_attr($iTunesOrder); ?>" />
435
  </div>
436
  </div>
437
  </div>
@@ -455,13 +455,13 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
455
  <div class="pp-section-container">
456
  <div class="powerpress-art-text">
457
  <h4 class="pp-section-title"
458
- style="display: inline-block; margin-bottom: 1em;"><?php echo __('Apple Podcast Episode Artwork', 'powerpress'); ?></h4>
459
  <div class="pp-tooltip-right">i
460
  <span class="text-pp-tooltip"
461
- style="top: -150%;"><?php echo __('Episode artwork should be square and have dimensions between 1400 x 1400 pixels and 3000 x 3000 pixels.', 'powerpress'); ?></span>
462
  </div>
463
  <br/>
464
- <input type="text" class="pp-ep-box-input" title="<?php echo __("Apple Image URL","powerpress"); ?>"
465
  id="powerpress_itunes_image_<?php echo $FeedSlug; ?>"
466
  placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
467
  name="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]"
@@ -471,12 +471,12 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
471
  <br/>
472
  <a href="<?php echo $form_action_url; ?>" class="thickbox powerpress-itunes-image-browser"
473
  id="powerpress_itunes_image_browser_<?php echo $FeedSlug; ?>"
474
- title="<?php echo __('Select Apple Image', 'powerpress'); ?>">
475
- <button class="pp-gray-button"><?php echo __('UPLOAD EPISODE ARTWORK', 'powerpress'); ?></button>
476
  </a>
477
  </div>
478
  <div class="powerpress-art-preview">
479
- <p class="pp-section-subtitle" style="font-weight: bold;"><?php echo __('PREVIEW', 'powerpress'); ?></p>
480
  <img id="pp-image-preview-<?php echo $FeedSlug; ?>"
481
  src="<?php echo esc_attr($ExtraData['itunes_image']); ?>" alt="No artwork selected"/>
482
  <p id="pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
@@ -486,29 +486,29 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
486
  <div class="ep-box-line-margin"></div>
487
  <div id="powerpress_thumbnail_container_<?php echo $FeedSlug; ?>" class="pp-section-container">
488
  <div class="powerpress-art-text">
489
- <h4 class="pp-section-title"><?php echo __('Thumbnail Image', 'powerpress'); ?></h4>
490
  <div class="pp-tooltip-right">i
491
- <span class="text-pp-tooltip"><?php echo __('This artwork only shows up if your podcast media is a video file.', 'powerpress'); ?></span>
492
  </div>
493
  <br/> <br/>
494
  <input type="text" class="pp-ep-box-input" id="powerpress_image_<?php echo $FeedSlug; ?>"
495
- name="Powerpress[<?php echo $FeedSlug; ?>][image]" title="<?php echo __("Poster image URL","powerpress"); ?>"
496
  value="<?php echo esc_attr($CoverImage); ?>"
497
  placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
498
  style="font-size: 90%;" size="250" oninput="powerpress_insertArtIntoPreview(this)"/>
499
  <br/>
500
  <label class="ep-box-caption"
501
- for="powerpress_image_<?php echo $FeedSlug; ?>"><?php echo __('Poster image for video (m4v, mp4, ogv, webm, etc..)', 'powerpress'); ?></label>
502
  <br/>
503
  <a href="<?php echo $form_action_url; ?>" class="thickbox powerpress-image-browser"
504
  id="powerpress_image_browser_<?php echo $FeedSlug; ?>"
505
- title="<?php echo __('Select Poster Image', 'powerpress'); ?>">
506
- <button class="pp-gray-button"><?php echo __('UPLOAD THUMBNAIL', 'powerpress'); ?></button>
507
  </a>
508
  </div>
509
  <div class="powerpress-art-preview">
510
  <p class="pp-section-subtitle"
511
- style="font-weight: bold;"><?php echo __('PREVIEW', 'powerpress'); ?></p>
512
  <img id="poster-pp-image-preview-<?php echo $FeedSlug; ?>"
513
  src="<?php echo esc_attr($CoverImage); ?>" alt="No thumbnail selected"/>
514
  <p id="poster-pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
@@ -526,21 +526,21 @@ function display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height,
526
 
527
  <div id="display-<?php echo $FeedSlug; ?>" class="pp-tabcontent">
528
  <div id="pp-display-player-<?php echo $FeedSlug; ?>" class="pp-section-container">
529
- <h4 class="pp-section-title-block"><?php echo __('Episode Player', 'powerpress') ?></h4>
530
  <span style="font-size: 14px;">
531
- <input id="powerpress_no_player_<?php echo $FeedSlug; ?>" title="<?php echo __("Do not display player","powerpress"); ?>"
532
  class="ep-box-checkbox"
533
  name="Powerpress[<?php echo $FeedSlug; ?>][no_player]" value="1"
534
  type="checkbox" <?php echo($NoPlayer == 1 ? 'checked' : ''); ?> />
535
- <?php echo __('Do not display player', 'powerpress'); ?>
536
  </span>
537
  <br/>
538
  <span style="font-size: 14px;">
539
- <input id="powerpress_no_links_<?php echo $FeedSlug; ?>" title="<?php echo __("Do not display media links","powerpress"); ?>"
540
  class="ep-box-checkbox"
541
  name="Powerpress[<?php echo $FeedSlug; ?>][no_links]" value="1"
542
  type="checkbox" <?php echo($NoLinks == 1 ? 'checked' : ''); ?> />
543
- <?php echo __('Do not display media links', 'powerpress'); ?>
544
  </span>
545
  </div>
546
 
@@ -552,40 +552,40 @@ function display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height,
552
  } ?>
553
  <div id="line-above-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="ep-box-line"></div>
554
  <div id="pp-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="pp-section-container">
555
- <h4 class="pp-section-title" style="width: 100%;"><?php echo __('Video Player Size', 'powerpress') ?></h4>
556
  <div class="powerpress-label-container">
557
- <input type="text" id="powerpress_episode_player_width_<?php echo $FeedSlug; ?>" title="<?php echo __("Player width","powerpress"); ?>"
558
  class="pp-ep-box-input" placeholder="<?php echo htmlspecialchars(__('Width', 'powerpress')); ?>"
559
  name="Powerpress[<?php echo $FeedSlug; ?>][width]" value="<?php echo esc_attr($Width); ?>"
560
  style="width: 40%;font-size: 90%;" size="5"/>
561
  x
562
  <input type="text" id="powerpress_episode_player_height_<?php echo $FeedSlug; ?>"
563
  class="pp-ep-box-input"
564
- placeholder="<?php echo htmlspecialchars(__('Height', 'powerpress')); ?>" title="<?php echo __("Player height","powerpress"); ?>"
565
  name="Powerpress[<?php echo $FeedSlug; ?>][height]" value="<?php echo esc_attr($Height); ?>"
566
  style="width: 40%; font-size: 90%;" size="5"/>
567
  </div>
568
  </div>
569
  <div class="ep-box-line"></div>
570
  <div id="player-shortcode-<?php echo $FeedSlug; ?>" class="pp-section-container">
571
- <h4 class="pp-section-title-block"><?php echo __('Display Player Anywhere on Page', 'powerpress'); ?></h4>
572
  <div style="display:inline-block"><p class="pp-shortcode-example" style="font-weight: bold;">
573
- [<?php echo __('powerpress_player'); ?>]</p></div>
574
- <p class="pp-section-subtitle"><?php echo __('Just copy and paste this shortcode anywhere in your page content. ', 'powerpress'); ?>
575
  <a href="https://support.wordpress.com/shortcodes/"
576
- target="_blank"><?php echo __('Learn more about shortcodes here.', 'powerpress'); ?></a></p>
577
  </div>
578
  <div class="ep-box-line"></div>
579
  <?php //Setting for media embed ?>
580
  <div class="pp-section-container">
581
- <h4 class="pp-section-title"><?php echo __('Media Embed', 'powerpress') ?></h4>
582
  <div class="pp-tooltip-right">i
583
  <span class="text-pp-tooltip"
584
- style="top: -50%;"><?php echo __('Here, you can enter a link to embed a media player.', 'powerpress'); ?></span>
585
  </div>
586
  <div class="powerpress_row_content">
587
  <textarea class="pp-ep-box-input" id="powerpress_embed_<?php echo $FeedSlug; ?>"
588
- name="Powerpress[<?php echo $FeedSlug; ?>][embed]" title="<?php echo __("Media Embed","powerpress"); ?>"
589
  style="font-size: 14px; width: 95%; height: 80px;"
590
  onfocus="this.select();"><?php echo esc_textarea($Embed); ?></textarea>
591
  </div>
@@ -639,13 +639,13 @@ function notes_tab($FeedSlug, $object)
639
 
640
  jQuery('#powerpress_check_' + FeedSlug).css("display", 'none');
641
  if (strError == 'timeout')
642
- jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo __('Operation timed out.', 'powerpress'); ?>');
643
  else if (errorMsg)
644
- jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo __('AJAX Error', 'powerpress') . ': '; ?>' + errorMsg);
645
  else if (strError != null)
646
- jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo __('AJAX Error', 'powerpress') . ': '; ?>' + strError);
647
  else
648
- jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo __('AJAX Error', 'powerpress') . ': ' . __('Unknown', 'powerpress'); ?>');
649
  jQuery('#powerpress_warning_' + FeedSlug).css('display', 'block');
650
  }
651
  });
@@ -661,14 +661,14 @@ function notes_tab($FeedSlug, $object)
661
  // -->
662
  </script>
663
  <div class="powerpress_row">
664
- <h4 class="pp-section-title-block"> <?php echo __('Meta Marks', 'powerpress') ?> </h4>
665
  <div class="powerpress_row_content">
666
  <input type="hidden" name="Null[powerpress_metamarks_counter_<?php echo $FeedSlug ?>]"
667
  id="powerpress_metamarks_counter_<?php echo $FeedSlug ?>"
668
  value="<?php echo count($MetaRecords) ?>"/>
669
  <input style="cursor:pointer;" type="button" id="powerpress_check_<?php echo $FeedSlug ?>_button"
670
- name="powerpress_check_<?php echo $FeedSlug ?>_button" title="<?php echo __("Add Meta Mark","powerpress"); ?>"
671
- value="<?php echo __('Add Meta Mark', 'powerpress') ?>"
672
  onclick="powerpress_metamarks_addrow('<?php echo $FeedSlug ?>')" class="button"/>
673
 
674
  <div class="powerpress_metamarks_block" id="powerpress_metamarks_block_<?php echo $FeedSlug ?>">
@@ -799,7 +799,7 @@ function powerpress_media_upload_type_form($type = 'file', $errors = null, $id =
799
  <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
800
  <?php wp_nonce_field('media-form'); ?>
801
 
802
- <h3 class="media-title"><?php echo __('Select poster image from your computer.', 'powerpress'); ?></h3>
803
 
804
  <?php media_upload_form( $errors ); ?>
805
 
29
  ?>
30
  <div id="a-pp-selected-media-<?php echo $FeedSlug; ?>" style="<?php echo $style5 ?>">
31
  <h3 id="pp-pp-selected-media-head-<?php echo $FeedSlug; ?>"
32
+ style="<?php echo $style4; ?>"><?php echo esc_html(__('Attach podcast media or enter URL', 'powerpress')); ?></h3>
33
  <div id="pp-selected-media-text-<?php echo $FeedSlug; ?>">
34
  <div id="media-input-<?php echo $FeedSlug; ?>" class="powerpress-label-container">
35
  <div id="pp-url-input-container-<?php echo $FeedSlug; ?>" style="<?php echo $style1 ?>">
36
  <label id="pp-url-input-above-<?php echo $FeedSlug; ?>" class="pp-url-input-label"
37
  style="display: none;"
38
+ for="powerpress_url_<?php echo $FeedSlug; ?>"><?php echo esc_html(__('File Media or URL')); ?></label>
39
+ <input type="text" id="powerpress_url_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__('File Media or URL')); ?>"
40
+ name="Powerpress[<?php echo $FeedSlug; ?>][url]" placeholder="https://example.com/path/to/media.mp3"
41
+ value="<?php echo esc_attr($EnclosureURL); ?>" />
42
  <label id="pp-url-input-below-<?php echo $FeedSlug; ?>" class="pp-url-input-label"
43
  style="display: none;"
44
+ for="powerpress_url_<?php echo $FeedSlug; ?>"><?php echo esc_html(__('Update URL or attach new media file')); ?></label>
45
  </div>
46
  <div style="<?php echo $style3 ?>" class="pp-ep-box-input" title="<?php echo $EnclosureURL; ?>"
47
  id="powerpress_url_show_<?php echo $FeedSlug; ?>">
55
  <img id="powerpress_check_<?php echo $FeedSlug; ?>"
56
  src="<?php echo admin_url(); ?>images/loading.gif"
57
  style="height: 24px; margin-top: 14px; margin-right: 1em; vertical-align:text-top; float: right; display: none;"
58
+ alt="<?php echo esc_attr(__('Checking Media', 'powerpress')); ?>"/>
59
  </div>
60
  </div>
61
  </div>
65
  href="<?php echo admin_url('admin.php'); ?>?action=powerpress-jquery-media&podcast-feed=<?php echo $FeedSlug; ?>&KeepThis=true&TB_iframe=true&modal=false"
66
  class="thickbox">
67
  <div class="pp-gray-button"
68
+ id="select-media-button-<?php echo $FeedSlug; ?>"><?php echo esc_html(__('SELECT FILE', 'powerpress')); ?></div>
69
  </a>
70
  <div id="continue-to-episode-settings-<?php echo $FeedSlug; ?>" class="pp-blue-button"
71
+ onclick="powerpress_continueToEpisodeSettings(this)"><?php echo esc_html(__('CONTINUE', 'powerpress')); ?></div>
72
  </div>
73
 
74
  <div id="edit-media-file-<?php echo $FeedSlug; ?>" style="<?php echo $style3 ?>">
75
  <div id="pp-edit-media-button-<?php echo $FeedSlug; ?>" class="pp-gray-button"
76
+ onclick="powerpress_changeMediaFile(this)"><?php echo esc_html(__('CHANGE MEDIA', 'powerpress')); ?></div>
77
  <div id="verify-button-<?php echo $FeedSlug; ?>" class="pp-blue-button"
78
+ onclick="powerpress_verifyMedia(this)"><?php echo esc_html(__('VERIFY LINK', 'powerpress')); ?></div>
79
  </div>
80
 
81
  <div id="pp-change-media-file-<?php echo $FeedSlug; ?>" style="display: none;">
83
  href="<?php echo admin_url('admin.php'); ?>?action=powerpress-jquery-media&podcast-feed=<?php echo $FeedSlug; ?>&KeepThis=true&TB_iframe=true&modal=false"
84
  class="thickbox">
85
  <div class="pp-gray-button"
86
+ id="change-media-button-<?php echo $FeedSlug; ?>"><?php echo esc_html(__('CHOOSE FILE', 'powerpress')); ?></div>
87
  </a>
88
  <div id="save-media-<?php echo $FeedSlug; ?>" class="pp-blue-button"
89
+ onclick="powerpress_saveMediaFile(this)"><?php echo esc_html(__('SAVE', 'powerpress')); ?></div>
90
  </div>
91
  <div id="pp-warning-messages">
92
  <div id="file-select-warning-<?php echo $FeedSlug; ?>"
93
+ style="background-color: white; box-shadow: none; margin-left: 0; padding-left: 3px; display:none; color: #dc3232;"><?php echo esc_html(__('You must have a media file selected to continue to episode settings.', 'powerpress')); ?></div>
94
  <div id="file-change-warning-<?php echo $FeedSlug; ?>"
95
+ style="background-color: #f5f5f5; box-shadow: none; margin-left: 0; padding-left: 3px; display:none; color: #dc3232;"><?php echo esc_html(__('You must have a media file selected to save.', 'powerpress')); ?></div>
96
  <div id="powerpress_warning_<?php echo $FeedSlug; ?>"
97
  style="background-color: #f5f5f5; box-shadow: none; margin-left: 0; padding-left: 3px; display:none; color: #dc3232;"></div>
98
  <input type="hidden" id="powerpress_hosting_<?php echo $FeedSlug; ?>"
100
  value="<?php echo(!empty($ExtraData['hosting']) ? '1' : '0'); ?>"/>
101
  <div id="powerpress_hosting_note_<?php echo $FeedSlug; ?>"
102
  style="margin-left: 2px; padding-bottom: 2px; padding-top: 2px; display: <?php echo(!empty($ExtraData['hosting']) ? 'block' : 'none'); ?>">
103
+ <em><?php echo esc_html(__('Media file hosted by blubrry.com.', 'powerpress')); ?>
104
+ (<a href="#" title="<?php echo esc_attr(__('Remove Blubrry.com hosted media file', 'powerpress')); ?>"
105
+ onclick="powerpress_remove_hosting('<?php echo $FeedSlug; ?>');return false;"><?php echo esc_html(__('remove', 'powerpress')); ?></a>)
106
  </em></div>
107
  <input type="hidden" id="powerpress_program_keyword_<?php echo $FeedSlug; ?>"
108
  name="Powerpress[<?php echo $FeedSlug; ?>][program_keyword]"
125
 
126
  ?>
127
  <div id="pp-category-dropdown-<?php echo $FeedSlug; ?>">
128
+ <label for="Powerpress[<?php echo $FeedSlug; ?>][category]"><?php echo esc_html(__('Category', 'powerpress')); ?></label>
129
  <div class="powerpress_row_content"><?php
130
  echo '<select id="powerpress_category_'. $FeedSlug . '" name="Powerpress['. $FeedSlug .'][category]" class="pp-ep-box-input"> title="Category"';
131
  echo '<option value="0"';
152
  <div id="show-hide-media-details-<?php echo $FeedSlug; ?>">
153
  <!--<div class="ep-box-line-bold"></div>-->
154
  <div id="media-details-container-<?php echo $FeedSlug; ?>">
155
+ <button id="show-details-link-<?php echo $FeedSlug; ?>" class="media-details" title="<?php echo esc_attr(__("Show file size and duration","powerpress")); ?>"
156
+ onclick="powerpress_showHideMediaDetails(this); return false;"><?php echo esc_html(__('View File Size and Duration', 'powerpress')); ?> &#709;</button>
157
  <!--<a id="hide-details-link-<?php //echo $FeedSlug; ?>" class="pp-hidden-settings"
158
  onclick="showHideMediaDetails(this)"><?php //echo __('Hide File Size and Duration', 'powerpress'); ?> &#708;</a>-->
159
  </div>
160
  </div>
161
  <div id="hidden-media-details-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
162
  <div class="powerpress_row">
163
+ <p class="media-details"><?php echo esc_html(__('FILE SIZE', 'powerpress')); ?></p>
164
  <div class="ep-box-line-bold"></div>
165
  <div class="pp-detail-section">
166
  <div class="details-auto-detect">
167
+ <input class="media-details-radio" id="powerpress_set_size_0_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Auto detect file size","powerpress")); ?>"
168
  name="Powerpress[<?php echo $FeedSlug; ?>][set_size]" value="0"
169
  type="radio" <?php echo($GeneralSettings['set_size'] == 0 ? 'checked' : ''); ?> />
170
+ <?php echo esc_html(__('Auto detect file size', 'powerpress')); ?>
171
  </div>
172
  <div class="details-specify">
173
+ <input class="media-details-radio" id="powerpress_set_size_1_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Select specify file size","powerpress")); ?>"
174
  name="Powerpress[<?php echo $FeedSlug; ?>][set_size]" value="1"
175
  type="radio" <?php echo($GeneralSettings['set_size'] == 1 ? 'checked' : ''); ?> />
176
+ <?php echo esc_html(__('Specify', 'powerpress')) . ': '; ?>
177
+ <input class="pp-ep-box-input" type="text" id="powerpress_size_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("File size in bytes","powerpress")); ?>"
178
  name="Powerpress[<?php echo $FeedSlug; ?>][size]"
179
  value="<?php echo esc_attr($EnclosureLength); ?>" style="width: 110px;"
180
  onchange="javascript:jQuery('#powerpress_set_size_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
181
+ <?php echo esc_html(__('in bytes', 'powerpress')); ?>
182
  </div>
183
  </div>
184
  </div>
185
  <div class="powerpress_row">
186
+ <p class="media-details"><?php echo esc_html(__('DURATION', 'powerpress')); ?></p>
187
  <div class="ep-box-line-bold"></div>
188
  <div class="pp-detail-section">
189
  <div class="details-auto-detect">
190
+ <input class="media-details-radio" id="powerpress_set_duration_0_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Auto detect duration","powerpress")); ?>"
191
  name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="0"
192
  type="radio" <?php echo($GeneralSettings['set_duration'] == 0 ? 'checked' : ''); ?> />
193
+ <?php echo esc_html(__('Auto detect duration', 'powerpress')); ?>
194
  </div>
195
  <div class="details-specify">
196
+ <input class="media-details-radio" id="powerpress_set_duration_1_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Select specify duration","powerpress")); ?>"
197
  name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="1"
198
  type="radio" <?php echo($GeneralSettings['set_duration'] == 1 ? 'checked' : ''); ?> />
199
+ <?php echo esc_html(__('Specify', 'powerpress')) . ': '; ?>
200
+ <input type="text" class="pp-ep-box-input" id="powerpress_duration_hh_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Duration hours","powerpress")); ?>"
201
  placeholder="HH" name="Powerpress[<?php echo $FeedSlug; ?>][duration_hh]"
202
  maxlength="2" value="<?php echo esc_attr($DurationHH); ?>"
203
  onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
204
  style="margin-left: 4px;">:</strong>
205
+ <input type="text" class="pp-ep-box-input" id="powerpress_duration_mm_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Duration minutes","powerpress")); ?>"
206
  placeholder="MM" name="Powerpress[<?php echo $FeedSlug; ?>][duration_mm]"
207
  maxlength="2" value="<?php echo esc_attr($DurationMM); ?>"
208
  onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
209
  style="margin-left: 4px;">:</strong>
210
+ <input type="text" class="pp-ep-box-input" id="powerpress_duration_ss_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Duration seconds","powerpress")); ?>"
211
  placeholder="SS" name="Powerpress[<?php echo $FeedSlug; ?>][duration_ss]"
212
  maxlength="10" value="<?php echo esc_attr($DurationSS); ?>"
213
  onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
214
  </div>
215
  <div class="details-not-specified">
216
+ <input class="media-details-radio" id="powerpress_set_duration_2_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Duration not specified","powerpress")); ?>"
217
  name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="-1"
218
  type="radio" <?php echo($GeneralSettings['set_duration'] == -1 ? 'checked' : ''); ?> />
219
+ <?php echo esc_html(__('Not specified', 'powerpress')); ?>
220
  </div>
221
  </div>
222
  </div>
254
  ?>
255
  <div class="pp-section-container">
256
 
257
+ <h4 class="pp-section-title"><?php echo esc_html(__("Episode Title", 'powerpress')); ?></h4>
258
  <div class="pp-tooltip-right" style="margin: 1ch 0 0 1ch;">i
259
+ <span class="text-pp-tooltip" style="top: -50%; min-width: 200px;"><?php echo esc_html(__('Please enter your episode title in the space for post title, above the post description.', 'powerpress')); ?></span>
260
  </div>
261
  <?php if ($seo_feed_title) { ?>
262
  <div class="powerpress_row">
263
  <div class="powerpress_row_content">
264
+ <input type="text" id="powerpress_feed_title_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Episode title","powerpress")); ?>"
265
  class="pp-ep-box-input"
266
  name="Powerpress[<?php echo $FeedSlug; ?>][feed_title]"
267
  value="<?php echo esc_attr($ExtraData['feed_title']); ?>"
268
+ placeholder="<?php echo esc_attr(__('Custom episode title', 'powerpress')); ?>"
269
  style="width: 96%; margin-top: 1em;"/>
270
  </div>
271
+ <label class="pp-ep-box-label-under"><?php echo esc_html(__("Leave blank to use WordPress post title at the top of this page.", 'powerpress')); ?></label>
272
  </div>
273
  <?php } else { ?>
274
+ <p class="pp-ep-box-text"><?php echo esc_html(__("The episode title is pulled from your WordPress post title at the top of this page.", 'powerpress')); ?></p>
275
  <?php } ?>
276
  </div>
277
  <div class="pp-section-container">
278
+ <h4 class="pp-section-title"><?php echo esc_html(__("Episode Description", 'powerpress')); ?></h4>
279
  <div class="pp-tooltip-right" style="margin: 1ch 0 0 1ch;">i
280
+ <span class="text-pp-tooltip"><?php echo esc_html(__('Please enter your description in the space above the episode box, underneath the post title.', 'powerpress')); ?></span>
281
  </div>
282
+ <p class="pp-ep-box-text"><?php echo esc_html(__("The episode description is pulled from your WordPress post content, which can be edited above.", 'powerpress')); ?></p>
283
  </div>
284
  <div id="apple-podcast-opt-<?php echo $FeedSlug; ?>" class="pp-section-container">
285
  <div class="pp-section-container">
286
+ <h4 class="pp-section-title"><?php echo esc_html(__("Apple Podcasts Optimization (optional)", 'powerpress')); ?></h4>
287
  <div class="pp-tooltip-right">i
288
+ <span class="text-pp-tooltip"><?php echo esc_html(__('Fill this section out thoroughly to optimize the exposure that your podcast gets on Apple.', 'powerpress')); ?></span>
289
  </div>
290
  <div id="pp-explicit-container-<?php echo $FeedSlug; ?>">
291
  <input type="number" style="display: none" id="powerpress_explicit_<?php echo $FeedSlug; ?>"
292
  name="Powerpress[<?php echo $FeedSlug; ?>][explicit]" value="<?php echo $iTunesExplicit ? $iTunesExplicit : 0; ?>">
293
+ <label class="pp-ep-box-label" for="explicit-switch-base-<?php echo $FeedSlug; ?>"><?php echo esc_html(__("Explicit Setting", "powerpress")); ?></label>
294
  <div id="explicit-switch-base-<?php echo $FeedSlug; ?>">
295
+ <div id="not-set-<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("No explicit selected","powerpress")); ?>"
296
  onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-right: 1px solid #b3b3b3;"' : '' ?>
297
  " class="<?php echo $iTunesExplicit == 0 ? 'explicit-selected' : 'pp-explicit-option' ?>
298
+ "><?php echo esc_html(__('NOT SET', 'powerpress')); ?></div>
299
+ <div id="clean-<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Clean content","powerpress")); ?>"
300
  onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? '' : ' style="border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;"' ?>
301
  " class="<?php echo $iTunesExplicit == 2 ? 'explicit-selected' : 'pp-explicit-option' ?>
302
+ "><?php echo esc_html(__('CLEAN', 'powerpress')); ?></div>
303
+ <div id="explicit-<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Explicit content","powerpress")); ?>"
304
  onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-left: 1px solid #b3b3b3;"' : '' ?>
305
  " class="<?php echo $iTunesExplicit == 1 ? 'explicit-selected' : 'pp-explicit-option' ?>
306
+ "><?php echo esc_html(__('EXPLICIT', 'powerpress')); ?></div>
307
  </div>
308
  </div>
309
  </div>
310
  <div class="pp-section-container">
311
  <div class="powerpress-label-container" id="apple-title-container-<?php echo $FeedSlug; ?>">
312
  <label class="pp-ep-box-label-apple"
313
+ for="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"><?php echo esc_html(__('Title', 'powerpress')); ?></label>
314
+ <input class="pp-ep-box-input" type="text" title="<?php echo esc_attr(__("Apple Podcasts episode title","powerpress")); ?>"
315
  id="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"
316
  name="Powerpress[<?php echo $FeedSlug; ?>][episode_title]"
317
  value="<?php echo esc_attr($ExtraData['episode_title']); ?>" maxlength="255"/>
318
  </div>
319
  <div class="powerpress-label-container" id="episode-no-container-<?php echo $FeedSlug; ?>">
320
  <label class="pp-ep-box-label-apple"
321
+ for="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"><?php echo esc_html(__('Episode #', 'powerpress')); ?></label>
322
+ <input class="pp-ep-box-input" type="number" title="<?php echo esc_attr(__("Apple Podcasts episode number","powerpress")); ?>"
323
  id="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"
324
  name="Powerpress[<?php echo $FeedSlug; ?>][episode_no]"
325
  value="<?php echo esc_attr($ExtraData['episode_no']); ?>"/>
326
  </div>
327
  <div class="powerpress-label-container" id="season-container-<?php echo $FeedSlug; ?>">
328
  <label class="pp-ep-box-label-apple"
329
+ for="powerpress_episode_season_<?php echo $FeedSlug; ?>"><?php echo esc_html(__('Season #', 'powerpress')); ?></label>
330
  <!--<div class="pp-tooltip-left" style="float: right;">i
331
  <span class="text-pp-tooltip"
332
+ style="float: right;"><?php echo esc_html(__('If your feed type is set to serial, you may specify a season for each episode.', 'powerpress')); ?></span>
333
  </div>-->
334
  <input class="pp-ep-box-input" type="number" oninput="powerpress_setCurrentSeason(this)"
335
  id="powerpress_episode_season_<?php echo $FeedSlug; ?>"
336
+ name="Powerpress[<?php echo $FeedSlug; ?>][season]" title="<?php echo esc_attr(__("Apple Podcasts season number","powerpress")); ?>"
337
  style="width: 100%;"
338
  <?php if (isset($ExtraData['season']) && $ExtraData['season']) {
339
  echo " value=\"" . esc_attr($ExtraData['season']) . "\"/>";
352
  }
353
  ?>
354
  <script>
355
+ var show_settings = "<?php echo esc_js(__("See More Settings &#709;", "powerpress")); ?>";
356
+ var hide_settings = "<?php echo esc_js(__("Hide Settings &#708;", "powerpress")); ?>";
357
  </script>
358
 
359
  <div id="show-hide-apple-<?php echo $FeedSlug; ?>">
360
  <div class="ep-box-line-margin" style="border-top: 2px solid #EFEFEF;"></div>
361
  <div id="apple-advanced-container-<?php echo $FeedSlug; ?>">
362
+ <button id="show-apple-link-<?php echo $FeedSlug; ?>" class="apple-advanced" aria-pressed="false" title="<?php echo esc_attr(__("More settings button","powerpress")); ?>"
363
+ onclick="powerpress_showHideAppleAdvanced(this); return false;"><?php echo esc_html(__('See More Settings &#709;', 'powerpress')); ?></button>
364
  </div>
365
  </div>
366
  <div id="apple-advanced-settings-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
367
  <div class="apple-opt-section-container">
368
  <div id="apple-summary-<?php echo $FeedSlug; ?>" class="powerpress-label-container" style="width: 100%;">
369
  <label class="pp-ep-box-label-apple"
370
+ for="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo esc_html(__('Summary', 'powerpress')); ?></label>
371
+ <textarea id="powerpress_summary_<?php echo $FeedSlug; ?>" class="pp-ep-box-input" title="<?php echo esc_attr(__("Apple Podcasts episode summary","powerpress")); ?>"
372
  name="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo esc_textarea($iTunesSummary); ?></textarea>
373
+ <label class="pp-ep-box-label-under"><?php echo esc_html(__('Leave blank to use post content.', 'powerpress')); ?></label>
374
  </div>
375
  </div>
376
  <div class="apple-opt-section-container">
377
  <div class="powerpress-label-container" style="width: 100%;" id="apple-author-<?php echo $FeedSlug; ?>">
378
+ <label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][author]"><?php echo esc_html(__('Author', 'powerpress')); ?></label>
379
+ <input class="pp-ep-box-input" type="text" id="powerpress_author_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Apple Podcasts episode author","powerpress")); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][author]" value="<?php echo esc_attr($iTunesAuthor); ?>" />
380
+ <label class="pp-ep-box-label-under"><?php echo esc_html(__('Leave blank to use default.', 'powerpress')); ?></label>
381
  </div>
382
  </div>
383
  <div class="apple-opt-section-container">
384
  <div class="powerpress-label-container" style="width: 100%;" id="apple-subtitle-<?php echo $FeedSlug; ?>">
385
  <label class="pp-ep-box-label"
386
+ for="Powerpress[<?php echo $FeedSlug; ?>][subtitle]"><?php echo esc_html(__('Subtitle', 'powerpress')); ?></label>
387
  <input class="pp-ep-box-input" type="text" id="powerpress_subtitle_<?php echo $FeedSlug; ?>"
388
+ name="Powerpress[<?php echo $FeedSlug; ?>][subtitle]" title="<?php echo esc_attr(__("Apple Podcasts episode subtitle","powerpress")); ?>"
389
  value="<?php echo esc_attr($iTunesSubtitle); ?>" size="250" />
390
+ <label class="pp-ep-box-label-under"><?php echo esc_html(__('Leave blank to use post excerpt.', 'powerpress')); ?></label>
391
  </div>
392
  </div>
393
  <div class="apple-opt-section-container">
394
  <div class="powerpress-label-container">
395
  <label class="pp-ep-box-label-apple"
396
+ for="powerpress_episode_type_<?php echo $FeedSlug; ?>"><?php echo esc_html(__('Type', 'powerpress')); ?></label>
397
  <select style="font-size: 14px;" class="pp-ep-box-input" id="powerpress_episode_type_<?php echo $FeedSlug; ?>"
398
+ name="Powerpress[<?php echo $FeedSlug; ?>][episode_type]" title="<?php echo esc_attr(__("Apple Podcasts episode type","powerpress")); ?>">
399
  <?php
400
+ $type_array = array('' => esc_html(__('Full (default)', 'powerpress')), 'full' => esc_html(__('Full Episode', 'powerpress')), 'trailer' => esc_html(__('Trailer', 'powerpress')), 'bonus' => esc_html(__('Bonus', 'powerpress')));
401
 
402
  foreach ($type_array as $value => $desc)
403
  echo "\t<option value=\"$value\"" . ($ExtraData['episode_type'] == $value ? ' selected' : '') . ">$desc</option>\n";
405
  </select>
406
  </div>
407
  <div class="powerpress-label-container" style="float: right;">
408
+ <label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][block]"><?php echo esc_html(__('Block', 'powerpress')); ?></label>
409
+ <select class="pp-ep-box-input" id="powerpress_block_<?php echo $FeedSlug; ?>" name="Powerpress[<?php echo $FeedSlug; ?>][block]" title="<?php echo esc_attr(__("Apple Podcasts block episode","powerpress")); ?>">
410
  <?php
411
+ $block_array = array(''=>esc_html(__('No', 'powerpress')), 1=>esc_html(__('Yes, Block episode from Apple Podcasts', 'powerpress')) );
412
 
413
  foreach( $block_array as $value => $desc )
414
  echo "\t<option value=\"$value\"". ($iTunesBlock==$value?' selected':''). ">$desc</option>\n";
419
  </div>
420
  <div class="apple-opt-section-container">
421
  <div class="powerpress-label-container" id="apple-feature-<?php echo $FeedSlug; ?>" style="width: 65%;">
422
+ <h4 class="pp-section-title-block" style="width: 100%;"><?php echo esc_html(__("Feature Episode", 'powerpress')); ?></h4>
423
  <?php if ($FeaturedChecked) { ?>
424
  <input type="hidden" name="PowerpressFeature[<?php echo $FeedSlug; ?>]" value="0" />
425
  <?php } ?>
426
  <input type="checkbox" id="powerpress_feature_<?php echo $FeedSlug; ?>"
427
+ name="PowerpressFeature[<?php echo $FeedSlug; ?>]" title="<?php echo esc_attr(__("Feature episode","powerpress")); ?>"
428
  value="1" <?php echo($FeaturedChecked ? 'checked' : ''); ?> />
429
  <span for="powerpress_feature_<?php echo $FeedSlug; ?>"
430
+ style="font-size: 14px;"> <?php echo esc_html(__('Episode will appear at the top of your episode list in the Apple Podcast directory.', 'powerpress')); ?></span>
431
  </div>
432
  <div class="powerpress-label-container" id="type-<?php echo $FeedSlug; ?>" style="float: right; width: 30%;">
433
+ <label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][order]"><?php echo esc_html(__('Order', 'powerpress')); ?></label>
434
+ <input class="pp-ep-box-input" type="number" id="powerpress_order_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Apple Podcasts episode order","powerpress")); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][order]" value="<?php echo esc_attr($iTunesOrder); ?>" />
435
  </div>
436
  </div>
437
  </div>
455
  <div class="pp-section-container">
456
  <div class="powerpress-art-text">
457
  <h4 class="pp-section-title"
458
+ style="display: inline-block; margin-bottom: 1em;"><?php echo esc_html(__('Apple Podcast Episode Artwork', 'powerpress')); ?></h4>
459
  <div class="pp-tooltip-right">i
460
  <span class="text-pp-tooltip"
461
+ style="top: -150%;"><?php echo esc_html(__('Episode artwork should be square and have dimensions between 1400 x 1400 pixels and 3000 x 3000 pixels.', 'powerpress')); ?></span>
462
  </div>
463
  <br/>
464
+ <input type="text" class="pp-ep-box-input" title="<?php echo esc_attr(__("Apple Image URL","powerpress")); ?>"
465
  id="powerpress_itunes_image_<?php echo $FeedSlug; ?>"
466
  placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
467
  name="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]"
471
  <br/>
472
  <a href="<?php echo $form_action_url; ?>" class="thickbox powerpress-itunes-image-browser"
473
  id="powerpress_itunes_image_browser_<?php echo $FeedSlug; ?>"
474
+ title="<?php echo esc_attr(__('Select Apple Image', 'powerpress')); ?>">
475
+ <button class="pp-gray-button"><?php echo esc_html(__('UPLOAD EPISODE ARTWORK', 'powerpress')); ?></button>
476
  </a>
477
  </div>
478
  <div class="powerpress-art-preview">
479
+ <p class="pp-section-subtitle" style="font-weight: bold;"><?php echo esc_html(__('PREVIEW', 'powerpress')); ?></p>
480
  <img id="pp-image-preview-<?php echo $FeedSlug; ?>"
481
  src="<?php echo esc_attr($ExtraData['itunes_image']); ?>" alt="No artwork selected"/>
482
  <p id="pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
486
  <div class="ep-box-line-margin"></div>
487
  <div id="powerpress_thumbnail_container_<?php echo $FeedSlug; ?>" class="pp-section-container">
488
  <div class="powerpress-art-text">
489
+ <h4 class="pp-section-title"><?php echo esc_html(__('Thumbnail Image', 'powerpress')); ?></h4>
490
  <div class="pp-tooltip-right">i
491
+ <span class="text-pp-tooltip"><?php echo esc_html(__('This artwork only shows up if your podcast media is a video file.', 'powerpress')); ?></span>
492
  </div>
493
  <br/> <br/>
494
  <input type="text" class="pp-ep-box-input" id="powerpress_image_<?php echo $FeedSlug; ?>"
495
+ name="Powerpress[<?php echo $FeedSlug; ?>][image]" title="<?php echo esc_attr(__("Poster image URL","powerpress")); ?>"
496
  value="<?php echo esc_attr($CoverImage); ?>"
497
  placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
498
  style="font-size: 90%;" size="250" oninput="powerpress_insertArtIntoPreview(this)"/>
499
  <br/>
500
  <label class="ep-box-caption"
501
+ for="powerpress_image_<?php echo $FeedSlug; ?>"><?php echo esc_html(__('Poster image for video (m4v, mp4, ogv, webm, etc..)', 'powerpress')); ?></label>
502
  <br/>
503
  <a href="<?php echo $form_action_url; ?>" class="thickbox powerpress-image-browser"
504
  id="powerpress_image_browser_<?php echo $FeedSlug; ?>"
505
+ title="<?php echo esc_attr(__('Select Poster Image', 'powerpress')); ?>">
506
+ <button class="pp-gray-button"><?php echo esc_html(__('UPLOAD THUMBNAIL', 'powerpress')); ?></button>
507
  </a>
508
  </div>
509
  <div class="powerpress-art-preview">
510
  <p class="pp-section-subtitle"
511
+ style="font-weight: bold;"><?php echo esc_html(__('PREVIEW', 'powerpress')); ?></p>
512
  <img id="poster-pp-image-preview-<?php echo $FeedSlug; ?>"
513
  src="<?php echo esc_attr($CoverImage); ?>" alt="No thumbnail selected"/>
514
  <p id="poster-pp-image-preview-caption-<?php echo $FeedSlug; ?>" class="pp-section-subtitle"
526
 
527
  <div id="display-<?php echo $FeedSlug; ?>" class="pp-tabcontent">
528
  <div id="pp-display-player-<?php echo $FeedSlug; ?>" class="pp-section-container">
529
+ <h4 class="pp-section-title-block"><?php echo esc_html(__('Episode Player', 'powerpress')); ?></h4>
530
  <span style="font-size: 14px;">
531
+ <input id="powerpress_no_player_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Do not display player","powerpress")); ?>"
532
  class="ep-box-checkbox"
533
  name="Powerpress[<?php echo $FeedSlug; ?>][no_player]" value="1"
534
  type="checkbox" <?php echo($NoPlayer == 1 ? 'checked' : ''); ?> />
535
+ <?php echo esc_html(__('Do not display player', 'powerpress')); ?>
536
  </span>
537
  <br/>
538
  <span style="font-size: 14px;">
539
+ <input id="powerpress_no_links_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Do not display media links","powerpress")); ?>"
540
  class="ep-box-checkbox"
541
  name="Powerpress[<?php echo $FeedSlug; ?>][no_links]" value="1"
542
  type="checkbox" <?php echo($NoLinks == 1 ? 'checked' : ''); ?> />
543
+ <?php echo esc_html(__('Do not display media links', 'powerpress')); ?>
544
  </span>
545
  </div>
546
 
552
  } ?>
553
  <div id="line-above-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="ep-box-line"></div>
554
  <div id="pp-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="pp-section-container">
555
+ <h4 class="pp-section-title" style="width: 100%;"><?php echo esc_html(__('Video Player Size', 'powerpress')); ?></h4>
556
  <div class="powerpress-label-container">
557
+ <input type="text" id="powerpress_episode_player_width_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Player width","powerpress")); ?>"
558
  class="pp-ep-box-input" placeholder="<?php echo htmlspecialchars(__('Width', 'powerpress')); ?>"
559
  name="Powerpress[<?php echo $FeedSlug; ?>][width]" value="<?php echo esc_attr($Width); ?>"
560
  style="width: 40%;font-size: 90%;" size="5"/>
561
  x
562
  <input type="text" id="powerpress_episode_player_height_<?php echo $FeedSlug; ?>"
563
  class="pp-ep-box-input"
564
+ placeholder="<?php echo htmlspecialchars(__('Height', 'powerpress')); ?>" title="<?php echo esc_attr(__("Player height","powerpress")); ?>"
565
  name="Powerpress[<?php echo $FeedSlug; ?>][height]" value="<?php echo esc_attr($Height); ?>"
566
  style="width: 40%; font-size: 90%;" size="5"/>
567
  </div>
568
  </div>
569
  <div class="ep-box-line"></div>
570
  <div id="player-shortcode-<?php echo $FeedSlug; ?>" class="pp-section-container">
571
+ <h4 class="pp-section-title-block"><?php echo esc_html(__('Display Player Anywhere on Page', 'powerpress')); ?></h4>
572
  <div style="display:inline-block"><p class="pp-shortcode-example" style="font-weight: bold;">
573
+ [<?php echo __('powerpress'); ?>]</p></div>
574
+ <p class="pp-section-subtitle"><?php echo esc_html(__('Just copy and paste this shortcode anywhere in your page content. ', 'powerpress')); ?>
575
  <a href="https://support.wordpress.com/shortcodes/"
576
+ target="_blank"><?php echo esc_html(__('Learn more about shortcodes here.', 'powerpress')); ?></a></p>
577
  </div>
578
  <div class="ep-box-line"></div>
579
  <?php //Setting for media embed ?>
580
  <div class="pp-section-container">
581
+ <h4 class="pp-section-title"><?php echo esc_html(__('Media Embed', 'powerpress')); ?></h4>
582
  <div class="pp-tooltip-right">i
583
  <span class="text-pp-tooltip"
584
+ style="top: -50%;"><?php echo esc_html(__('Here, you can enter a link to embed a media player.', 'powerpress')); ?></span>
585
  </div>
586
  <div class="powerpress_row_content">
587
  <textarea class="pp-ep-box-input" id="powerpress_embed_<?php echo $FeedSlug; ?>"
588
+ name="Powerpress[<?php echo $FeedSlug; ?>][embed]" title="<?php echo esc_attr(__("Media Embed","powerpress")); ?>"
589
  style="font-size: 14px; width: 95%; height: 80px;"
590
  onfocus="this.select();"><?php echo esc_textarea($Embed); ?></textarea>
591
  </div>
639
 
640
  jQuery('#powerpress_check_' + FeedSlug).css("display", 'none');
641
  if (strError == 'timeout')
642
+ jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo esc_js(__('Operation timed out.', 'powerpress')); ?>');
643
  else if (errorMsg)
644
+ jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo esc_js(__('AJAX Error', 'powerpress')) . ': '; ?>' + errorMsg);
645
  else if (strError != null)
646
+ jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo esc_js(__('AJAX Error', 'powerpress')) . ': '; ?>' + strError);
647
  else
648
+ jQuery('#powerpress_warning_' + FeedSlug).text('<?php echo esc_js(__('AJAX Error', 'powerpress')) . ': ' . esc_html(__('Unknown', 'powerpress')); ?>');
649
  jQuery('#powerpress_warning_' + FeedSlug).css('display', 'block');
650
  }
651
  });
661
  // -->
662
  </script>
663
  <div class="powerpress_row">
664
+ <h4 class="pp-section-title-block"> <?php echo esc_html(__('Meta Marks', 'powerpress')); ?> </h4>
665
  <div class="powerpress_row_content">
666
  <input type="hidden" name="Null[powerpress_metamarks_counter_<?php echo $FeedSlug ?>]"
667
  id="powerpress_metamarks_counter_<?php echo $FeedSlug ?>"
668
  value="<?php echo count($MetaRecords) ?>"/>
669
  <input style="cursor:pointer;" type="button" id="powerpress_check_<?php echo $FeedSlug ?>_button"
670
+ name="powerpress_check_<?php echo $FeedSlug ?>_button" title="<?php echo esc_attr(__("Add Meta Mark","powerpress")); ?>"
671
+ value="<?php echo esc_attr(__('Add Meta Mark', 'powerpress')) ?>"
672
  onclick="powerpress_metamarks_addrow('<?php echo $FeedSlug ?>')" class="button"/>
673
 
674
  <div class="powerpress_metamarks_block" id="powerpress_metamarks_block_<?php echo $FeedSlug ?>">
799
  <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
800
  <?php wp_nonce_field('media-form'); ?>
801
 
802
+ <h3 class="media-title"><?php echo esc_html(__('Select poster image from your computer.', 'powerpress')); ?></h3>
803
 
804
  <?php media_upload_form( $errors ); ?>
805
 
powerpressadmin.php CHANGED
@@ -573,7 +573,10 @@ function powerpress_admin_init()
573
 
574
  if( !isset($General['feed_links']) )
575
  $General['feed_links'] = 0;
576
-
 
 
 
577
  // Advanced Features
578
  if( !isset($General['player_options'] ) )
579
  $General['player_options'] = 0;
573
 
574
  if( !isset($General['feed_links']) )
575
  $General['feed_links'] = 0;
576
+
577
+ if( !isset($General['skip_to_episode_settings']) )
578
+ $General['skip_to_episode_settings'] = 0;
579
+
580
  // Advanced Features
581
  if( !isset($General['player_options'] ) )
582
  $General['player_options'] = 0;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts,
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.3.2
7
- Stable tag: 8.2.5
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -236,6 +236,14 @@ To install Blubrry PowerPress manually, follow these steps:
236
  = Fan of PowerPress and want to show your support? =
237
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
238
 
 
 
 
 
 
 
 
 
239
  = 8.2.5 =
240
  * Released 2/20/2020
241
  * Fixed a bug that was preventing the explicit setting from saving
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.3.2
7
+ Stable tag: 8.2.6
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
236
  = Fan of PowerPress and want to show your support? =
237
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
238
 
239
+ = 8.2.6 =
240
+ * Released 3/4/2020
241
+ * Fixed a bug that was messing with some users' season numbers
242
+ * Added an option in Settings to display the whole episode box (as opposed to verifying the media link before allowing any metadata to be entered)
243
+ * Fixed a bug that was being caused by translated characters
244
+ * Corrected the powerpress player shortcode [powerpress] in the episode box
245
+ * Fixed some smaller bugs dealing with the functionality of the tabs and the artwork preview for multiple categories
246
+
247
  = 8.2.5 =
248
  * Released 2/20/2020
249
  * Fixed a bug that was preventing the explicit setting from saving
views/episode-box.php CHANGED
@@ -200,21 +200,21 @@ function powerpress_meta_box($object, $box)
200
  echo "id=\"powerpress_change_$FeedSlug\" value=\"1\" checked/>";
201
  echo "</div>";
202
  echo "<div class=\"powerpress_remove_container\">";
203
- echo "<label><b>" . __('Remove', 'powerpress') . "</b></label>";
204
  echo "<div class=\"powerpress_row_content\">";
205
  echo "<input type=\"checkbox\" class='ep-box-checkbox' name=\"Powerpress[$FeedSlug][remove_podcast]\" id=\"powerpress_remove_$FeedSlug\" value=\"1\" onchange=\"javascript:document.getElementById('a-pp-selected-media-$FeedSlug').style.display=(this.checked?'none':'block');javascript:document.getElementById('tab-container-$FeedSlug').style.display=(this.checked?'none':'block');\" />";
206
- echo __('Podcast episode will be removed from this post upon save', 'powerpress');
207
  echo "</div>";
208
  echo "</div>";
209
  }
210
  episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings, $EnclosureLength, $DurationHH, $DurationMM, $DurationSS);
211
  echo "<div id=\"tab-container-$FeedSlug\" style=\"$style\">";
212
  echo "<div class=\"pp-tab\">";
213
- $titles = array("info" => __("Episode Info", "powerpress"), "artwork" => __("Episode Artwork", "powerpress"), "website" => __("Website Display", "powerpress"), "advanced" => __("Advanced", "powerpress"));
214
- echo "<button class=\"tablinks active\" id=\"0$FeedSlug\" title='{$titles['info']}' onclick=\"powerpress_openTab(event, 'seo-$FeedSlug')\" id=\"defaultOpen-$FeedSlug\">" . __('Episode Info', 'powerpress') . "</button>";
215
- echo "<button class=\"tablinks\" id=\"1$FeedSlug\" title='{$titles['artwork']}' onclick=\"powerpress_openTab(event, 'artwork-$FeedSlug')\">" . __('Episode Artwork', 'powerpress') . "</button>";
216
- echo "<button class=\"tablinks\" id=\"2$FeedSlug\" title='{$titles['website']}' onclick=\"powerpress_openTab(event, 'display-$FeedSlug')\">" . __('Website Display', 'powerpress') . "</button>";
217
- echo "<button class=\"tablinks\" id=\"3$FeedSlug\" title='{$titles['advanced']}' onclick=\"powerpress_openTab(event, 'notes-$FeedSlug')\">" . __('Advanced', 'powerpress') . "</button>";
218
  echo "</div>";
219
  seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $GeneralSettings, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object);
220
  artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage);
@@ -236,6 +236,13 @@ function powerpress_meta_box($object, $box)
236
  echo "});";
237
  echo "</script>";
238
  }
 
 
 
 
 
 
 
239
  } // function
240
 
241
 
200
  echo "id=\"powerpress_change_$FeedSlug\" value=\"1\" checked/>";
201
  echo "</div>";
202
  echo "<div class=\"powerpress_remove_container\">";
203
+ echo "<label><b>" . esc_html(__('Remove', 'powerpress')) . "</b></label>";
204
  echo "<div class=\"powerpress_row_content\">";
205
  echo "<input type=\"checkbox\" class='ep-box-checkbox' name=\"Powerpress[$FeedSlug][remove_podcast]\" id=\"powerpress_remove_$FeedSlug\" value=\"1\" onchange=\"javascript:document.getElementById('a-pp-selected-media-$FeedSlug').style.display=(this.checked?'none':'block');javascript:document.getElementById('tab-container-$FeedSlug').style.display=(this.checked?'none':'block');\" />";
206
+ echo esc_html(__('Podcast episode will be removed from this post upon save', 'powerpress'));
207
  echo "</div>";
208
  echo "</div>";
209
  }
210
  episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings, $EnclosureLength, $DurationHH, $DurationMM, $DurationSS);
211
  echo "<div id=\"tab-container-$FeedSlug\" style=\"$style\">";
212
  echo "<div class=\"pp-tab\">";
213
+ $titles = array("info" => esc_attr(__("Episode Info", "powerpress")), "artwork" => esc_attr(__("Episode Artwork", "powerpress")), "website" => esc_attr(__("Website Display", "powerpress")), "advanced" => esc_attr(__("Advanced", "powerpress")));
214
+ echo "<button class=\"tablinks active\" id=\"0$FeedSlug\" title='{$titles['info']}' onclick=\"powerpress_openTab(event, 'seo-$FeedSlug')\" id=\"defaultOpen-$FeedSlug\">" . esc_html(__('Episode Info', 'powerpress')) . "</button>";
215
+ echo "<button class=\"tablinks\" id=\"1$FeedSlug\" title='{$titles['artwork']}' onclick=\"powerpress_openTab(event, 'artwork-$FeedSlug')\">" . esc_html(__('Episode Artwork', 'powerpress')) . "</button>";
216
+ echo "<button class=\"tablinks\" id=\"2$FeedSlug\" title='{$titles['website']}' onclick=\"powerpress_openTab(event, 'display-$FeedSlug')\">" . esc_html(__('Website Display', 'powerpress')) . "</button>";
217
+ echo "<button class=\"tablinks\" id=\"3$FeedSlug\" title='{$titles['advanced']}' onclick=\"powerpress_openTab(event, 'notes-$FeedSlug')\">" . esc_html(__('Advanced', 'powerpress')) . "</button>";
218
  echo "</div>";
219
  seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $GeneralSettings, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object);
220
  artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage);
236
  echo "});";
237
  echo "</script>";
238
  }
239
+ if( !empty($GeneralSettings['skip_to_episode_settings']) ) {
240
+ echo "<script type=\"text/javascript\">";
241
+ echo "jQuery(document).ready(function($) {";
242
+ echo "powerpress_skipToEpisodeSettings(\"$FeedSlug\");";
243
+ echo "});";
244
+ echo "</script>";
245
+ }
246
  } // function
247
 
248