PowerPress Podcasting plugin by Blubrry - Version 8.3

Version Description

  • Released 06/01/2020
  • Fresh new appearance for PowerPress settings tabs
  • Now, helpful info about your show and its progress appear at the top of the Welcome tab
  • Destinations-related settings consolidated to the Destinations tab
  • Podcast SEO and Advanced Settings are now within the Settings tabs
Download this release

Release Info

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

Code changes from version 8.2.11 to 8.3

Files changed (52) hide show
  1. css/admin.css +2 -89
  2. css/admin.min.css +1 -1
  3. css/episode-box.css +22 -13
  4. css/episode-box.min.css +1 -1
  5. css/settings.css +719 -0
  6. css/settings.min.css +1 -0
  7. css/subscribe-widget.css +19 -0
  8. css/subscribe-widget.min.css +1 -1
  9. css/subscribe.css +18 -0
  10. css/subscribe.min.css +1 -1
  11. images/cloud_up.svg +22 -0
  12. images/done_24px.svg +1 -0
  13. images/settings_nav_icons/blubrry.svg +20 -0
  14. images/settings_nav_icons/camera_blue.svg +22 -0
  15. images/settings_nav_icons/camera_gray.svg +22 -0
  16. images/settings_nav_icons/connection_pattern_blue.svg +22 -0
  17. images/settings_nav_icons/connection_pattern_gray.svg +22 -0
  18. images/settings_nav_icons/desktop_blue.svg +22 -0
  19. images/settings_nav_icons/desktop_gray.svg +22 -0
  20. images/settings_nav_icons/edit_blue.svg +22 -0
  21. images/settings_nav_icons/edit_gray.svg +22 -0
  22. images/settings_nav_icons/file_blue.svg +22 -0
  23. images/settings_nav_icons/file_gray.svg +22 -0
  24. images/settings_nav_icons/fileboard_checklist_blue.svg +22 -0
  25. images/settings_nav_icons/fileboard_checklist_gray.svg +22 -0
  26. images/settings_nav_icons/megaphone_blue.svg +22 -0
  27. images/settings_nav_icons/megaphone_gray.svg +22 -0
  28. images/settings_nav_icons/option_bar_settings_blue.svg +22 -0
  29. images/settings_nav_icons/option_bar_settings_gray.svg +22 -0
  30. images/settings_nav_icons/play_blue.svg +22 -0
  31. images/settings_nav_icons/play_gray.svg +22 -0
  32. images/settings_nav_icons/profile_plus_round_blue.svg +22 -0
  33. images/settings_nav_icons/profile_plus_round_gray.svg +22 -0
  34. images/settings_nav_icons/rss-symbol.svg +13 -0
  35. images/settings_nav_icons/star_favorite_blue.svg +22 -0
  36. images/settings_nav_icons/star_favorite_gray.svg +22 -0
  37. images/status_complete.svg +1 -0
  38. images/status_incomplete.svg +17 -0
  39. js/admin.js +110 -15
  40. powerpress-subscribe.php +189 -62
  41. powerpress.php +2 -2
  42. powerpressadmin-basic.php +632 -681
  43. powerpressadmin-dashboard.php +3 -6
  44. powerpressadmin-editfeed.php +565 -559
  45. powerpressadmin-jquery.php +53 -1
  46. powerpressadmin-podpress.php +1 -1
  47. powerpressadmin-search.php +51 -82
  48. powerpressadmin.php +51 -37
  49. readme.txt +10 -2
  50. views/settings_tab_appearance.php +437 -176
  51. views/settings_tab_destinations.php +335 -148
  52. views/settings_tab_other.php +55 -70
css/admin.css CHANGED
@@ -62,85 +62,6 @@ div.powerpress-error,
62
 
63
  }
64
 
65
- .powerpress_tabbed_content > ul {
66
- margin-left:10px;
67
- position:relative;
68
- top:1px;
69
- z-index:100;
70
- }
71
-
72
- .powerpress_tabbed_content > ul li { list-style:none; float:left; margin-bottom:0;}
73
- .powerpress_tabbed_content > ul a {
74
- text-decoration:none;
75
- -moz-border-radius-bottomleft:0;
76
- -moz-border-radius-bottomright:0;
77
- -moz-border-radius-topleft:3px;
78
- -moz-border-radius-topright:3px;
79
- border-radius-topleft:3px;
80
- border-radius-topright:3px;
81
- border-style:solid;
82
- border-width:1px;
83
- cursor:pointer;
84
- display:block;
85
- height:18px;
86
- margin:5px 5px 0 0;
87
- padding:4px 5px 2px;
88
- background-color:#F1F1F1;
89
- background-color:#E3E3E3;
90
- border-color:#DFDFDF;
91
- border-color:#B3B3B3;
92
- color:#999999;
93
- color:#666666;
94
- font-weight: bold;
95
- }
96
- .powerpress_tabbed_content ul a:hover {
97
- }
98
-
99
- .powerpress_tabbed_content ul .ui-tabs-active a,
100
- .powerpress_tabbed_content ul .ui-tabs-selected a {
101
- background-color:#FFFFFF;
102
- border-bottom:0 none;
103
- color:#333333;
104
- cursor:default;
105
- padding-bottom:3px;
106
- }
107
-
108
-
109
-
110
- .powerpress_tabbed_content > div {
111
- padding: 0px 10px 10px 10px;
112
- *padding-top:3px;
113
- *margin-top:-15px;
114
- clear:left;
115
- }
116
- .powerpress_tabbed_content .wrap {
117
- padding:0;
118
- }
119
-
120
- .powerpress_tab {
121
- -moz-border-radius-bottomleft:0;
122
- -moz-border-radius-bottomright:0;
123
- -moz-border-radius-topleft:6px;
124
- -moz-border-radius-topright:6px;
125
- background: #FFF;
126
- border-collapse:separate;
127
- border-style:solid;
128
- border-width:1px;
129
- border-color:#DFDFDF;
130
- border-color:#B3B3B3;
131
- padding-bottom: 15px;
132
- }
133
- .powerpress_tab .form-table {
134
- margin-top: 0;
135
- margin-bottom: 0;
136
- }
137
-
138
- .powerpress_tab .form-table td {
139
- margin-bottom: 4px;
140
- padding: 4px 10px 4px;
141
- line-height: 20px;
142
- font-size: 11px;
143
- }
144
 
145
  #powerpress_support {
146
 
@@ -152,26 +73,18 @@ padding-bottom: 15px;
152
  margin-bottom: 0;
153
  }
154
 
155
- .powerpress-welcome-news {
156
  margin: 10px 0 0 0;
157
  float: left;
158
  width: 60%;
159
  border-right: 1px solid #CCCCCC;
160
- }
161
  .powerpress-welcome-news > div {
162
  margin: 0 10px 0 0;
163
  }
164
  .powerpress-welcome-news a {
165
  text-decoration: none;
166
  }
167
- .powerpress-welcome-news .rsswidget {
168
- font-size: 110%;
169
- font-weight: bold;
170
- }
171
- .powerpress-welcome-news .rss-date {
172
- font-size: 80%;
173
- margin-left: 10px;
174
- }
175
  .powerpress-welcome-news .rssSummary {
176
  font-size: 95%;
177
  }
62
 
63
  }
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  #powerpress_support {
67
 
73
  margin-bottom: 0;
74
  }
75
 
76
+ /*.powerpress-welcome-news {
77
  margin: 10px 0 0 0;
78
  float: left;
79
  width: 60%;
80
  border-right: 1px solid #CCCCCC;
81
+ }*/
82
  .powerpress-welcome-news > div {
83
  margin: 0 10px 0 0;
84
  }
85
  .powerpress-welcome-news a {
86
  text-decoration: none;
87
  }
 
 
 
 
 
 
 
 
88
  .powerpress-welcome-news .rssSummary {
89
  font-size: 95%;
90
  }
css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .powerpress-notice,.wrap div.powerpress-notice,div.powerpress-notice{margin:20px 0 10px;padding:0 5px;line-height:29px}.powerpress-error,.wrap div.powerpress-error,div.powerpress-error{margin:20px 5px 10px;padding:0 10px;line-height:29px;font-size:12px;border-width:1px;border-style:solid;font-weight:700}#powerpress_settings{background-image:url(//images.blubrry.com/powerpress/blubrry_logo7.png);background-repeat:no-repeat;background-position:bottom right}#powerpress_settings ul li ul{list-style:disc}#powerpress_settings ul li ul li{margin-left:50px;font-size:90%}#powerpress_settings td{padding-top:12px}#powerpress_settings td p{padding-bottom:10px}.bpp_input_sm{width:120px}.bpp_input_med{width:250px}.bpp-input-normal{width:80%}.powerpress_color_box{float:left;width:16px;height:16px;cursor:pointer;margin:4px 1px;border:1px solid #666}.powerpress_tabbed_content>ul{margin-left:10px;position:relative;top:1px;z-index:100}.powerpress_tabbed_content>ul li{list-style:none;float:left;margin-bottom:0}.powerpress_tabbed_content>ul a{text-decoration:none;-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;border-radius-topleft:3px;border-radius-topright:3px;border-style:solid;border-width:1px;cursor:pointer;display:block;height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;background-color:#f1f1f1;background-color:#e3e3e3;border-color:#dfdfdf;border-color:#b3b3b3;color:#999;color:#666;font-weight:700}.powerpress_tabbed_content ul .ui-tabs-active a,.powerpress_tabbed_content ul .ui-tabs-selected a{background-color:#fff;border-bottom:0 none;color:#333;cursor:default;padding-bottom:3px}.powerpress_tabbed_content>div{padding:0 10px 10px 10px;clear:left}.powerpress_tabbed_content .wrap{padding:0}.powerpress_tab{-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;background:#fff;border-collapse:separate;border-style:solid;border-width:1px;border-color:#dfdfdf;border-color:#b3b3b3;padding-bottom:15px}.powerpress_tab .form-table{margin-top:0;margin-bottom:0}.powerpress_tab .form-table td{margin-bottom:4px;padding:4px 10px 4px;line-height:20px;font-size:11px}#powerpress_support li{margin-left:70px;list-style-type:disc;margin-top:0;margin-bottom:0}.powerpress-welcome-news{margin:10px 0 0 0;float:left;width:60%;border-right:1px solid #ccc}.powerpress-welcome-news>div{margin:0 10px 0 0}.powerpress-welcome-news a{text-decoration:none}.powerpress-welcome-news .rsswidget{font-size:110%;font-weight:700}.powerpress-welcome-news .rss-date{font-size:80%;margin-left:10px}.powerpress-welcome-news .rssSummary{font-size:95%}.powerpress-welcome-news .powerpressNewsPlayer{margin-top:5px}.powerpress-welcome-highlighted{margin:10px 0 0 0;float:left;width:39%}.powerpress-welcome-highlighted>div{margin:0 0 0 10px}.powerpress-welcome-highlighted a{text-decoration:none}.powerpress-welcome-highlighted .rsswidget{font-size:115%;font-weight:700}.powerpress-welcome-highlighted .rssSummary{font-size:95%}.powerpress-welcome-highlighted ul li,.powerpress-welcome-news ul li{margin:15px 0 10px 0}.powerpress-welcome-highlighted h2,.powerpress-welcome-news h2{padding:0}#powerpress_settings label.powerpress-normal-font{font-size:11px}#powerpress_admin_header{vertical-align:text-bottom}#powerpress_admin_header h2{display:inline-block}#powerpress_admin_header h2,#powerpress_admin_header h3,#powerpress_admin_header h4{line-height:1.1;margin:10px 0 0 0;padding:0;font-weight:700}#powerpress_admin_header p{line-height:1.1;margin:5px 0 10px 0;padding:0}#powerpress_admin_header .powerpress-admin-heading{font-weight:700}#powerpress_admin_header .powerpress-mode{margin-left:14px;display:inline-block;color:#f60;font-size:15px;font-weight:700}#pp-getting-started-box{max-width:1200px}#pp-getting-started-box h2{font-size:200%;margin-bottom:20px;font-style:oblique;line-height:1.2em}#pp-getting-started-box>p{font-size:125%}.powerpress-required{font-size:85%;color:#c00;margin-left:12px;font-style:italic}.powerpress-step{display:inline-block;float:left;width:200px;width:24%;margin-left:60px;margin-right:0;text-align:top;position:relative;padding:8px}.blubrry-services{color:#337ec9;font-size:18px;line-height:1.2}.blubrry-services p{margin:0 70px 0 0;padding:0}.blubrry-services strong{color:#f60;font-weight:400}.blubrry-services p.top-lines{margin-right:0}.blubrry-services a{color:#f60;font-size:20px;line-height:2}.blubrry-services .blubrry-hosting,.blubrry-services .blubrry-stats{float:left;width:230px;height:140px;background-color:#ececec;padding:10px;margin-top:10px}.blubrry-services .blubrry-stats{background-image:url(../images/StatsIcon.png);background-repeat:no-repeat;background-position:bottom right}.blubrry-services .blubrry-hosting{margin-right:50px;background-image:url(../images/BlubrryIcon.png);background-repeat:no-repeat;background-position:bottom right}@media screen and (min-width:1px) and (max-width:819px){.powerpress-step{width:170px}#powerpress_steps p{font-size:16px;margin:20px 4px}.blubrry-services .blubrry-hosting{margin-right:20px}}@media screen and (min-width:1px) and (max-width:729px){#powerpreess_step_1{background-position:1px bottom}#powerpress_steps p{margin:10px 4px}.blubrry-services .blubrry-hosting{margin-right:10px}}@media screen and (min-width:1px) and (max-width:729px){.powerpress-step{width:24%;margin-left:30px}}.numberCircle{border-radius:50%;behavior:url(PIE.htc);width:36px;height:36px;padding:8px;background:#fff;border:2px solid #666;color:#666;text-align:center;font:32px Arial,sans-serif}#powerpress_settings_page{background:0 0;background-color:inherit;border:none}#powerpress_settings_page .ui-widget-header{background:0 0;border:none}#powerpress_settings_page .ui-state-default,#powerpress_settings_page .ui-widget-content .ui-state-default,#powerpress_settings_page .ui-widget-header .ui-state-default{background:0 0;border:none}#powerpress_settings_page .ui-tabs-nav li{margin-bottom:0;border-bottom:none}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}#powerpress_settings_page .ui-tabs-nav li a{padding:4px 5px 2px}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active a{padding:4px 5px 3px}#powerpress_settings_page .powerpress_tab{background-color:#fff;border-collapse:separate;border-style:solid;border-width:1px;border-color:#dfdfdf;border-color:#b3b3b3}.pp-section{clear:both;padding:0;margin:0}.pp-section dt{font-weight:700}.pp-expand-section{text-decoration:none}a.pp-expand-section,a.pp-expand-section:focus,a.pp-expand-section:hover,a.pp-expand-section:visited{color:#1976d2}.pp-expand-section-expanded:before,.pp-expand-section:before{background-color:#1976d2;border:1px solid #1976d2;border-radius:3px;font-weight:700;color:#fff;height:20px;width:20px;display:inline-block;margin-right:10px;text-align:center;font-size:20px}.pp-expand-section:before{content:' \25C4';content:'+';line-height:20px}.pp-expand-section-expanded:before{content:' \25BC';content:'-';line-height:16px}.bbplayer_settings .form-table th{padding-bottom:0}.bbplayer_settings h3{color:#036;font-weight:700}.wp-core-ui .button-blubrry{background:#1976d2;border-color:#1976d2;color:#fff}.wp-core-ui .button-blubrry-gray{background:#f7f7f7;border-color:#ccc;color:#555}.wp-core-ui .button-blubrry:focus,.wp-core-ui .button-blubrry:hover{background:#0d87e9;border-color:#0d87e9;color:#fff}.pp-form-error{border:red solid 1px}
1
+ .powerpress-notice,.wrap div.powerpress-notice,div.powerpress-notice{margin:20px 0 10px;padding:0 5px;line-height:29px}.powerpress-error,.wrap div.powerpress-error,div.powerpress-error{margin:20px 5px 10px;padding:0 10px;line-height:29px;font-size:12px;border-width:1px;border-style:solid;font-weight:700}#powerpress_settings{background-image:url(//images.blubrry.com/powerpress/blubrry_logo7.png);background-repeat:no-repeat;background-position:bottom right}#powerpress_settings ul li ul{list-style:disc}#powerpress_settings ul li ul li{margin-left:50px;font-size:90%}#powerpress_settings td{padding-top:12px}#powerpress_settings td p{padding-bottom:10px}.bpp_input_sm{width:120px}.bpp_input_med{width:250px}.bpp-input-normal{width:80%}.powerpress_color_box{float:left;width:16px;height:16px;cursor:pointer;margin:4px 1px;border:1px solid #666}#powerpress_support li{margin-left:70px;list-style-type:disc;margin-top:0;margin-bottom:0}.powerpress-welcome-news>div{margin:0 10px 0 0}.powerpress-welcome-news a{text-decoration:none}.powerpress-welcome-news .rssSummary{font-size:95%}.powerpress-welcome-news .powerpressNewsPlayer{margin-top:5px}.powerpress-welcome-highlighted{margin:10px 0 0 0;float:left;width:39%}.powerpress-welcome-highlighted>div{margin:0 0 0 10px}.powerpress-welcome-highlighted a{text-decoration:none}.powerpress-welcome-highlighted .rsswidget{font-size:115%;font-weight:700}.powerpress-welcome-highlighted .rssSummary{font-size:95%}.powerpress-welcome-highlighted ul li,.powerpress-welcome-news ul li{margin:15px 0 10px 0}.powerpress-welcome-highlighted h2,.powerpress-welcome-news h2{padding:0}#powerpress_settings label.powerpress-normal-font{font-size:11px}#powerpress_admin_header{vertical-align:text-bottom}#powerpress_admin_header h2{display:inline-block}#powerpress_admin_header h2,#powerpress_admin_header h3,#powerpress_admin_header h4{line-height:1.1;margin:10px 0 0 0;padding:0;font-weight:700}#powerpress_admin_header p{line-height:1.1;margin:5px 0 10px 0;padding:0}#powerpress_admin_header .powerpress-admin-heading{font-weight:700}#powerpress_admin_header .powerpress-mode{margin-left:14px;display:inline-block;color:#f60;font-size:15px;font-weight:700}#pp-getting-started-box{max-width:1200px}#pp-getting-started-box h2{font-size:200%;margin-bottom:20px;font-style:oblique;line-height:1.2em}#pp-getting-started-box>p{font-size:125%}.powerpress-required{font-size:85%;color:#c00;margin-left:12px;font-style:italic}.powerpress-step{display:inline-block;float:left;width:200px;width:24%;margin-left:60px;margin-right:0;text-align:top;position:relative;padding:8px}.blubrry-services{color:#337ec9;font-size:18px;line-height:1.2}.blubrry-services p{margin:0 70px 0 0;padding:0}.blubrry-services strong{color:#f60;font-weight:400}.blubrry-services p.top-lines{margin-right:0}.blubrry-services a{color:#f60;font-size:20px;line-height:2}.blubrry-services .blubrry-hosting,.blubrry-services .blubrry-stats{float:left;width:230px;height:140px;background-color:#ececec;padding:10px;margin-top:10px}.blubrry-services .blubrry-stats{background-image:url(../images/StatsIcon.png);background-repeat:no-repeat;background-position:bottom right}.blubrry-services .blubrry-hosting{margin-right:50px;background-image:url(../images/BlubrryIcon.png);background-repeat:no-repeat;background-position:bottom right}@media screen and (min-width:1px) and (max-width:819px){.powerpress-step{width:170px}#powerpress_steps p{font-size:16px;margin:20px 4px}.blubrry-services .blubrry-hosting{margin-right:20px}}@media screen and (min-width:1px) and (max-width:729px){#powerpreess_step_1{background-position:1px bottom}#powerpress_steps p{margin:10px 4px}.blubrry-services .blubrry-hosting{margin-right:10px}}@media screen and (min-width:1px) and (max-width:729px){.powerpress-step{width:24%;margin-left:30px}}.numberCircle{border-radius:50%;behavior:url(PIE.htc);width:36px;height:36px;padding:8px;background:#fff;border:2px solid #666;color:#666;text-align:center;font:32px Arial,sans-serif}#powerpress_settings_page{background:0 0;background-color:inherit;border:none}#powerpress_settings_page .ui-widget-header{background:0 0;border:none}#powerpress_settings_page .ui-state-default,#powerpress_settings_page .ui-widget-content .ui-state-default,#powerpress_settings_page .ui-widget-header .ui-state-default{background:0 0;border:none}#powerpress_settings_page .ui-tabs-nav li{margin-bottom:0;border-bottom:none}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}#powerpress_settings_page .ui-tabs-nav li a{padding:4px 5px 2px}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active a{padding:4px 5px 3px}#powerpress_settings_page .powerpress_tab{background-color:#fff;border-collapse:separate;border-style:solid;border-width:1px;border-color:#dfdfdf;border-color:#b3b3b3}.pp-section{clear:both;padding:0;margin:0}.pp-section dt{font-weight:700}.pp-expand-section{text-decoration:none}a.pp-expand-section,a.pp-expand-section:focus,a.pp-expand-section:hover,a.pp-expand-section:visited{color:#1976d2}.pp-expand-section-expanded:before,.pp-expand-section:before{background-color:#1976d2;border:1px solid #1976d2;border-radius:3px;font-weight:700;color:#fff;height:20px;width:20px;display:inline-block;margin-right:10px;text-align:center;font-size:20px}.pp-expand-section:before{content:' \25C4';content:'+';line-height:20px}.pp-expand-section-expanded:before{content:' \25BC';content:'-';line-height:16px}.bbplayer_settings .form-table th{padding-bottom:0}.bbplayer_settings h3{color:#036;font-weight:700}.wp-core-ui .button-blubrry{background:#1976d2;border-color:#1976d2;color:#fff}.wp-core-ui .button-blubrry-gray{background:#f7f7f7;border-color:#ccc;color:#555}.wp-core-ui .button-blubrry:focus,.wp-core-ui .button-blubrry:hover{background:#0d87e9;border-color:#0d87e9;color:#fff}.pp-form-error{border:red solid 1px}
css/episode-box.css CHANGED
@@ -155,13 +155,13 @@ select[id^="pp-metamark-type-"] {
155
  vertical-align: top;
156
  }
157
 
158
- input[id^="pp-metamark-pos-"], input[id^="pp-metamark-dur-"], input[id^="pp-metamark-link-"] {
159
  width: 100%;
160
  height: 58px;
161
  vertical-align: top;
162
  }
163
 
164
- textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"] {
165
  height: 72px;
166
  width: 100%;
167
  margin: auto;
@@ -206,7 +206,7 @@ div[id^="pp-category-dropdown-"] {
206
  margin: 1em 1em 0 1em;
207
  }
208
 
209
- .pp-ep-box-input.pp-width {
210
  width: 100%;
211
  }
212
 
@@ -562,13 +562,13 @@ button.media-details {
562
  margin: 0 1em;
563
  }
564
 
565
- input[id^="powerpress_size"] {
566
  width: 50%;
567
  text-align: center;
568
  height: 28px;
569
  }
570
 
571
- input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
572
  width: 48px;
573
  text-align: center;
574
  height: 34px;
@@ -686,7 +686,16 @@ input[class="pp-ep-box-input"], textarea[class="pp-ep-box-input"], select[class=
686
  width: 100%;
687
  }
688
 
689
- textarea[id^="powerpress_summary_"] {
 
 
 
 
 
 
 
 
 
690
  height: 130px;
691
  resize: none;
692
  padding: 10px;
@@ -726,7 +735,7 @@ div[id^="pp-url-input-label-container"] {
726
  width: calc(100% - 175px);
727
  }
728
 
729
- input[id^="powerpress_url_"], div[id^="powerpress_url_"] {
730
  width: 100%;
731
  border-radius: 4px;
732
  box-sizing: border-box;
@@ -741,7 +750,7 @@ div[id^="powerpress_url_show_"] {
741
  border-radius: 0;
742
  }
743
 
744
- input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"] {
745
  width: 90%;
746
  border-radius: 4px;
747
  box-sizing: border-box;
@@ -942,7 +951,7 @@ div[id^="ep-box-min-blubrry-connect-"] {
942
  .powerpress-art-preview {
943
  text-align: center;
944
  }
945
- input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"] {
946
  width: 100%;
947
  }
948
  }
@@ -971,7 +980,7 @@ div[id^="ep-box-min-blubrry-connect-"] {
971
  div[id^="type-container"] {
972
  width: 100%;
973
  }
974
- input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
975
  width: 36px;
976
  padding: 6px;
977
  height: 28px;
@@ -1001,7 +1010,7 @@ div[id^="ep-box-min-blubrry-connect-"] {
1001
  a[id^="show-details-link"], a[id^="hide-details-link"] {
1002
  font-size: 12px;
1003
  }
1004
- input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
1005
  width: 28px;
1006
  padding: 2px;
1007
  }
@@ -1090,7 +1099,7 @@ div[id^="ep-box-min-blubrry-connect-"] {
1090
  .classic-editor .powerpress-art-preview {
1091
  text-align: center;
1092
  }
1093
- .classic-editor input[id^="powerpress_itunes_image_"], .classic-editor input[id^="powerpress_image_"] {
1094
  width: 100%;
1095
  }
1096
  }
@@ -1146,7 +1155,7 @@ div[id^="ep-box-min-blubrry-connect-"] {
1146
  .classic-editor div[id^="type-container"] {
1147
  width: 100%;
1148
  }
1149
- .classic-editor input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
1150
  width: 36px;
1151
  padding: 6px;
1152
  height: 28px;
155
  vertical-align: top;
156
  }
157
 
158
+ input[id^="pp-metamark-pos-"], input[id^="pp-metamark-dur-"], input[id^="pp-metamark-link-"], input[id^="pp-metamark-pos-"]:focus, input[id^="pp-metamark-dur-"]:focus, input[id^="pp-metamark-link-"]:focus {
159
  width: 100%;
160
  height: 58px;
161
  vertical-align: top;
162
  }
163
 
164
+ textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"], textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"]:focus {
165
  height: 72px;
166
  width: 100%;
167
  margin: auto;
206
  margin: 1em 1em 0 1em;
207
  }
208
 
209
+ .pp-ep-box-input.pp-width, .pp-ep-box-input.pp-width:focus {
210
  width: 100%;
211
  }
212
 
562
  margin: 0 1em;
563
  }
564
 
565
+ input[id^="powerpress_size"], input[id^="powerpress_size"]:focus {
566
  width: 50%;
567
  text-align: center;
568
  height: 28px;
569
  }
570
 
571
+ input[id^="powerpress_duration_"][class="pp-ep-box-input"], input[id^="powerpress_duration_"][class="pp-ep-box-input"]:focus {
572
  width: 48px;
573
  text-align: center;
574
  height: 34px;
686
  width: 100%;
687
  }
688
 
689
+ input[class="pp-ep-box-input"]:focus, textarea[class="pp-ep-box-input"]:focus, select[class="pp-ep-box-input"]:focus, div[class="pp-ep-box-input"]:focus {
690
+ border-radius: 4px;
691
+ background-color: white;
692
+ border: 1px solid #B1B1B1;
693
+ font-size: 14px;
694
+ height: 56px;
695
+ width: 100%;
696
+ }
697
+
698
+ textarea[id^="powerpress_summary_"], textarea[id^="powerpress_summary_"]:focus {
699
  height: 130px;
700
  resize: none;
701
  padding: 10px;
735
  width: calc(100% - 175px);
736
  }
737
 
738
+ input[id^="powerpress_url_"], div[id^="powerpress_url_"], input[id^="powerpress_url_"]:focus {
739
  width: 100%;
740
  border-radius: 4px;
741
  box-sizing: border-box;
750
  border-radius: 0;
751
  }
752
 
753
+ input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"], input[id^="powerpress_itunes_image_"]:focus, input[id^="powerpress_image_"]:focus {
754
  width: 90%;
755
  border-radius: 4px;
756
  box-sizing: border-box;
951
  .powerpress-art-preview {
952
  text-align: center;
953
  }
954
+ input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"], input[id^="powerpress_itunes_image_"]:focus, input[id^="powerpress_image_"]:focus {
955
  width: 100%;
956
  }
957
  }
980
  div[id^="type-container"] {
981
  width: 100%;
982
  }
983
+ input[id^="powerpress_duration_"][class="pp-ep-box-input"], input[id^="powerpress_duration_"][class="pp-ep-box-input"]:focus {
984
  width: 36px;
985
  padding: 6px;
986
  height: 28px;
1010
  a[id^="show-details-link"], a[id^="hide-details-link"] {
1011
  font-size: 12px;
1012
  }
1013
+ input[id^="powerpress_duration_"][class="pp-ep-box-input"], input[id^="powerpress_duration_"][class="pp-ep-box-input"]:focus {
1014
  width: 28px;
1015
  padding: 2px;
1016
  }
1099
  .classic-editor .powerpress-art-preview {
1100
  text-align: center;
1101
  }
1102
+ .classic-editor input[id^="powerpress_itunes_image_"], .classic-editor input[id^="powerpress_image_"], .classic-editor input[id^="powerpress_itunes_image_"]:focus, .classic-editor input[id^="powerpress_image_"]:focus {
1103
  width: 100%;
1104
  }
1105
  }
1155
  .classic-editor div[id^="type-container"] {
1156
  width: 100%;
1157
  }
1158
+ .classic-editor input[id^="powerpress_duration_"][class="pp-ep-box-input"], .classic-editor input[id^="powerpress_duration_"][class="pp-ep-box-input"]:focus {
1159
  width: 36px;
1160
  padding: 6px;
1161
  height: 28px;
css/episode-box.min.css CHANGED
@@ -1 +1 @@
1
- div[class^=pp-tooltip]{position:relative;display:inline-block;background-color:#dadada;color:#fff;padding:1px 6px 1px 6px;border-radius:9px;width:6px;height:16px;text-align:center;font-family:Roboto,serif}div[class^=pp-tooltip] .text-pp-tooltip{position:absolute;visibility:hidden;min-width:300px;background-color:#3e3f42;color:#fff;text-align:center;padding:5px;border-radius:6px;z-index:1;font-family:Roboto,sans-serif;top:-100%}.pp-tooltip-left .text-pp-tooltip{right:1%;margin-right:120%}.pp-tooltip-right .text-pp-tooltip{margin-left:-5px;border-width:5px;left:150%}div[class^=pp-tooltip]:hover .text-pp-tooltip{visibility:visible}div[class^=pp-tooltip] .text-pp-tooltip::after{content:" ";position:absolute;border-width:5px;border-style:solid;top:50%}.pp-tooltip-left .text-pp-tooltip::after{border-color:transparent transparent transparent #3e3f42;right:-3%}.pp-tooltip-right .text-pp-tooltip::after{border-color:transparent #3e3f42 transparent transparent;left:-3%}.pp-tab{font-size:16px;overflow:hidden;border-bottom:1px solid #efefef;border-top:1px solid #efefef;width:100%}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 0;margin:0 3%;transition:.3s;width:19%}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{margin:0 14px 14px 14px}.pp-metamarks-row{margin-top:3em;margin-left:1em;position:relative;width:90%;box-shadow:inset 0 0 0 1px #eaedf3;border:1px solid #eaedf3;border-radius:4px}.pp-metamark-delete a{margin:4px 0 0 -2px;cursor:pointer;width:10px;height:10px;text-indent:-9999px;overflow:hidden;top:4px;left:-14px}div[id^=pp-hide-metamark]{padding:2em 2em 0 2em}.pp-metamark-delete,.pp-metamark-preview-pos-{display:inline-block;margin:1em}.pp-metamark-edit,.pp-metamark-preview-type-{margin:1em 0;display:inline-block}.metamark-top-section{border-bottom:1px solid #eaedf3;border-radius:4px 4px 0 0;box-shadow:inset 0 0 0 1px #eaedf3;width:100%}div[class^=metamark-preview-]{font-weight:700}.pp-metamark-delete,.pp-metamark-edit{float:right}select[id^=pp-metamark-type-]{width:100%;height:52px;vertical-align:top}input[id^=pp-metamark-dur-],input[id^=pp-metamark-link-],input[id^=pp-metamark-pos-]{width:100%;height:58px;vertical-align:top}textarea[id^=pp-metamark-val-][class=pp-ep-box-input]{height:72px;width:100%;margin:auto;vertical-align:top;resize:none}div[id^=pp-dur-label]{float:right;width:30%}div[id^=pp-pos-label],div[id^=pp-type-label]{margin-right:4%;width:30%}.powerpress-label-container{display:inline-block;margin-top:2ch;height:70px}div[id^=select-media-file]{vertical-align:top;padding-top:1vh;padding-left:10px;float:right}a[id^=pp-change-media-link],div[id^=save-media]{cursor:pointer}select[id^=powerpress_category_]{max-width:51.6%;width:100%;height:56px}div[id^=pp-category-dropdown-]{margin:1em 1em 0 1em}.pp-ep-box-input.pp-width{width:100%}#powerpress-podcast .inside{margin:0;padding:0}div[id^=apple-podcast-opt]{border-radius:4px;background-color:#f1f4f9;padding:3%;width:90%;margin-bottom:5vh}div[id^=ep-info-not-apple]{margin-bottom:20px}.pp-blue-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center}.pp-gray-button{background-color:#f5f5f5;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);color:#000;display:inline-block;border-radius:4px;font-family:Roboto,sans-serif;font-size:14px;font-weight:600;padding:.5ch 1em .5ch 1em;margin-right:1em;cursor:pointer;text-align:center;border:0}h4[class^=pp-section-title]{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:38px;margin-bottom:0;margin-top:0;float:left;display:inline-block}.pp-section-title-block{width:100%}.pp-ep-box-text{font-size:14px;margin-top:2ch;margin-bottom:0;font-family:Roboto,sans-serif}.pp-ep-box-settings-text{font-size:12px;letter-spacing:.35px;margin-top:3ch;margin-bottom:0}.pp-section-subtitle{color:#5a5c60;font-family:Roboto,sans-serif;font-size:14px;font-weight:500;line-height:16px}.pp-tabcontent{display:none;border-top:none;padding:40px}.pp-tabcontent.active{display:block}h3[id^=pp-pp-selected-media-head]{color:#263238;font-family:Roboto,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.06px;line-height:24px;margin:0}.pp-ep-box-settings{float:right}.ep-box-settings-icon{cursor:pointer}div[id^=pp-edit-media-button]{text-align:center}div[id^=a-pp-selected-media]{padding:1em 2em 0 2em}div[class=powerpress_remove_container]{padding:2ch 2ch}div[class^=metamark-preview-]{font-weight:700}div[id^=explicit-switch-base]{display:inline-block;padding:5px;background-color:#e6e6e6;width:100%;border-radius:4px}.pp-explicit-option{background-color:#e6e6e6}.explicit-selected{background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.16);border-radius:4px}.explicit-selected,.pp-explicit-option{border-collapse:collapse;font-weight:700;display:inline-block;width:32%;padding-top:1ch;padding-bottom:1ch;text-align:center;font-size:14px;font-family:Roboto,sans-serif;cursor:pointer}div[id^=pp-selected-media-text]{width:100%;display:inline-block}#episode-box-container,.powerpress_podcast_box{padding:10px}div[id^=pp-change-media-file]{vertical-align:top;margin-top:1vh;margin-left:10px;float:right}div[class^=ep-box-line]{box-sizing:border-box;display:inline-block;height:1px;width:100%;border-top:1px solid #efefef}div[class=ep-box-line-bold],div[class=ep-box-line-margin-bold]{border-top:2px solid #efefef;width:92%}div[class=ep-box-line-bold]{margin-left:4%;margin-right:4%}.ep-box-line-margin,.ep-box-line-margin-bold{margin:17px 0 17px 0}.pp-shortcode-example{box-sizing:border-box;border:1px solid #e8e8e8;background-color:#f0f0f0;line-height:36px;padding-left:2em;padding-right:2em}.pp-hidden-settings{display:none}div[id^=ep-box-blubrry-connect-]{background-color:#f1f4f9;margin-top:1em;width:98%;padding:1em 1ch}div[id^=ep-box-blubrry-connected-]{margin-left:1em;margin-top:1em;width:98%;padding:1em 1ch}.ep-box-blubrry-icon{display:inline-block;width:2em;vertical-align:top;margin-left:1em;margin-top:1ch}.ep-box-blubrry-info-container{display:inline-block;max-width:calc(100% - 320px)}img[id^=pp-image-preview]{width:16vh;height:16vh;border:3px solid #717171}img[id^=poster-pp-image-preview]{width:32ch;height:18ch;border:3px solid #717171}.powerpress-art-text{width:70%;display:inline-block;vertical-align:top}.powerpress-art-preview{width:28%;display:inline-block}div[id^=ep-box-filename-container]{text-overflow:ellipsis;white-space:nowrap;max-width:85%;overflow:hidden;display:inline-block}p[id^=ep-box-filename]{color:#4b4c4e;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:.15px;line-height:56px;margin:0 5px 0 5px;display:inline}div[id^=pp-cancel-container],div[id^=pp-connect-account-]{display:inline-block}div[id^=pp-cancel-container-]{float:right;margin-right:2em}div[id^=hidden-media-details-]{padding:1em;margin-top:2em;background-color:#f1f4f9}div[class^=details-]{display:inline-block;font-family:Roboto,sans-serif}.details-specify{width:45%}.details-auto-detect,.details-not-specified{width:25%}div[id^=media-input-]{margin-top:1ch}.pp-media-edit-details{color:#2c65db;font-family:Roboto Medium,sans-serif;font-size:12px;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f1f4f9;text-decoration:none}button.apple-advanced,button.media-details{color:#2c65db;font-family:Roboto Medium,sans-serif;font-size:12px;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f5f5f5;font-weight:700}button.media-details{background-color:#fff}.media-details-head{color:#3e3f42;font-weight:700;font-family:Roboto Medium,sans-serif;font-size:14px;line-height:22px;margin:0 1em}input[id^=powerpress_size]{width:50%;text-align:center;height:28px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:48px;text-align:center;height:34px}div[id^=media-file-details]{width:100%}.pp-detail-section{margin:0 1em 2ch 1em}.details-auto-detect{width:30%}.details-specify{width:43%}.details-not-specified{width:25%}.blubrry-connect-info{margin:0 1ch}h4.blubrry-connect-info{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:20px}p.blubrry-connect-info{font-size:14px;margin-bottom:0}a[id^=ep-box-connect-account],a[id^=pp-change-media-link]{text-decoration:none;display:inline-block;width:35ch;margin-right:1em}div[id^=change-media-button],div[id^=ep-box-connect-account-button-]{border-radius:4px;border:1px solid #969696;color:#0c74d5;padding:1ch 2em 1ch 2em;margin-right:1em;text-align:center;font-family:Roboto,sans-serif;font-size:14px;font-weight:600}a[id^=ep-box-connect-account],a[id^=pp-change-media-link],div[id^=change-media-button],div[id^=ep-box-connect-account-button-]{float:right}input[class=media-details-radio]{width:22px;height:22px;border:2px solid #b1b1b1}input[class=media-details-radio]:checked{border:2px solid #0c74d5}input[class=media-details-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}label[class=ep-box-caption]{color:rgba(0,0,0,.6);font-family:Roboto,sans-serif;font-size:12px;letter-spacing:.4px;font-weight:300;margin-left:2em}label[class^=pp-ep-box-label]{position:relative;top:2px;padding:0 2px 0 2px;bottom:10px;background:0 0}label[class^=pp-ep-box-label-under]{position:relative;padding:0 2px 0 2px;bottom:10px;left:10px;top:0;background:0 0}div[class=pp-ep-box-input],input[class=pp-ep-box-input],select[class=pp-ep-box-input],textarea[class=pp-ep-box-input]{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}textarea[id^=powerpress_summary_]{height:130px;resize:none;padding:10px;font-family:Roboto,sans-serif;font-size:14px;line-height:22px;width:100%}textarea[id^=powerpress_embed_]{resize:none}textarea[id^=powerpress_summary_]::-webkit-scrollbar{height:85%}textarea[id^=powerpress_summary_]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px grey;border-radius:4px}textarea[id^=powerpress_summary_]::-webkit-scrollbar-thumb{background:#fff;border-radius:4px;border:grey 1px solid}div[id^=pp-url-input-container-]{width:100%}div[id^=pp-url-input-label-container]{display:inline-block;width:calc(100% - 175px)}div[id^=powerpress_url_],input[id^=powerpress_url_]{width:100%;border-radius:4px;box-sizing:border-box;height:56px}div[id^=powerpress_url_show_]{width:100%;background-color:#f1f4f9;font-size:14px;height:56px;border-radius:0}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:90%;border-radius:4px;box-sizing:border-box;height:56px}input[id^=powerpress_feature_]{border-radius:2px;border:2px solid #66788a;height:18px;width:18px}input.ep-box-checkbox{border:2px solid #d4d8e0;border-radius:3px;height:18px;width:18px;box-shadow:none;margin-right:1em}input.ep-box-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.ep-box-checkbox:checked:disabled{background-color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.2)}input.ep-box-checkbox:checked::before{content:url(../images/check_white.svg);height:21px;width:21px;margin:-3px 0 0 -4px}input.ep-box-checkbox:checked+label.pp-checkbox-label{color:#0c74d5}.pp-section-container{display:block;margin-bottom:4ch;width:100%;justify-content:space-between}.apple-opt-section-container{display:block;margin-bottom:2ch;width:100%;justify-content:space-between}div[id^=apple-feature]{margin-top:1vh}div[id^=title-container]{width:50%}div[id^=season-container]{width:30%}input[id^=powerpress_episode_season]:disabled{background-color:#f5f5f5}div[id^=pp-explicit-container]{display:inline-block;width:35%;float:right;max-height:30px;margin-right:1em}div[id^=apple-title-container]{width:55%;margin-right:3ch}div[id^=episode-no-container],div[id^=season-container]{display:inline-block;width:18%;margin-top:3vh}div[id^=season-container]{float:right}div[id^=feature-container]{margin-top:3vh;width:70%}div[id^=type-container]{width:29.5%;vertical-align:top;margin:2ch 0 0 0}div[id^=media-input]{width:100%}div[id^=edit-media-file-]{float:right}div[id^=ep-box-min-blubrry-connect-]{margin-top:1ch}@media (max-width:1152px){.details-not-specified{margin-top:1em;width:100%}.details-auto-detect,.details-specify{width:48%}div[id^=pp-explicit-container]{width:40%}div[id^=feature-container]{width:100%}}@media (max-width:832px){div[class^=details-]{width:100%;margin-top:1em}.pp-detail-section{margin:2ch 1em 2ch 1em}div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}div[id^=apple-title-container]{width:100%;margin-top:1em}div[id^=episode-no-container]{width:45%}div[id^=season-container]{width:45%}.pp-tabcontent{padding:15px}#wpbody select{height:52px}div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}div[id^=pp-pos-label]{width:40%;margin-left:0}div[id^=pp-dur-label]{width:40%;margin-right:0}.powerpress-art-preview,.powerpress-art-text{width:100%}div[id^=type-container]{width:50%}input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.powerpress-art-preview{text-align:center}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:592px){div[id^=ep-box-filename-container]{max-width:70%}.pp-blue-button,.pp-gray-button{display:block;margin:1ch 0 0 0}.explicit-selected,.pp-explicit-option{font-size:12px}.artwork-button{padding:1em 2ch}div[id^=apple-podcast-opt]{padding:6%}div[id^=pp-display-player],div[id^=pp-player-size]{width:100%}div[id^=type-container]{width:100%}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}select[id^=powerpress_category] option{width:100%}}@media (max-width:375px){.pp-detail-section{margin:2ch 1em 2ch 0}.media-details{margin-left:0}.explicit-selected,.pp-explicit-option{width:31%}div[id^=pp-dur-label],div[id^=pp-pos-label]{width:100%;margin:1em 0 1em 0}.tab{font-size:12px}a[id^=hide-details-link],a[id^=show-details-link]{font-size:12px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:28px;padding:2px}}@media (max-width:1456px){.classic-editor .details-not-specified{margin-top:1em;width:100%}.classic-editor .details-auto-detect,.classic-editor .details-specify{width:48%}.classic-editor div[id^=pp-explicit-container]{width:40%}.classic-editor div[id^=feature-container]{width:100%}}@media (max-width:1350px){.classic-editor div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}}@media (max-width:1256px){.classic-editor div[class^=details-]{width:100%;margin-top:1em;margin-left:1em}}@media (max-width:1132px){.classic-editor div[class^=details-]{width:100%;margin-top:1em}.classic-editor .pp-detail-section{margin:2ch 1em 2ch 1em}.classic-editor div[id^=apple-title-container]{width:100%;margin-top:1em}.classic-editor div[id^=episode-no-container]{width:45%}.classic-editor div[id^=season-container]{width:45%}.classic-editor .pp-tabcontent{padding:15px}.classic-editor #wpbody select{height:52px}.classic-editor div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}.classic-editor div[id^=pp-pos-label]{width:40%;margin-left:0}.classic-editor div[id^=pp-dur-label]{width:40%;margin-right:0}.classic-editor .powerpress-art-preview,.classic-editor .powerpress-art-text{width:100%}.classic-editor div[id^=type-container]{width:50%}.classic-editor input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.classic-editor .powerpress-art-preview{text-align:center}.classic-editor input[id^=powerpress_image_],.classic-editor input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:1050px){.classic-editor .ep-box-blubrry-info-container{max-width:calc(100% - 50px)}.classic-editor a[id^=ep-box-connect-account-],.classic-editor a[id^=pp-change-media-link-]{float:none;width:100%}.classic-editor div[id^=change-media-button-],.classic-editor div[id^=ep-box-connect-account-button-]{float:none;margin-top:1em}}@media (max-width:640px){.ep-box-blubrry-info-container{max-width:calc(100% - 50px)}a[id^=ep-box-connect-account-],a[id^=pp-change-media-link-]{float:none;width:100%}div[id^=ep-box-connect-account-button-]{float:none;margin:1em 0 0 1ch}div[id^=change-media-button-]{float:none;margin-top:1em}}@media (max-width:892px){.classic-editor .pp-blue-button,.classic-editor .pp-gray-button{display:block}.classic-editor .explicit-selected,.classic-editor .pp-explicit-option{font-size:12px}.classic-editor .artwork-button{padding:1em 2ch}.classic-editor div[id^=apple-podcast-opt]{padding:6%}.classic-editor div[id^=pp-display-player],.classic-editor div[id^=pp-player-size]{width:100%}.classic-editor div[id^=type-container]{width:100%}.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}.classic-editor select[id^=powerpress_category] option{width:100%}}
1
+ div[class^=pp-tooltip]{position:relative;display:inline-block;background-color:#dadada;color:#fff;padding:1px 6px 1px 6px;border-radius:9px;width:6px;height:16px;text-align:center;font-family:Roboto,serif}div[class^=pp-tooltip] .text-pp-tooltip{position:absolute;visibility:hidden;min-width:300px;background-color:#3e3f42;color:#fff;text-align:center;padding:5px;border-radius:6px;z-index:1;font-family:Roboto,sans-serif;top:-100%}.pp-tooltip-left .text-pp-tooltip{right:1%;margin-right:120%}.pp-tooltip-right .text-pp-tooltip{margin-left:-5px;border-width:5px;left:150%}div[class^=pp-tooltip]:hover .text-pp-tooltip{visibility:visible}div[class^=pp-tooltip] .text-pp-tooltip::after{content:" ";position:absolute;border-width:5px;border-style:solid;top:50%}.pp-tooltip-left .text-pp-tooltip::after{border-color:transparent transparent transparent #3e3f42;right:-3%}.pp-tooltip-right .text-pp-tooltip::after{border-color:transparent #3e3f42 transparent transparent;left:-3%}.pp-tab{font-size:16px;overflow:hidden;border-bottom:1px solid #efefef;border-top:1px solid #efefef;width:100%}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 0;margin:0 3%;transition:.3s;width:19%}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{margin:0 14px 14px 14px}.pp-metamarks-row{margin-top:3em;margin-left:1em;position:relative;width:90%;box-shadow:inset 0 0 0 1px #eaedf3;border:1px solid #eaedf3;border-radius:4px}.pp-metamark-delete a{margin:4px 0 0 -2px;cursor:pointer;width:10px;height:10px;text-indent:-9999px;overflow:hidden;top:4px;left:-14px}div[id^=pp-hide-metamark]{padding:2em 2em 0 2em}.pp-metamark-delete,.pp-metamark-preview-pos-{display:inline-block;margin:1em}.pp-metamark-edit,.pp-metamark-preview-type-{margin:1em 0;display:inline-block}.metamark-top-section{border-bottom:1px solid #eaedf3;border-radius:4px 4px 0 0;box-shadow:inset 0 0 0 1px #eaedf3;width:100%}div[class^=metamark-preview-]{font-weight:700}.pp-metamark-delete,.pp-metamark-edit{float:right}select[id^=pp-metamark-type-]{width:100%;height:52px;vertical-align:top}input[id^=pp-metamark-dur-],input[id^=pp-metamark-dur-]:focus,input[id^=pp-metamark-link-],input[id^=pp-metamark-link-]:focus,input[id^=pp-metamark-pos-],input[id^=pp-metamark-pos-]:focus{width:100%;height:58px;vertical-align:top}textarea[id^=pp-metamark-val-][class=pp-ep-box-input],textarea[id^=pp-metamark-val-][class=pp-ep-box-input]:focus{height:72px;width:100%;margin:auto;vertical-align:top;resize:none}div[id^=pp-dur-label]{float:right;width:30%}div[id^=pp-pos-label],div[id^=pp-type-label]{margin-right:4%;width:30%}.powerpress-label-container{display:inline-block;margin-top:2ch;height:70px}div[id^=select-media-file]{vertical-align:top;padding-top:1vh;padding-left:10px;float:right}a[id^=pp-change-media-link],div[id^=save-media]{cursor:pointer}select[id^=powerpress_category_]{max-width:51.6%;width:100%;height:56px}div[id^=pp-category-dropdown-]{margin:1em 1em 0 1em}.pp-ep-box-input.pp-width,.pp-ep-box-input.pp-width:focus{width:100%}#powerpress-podcast .inside{margin:0;padding:0}div[id^=apple-podcast-opt]{border-radius:4px;background-color:#f1f4f9;padding:3%;width:90%;margin-bottom:5vh}div[id^=ep-info-not-apple]{margin-bottom:20px}.pp-blue-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center}.pp-gray-button{background-color:#f5f5f5;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);color:#000;display:inline-block;border-radius:4px;font-family:Roboto,sans-serif;font-size:14px;font-weight:600;padding:.5ch 1em .5ch 1em;margin-right:1em;cursor:pointer;text-align:center;border:0}h4[class^=pp-section-title]{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:38px;margin-bottom:0;margin-top:0;float:left;display:inline-block}.pp-section-title-block{width:100%}.pp-ep-box-text{font-size:14px;margin-top:2ch;margin-bottom:0;font-family:Roboto,sans-serif}.pp-ep-box-settings-text{font-size:12px;letter-spacing:.35px;margin-top:3ch;margin-bottom:0}.pp-section-subtitle{color:#5a5c60;font-family:Roboto,sans-serif;font-size:14px;font-weight:500;line-height:16px}.pp-tabcontent{display:none;border-top:none;padding:40px}.pp-tabcontent.active{display:block}h3[id^=pp-pp-selected-media-head]{color:#263238;font-family:Roboto,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.06px;line-height:24px;margin:0}.pp-ep-box-settings{float:right}.ep-box-settings-icon{cursor:pointer}div[id^=pp-edit-media-button]{text-align:center}div[id^=a-pp-selected-media]{padding:1em 2em 0 2em}div[class=powerpress_remove_container]{padding:2ch 2ch}div[class^=metamark-preview-]{font-weight:700}div[id^=explicit-switch-base]{display:inline-block;padding:5px;background-color:#e6e6e6;width:100%;border-radius:4px}.pp-explicit-option{background-color:#e6e6e6}.explicit-selected{background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.16);border-radius:4px}.explicit-selected,.pp-explicit-option{border-collapse:collapse;font-weight:700;display:inline-block;width:32%;padding-top:1ch;padding-bottom:1ch;text-align:center;font-size:14px;font-family:Roboto,sans-serif;cursor:pointer}div[id^=pp-selected-media-text]{width:100%;display:inline-block}#episode-box-container,.powerpress_podcast_box{padding:10px}div[id^=pp-change-media-file]{vertical-align:top;margin-top:1vh;margin-left:10px;float:right}div[class^=ep-box-line]{box-sizing:border-box;display:inline-block;height:1px;width:100%;border-top:1px solid #efefef}div[class=ep-box-line-bold],div[class=ep-box-line-margin-bold]{border-top:2px solid #efefef;width:92%}div[class=ep-box-line-bold]{margin-left:4%;margin-right:4%}.ep-box-line-margin,.ep-box-line-margin-bold{margin:17px 0 17px 0}.pp-shortcode-example{box-sizing:border-box;border:1px solid #e8e8e8;background-color:#f0f0f0;line-height:36px;padding-left:2em;padding-right:2em}.pp-hidden-settings{display:none}div[id^=ep-box-blubrry-connect-]{background-color:#f1f4f9;margin-top:1em;width:98%;padding:1em 1ch}div[id^=ep-box-blubrry-connected-]{margin-left:1em;margin-top:1em;width:98%;padding:1em 1ch}.ep-box-blubrry-icon{display:inline-block;width:2em;vertical-align:top;margin-left:1em;margin-top:1ch}.ep-box-blubrry-info-container{display:inline-block;max-width:calc(100% - 320px)}img[id^=pp-image-preview]{width:16vh;height:16vh;border:3px solid #717171}img[id^=poster-pp-image-preview]{width:32ch;height:18ch;border:3px solid #717171}.powerpress-art-text{width:70%;display:inline-block;vertical-align:top}.powerpress-art-preview{width:28%;display:inline-block}div[id^=ep-box-filename-container]{text-overflow:ellipsis;white-space:nowrap;max-width:85%;overflow:hidden;display:inline-block}p[id^=ep-box-filename]{color:#4b4c4e;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:.15px;line-height:56px;margin:0 5px 0 5px;display:inline}div[id^=pp-cancel-container],div[id^=pp-connect-account-]{display:inline-block}div[id^=pp-cancel-container-]{float:right;margin-right:2em}div[id^=hidden-media-details-]{padding:1em;margin-top:2em;background-color:#f1f4f9}div[class^=details-]{display:inline-block;font-family:Roboto,sans-serif}.details-specify{width:45%}.details-auto-detect,.details-not-specified{width:25%}div[id^=media-input-]{margin-top:1ch}.pp-media-edit-details{color:#2c65db;font-family:Roboto Medium,sans-serif;font-size:12px;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f1f4f9;text-decoration:none}button.apple-advanced,button.media-details{color:#2c65db;font-family:Roboto Medium,sans-serif;font-size:12px;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f5f5f5;font-weight:700}button.media-details{background-color:#fff}.media-details-head{color:#3e3f42;font-weight:700;font-family:Roboto Medium,sans-serif;font-size:14px;line-height:22px;margin:0 1em}input[id^=powerpress_size],input[id^=powerpress_size]:focus{width:50%;text-align:center;height:28px}input[id^=powerpress_duration_][class=pp-ep-box-input],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:48px;text-align:center;height:34px}div[id^=media-file-details]{width:100%}.pp-detail-section{margin:0 1em 2ch 1em}.details-auto-detect{width:30%}.details-specify{width:43%}.details-not-specified{width:25%}.blubrry-connect-info{margin:0 1ch}h4.blubrry-connect-info{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:20px}p.blubrry-connect-info{font-size:14px;margin-bottom:0}a[id^=ep-box-connect-account],a[id^=pp-change-media-link]{text-decoration:none;display:inline-block;width:35ch;margin-right:1em}div[id^=change-media-button],div[id^=ep-box-connect-account-button-]{border-radius:4px;border:1px solid #969696;color:#0c74d5;padding:1ch 2em 1ch 2em;margin-right:1em;text-align:center;font-family:Roboto,sans-serif;font-size:14px;font-weight:600}a[id^=ep-box-connect-account],a[id^=pp-change-media-link],div[id^=change-media-button],div[id^=ep-box-connect-account-button-]{float:right}input[class=media-details-radio]{width:22px;height:22px;border:2px solid #b1b1b1}input[class=media-details-radio]:checked{border:2px solid #0c74d5}input[class=media-details-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}label[class=ep-box-caption]{color:rgba(0,0,0,.6);font-family:Roboto,sans-serif;font-size:12px;letter-spacing:.4px;font-weight:300;margin-left:2em}label[class^=pp-ep-box-label]{position:relative;top:2px;padding:0 2px 0 2px;bottom:10px;background:0 0}label[class^=pp-ep-box-label-under]{position:relative;padding:0 2px 0 2px;bottom:10px;left:10px;top:0;background:0 0}div[class=pp-ep-box-input],input[class=pp-ep-box-input],select[class=pp-ep-box-input],textarea[class=pp-ep-box-input]{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}div[class=pp-ep-box-input]:focus,input[class=pp-ep-box-input]:focus,select[class=pp-ep-box-input]:focus,textarea[class=pp-ep-box-input]:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}textarea[id^=powerpress_summary_],textarea[id^=powerpress_summary_]:focus{height:130px;resize:none;padding:10px;font-family:Roboto,sans-serif;font-size:14px;line-height:22px;width:100%}textarea[id^=powerpress_embed_]{resize:none}textarea[id^=powerpress_summary_]::-webkit-scrollbar{height:85%}textarea[id^=powerpress_summary_]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px grey;border-radius:4px}textarea[id^=powerpress_summary_]::-webkit-scrollbar-thumb{background:#fff;border-radius:4px;border:grey 1px solid}div[id^=pp-url-input-container-]{width:100%}div[id^=pp-url-input-label-container]{display:inline-block;width:calc(100% - 175px)}div[id^=powerpress_url_],input[id^=powerpress_url_],input[id^=powerpress_url_]:focus{width:100%;border-radius:4px;box-sizing:border-box;height:56px}div[id^=powerpress_url_show_]{width:100%;background-color:#f1f4f9;font-size:14px;height:56px;border-radius:0}input[id^=powerpress_image_],input[id^=powerpress_image_]:focus,input[id^=powerpress_itunes_image_],input[id^=powerpress_itunes_image_]:focus{width:90%;border-radius:4px;box-sizing:border-box;height:56px}input[id^=powerpress_feature_]{border-radius:2px;border:2px solid #66788a;height:18px;width:18px}input.ep-box-checkbox{border:2px solid #d4d8e0;border-radius:3px;height:18px;width:18px;box-shadow:none;margin-right:1em}input.ep-box-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.ep-box-checkbox:checked:disabled{background-color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.2)}input.ep-box-checkbox:checked::before{content:url(../images/check_white.svg);height:21px;width:21px;margin:-3px 0 0 -4px}input.ep-box-checkbox:checked+label.pp-checkbox-label{color:#0c74d5}.pp-section-container{display:block;margin-bottom:4ch;width:100%;justify-content:space-between}.apple-opt-section-container{display:block;margin-bottom:2ch;width:100%;justify-content:space-between}div[id^=apple-feature]{margin-top:1vh}div[id^=title-container]{width:50%}div[id^=season-container]{width:30%}input[id^=powerpress_episode_season]:disabled{background-color:#f5f5f5}div[id^=pp-explicit-container]{display:inline-block;width:35%;float:right;max-height:30px;margin-right:1em}div[id^=apple-title-container]{width:55%;margin-right:3ch}div[id^=episode-no-container],div[id^=season-container]{display:inline-block;width:18%;margin-top:3vh}div[id^=season-container]{float:right}div[id^=feature-container]{margin-top:3vh;width:70%}div[id^=type-container]{width:29.5%;vertical-align:top;margin:2ch 0 0 0}div[id^=media-input]{width:100%}div[id^=edit-media-file-]{float:right}div[id^=ep-box-min-blubrry-connect-]{margin-top:1ch}@media (max-width:1152px){.details-not-specified{margin-top:1em;width:100%}.details-auto-detect,.details-specify{width:48%}div[id^=pp-explicit-container]{width:40%}div[id^=feature-container]{width:100%}}@media (max-width:832px){div[class^=details-]{width:100%;margin-top:1em}.pp-detail-section{margin:2ch 1em 2ch 1em}div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}div[id^=apple-title-container]{width:100%;margin-top:1em}div[id^=episode-no-container]{width:45%}div[id^=season-container]{width:45%}.pp-tabcontent{padding:15px}#wpbody select{height:52px}div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}div[id^=pp-pos-label]{width:40%;margin-left:0}div[id^=pp-dur-label]{width:40%;margin-right:0}.powerpress-art-preview,.powerpress-art-text{width:100%}div[id^=type-container]{width:50%}input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.powerpress-art-preview{text-align:center}input[id^=powerpress_image_],input[id^=powerpress_image_]:focus,input[id^=powerpress_itunes_image_],input[id^=powerpress_itunes_image_]:focus{width:100%}}@media (max-width:592px){div[id^=ep-box-filename-container]{max-width:70%}.pp-blue-button,.pp-gray-button{display:block;margin:1ch 0 0 0}.explicit-selected,.pp-explicit-option{font-size:12px}.artwork-button{padding:1em 2ch}div[id^=apple-podcast-opt]{padding:6%}div[id^=pp-display-player],div[id^=pp-player-size]{width:100%}div[id^=type-container]{width:100%}input[id^=powerpress_duration_][class=pp-ep-box-input],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:36px;padding:6px;height:28px}select[id^=powerpress_category] option{width:100%}}@media (max-width:375px){.pp-detail-section{margin:2ch 1em 2ch 0}.media-details{margin-left:0}.explicit-selected,.pp-explicit-option{width:31%}div[id^=pp-dur-label],div[id^=pp-pos-label]{width:100%;margin:1em 0 1em 0}.tab{font-size:12px}a[id^=hide-details-link],a[id^=show-details-link]{font-size:12px}input[id^=powerpress_duration_][class=pp-ep-box-input],input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:28px;padding:2px}}@media (max-width:1456px){.classic-editor .details-not-specified{margin-top:1em;width:100%}.classic-editor .details-auto-detect,.classic-editor .details-specify{width:48%}.classic-editor div[id^=pp-explicit-container]{width:40%}.classic-editor div[id^=feature-container]{width:100%}}@media (max-width:1350px){.classic-editor div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}}@media (max-width:1256px){.classic-editor div[class^=details-]{width:100%;margin-top:1em;margin-left:1em}}@media (max-width:1132px){.classic-editor div[class^=details-]{width:100%;margin-top:1em}.classic-editor .pp-detail-section{margin:2ch 1em 2ch 1em}.classic-editor div[id^=apple-title-container]{width:100%;margin-top:1em}.classic-editor div[id^=episode-no-container]{width:45%}.classic-editor div[id^=season-container]{width:45%}.classic-editor .pp-tabcontent{padding:15px}.classic-editor #wpbody select{height:52px}.classic-editor div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}.classic-editor div[id^=pp-pos-label]{width:40%;margin-left:0}.classic-editor div[id^=pp-dur-label]{width:40%;margin-right:0}.classic-editor .powerpress-art-preview,.classic-editor .powerpress-art-text{width:100%}.classic-editor div[id^=type-container]{width:50%}.classic-editor input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.classic-editor .powerpress-art-preview{text-align:center}.classic-editor input[id^=powerpress_image_],.classic-editor input[id^=powerpress_image_]:focus,.classic-editor input[id^=powerpress_itunes_image_],.classic-editor input[id^=powerpress_itunes_image_]:focus{width:100%}}@media (max-width:1050px){.classic-editor .ep-box-blubrry-info-container{max-width:calc(100% - 50px)}.classic-editor a[id^=ep-box-connect-account-],.classic-editor a[id^=pp-change-media-link-]{float:none;width:100%}.classic-editor div[id^=change-media-button-],.classic-editor div[id^=ep-box-connect-account-button-]{float:none;margin-top:1em}}@media (max-width:640px){.ep-box-blubrry-info-container{max-width:calc(100% - 50px)}a[id^=ep-box-connect-account-],a[id^=pp-change-media-link-]{float:none;width:100%}div[id^=ep-box-connect-account-button-]{float:none;margin:1em 0 0 1ch}div[id^=change-media-button-]{float:none;margin-top:1em}}@media (max-width:892px){.classic-editor .pp-blue-button,.classic-editor .pp-gray-button{display:block}.classic-editor .explicit-selected,.classic-editor .pp-explicit-option{font-size:12px}.classic-editor .artwork-button{padding:1em 2ch}.classic-editor div[id^=apple-podcast-opt]{padding:6%}.classic-editor div[id^=pp-display-player],.classic-editor div[id^=pp-player-size]{width:100%}.classic-editor div[id^=type-container]{width:100%}.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input],.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input]:focus{width:36px;padding:6px;height:28px}.classic-editor select[id^=powerpress_category] option{width:100%}}
css/settings.css ADDED
@@ -0,0 +1,719 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Style the tab */
2
+ .pp-tab {
3
+ font-size: 16px;
4
+ overflow: hidden;
5
+ background-color: white;
6
+ border-bottom: 1px solid #ddd;
7
+ box-shadow: 0 1px 0 0 #EAEDF3, 0 1px 3px 0 rgba(0,0,0,0.05);
8
+ width: 100%;
9
+ padding: 0;
10
+ }
11
+
12
+ /* Style the buttons that are used to open the tab content */
13
+ .pp-tab button {
14
+ background-color: inherit;
15
+ float: left;
16
+ border: none;
17
+ outline: none;
18
+ cursor: pointer;
19
+ padding: 3vh 3%;
20
+ transition: 0.3s;
21
+ width: auto;
22
+ }
23
+
24
+ /* Change background color of buttons on hover */
25
+ .pp-tab button:hover {
26
+ background-color: #ddd;
27
+ }
28
+
29
+ /* Create an active/current tablink class */
30
+ .pp-tab button.active {
31
+ border-bottom: 3px solid #1a6deb;
32
+ font-weight: bold;
33
+ }
34
+
35
+ /* Style the tab content */
36
+ .pp-tabcontent {
37
+ background-color: #ffffff;
38
+ display: none;
39
+ border-top: none;
40
+ padding: 0 40px 0 0;
41
+ height: 100%;
42
+ }
43
+
44
+ .pp-tabcontent.active {
45
+ display: flex;
46
+ }
47
+
48
+ #welcome-title {
49
+ display: inline-block;
50
+ margin-top: 1ch;
51
+ font-size: 22px;
52
+ width: 70%;
53
+ }
54
+
55
+ #welcome-tab-new-post {
56
+ display: inline-block;
57
+ text-decoration: none;
58
+ color: #1976d2;
59
+ font-family: Roboto, sans-serif;
60
+ font-size: 14px;
61
+ }
62
+
63
+ #welcome-tab-new-post div {
64
+ padding: 1ch;
65
+ border: 2px solid #1976d2;
66
+ border-radius: 4px;
67
+ }
68
+
69
+ #welcome-tab-new-post div:hover {
70
+ background-color: #1976d2;
71
+ color: white;
72
+ }
73
+
74
+ #pp-welcome-artwork-link:hover, #pp-welcome-applesubmit-link:hover {
75
+ cursor: pointer;
76
+ text-decoration: underline;
77
+ }
78
+
79
+ #pp-welcome-artwork-link, #pp-welcome-applesubmit-link, .program-status-link, p[class="pp-settings-status-text"] {
80
+ margin-top: 0;
81
+ margin-bottom: 1em;
82
+ font-family: Roboto, sans-serif;
83
+ font-size: 14px;
84
+ }
85
+
86
+ #advanced-tab-seo-link {
87
+ cursor: pointer;
88
+ }
89
+
90
+ .powerpress_save_button {
91
+ padding: 1ch 2em;
92
+ border: 1px solid #DBDBDB;
93
+ background-color: #FFFFFF;
94
+ box-shadow: 0 1px 2px 0 rgba(0,0,0,0.14);
95
+ color: #354052;
96
+ font-family: Roboto, sans-serif;
97
+ font-size: 14px;
98
+ letter-spacing: 0;
99
+ line-height: 21px;
100
+ text-align: center;
101
+ }
102
+
103
+ .submit {
104
+ font-family: Roboto, sans-serif;
105
+ font-size: 14px;
106
+ letter-spacing: 0;
107
+ line-height: 21px;
108
+ }
109
+
110
+ .powerpress_save_button:hover {
111
+ cursor: pointer;
112
+ }
113
+
114
+ .pp-news-image {
115
+ height: 100%;
116
+ }
117
+
118
+ .pp-news-item {
119
+ padding: 0 2em 2ch 0;
120
+ border-bottom: 1px solid #ddd;
121
+ height: 17vh;
122
+ }
123
+
124
+ .powerpress-welcome-news .rss-date {
125
+ font-size: 80%;
126
+ }
127
+ .powerpress-welcome-news .rsswidget {
128
+ font-size: 110%;
129
+ color: black;
130
+ text-decoration: underline;
131
+ }
132
+
133
+ .pp-news-image-container {
134
+ height: 100%;
135
+ vertical-align: top;
136
+ float: left;
137
+ width: auto;
138
+ margin-right: 1em;
139
+ }
140
+
141
+ .pp-news-details-container {
142
+ height: 100%;
143
+ width: auto;
144
+ overflow: hidden;
145
+ }
146
+
147
+ .program-status-link {
148
+ color: #d21919;
149
+ text-decoration: underline;
150
+ }
151
+
152
+ .pp-settings-program-summary {
153
+ margin-bottom: 4em;
154
+ }
155
+
156
+ .prog-sum-head, .prog-sum-contents {
157
+ display: inline-block;
158
+ vertical-align: middle;
159
+ }
160
+
161
+ .prog-sum-head {
162
+ width: 72%;
163
+ }
164
+
165
+ .prog-sum-contents {
166
+ width: 23%;
167
+ height: 100%;
168
+ position: absolute;
169
+ margin-left: 2em;
170
+ }
171
+
172
+ .pp-settings-podcast-status {
173
+ margin-top: 2ch;
174
+ }
175
+
176
+ .pp-settings-recent-post, .pp-settings-num-episodes, .pp-settings-podcast-status {
177
+ display: inline-block;
178
+ vertical-align: top;
179
+ }
180
+
181
+ .pp-settings-recent-post {
182
+ width: 70%;
183
+ }
184
+
185
+ .pp-settings-num-episodes {
186
+ width: 16%;
187
+ margin-left: 3em;
188
+ }
189
+
190
+ .pp-settings-welcome-text {
191
+ display: inline-block;
192
+ vertical-align: top;
193
+ width: 65%;
194
+ margin-left: 1ch;
195
+ }
196
+
197
+ #welcome-preview-image {
198
+ width: 30%;
199
+ height: auto;
200
+ display: inline-block;
201
+ }
202
+
203
+ .destinations-side-text {
204
+ line-height: 36px;
205
+ }
206
+
207
+ .directory-summary-head {
208
+ vertical-align: middle;
209
+ }
210
+
211
+ .destinations-side-icon {
212
+ background-image: url('../images/modern_icon_sprite.svg');
213
+ margin-right: 15px;
214
+ display: inline-block;
215
+ width: 36px;
216
+ height: 36px;
217
+ border: 0;
218
+ background-repeat: no-repeat;
219
+ background-size: 50px;
220
+ vertical-align: middle;
221
+ }
222
+
223
+ @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
224
+ /* IE10+ CSS styles go here */
225
+ .pp-sidenav .destinations-side-icon {
226
+ background-image: url('../images/modern-icon-sprite.png');
227
+ }
228
+ }
229
+
230
+ /*Sprite background positions for modern buttons*/
231
+
232
+ span[id^="apple-icon"] {
233
+ background-position: -5px -5px;
234
+ }
235
+
236
+ span[id^="android-icon"] {
237
+ background-position: -5px -55px;
238
+ }
239
+
240
+ span[id^="email-icon"] {
241
+ background-position: -5px -106px;
242
+ }
243
+
244
+ span[id^="google-icon"] {
245
+ background-position: -5px -155px;
246
+ }
247
+
248
+ span[id^="stitcher-icon"] {
249
+ background-position: -7px -205px;
250
+ }
251
+
252
+ span[id^="tunein-icon"] {
253
+ background-position: -7px -255px;
254
+ }
255
+
256
+ span[id^="spotify-icon"] {
257
+ background-position: -5px -307px;
258
+ }
259
+
260
+ span[id^="iheart-icon"] {
261
+ background-position: -5px -456px;
262
+ }
263
+
264
+ span[id^="deezer-icon"] {
265
+ background-position: -5px -507px;
266
+ }
267
+
268
+ span[id^="pandora-icon"] {
269
+ background-position: -5px -555px;
270
+ }
271
+
272
+ span[id^="all-icon"] {
273
+ background-position: -5px -355px;
274
+ }
275
+
276
+
277
+ .pp-settings-footer {
278
+ border-top: 1px solid #EFF0F5;
279
+ margin: 3ch;
280
+ padding-top: 2ch;
281
+ }
282
+
283
+ .pp-save-button-container {
284
+ display: inline-block;
285
+ float: right;
286
+ }
287
+
288
+ #connect-blubrry-services .button-blubrry {
289
+ max-width: 14em;
290
+ width: 100%;
291
+ }
292
+
293
+ #connected-blubrry-blurb {
294
+ display: inline-block;
295
+ width: 55%;
296
+ margin: 0 0 0 1ch;
297
+ text-align: left;
298
+ }
299
+
300
+ #connect-blubrry-blurb {
301
+ font-size: 11px;
302
+ margin: 1ch 1ch 0 4ch;
303
+ text-align: left;
304
+ }
305
+
306
+ /* Style the tab */
307
+ .pp-sidenav {
308
+ overflow: hidden;
309
+ background-color: white;
310
+ width: 23%;
311
+ display: inline-block;
312
+ float: left;
313
+ min-height: 70vh;
314
+ height: 100%;
315
+ }
316
+
317
+ /* Style the buttons that are used to open the tab content */
318
+ .pp-sidenav button {
319
+ display: block;
320
+ font-family: Roboto, sans-serif;
321
+ font-size: 14px;
322
+ font-weight: 600;
323
+ background-color: inherit;
324
+ float: left;
325
+ border: none;
326
+ outline: none;
327
+ cursor: pointer;
328
+ padding: 1vh 2vw 1vh 1vw;
329
+ transition: 0.3s;
330
+ width: 100%;
331
+ text-align: left;
332
+ line-height: 25px;
333
+ }
334
+
335
+ .pp-sidenav button img {
336
+ height: 25px;
337
+ width: 25px;
338
+ background-color: rgba(255,255,255,0);
339
+ vertical-align: middle;
340
+ }
341
+
342
+ /* Change background color of buttons on hover */
343
+ .pp-sidenav button:hover {
344
+ background-color: #ddd;
345
+ }
346
+
347
+ /* Create an active/current tablink class */
348
+ .pp-sidenav button.active {
349
+ border-left: 2px solid #1a6deb;
350
+ color: #1665D8;
351
+ background-color: #F6F9FD;
352
+ }
353
+
354
+ #powerpress_settings_page {
355
+ min-height: 100vh;
356
+ }
357
+
358
+ /* Style the tab content */
359
+ .pp-sidenav-tab {
360
+ background-color: #ffffff;
361
+ display: none;
362
+ border-top: none;
363
+ padding: 3vh 3vw;
364
+ width: 75%;
365
+ border-left: 1px solid #ddd;
366
+ }
367
+
368
+ .pp-sidenav-tab.active {
369
+ display: inline-block;
370
+ }
371
+
372
+ #connect-blubrry-services {
373
+ margin: 30px 10px 10px 10px;
374
+ text-align: center;
375
+ border: 1px solid #D0D3DB;
376
+ border-radius: 2px;
377
+ display: inline-block;
378
+ }
379
+
380
+ #connect-see-options, #blubrry-services-connected-settings {
381
+ padding: 3ch 3ch 3ch 1.5ch;
382
+ }
383
+
384
+ #connect-blubrry-button-container {
385
+ padding: 10px;
386
+ text-align: center;
387
+ border-top: 1px solid #D0D3DB;
388
+ }
389
+
390
+ #blubrry-logo-connect {
391
+ width: 42px;
392
+ height: 40px;
393
+ }
394
+
395
+ .pp-settings-section {
396
+ border-left: 3px solid #EFF0F5;
397
+ padding-left: 2em;
398
+ margin-bottom: 4em;
399
+ }
400
+
401
+ .pp-settings-section h2 {
402
+ font-weight: bold;
403
+ font-family: Roboto, sans-serif;
404
+ font-size: 20px;
405
+ }
406
+
407
+ .pp-settings-subsection {
408
+ margin-left: 1em;
409
+ padding: 1em 0 1em 1em;
410
+ border-bottom: 1px solid #EFF0F5;
411
+ display: inline-block;
412
+ width: 90%;
413
+ }
414
+
415
+ .pp-settings-subsection-no-border {
416
+ padding: 1em 0 1em 0;
417
+ display: inline-block;
418
+ width: 90%;
419
+ }
420
+
421
+ .pp-nav-icon {
422
+ margin: 0 25px 0 10px;
423
+ }
424
+
425
+ .pp-directory-icon {
426
+ margin: 0 25px 0 0;
427
+ vertical-align: middle;
428
+ /*height: 32px;*/
429
+ }
430
+
431
+ h1.pp-heading, h2.pp-heading {
432
+ font-size: 26px;
433
+ font-family: Roboto, sans-serif;
434
+ font-weight: bold;
435
+ }
436
+
437
+ p.pp-main {
438
+ font-size: 16px;
439
+ font-family: Roboto, sans-serif;
440
+ font-weight: bold;
441
+ margin: 0;
442
+ }
443
+
444
+ p.pp-sub, a.pp-sub {
445
+ font-size: 16px;
446
+ font-family: Roboto, sans-serif;
447
+ margin: 0;
448
+ }
449
+
450
+ p.pp-sub {
451
+ color: rgba(0,0,0,0.6);
452
+ }
453
+
454
+ p.pp-label-bottom {
455
+ font-size: 14px;
456
+ font-family: Roboto, sans-serif;
457
+ margin: 0 0 2em 0;
458
+ color: rgba(0,0,0,0.6);
459
+ }
460
+
461
+ p.pp-sidenav-extra-text, a.pp-sidenav-extra-text {
462
+ color: #9ea0a5;
463
+ font-size: 12px;
464
+ line-height: 18px;
465
+ font-family: Roboto, sans-serif;
466
+ text-decoration: none;
467
+ }
468
+
469
+ .pp-sidenav-extra {
470
+ margin: 2vh 2vw;
471
+ }
472
+
473
+ .pp-settings-text {
474
+ margin-top: 0;
475
+ margin-bottom: 2em;
476
+ font-family: Roboto, sans-serif;
477
+ font-size: 14px;
478
+ }
479
+
480
+ .pp-settings-text-smaller-margin {
481
+ margin-top: 0;
482
+ margin-bottom: 1em;
483
+ font-family: Roboto, sans-serif;
484
+ font-size: 14px;
485
+ }
486
+
487
+ .pp-settings-text-no-margin {
488
+ margin-top: 0;
489
+ margin-bottom: 0;
490
+ font-family: Roboto, sans-serif;
491
+ font-size: 12px;
492
+ }
493
+
494
+ .pp-show-subscribe {
495
+ margin-top: 3em;
496
+ }
497
+
498
+ .pp-show-subscribe input.pp-settings-checkbox {
499
+ margin-top: 2px;
500
+ margin-right: 10px;
501
+ }
502
+
503
+ .pp-settings-text a, .pp-label-bottom a, .pp-right-label a, .pp-main a, .pp-sub a {
504
+ text-decoration: none;
505
+ color: #2278CF;
506
+ }
507
+
508
+ .pp-right-label {
509
+ font-size: 14px;
510
+ margin-top: 5px;
511
+ }
512
+
513
+ .pp-settings-text-with-label {
514
+ margin-top: 0;
515
+ margin-bottom: 0;
516
+ font-family: Roboto, sans-serif;
517
+ font-size: 14px;
518
+ }
519
+
520
+ b {
521
+ font-weight: bold;
522
+ }
523
+
524
+ input.pp-settings-checkbox {
525
+ border: 2px solid #d4d8e0;
526
+ border-radius: 3px;
527
+ height: 18px;
528
+ width: 18px;
529
+ vertical-align: top;
530
+ margin-top: 2ch;
531
+ }
532
+
533
+ input.pp-settings-checkbox:checked {
534
+ background-color: #2278cf;
535
+ border-color: #2278cf;
536
+ }
537
+
538
+ input.pp-settings-checkbox:checked:disabled {
539
+ background-color: rgba(0,0,0,0.5);
540
+ border-color: rgba(0,0,0,0.2);
541
+ }
542
+
543
+ input.pp-settings-checkbox:checked:before {
544
+ content: url('../images/check_white.svg');
545
+ height: 21px;
546
+ width: 21px;
547
+ margin: -3px 0 0 -4px;
548
+ }
549
+
550
+ input.pp-settings-checkbox:checked + label.pp-checkbox-label {
551
+ color: #0c74d5;
552
+ }
553
+
554
+ .pp-checkbox-label {
555
+ font-size: 13px;
556
+ font-family: Roboto, sans-serif;
557
+ }
558
+
559
+ .round-checkbox {
560
+ border-radius: 8px;
561
+ }
562
+
563
+ input.round-checkbox:checked {
564
+ background-color: #2278cf;
565
+ border-color: #2278cf;
566
+ }
567
+
568
+ input.round-checkbox:checked:before {
569
+ color: #2278cf;
570
+ }
571
+
572
+
573
+ input[class="pp-settings-radio"] {
574
+ width: 22px;
575
+ height: 22px;
576
+ border: 2px solid #B1B1B1;
577
+ margin-bottom: 3.5em;
578
+ }
579
+
580
+ input[class="pp-settings-radio"]:checked {
581
+ border: 2px solid #0c74d5;
582
+ }
583
+
584
+ input[class="pp-settings-radio"]:checked:before {
585
+ width: 12px;
586
+ height: 12px;
587
+ margin: 3px;
588
+ background-color: #0c74d5;
589
+ }
590
+
591
+ input[class="pp-settings-radio-small"] {
592
+ width: 16px;
593
+ height: 16px;
594
+ margin-right: 8px;
595
+ background-color: #d8dce6;
596
+ }
597
+
598
+ input[class="pp-settings-radio-small"]:checked {
599
+ border: 2px solid #0c74d5;
600
+ background-color: #0c74d5;
601
+ }
602
+
603
+ input[class="pp-settings-radio-small"]:checked:before {
604
+ width: 6px;
605
+ height: 6px;
606
+ margin: 3px;
607
+ background-color: #d8dce6;
608
+ }
609
+
610
+ input.pp-settings-text-input, textarea.pp-settings-text-input, input.pp-settings-text-input:focus, textarea.pp-settings-text-input:focus {
611
+ border-radius: 4px;
612
+ background-color: white;
613
+ border: 1px solid #B1B1B1;
614
+ font-size: 14px;
615
+ padding: 2ch 1em 2ch 1em;
616
+ width: 100%;
617
+ }
618
+
619
+ input.pp-settings-text-input-less-wide, input.pp-settings-text-input-less-wide:focus {
620
+ border-radius: 4px;
621
+ background-color: white;
622
+ border: 1px solid #B1B1B1;
623
+ font-size: 14px;
624
+ padding: 2ch 1em 2ch 1em;
625
+ width: 70%;
626
+ margin-right: 30%;
627
+ }
628
+
629
+ .pp-settings-section h4 {
630
+ margin-top: 0;
631
+ margin-bottom: 0;
632
+ font-weight: bold;
633
+ }
634
+
635
+ .powerpress_color_box {
636
+ float: left;
637
+ width: 24px;
638
+ height: 24px;
639
+ cursor: pointer;
640
+ margin: 8px 19px 8px 0;
641
+ border: 1px solid #666666;
642
+ }
643
+
644
+ label[class^="pp-settings-label"] {
645
+ position: relative;
646
+ top: 9px;
647
+ padding: 0 9px 0 2px;
648
+ left: 9px;
649
+ background-color: white;
650
+ font-size: 12px;
651
+ }
652
+
653
+ label[class^="pp-settings-label-under"] {
654
+ position: relative;
655
+ top: -2px;
656
+ padding: 0 9px 0 2px;
657
+ left: 9px;
658
+ background-color: white;
659
+ color: rgba(0,0,0,0.6);
660
+ font-size: 12px;
661
+ }
662
+
663
+ select[class^='pp-settings-select'] {
664
+ background-color: #eff0f5;
665
+ color: rgba(0,0,0,0.6);
666
+ border-radius: 4px;
667
+ padding: 1em 1ch 1em 1ch;
668
+ font-size: 14px;
669
+ font-family: Roboto, sans-serif;
670
+ font-weight: bold;
671
+ border: none;
672
+ box-shadow: none;
673
+ height: auto;
674
+ width: 45%;
675
+ display: block;
676
+ }
677
+
678
+ select.pp-settings-select-inline {
679
+ display: inline-block;
680
+ width: 40%;
681
+ margin-bottom: 3ch;
682
+ }
683
+
684
+ .pp-settings-button {
685
+ box-sizing: border-box;
686
+ display: inline-block;
687
+ padding: 1.5ch;
688
+ border: 1px solid #D8DCE6;
689
+ border-radius: 4px;
690
+ background: linear-gradient(0deg, #F6F7F9 0%, #FFFFFF 100%);
691
+ box-shadow: inset 0 2px 0 0 rgba(255,255,255,0.05), 0 1px 1px 0 rgba(22,29,37,0.05);
692
+ margin: 1em 0 1em 0;
693
+ }
694
+
695
+ .pp-settings-icon {
696
+ margin: 0 10px;
697
+ width: 18px;
698
+ height: 18px;
699
+ }
700
+
701
+ .pp-settings-icon-small {
702
+ margin: 0 5px 0 0;
703
+ width: 16px;
704
+ height: 18px;
705
+ display: inline-block;
706
+ vertical-align: middle;
707
+ }
708
+
709
+ .pp-settings-button-label, .pp-settings-icon {
710
+ vertical-align: middle;
711
+ }
712
+
713
+ .pp-shortcode {
714
+ padding: 1em 3ch 1em 3ch;
715
+ }
716
+
717
+ .pp-shortcode-container {
718
+ margin: 4ch 0;
719
+ }
css/settings.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .pp-tab{font-size:16px;overflow:hidden;background-color:#fff;border-bottom:1px solid #ddd;box-shadow:0 1px 0 0 #eaedf3,0 1px 3px 0 rgba(0,0,0,.05);width:100%;padding:0}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 3%;transition:.3s;width:auto}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{background-color:#fff;display:none;border-top:none;padding:0 40px 0 0;height:100%}.pp-tabcontent.active{display:flex}#welcome-title{display:inline-block;margin-top:1ch;font-size:22px;width:70%}#welcome-tab-new-post{display:inline-block;text-decoration:none;color:#1976d2;font-family:Roboto,sans-serif;font-size:14px}#welcome-tab-new-post div{padding:1ch;border:2px solid #1976d2;border-radius:4px}#welcome-tab-new-post div:hover{background-color:#1976d2;color:#fff}#pp-welcome-applesubmit-link:hover,#pp-welcome-artwork-link:hover{cursor:pointer;text-decoration:underline}#pp-welcome-applesubmit-link,#pp-welcome-artwork-link,.program-status-link,p[class=pp-settings-status-text]{margin-top:0;margin-bottom:1em;font-family:Roboto,sans-serif;font-size:14px}#advanced-tab-seo-link{cursor:pointer}.powerpress_save_button{padding:1ch 2em;border:1px solid #dbdbdb;background-color:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,.14);color:#354052;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:0;line-height:21px;text-align:center}.submit{font-family:Roboto,sans-serif;font-size:14px;letter-spacing:0;line-height:21px}.powerpress_save_button:hover{cursor:pointer}.pp-news-image{height:100%}.pp-news-item{padding:0 2em 2ch 0;border-bottom:1px solid #ddd;height:17vh}.powerpress-welcome-news .rss-date{font-size:80%}.powerpress-welcome-news .rsswidget{font-size:110%;color:#000;text-decoration:underline}.pp-news-image-container{height:100%;vertical-align:top;float:left;width:auto;margin-right:1em}.pp-news-details-container{height:100%;width:auto;overflow:hidden}.program-status-link{color:#d21919;text-decoration:underline}.pp-settings-program-summary{margin-bottom:4em}.prog-sum-contents,.prog-sum-head{display:inline-block;vertical-align:middle}.prog-sum-head{width:72%}.prog-sum-contents{width:23%;height:100%;position:absolute;margin-left:2em}.pp-settings-podcast-status{margin-top:2ch}.pp-settings-num-episodes,.pp-settings-podcast-status,.pp-settings-recent-post{display:inline-block;vertical-align:top}.pp-settings-recent-post{width:70%}.pp-settings-num-episodes{width:16%;margin-left:3em}.pp-settings-welcome-text{display:inline-block;vertical-align:top;width:65%;margin-left:1ch}#welcome-preview-image{width:30%;height:auto;display:inline-block}.destinations-side-text{line-height:36px}.directory-summary-head{vertical-align:middle}.destinations-side-icon{background-image:url(../images/modern_icon_sprite.svg);margin-right:15px;display:inline-block;width:36px;height:36px;border:0;background-repeat:no-repeat;background-size:50px;vertical-align:middle}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-sidenav .destinations-side-icon{background-image:url(../images/modern-icon-sprite.png)}}span[id^=apple-icon]{background-position:-5px -5px}span[id^=android-icon]{background-position:-5px -55px}span[id^=email-icon]{background-position:-5px -106px}span[id^=google-icon]{background-position:-5px -155px}span[id^=stitcher-icon]{background-position:-7px -205px}span[id^=tunein-icon]{background-position:-7px -255px}span[id^=spotify-icon]{background-position:-5px -307px}span[id^=iheart-icon]{background-position:-5px -456px}span[id^=deezer-icon]{background-position:-5px -507px}span[id^=pandora-icon]{background-position:-5px -555px}span[id^=all-icon]{background-position:-5px -355px}.pp-settings-footer{border-top:1px solid #eff0f5;margin:3ch;padding-top:2ch}.pp-save-button-container{display:inline-block;float:right}#connect-blubrry-services .button-blubrry{max-width:14em;width:100%}#connected-blubrry-blurb{display:inline-block;width:55%;margin:0 0 0 1ch;text-align:left}#connect-blubrry-blurb{font-size:11px;margin:1ch 1ch 0 4ch;text-align:left}.pp-sidenav{overflow:hidden;background-color:#fff;width:23%;display:inline-block;float:left;min-height:70vh;height:100%}.pp-sidenav button{display:block;font-family:Roboto,sans-serif;font-size:14px;font-weight:600;background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:1vh 2vw 1vh 1vw;transition:.3s;width:100%;text-align:left;line-height:25px}.pp-sidenav button img{height:25px;width:25px;background-color:rgba(255,255,255,0);vertical-align:middle}.pp-sidenav button:hover{background-color:#ddd}.pp-sidenav button.active{border-left:2px solid #1a6deb;color:#1665d8;background-color:#f6f9fd}#powerpress_settings_page{min-height:100vh}.pp-sidenav-tab{background-color:#fff;display:none;border-top:none;padding:3vh 3vw;width:75%;border-left:1px solid #ddd}.pp-sidenav-tab.active{display:inline-block}#connect-blubrry-services{margin:30px 10px 10px 10px;text-align:center;border:1px solid #d0d3db;border-radius:2px;display:inline-block}#blubrry-services-connected-settings,#connect-see-options{padding:3ch 3ch 3ch 1.5ch}#connect-blubrry-button-container{padding:10px;text-align:center;border-top:1px solid #d0d3db}#blubrry-logo-connect{width:42px;height:40px}.pp-settings-section{border-left:3px solid #eff0f5;padding-left:2em;margin-bottom:4em}.pp-settings-section h2{font-weight:700;font-family:Roboto,sans-serif;font-size:20px}.pp-settings-subsection{margin-left:1em;padding:1em 0 1em 1em;border-bottom:1px solid #eff0f5;display:inline-block;width:90%}.pp-settings-subsection-no-border{padding:1em 0 1em 0;display:inline-block;width:90%}.pp-nav-icon{margin:0 25px 0 10px}.pp-directory-icon{margin:0 25px 0 0;vertical-align:middle}h1.pp-heading,h2.pp-heading{font-size:26px;font-family:Roboto,sans-serif;font-weight:700}p.pp-main{font-size:16px;font-family:Roboto,sans-serif;font-weight:700;margin:0}a.pp-sub,p.pp-sub{font-size:16px;font-family:Roboto,sans-serif;margin:0}p.pp-sub{color:rgba(0,0,0,.6)}p.pp-label-bottom{font-size:14px;font-family:Roboto,sans-serif;margin:0 0 2em 0;color:rgba(0,0,0,.6)}a.pp-sidenav-extra-text,p.pp-sidenav-extra-text{color:#9ea0a5;font-size:12px;line-height:18px;font-family:Roboto,sans-serif;text-decoration:none}.pp-sidenav-extra{margin:2vh 2vw}.pp-settings-text{margin-top:0;margin-bottom:2em;font-family:Roboto,sans-serif;font-size:14px}.pp-settings-text-smaller-margin{margin-top:0;margin-bottom:1em;font-family:Roboto,sans-serif;font-size:14px}.pp-settings-text-no-margin{margin-top:0;margin-bottom:0;font-family:Roboto,sans-serif;font-size:12px}.pp-show-subscribe{margin-top:3em}.pp-show-subscribe input.pp-settings-checkbox{margin-top:2px;margin-right:10px}.pp-label-bottom a,.pp-main a,.pp-right-label a,.pp-settings-text a,.pp-sub a{text-decoration:none;color:#2278cf}.pp-right-label{font-size:14px;margin-top:5px}.pp-settings-text-with-label{margin-top:0;margin-bottom:0;font-family:Roboto,sans-serif;font-size:14px}b{font-weight:700}input.pp-settings-checkbox{border:2px solid #d4d8e0;border-radius:3px;height:18px;width:18px;vertical-align:top;margin-top:2ch}input.pp-settings-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.pp-settings-checkbox:checked:disabled{background-color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.2)}input.pp-settings-checkbox:checked:before{content:url(../images/check_white.svg);height:21px;width:21px;margin:-3px 0 0 -4px}input.pp-settings-checkbox:checked+label.pp-checkbox-label{color:#0c74d5}.pp-checkbox-label{font-size:13px;font-family:Roboto,sans-serif}.round-checkbox{border-radius:8px}input.round-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.round-checkbox:checked:before{color:#2278cf}input[class=pp-settings-radio]{width:22px;height:22px;border:2px solid #b1b1b1;margin-bottom:3.5em}input[class=pp-settings-radio]:checked{border:2px solid #0c74d5}input[class=pp-settings-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}input[class=pp-settings-radio-small]{width:16px;height:16px;margin-right:8px;background-color:#d8dce6}input[class=pp-settings-radio-small]:checked{border:2px solid #0c74d5;background-color:#0c74d5}input[class=pp-settings-radio-small]:checked:before{width:6px;height:6px;margin:3px;background-color:#d8dce6}input.pp-settings-text-input,input.pp-settings-text-input:focus,textarea.pp-settings-text-input,textarea.pp-settings-text-input:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;padding:2ch 1em 2ch 1em;width:100%}input.pp-settings-text-input-less-wide,input.pp-settings-text-input-less-wide:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;padding:2ch 1em 2ch 1em;width:70%;margin-right:30%}.pp-settings-section h4{margin-top:0;margin-bottom:0;font-weight:700}.powerpress_color_box{float:left;width:24px;height:24px;cursor:pointer;margin:8px 19px 8px 0;border:1px solid #666}label[class^=pp-settings-label]{position:relative;top:9px;padding:0 9px 0 2px;left:9px;background-color:#fff;font-size:12px}label[class^=pp-settings-label-under]{position:relative;top:-2px;padding:0 9px 0 2px;left:9px;background-color:#fff;color:rgba(0,0,0,.6);font-size:12px}select[class^=pp-settings-select]{background-color:#eff0f5;color:rgba(0,0,0,.6);border-radius:4px;padding:1em 1ch 1em 1ch;font-size:14px;font-family:Roboto,sans-serif;font-weight:700;border:none;box-shadow:none;height:auto;width:45%;display:block}select.pp-settings-select-inline{display:inline-block;width:40%;margin-bottom:3ch}.pp-settings-button{box-sizing:border-box;display:inline-block;padding:1.5ch;border:1px solid #d8dce6;border-radius:4px;background:linear-gradient(0deg,#f6f7f9 0,#fff 100%);box-shadow:inset 0 2px 0 0 rgba(255,255,255,.05),0 1px 1px 0 rgba(22,29,37,.05);margin:1em 0 1em 0}.pp-settings-icon{margin:0 10px;width:18px;height:18px}.pp-settings-icon-small{margin:0 5px 0 0;width:16px;height:18px;display:inline-block;vertical-align:middle}.pp-settings-button-label,.pp-settings-icon{vertical-align:middle}.pp-shortcode{padding:1em 3ch 1em 3ch}.pp-shortcode-container{margin:4ch 0}
css/subscribe-widget.css CHANGED
@@ -292,6 +292,9 @@ body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:hover {
292
  .pp-ssb-widget-classic a.pp-ssb-pandora {
293
  background-color: #3668ff;
294
  }
 
 
 
295
  .pp-ssb-widget-classic a.pp-ssb-rss {
296
  background-color: #FF8800;
297
  }
@@ -358,6 +361,11 @@ body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:hover {
358
  background-size: 100%;
359
  transition: background 0s;
360
  }
 
 
 
 
 
361
  .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn:active, .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:active {
362
  background-color: #FF6600;
363
  background-size: 100%;
@@ -457,6 +465,9 @@ a.pp-ssb-btn.horizontal {
457
  .pp-ssb-widget-classic .pp-ssb-pandora .pp-ssb-ic {
458
  background-position: 0 -560px;
459
  }
 
 
 
460
 
461
  /*Sprite background positions for modern buttons*/
462
  .pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:not(.horizontal) {
@@ -535,6 +546,14 @@ a.pp-ssb-btn.horizontal {
535
  background-position: 0 -555px;
536
  }
537
 
 
 
 
 
 
 
 
 
538
  .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal) {
539
  border-left: 3px solid #FF6600;
540
  padding-right: 10px;
292
  .pp-ssb-widget-classic a.pp-ssb-pandora {
293
  background-color: #3668ff;
294
  }
295
+ .pp-ssb-widget-classic a.pp-ssb-blubrry {
296
+ background-color: #2278cf;
297
+ }
298
  .pp-ssb-widget-classic a.pp-ssb-rss {
299
  background-color: #FF8800;
300
  }
361
  background-size: 100%;
362
  transition: background 0s;
363
  }
364
+ .pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn:active, .pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:active {
365
+ background-color: #2278cf;
366
+ background-size: 100%;
367
+ transition: background 0s;
368
+ }
369
  .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn:active, .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:active {
370
  background-color: #FF6600;
371
  background-size: 100%;
465
  .pp-ssb-widget-classic .pp-ssb-pandora .pp-ssb-ic {
466
  background-position: 0 -560px;
467
  }
468
+ .pp-ssb-widget-classic .pp-ssb-blubrry .pp-ssb-ic {
469
+ background-position: 0 -610px;
470
+ }
471
 
472
  /*Sprite background positions for modern buttons*/
473
  .pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:not(.horizontal) {
546
  background-position: 0 -555px;
547
  }
548
 
549
+ .pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:not(.horizontal) {
550
+ border-left: 3px solid #2278cf;
551
+ padding-right: 10px;
552
+ }
553
+ .pp-ssb-widget-modern .pp-ssb-blubrry .pp-ssb-ic {
554
+ background-position: 0 -603px;
555
+ }
556
+
557
  .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal) {
558
  border-left: 3px solid #FF6600;
559
  padding-right: 10px;
css/subscribe-widget.min.css CHANGED
@@ -1 +1 @@
1
- .pp-ssb-widget{width:100%;margin:0 auto}.pp-ssb-widget-modern{font:Roboto;color:#707070}.pp-ssb-widget-classic{font-family:Sans-serif;color:#fff}a.pp-ssb-btn{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;border-radius:50px}.pp-ssb-widget-include a.pp-ssb-btn{text-align:left}.pp-ssb-widget-modern a.pp-ssb-btn{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:20px;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}.pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn{font-size:80%!important}.pp-ssb-widget-classic a.pp-ssb-btn{padding:0;color:#fff;margin:10px 0 10px 0;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn{font-size:90%!important;font-weight:700!important}.pp-ssb-btn-sq{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden}.pp-ssb-btn-include .pp-ssb-btn-sq{text-align:left}body .pp-ssb-widget-modern a.pp-ssb-btn-sq{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}body .pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:80%!important}body .pp-ssb-widget-classic a.pp-ssb-btn-sq{padding:0;color:#fff;margin:10px 0 10px 0;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:90%!important;font-weight:700!important}@media (max-width:663px) and (min-width:611px){a.pp-ssb-btn-sq.horizontal:nth-child(n+11){display:none}}@media (max-width:611px) and (min-width:559px){a.pp-ssb-btn-sq.horizontal:nth-child(n+10){display:none}}@media (max-width:559px) and (min-width:507px){a.pp-ssb-btn-sq.horizontal:nth-child(n+9){display:none}}@media (max-width:507px) and (min-width:455px){a.pp-ssb-btn-sq.horizontal:nth-child(n+8){display:none}}@media (max-width:455px) and (min-width:403px){a.pp-ssb-btn-sq.horizontal:nth-child(n+7){display:none}}@media (max-width:403px) and (min-width:351px){a.pp-ssb-btn-sq.horizontal:nth-child(n+6){display:none}}@media (max-width:351px) and (min-width:299px){a.pp-ssb-btn-sq.horizontal:nth-child(n+5){display:none}}@media (max-width:299px) and (min-width:247px){a.pp-ssb-btn-sq.horizontal:nth-child(n+4){display:none}}@media (max-width:247px) and (min-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+3){display:none}}@media (max-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+2){display:none}}@media (max-width:992px) and (min-width:721px){a.pp-ssb-btn.horizontal:nth-child(n+11){display:none}}@media (max-width:721px) and (min-width:659px){a.pp-ssb-btn.horizontal:nth-child(n+10){display:none}}@media (max-width:659px) and (min-width:597px){a.pp-ssb-btn.horizontal:nth-child(n+9){display:none}}@media (max-width:597px) and (min-width:535px){a.pp-ssb-btn.horizontal:nth-child(n+8){display:none}}@media (max-width:535px) and (min-width:473px){a.pp-ssb-btn.horizontal:nth-child(n+7){display:none}}@media (max-width:473px) and (min-width:411px){a.pp-ssb-btn.horizontal:nth-child(n+6){display:none}}@media (max-width:411px) and (min-width:349px){a.pp-ssb-btn.horizontal:nth-child(n+5){display:none}}@media (max-width:349px) and (min-width:287px){a.pp-ssb-btn.horizontal:nth-child(n+4){display:none}}@media (max-width:287px) and (min-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+3){display:none}}@media (max-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+2){display:none}}a.pp-ssb-btn-sq.horizontal:last-child,a.pp-ssb-btn.horizontal:last-child{display:inline-block}body .pp-ssb-widget-classic a.pp-ssb-btn:active,body .pp-ssb-widget-classic a.pp-ssb-btn:hover,body .pp-ssb-widget-classic a.pp-ssb-btn:link,body .pp-ssb-widget-classic a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic a:active,body .sidebar .widget .pp-ssb-widget-classic a:hover,body .sidebar .widget .pp-ssb-widget-classic a:link,body .sidebar .widget .pp-ssb-widget-classic a:visited{text-decoration:none;color:#fff}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:active,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:hover,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:link,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:active,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:hover,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:link,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:visited{text-decoration:none!important;color:#fff!important}.pp-ssb-widget-classic a,.pp-ssb-widget-dark a{background-color:#222}.pp-ssb-widget-classic a.pp-ssb-itunes{background-color:#732bbe}.pp-ssb-widget-classic a.pp-ssb-email{background-color:#337ec9}.pp-ssb-widget-classic a.pp-ssb-stitcher{background-color:#197195}.pp-ssb-widget-classic a.pp-ssb-tunein{background-color:#2cb6a8}.pp-ssb-widget-classic a.pp-ssb-gp{background-color:#db3236}.pp-ssb-widget-classic a.pp-ssb-spotify{background-color:#1db954}.pp-ssb-widget-classic a.pp-ssb-android{background-color:#6ab344}.pp-ssb-widget-classic a.pp-ssb-iheartradio{background-color:#960d16}.pp-ssb-widget-classic a.pp-ssb-deezer{background-color:#007feb}.pp-ssb-widget-classic a.pp-ssb-pandora{background-color:#3668ff}.pp-ssb-widget-classic a.pp-ssb-rss{background-color:#f80}.pp-ssb-widget-modern a .pp-ssb-text{position:relative;top:4px}.pp-ssb-widget-modern a.pp-ssb-btn-sq:hover,.pp-ssb-widget-modern a.pp-ssb-btn:hover{background:#ebebeb radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000%;color:#444}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn:active{background-color:#ab42df;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn:active{background-color:#75ba26;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn:active{background-color:#018c8b;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn:active{background-color:#f9ba01;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn:active{background-color:#2b91c9;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn:active{background-color:#1c1f3d;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn:active{background-color:#3eb559;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn:active{background-color:#960d16;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn:active{background-color:#007feb;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn:active{background-color:#3668ff;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn:active{background-color:#f60;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn:active{background-color:#333;background-size:100%;transition:background 0s}.horizontal .pp-ssb-text{display:none}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{width:auto}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{padding-right:0}.pp-ssb-widget-include a.pp-ssb-btn-sq.horizontal,.pp-ssb-widget-include a.pp-ssb-btn.horizontal{padding-right:0!important}a.pp-ssb-btn.horizontal{margin-right:10px}.pp-ssb-ic{display:inline-block;width:50px;height:38px;margin-top:2px;border:0;vertical-align:middle;padding-left:15px;background-repeat:no-repeat;background-size:50px}.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modern_icon_sprite.svg)}.pp-ssb-widget-classic a .pp-ssb-ic{margin-right:2px;background-image:url(../images/white_logos.svg)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modern-icon-sprite.png)}.pp-ssb-widget-classic a .pp-ssb-ic{background-image:url(../images/white_logos.png);width:50px;background-size:50px}}.pp-ssb-widget-classic .pp-ssb-itunes .pp-ssb-ic{background-position:0 -10px}.pp-ssb-widget-classic .pp-ssb-rss .pp-ssb-ic{background-position:0 -360px}.pp-ssb-widget-classic .pp-ssb-email .pp-ssb-ic{background-position:0 -110px}.pp-ssb-widget-classic .pp-ssb-android .pp-ssb-ic{background-position:0 -60px}.pp-ssb-widget-classic .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -210px}.pp-ssb-widget-classic .pp-ssb-tunein .pp-ssb-ic{background-position:0 -260px}.pp-ssb-widget-classic .pp-ssb-spotify .pp-ssb-ic{background-position:0 -310px}.pp-ssb-widget-classic .pp-ssb-gp .pp-ssb-ic{background-position:0 -160px}.pp-ssb-widget-classic .pp-ssb-more .pp-ssb-ic{background-position:0 -410px}.pp-ssb-widget-classic .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -460px}.pp-ssb-widget-classic .pp-ssb-deezer .pp-ssb-ic{background-position:0 -510px}.pp-ssb-widget-classic .pp-ssb-pandora .pp-ssb-ic{background-position:0 -560px}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #ab42df;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-itunes .pp-ssb-ic{background-position:0 -5px}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #75ba26;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-android .pp-ssb-ic{background-position:0 -55px}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #018c8b;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-email .pp-ssb-ic{background-position:0 -106px}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f9ba01;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-gp .pp-ssb-ic{background-position:0 -155px}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #2b91c9;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -205px}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #1c1f3d;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-tunein .pp-ssb-ic{background-position:0 -255px}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3eb559;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-spotify .pp-ssb-ic{background-position:0 -307px}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #960d16;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -456px}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #007feb;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-deezer .pp-ssb-ic{background-position:0 -507px}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3668ff;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-pandora .pp-ssb-ic{background-position:0 -555px}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f60;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-rss .pp-ssb-ic{background-position:0 -355px}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #333;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-more .pp-ssb-ic{background-position:0 -405px}.pp-ssb-widget-classic .pp-ssb-btn-sq::after,.pp-ssb-widget-classic .pp-ssb-btn::after{content:none}.pp-ssb-widget-modern .pp-ssb-btn-sq::after,.pp-ssb-widget-modern .pp-ssb-btn::after{content:url(../images/arrow.svg);width:20px;display:inline-block;float:right;margin-top:16px}.horizontal.pp-ssb-btn-sq::after,.horizontal.pp-ssb-btn::after{content:none}.pp-ssb-nm{line-height:46px;padding-left:10px}.go img{height:8px;width:30px;float:right;margin-top:20px;margin-right:10px}@media only screen and (-webkit-min-device-pixel-ratio:2.0),only screen and (min--moz-device-pixel-ratio:2.0),only screen and (-o-min-device-pixel-ratio:200/100),only screen and (min-device-pixel-ratio:2.0){.pp-sub-ic{background-image:url(../images/spriteRetina2.png)}}
1
+ .pp-ssb-widget{width:100%;margin:0 auto}.pp-ssb-widget-modern{font:Roboto;color:#707070}.pp-ssb-widget-classic{font-family:Sans-serif;color:#fff}a.pp-ssb-btn{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;border-radius:50px}.pp-ssb-widget-include a.pp-ssb-btn{text-align:left}.pp-ssb-widget-modern a.pp-ssb-btn{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:20px;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}.pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn{font-size:80%!important}.pp-ssb-widget-classic a.pp-ssb-btn{padding:0;color:#fff;margin:10px 0 10px 0;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn{font-size:90%!important;font-weight:700!important}.pp-ssb-btn-sq{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden}.pp-ssb-btn-include .pp-ssb-btn-sq{text-align:left}body .pp-ssb-widget-modern a.pp-ssb-btn-sq{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}body .pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:80%!important}body .pp-ssb-widget-classic a.pp-ssb-btn-sq{padding:0;color:#fff;margin:10px 0 10px 0;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:90%!important;font-weight:700!important}@media (max-width:663px) and (min-width:611px){a.pp-ssb-btn-sq.horizontal:nth-child(n+11){display:none}}@media (max-width:611px) and (min-width:559px){a.pp-ssb-btn-sq.horizontal:nth-child(n+10){display:none}}@media (max-width:559px) and (min-width:507px){a.pp-ssb-btn-sq.horizontal:nth-child(n+9){display:none}}@media (max-width:507px) and (min-width:455px){a.pp-ssb-btn-sq.horizontal:nth-child(n+8){display:none}}@media (max-width:455px) and (min-width:403px){a.pp-ssb-btn-sq.horizontal:nth-child(n+7){display:none}}@media (max-width:403px) and (min-width:351px){a.pp-ssb-btn-sq.horizontal:nth-child(n+6){display:none}}@media (max-width:351px) and (min-width:299px){a.pp-ssb-btn-sq.horizontal:nth-child(n+5){display:none}}@media (max-width:299px) and (min-width:247px){a.pp-ssb-btn-sq.horizontal:nth-child(n+4){display:none}}@media (max-width:247px) and (min-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+3){display:none}}@media (max-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+2){display:none}}@media (max-width:992px) and (min-width:721px){a.pp-ssb-btn.horizontal:nth-child(n+11){display:none}}@media (max-width:721px) and (min-width:659px){a.pp-ssb-btn.horizontal:nth-child(n+10){display:none}}@media (max-width:659px) and (min-width:597px){a.pp-ssb-btn.horizontal:nth-child(n+9){display:none}}@media (max-width:597px) and (min-width:535px){a.pp-ssb-btn.horizontal:nth-child(n+8){display:none}}@media (max-width:535px) and (min-width:473px){a.pp-ssb-btn.horizontal:nth-child(n+7){display:none}}@media (max-width:473px) and (min-width:411px){a.pp-ssb-btn.horizontal:nth-child(n+6){display:none}}@media (max-width:411px) and (min-width:349px){a.pp-ssb-btn.horizontal:nth-child(n+5){display:none}}@media (max-width:349px) and (min-width:287px){a.pp-ssb-btn.horizontal:nth-child(n+4){display:none}}@media (max-width:287px) and (min-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+3){display:none}}@media (max-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+2){display:none}}a.pp-ssb-btn-sq.horizontal:last-child,a.pp-ssb-btn.horizontal:last-child{display:inline-block}body .pp-ssb-widget-classic a.pp-ssb-btn:active,body .pp-ssb-widget-classic a.pp-ssb-btn:hover,body .pp-ssb-widget-classic a.pp-ssb-btn:link,body .pp-ssb-widget-classic a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic a:active,body .sidebar .widget .pp-ssb-widget-classic a:hover,body .sidebar .widget .pp-ssb-widget-classic a:link,body .sidebar .widget .pp-ssb-widget-classic a:visited{text-decoration:none;color:#fff}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:active,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:hover,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:link,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:active,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:hover,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:link,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:visited{text-decoration:none!important;color:#fff!important}.pp-ssb-widget-classic a,.pp-ssb-widget-dark a{background-color:#222}.pp-ssb-widget-classic a.pp-ssb-itunes{background-color:#732bbe}.pp-ssb-widget-classic a.pp-ssb-email{background-color:#337ec9}.pp-ssb-widget-classic a.pp-ssb-stitcher{background-color:#197195}.pp-ssb-widget-classic a.pp-ssb-tunein{background-color:#2cb6a8}.pp-ssb-widget-classic a.pp-ssb-gp{background-color:#db3236}.pp-ssb-widget-classic a.pp-ssb-spotify{background-color:#1db954}.pp-ssb-widget-classic a.pp-ssb-android{background-color:#6ab344}.pp-ssb-widget-classic a.pp-ssb-iheartradio{background-color:#960d16}.pp-ssb-widget-classic a.pp-ssb-deezer{background-color:#007feb}.pp-ssb-widget-classic a.pp-ssb-pandora{background-color:#3668ff}.pp-ssb-widget-classic a.pp-ssb-blubrry{background-color:#2278cf}.pp-ssb-widget-classic a.pp-ssb-rss{background-color:#f80}.pp-ssb-widget-modern a .pp-ssb-text{position:relative;top:4px}.pp-ssb-widget-modern a.pp-ssb-btn-sq:hover,.pp-ssb-widget-modern a.pp-ssb-btn:hover{background:#ebebeb radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000%;color:#444}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn:active{background-color:#ab42df;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn:active{background-color:#75ba26;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn:active{background-color:#018c8b;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn:active{background-color:#f9ba01;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn:active{background-color:#2b91c9;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn:active{background-color:#1c1f3d;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn:active{background-color:#3eb559;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn:active{background-color:#960d16;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn:active{background-color:#007feb;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn:active{background-color:#3668ff;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn:active{background-color:#2278cf;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn:active{background-color:#f60;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn:active{background-color:#333;background-size:100%;transition:background 0s}.horizontal .pp-ssb-text{display:none}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{width:auto}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{padding-right:0}.pp-ssb-widget-include a.pp-ssb-btn-sq.horizontal,.pp-ssb-widget-include a.pp-ssb-btn.horizontal{padding-right:0!important}a.pp-ssb-btn.horizontal{margin-right:10px}.pp-ssb-ic{display:inline-block;width:50px;height:38px;margin-top:2px;border:0;vertical-align:middle;padding-left:15px;background-repeat:no-repeat;background-size:50px}.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modern_icon_sprite.svg)}.pp-ssb-widget-classic a .pp-ssb-ic{margin-right:2px;background-image:url(../images/white_logos.svg)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modern-icon-sprite.png)}.pp-ssb-widget-classic a .pp-ssb-ic{background-image:url(../images/white_logos.png);width:50px;background-size:50px}}.pp-ssb-widget-classic .pp-ssb-itunes .pp-ssb-ic{background-position:0 -10px}.pp-ssb-widget-classic .pp-ssb-rss .pp-ssb-ic{background-position:0 -360px}.pp-ssb-widget-classic .pp-ssb-email .pp-ssb-ic{background-position:0 -110px}.pp-ssb-widget-classic .pp-ssb-android .pp-ssb-ic{background-position:0 -60px}.pp-ssb-widget-classic .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -210px}.pp-ssb-widget-classic .pp-ssb-tunein .pp-ssb-ic{background-position:0 -260px}.pp-ssb-widget-classic .pp-ssb-spotify .pp-ssb-ic{background-position:0 -310px}.pp-ssb-widget-classic .pp-ssb-gp .pp-ssb-ic{background-position:0 -160px}.pp-ssb-widget-classic .pp-ssb-more .pp-ssb-ic{background-position:0 -410px}.pp-ssb-widget-classic .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -460px}.pp-ssb-widget-classic .pp-ssb-deezer .pp-ssb-ic{background-position:0 -510px}.pp-ssb-widget-classic .pp-ssb-pandora .pp-ssb-ic{background-position:0 -560px}.pp-ssb-widget-classic .pp-ssb-blubrry .pp-ssb-ic{background-position:0 -610px}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #ab42df;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-itunes .pp-ssb-ic{background-position:0 -5px}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #75ba26;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-android .pp-ssb-ic{background-position:0 -55px}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #018c8b;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-email .pp-ssb-ic{background-position:0 -106px}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f9ba01;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-gp .pp-ssb-ic{background-position:0 -155px}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #2b91c9;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -205px}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #1c1f3d;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-tunein .pp-ssb-ic{background-position:0 -255px}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3eb559;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-spotify .pp-ssb-ic{background-position:0 -307px}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #960d16;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -456px}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #007feb;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-deezer .pp-ssb-ic{background-position:0 -507px}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3668ff;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-pandora .pp-ssb-ic{background-position:0 -555px}.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #2278cf;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-blubrry .pp-ssb-ic{background-position:0 -603px}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f60;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-rss .pp-ssb-ic{background-position:0 -355px}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #333;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-more .pp-ssb-ic{background-position:0 -405px}.pp-ssb-widget-classic .pp-ssb-btn-sq::after,.pp-ssb-widget-classic .pp-ssb-btn::after{content:none}.pp-ssb-widget-modern .pp-ssb-btn-sq::after,.pp-ssb-widget-modern .pp-ssb-btn::after{content:url(../images/arrow.svg);width:20px;display:inline-block;float:right;margin-top:16px}.horizontal.pp-ssb-btn-sq::after,.horizontal.pp-ssb-btn::after{content:none}.pp-ssb-nm{line-height:46px;padding-left:10px}.go img{height:8px;width:30px;float:right;margin-top:20px;margin-right:10px}@media only screen and (-webkit-min-device-pixel-ratio:2.0),only screen and (min--moz-device-pixel-ratio:2.0),only screen and (-o-min-device-pixel-ratio:200/100),only screen and (min-device-pixel-ratio:2.0){.pp-sub-ic{background-image:url(../images/spriteRetina2.png)}}
css/subscribe.css CHANGED
@@ -248,6 +248,11 @@ body .pp-sub-widget-dark.pp-sub-widget-include a:hover {
248
  background-size: 100%;
249
  transition: background 0s;
250
  }
 
 
 
 
 
251
  .pp-sub-widget-modern .pp-sub-rss.pp-sub-btn:active, .pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq:active {
252
  background-color: #FF6600;
253
  background-size: 100%;
@@ -304,6 +309,9 @@ body .pp-sub-widget-dark.pp-sub-widget-include a:hover {
304
  .pp-sub-widget-classic a.pp-sub-pandora {
305
  background-color: #3668ff;
306
  }
 
 
 
307
 
308
  .pp-sub-widget-classic div.pp-sub-h,
309
  .pp-sub-widget-classic p.pp-sub-m-p {
@@ -432,6 +440,9 @@ body .pp-sub-widget-dark.pp-sub-widget-include a:hover {
432
  .pp-sub-widget-classic .pp-sub-pandora .pp-sub-ic, .pp-sub-widget-dark .pp-sub-pandora .pp-sub-ic {
433
  background-position: 0 -555px;
434
  }
 
 
 
435
 
436
 
437
  /*Sprite background positions for modern buttons*/
@@ -501,6 +512,13 @@ body .pp-sub-widget-dark.pp-sub-widget-include a:hover {
501
  background-position: 0 -555px;
502
  }
503
 
 
 
 
 
 
 
 
504
  .pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq {
505
  border-left: 3px solid #FF6600;
506
  }
248
  background-size: 100%;
249
  transition: background 0s;
250
  }
251
+ .pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn:active, .pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn-sq:active {
252
+ background-color: #2278cf;
253
+ background-size: 100%;
254
+ transition: background 0s;
255
+ }
256
  .pp-sub-widget-modern .pp-sub-rss.pp-sub-btn:active, .pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq:active {
257
  background-color: #FF6600;
258
  background-size: 100%;
309
  .pp-sub-widget-classic a.pp-sub-pandora {
310
  background-color: #3668ff;
311
  }
312
+ .pp-sub-widget-classic a.pp-sub-blubrry {
313
+ background-color: #2278cf;
314
+ }
315
 
316
  .pp-sub-widget-classic div.pp-sub-h,
317
  .pp-sub-widget-classic p.pp-sub-m-p {
440
  .pp-sub-widget-classic .pp-sub-pandora .pp-sub-ic, .pp-sub-widget-dark .pp-sub-pandora .pp-sub-ic {
441
  background-position: 0 -555px;
442
  }
443
+ .pp-sub-widget-classic .pp-sub-blubrry .pp-sub-ic, .pp-sub-widget-dark .pp-sub-blubrry .pp-sub-ic {
444
+ background-position: 0 -605px;
445
+ }
446
 
447
 
448
  /*Sprite background positions for modern buttons*/
512
  background-position: 0 -555px;
513
  }
514
 
515
+ .pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn-sq {
516
+ border-left: 3px solid #2278cf;
517
+ }
518
+ .pp-sub-widget-modern .pp-sub-blubrry .pp-sub-ic {
519
+ background-position: 0 -605px;
520
+ }
521
+
522
  .pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq {
523
  border-left: 3px solid #FF6600;
524
  }
css/subscribe.min.css CHANGED
@@ -1 +1 @@
1
- .pp-sub-widget{width:100%;max-width:800px;margin:10px auto;font-family:Sans-serif;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);padding:10px 10px}.pp-sub-widget .pp-sub-bx{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px;width:auto;height:auto;margin:0 10px}.pp-sub-widget div.pp-sub-h{margin:10px 10px 0 10px;font-size:90%;font-weight:700;color:#1976d2}.pp-sub-widget div.pp-sub-t{font-weight:700;margin:10px 10px 0 10px;padding:0;font-size:200%;color:#036}.pp-sub-widget-include div.pp-sub-t{margin:15px 10px 0 10px!important;padding:0!important;font-size:200%!important;color:#036!important}.pp-sub-widget p.pp-sub-st{margin:5px 10px 0 10px;padding:0;font-size:100%;color:#222}.pp-sub-widget-include p.pp-sub-st{margin:5px 10px 0 10px!important;padding:0!important;font-size:100%!important;color:#222!important}.pp-sub-widget a.pp-sub-btn-sq{height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;width:100%}.pp-sub-widget-include a.pp-sub-btn-sq{width:100%!important}.pp-sub-widget-modern a.pp-sub-btn-sq{color:#707070;margin:6px 0 6px 0;border-top:1px solid #c4c4c4;border-right:1px solid #c4c4c4;border-bottom:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:10px;background-position:center;transition:background .8s;font-size:80%}.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn-sq{font-size:80%!important}.pp-sub-widget-classic a.pp-sub-btn-sq,.pp-sub-widget-dark a.pp-sub-btn-sq{color:#fff;padding:0;margin:10px 0 10px 0;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn-sq,.pp-sub-widget-dark.pp-sub-widget-include a.pp-sub-btn-sq{font-size:90%!important;font-weight:700!important}.pp-sub-widget a.pp-sub-btn{height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;border-radius:50px;width:100%}.pp-sub-widget-include a.pp-sub-btn{width:100%!important}.pp-sub-widget-modern a.pp-sub-btn{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:20px;background-position:center;transition:background .8s;font-size:80%}.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn{font-size:80%!important}.pp-sub-widget-classic a.pp-sub-btn,.pp-sub-widget-dark a.pp-sub-btn{color:#fff;padding:0;margin:10px 0 10px 0;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn,.pp-sub-widget-dark.pp-sub-widget-include a.pp-sub-btn{font-size:90%!important;font-weight:700!important}body .entry-content .pp-sub-widget a:active,body .entry-content .pp-sub-widget a:hover,body .entry-content .pp-sub-widget a:link,body .entry-content .pp-sub-widget a:visited,body .pp-sub-widget a:active,body .pp-sub-widget a:hover,body .pp-sub-widget a:link,body .pp-sub-widget a:visited{text-decoration:none}body .entry-content .pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-include a:visited,body .pp-sub-widget-include a:active,body .pp-sub-widget-include a:hover,body .pp-sub-widget-include a:link,body .pp-sub-widget-include a:visited{text-decoration:none!important}body .entry-content .pp-sub-widget-classic a:active,body .entry-content .pp-sub-widget-classic a:hover,body .entry-content .pp-sub-widget-classic a:link,body .entry-content .pp-sub-widget-classic a:visited,body .pp-sub-widget-classic a:active,body .pp-sub-widget-classic a:hover,body .pp-sub-widget-classic a:link,body .pp-sub-widget-classic a:visited{color:#fff}body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:visited,body .pp-sub-widget-classic.pp-sub-widget-include a:active,body .pp-sub-widget-classic.pp-sub-widget-include a:hover,body .pp-sub-widget-classic.pp-sub-widget-include a:link,body .pp-sub-widget-classic.pp-sub-widget-include a:visited{color:#fff!important}body .entry-content .pp-sub-widget-dark a:active,body .entry-content .pp-sub-widget-dark a:hover,body .entry-content .pp-sub-widget-dark a:link,body .entry-content .pp-sub-widget-dark a:visited,body .pp-sub-widget-dark a:active,body .pp-sub-widget-dark a:hover,body .pp-sub-widget-dark a:link,body .pp-sub-widget-dark a:visited{color:#fff}body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:visited,body .pp-sub-widget-dark.pp-sub-widget-include a:active,body .pp-sub-widget-dark.pp-sub-widget-include a:hover,body .pp-sub-widget-dark.pp-sub-widget-include a:link,body .pp-sub-widget-dark.pp-sub-widget-include a:visited{color:#fff!important}.pp-sub-widget-modern a.pp-sub-btn-sq:hover,.pp-sub-widget-modern a.pp-sub-btn:hover{background:#ebebeb radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000%}.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn:active{background-color:#ab42df;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-android.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-android.pp-sub-btn:active{background-color:#75ba26;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-email.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-email.pp-sub-btn:active{background-color:#018c8b;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn:active{background-color:#f9ba01;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn:active{background-color:#2b91c9;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn:active{background-color:#1c1f3d;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn:active{background-color:#3eb559;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn:active{background-color:#960d16;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn:active{background-color:#007feb;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn:active{background-color:#3668ff;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn:active{background-color:#f60;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-more.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-more.pp-sub-btn:active{background-color:#333;background-size:100%;transition:background 0s}.pp-sub-widget-classic a,.pp-sub-widget-dark a{background-color:#222}.pp-sub-widget-classic a.pp-sub-itunes{background-color:#732bbe}.pp-sub-widget-classic a.pp-sub-email,.pp-sub-widget-classic a.pp-sub-pr{background-color:#337ec9}.pp-sub-widget-classic a.pp-sub-bp,.pp-sub-widget-classic a.pp-sub-rss{background-color:#f80}.pp-sub-widget-classic a.pp-sub-stitcher{background-color:#222;background-color:#3ec6ff;background-color:#197195}.pp-sub-widget-classic a.pp-sub-tunein{background-color:#2cb6a8}.pp-sub-widget-classic a.pp-sub-gp{background-color:#f15832;background-color:#3cba54;background-color:#4885ed;background-color:#db3236}.pp-sub-widget-classic a.pp-sub-spotify{background-color:#1db954}.pp-sub-widget-classic a.pp-sub-android{background-color:#6ab344}.pp-sub-widget-classic a.pp-sub-iheartradio{background-color:#960d16}.pp-sub-widget-classic a.pp-sub-deezer{background-color:#007feb}.pp-sub-widget-classic a.pp-sub-pandora{background-color:#3668ff}.pp-sub-widget-classic div.pp-sub-h,.pp-sub-widget-classic p.pp-sub-m-p{color:#337ec9}.pp-sub-widget img.pp-sub-l{max-width:300px;padding:0;margin:10px 0;float:left;box-shadow:0 1px 6px rgba(0,0,0,.2);width:100%;height:auto}.pp-sub-widget-include img.pp-sub-l{width:100%!important;height:auto!important}.pp-sub-widget .pp-sub-btns{margin:0;padding:0;display:inline-block;width:100%}.pp-sub-widget-include .pp-sub-btns{width:100%!important}.pp-sub-widget .pp-sub-m{clear:both;margin:10px}.pp-sub-widget p.pp-sub-m-p{margin:0;font-size:90%;color:#1976d2}.pp-sub-widget .pp-sub-m-i{width:80%;color:#333;font-size:85%;border:1px solid #999;padding:5px}.pp-sub-widget-modern a.pp-sub-btn:hover,.pp-sub-widget-modern a.pp-sub-bub-sq:hover{color:#444}@media screen and (max-width:400px){.pp-sub-widget .pp-sub-bx{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}.pp-sub-widget .pp-sub-t{font-size:150%}}.pp-sub-ic{display:inline-block;width:48px;height:48px;border:0;vertical-align:middle;background-repeat:no-repeat;margin-right:2px;background-size:50px}.pp-sub-widget-modern .pp-sub-ic{padding-left:15px;background-image:url(../images/modern_icon_sprite.svg)}.pp-sub-widget-classic .pp-sub-ic,.pp-sub-widget-dark .pp-sub-ic{background-image:url(../images/white_logos.svg)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-sub-widget-modern a .pp-sub-ic{background-image:url(../images/modern-icon-sprite.png)}.pp-sub-widget-classic a .pp-sub-ic,.pp-sub-widget-dark a .pp-sub-ic{background-image:url(../images/white_logos.png);width:50px;background-size:50px}}.pp-sub-widget-classic .pp-sub-itunes .pp-sub-ic,.pp-sub-widget-dark .pp-sub-itunes .pp-sub-ic{background-position:0 -5px}.pp-sub-widget-classic .pp-sub-rss .pp-sub-ic,.pp-sub-widget-dark .pp-sub-rss .pp-sub-ic{background-position:0 -355px}.pp-sub-widget-classic .pp-sub-email .pp-sub-ic,.pp-sub-widget-dark .pp-sub-email .pp-sub-ic{background-position:0 -105px}.pp-sub-widget-classic .pp-sub-android .pp-sub-ic,.pp-sub-widget-dark .pp-sub-android .pp-sub-ic{background-position:0 -55px}.pp-sub-widget-classic .pp-sub-stitcher .pp-sub-ic,.pp-sub-widget-dark .pp-sub-stitcher .pp-sub-ic{background-position:0 -205px}.pp-sub-widget-classic .pp-sub-tunein .pp-sub-ic,.pp-sub-widget-dark .pp-sub-tunein .pp-sub-ic{background-position:0 -255px}.pp-sub-widget-classic .pp-sub-spotify .pp-sub-ic,.pp-sub-widget-dark .pp-sub-spotify .pp-sub-ic{background-position:0 -305px}.pp-sub-widget-classic .pp-sub-gp .pp-sub-ic,.pp-sub-widget-dark .pp-sub-gp .pp-sub-ic{background-position:0 -155px}.pp-sub-widget-classic .pp-sub-more .pp-sub-ic,.pp-sub-widget-dark .pp-sub-more .pp-sub-ic{background-position:0 -405px}.pp-sub-widget-classic .pp-sub-iheartradio .pp-sub-ic,.pp-sub-widget-dark .pp-sub-iheartradio .pp-sub-ic{background-position:0 -455px}.pp-sub-widget-classic .pp-sub-deezer .pp-sub-ic,.pp-sub-widget-dark .pp-sub-deezer .pp-sub-ic{background-position:0 -505px}.pp-sub-widget-classic .pp-sub-pandora .pp-sub-ic,.pp-sub-widget-dark .pp-sub-pandora .pp-sub-ic{background-position:0 -555px}.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn-sq{border-left:3px solid #ab42df}.pp-sub-widget-modern .pp-sub-itunes .pp-sub-ic{background-position:0 -5px}.pp-sub-widget-modern .pp-sub-android.pp-sub-btn-sq{border-left:3px solid #75ba26}.pp-sub-widget-modern .pp-sub-android .pp-sub-ic{background-position:0 -55px}.pp-sub-widget-modern .pp-sub-email.pp-sub-btn-sq{border-left:3px solid #018c8b}.pp-sub-widget-modern .pp-sub-email .pp-sub-ic{background-position:0 -106px}.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn-sq{border-left:3px solid #f9ba01}.pp-sub-widget-modern .pp-sub-gp .pp-sub-ic{background-position:0 -155px}.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn-sq{border-left:3px solid #2b91c9}.pp-sub-widget-modern .pp-sub-stitcher .pp-sub-ic{background-position:0 -205px}.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn-sq{border-left:3px solid #1c1f3d}.pp-sub-widget-modern .pp-sub-tunein .pp-sub-ic{background-position:0 -255px}.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn-sq{border-left:3px solid #3eb559}.pp-sub-widget-modern .pp-sub-spotify .pp-sub-ic{background-position:0 -307px}.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn-sq{border-left:3px solid #960d16}.pp-sub-widget-modern .pp-sub-iheartradio .pp-sub-ic{background-position:0 -456px}.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn-sq{border-left:3px solid #007feb}.pp-sub-widget-modern .pp-sub-deezer .pp-sub-ic{background-position:0 -507px}.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn-sq{border-left:3px solid #3668ff}.pp-sub-widget-modern .pp-sub-pandora .pp-sub-ic{background-position:0 -555px}.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq{border-left:3px solid #f60}.pp-sub-widget-modern .pp-sub-rss .pp-sub-ic{background-position:0 -355px}.pp-sub-widget-modern .pp-sub-more.pp-sub-btn-sq{border-left:3px solid #333}.pp-sub-widget-modern .pp-sub-more .pp-sub-ic{background-position:0 -405px}.pp-sub-widget-modern .pp-sub-btn-sq::after,.pp-sub-widget-modern .pp-sub-btn::after{content:url(../images/arrow.svg);width:20px;display:inline-block;float:right;margin-top:16px}
1
+ .pp-sub-widget{width:100%;max-width:800px;margin:10px auto;font-family:Sans-serif;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);padding:10px 10px}.pp-sub-widget .pp-sub-bx{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px;width:auto;height:auto;margin:0 10px}.pp-sub-widget div.pp-sub-h{margin:10px 10px 0 10px;font-size:90%;font-weight:700;color:#1976d2}.pp-sub-widget div.pp-sub-t{font-weight:700;margin:10px 10px 0 10px;padding:0;font-size:200%;color:#036}.pp-sub-widget-include div.pp-sub-t{margin:15px 10px 0 10px!important;padding:0!important;font-size:200%!important;color:#036!important}.pp-sub-widget p.pp-sub-st{margin:5px 10px 0 10px;padding:0;font-size:100%;color:#222}.pp-sub-widget-include p.pp-sub-st{margin:5px 10px 0 10px!important;padding:0!important;font-size:100%!important;color:#222!important}.pp-sub-widget a.pp-sub-btn-sq{height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;width:100%}.pp-sub-widget-include a.pp-sub-btn-sq{width:100%!important}.pp-sub-widget-modern a.pp-sub-btn-sq{color:#707070;margin:6px 0 6px 0;border-top:1px solid #c4c4c4;border-right:1px solid #c4c4c4;border-bottom:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:10px;background-position:center;transition:background .8s;font-size:80%}.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn-sq{font-size:80%!important}.pp-sub-widget-classic a.pp-sub-btn-sq,.pp-sub-widget-dark a.pp-sub-btn-sq{color:#fff;padding:0;margin:10px 0 10px 0;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn-sq,.pp-sub-widget-dark.pp-sub-widget-include a.pp-sub-btn-sq{font-size:90%!important;font-weight:700!important}.pp-sub-widget a.pp-sub-btn{height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;border-radius:50px;width:100%}.pp-sub-widget-include a.pp-sub-btn{width:100%!important}.pp-sub-widget-modern a.pp-sub-btn{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:20px;background-position:center;transition:background .8s;font-size:80%}.pp-sub-widget-modern.pp-sub-widget-include a.pp-sub-btn{font-size:80%!important}.pp-sub-widget-classic a.pp-sub-btn,.pp-sub-widget-dark a.pp-sub-btn{color:#fff;padding:0;margin:10px 0 10px 0;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-sub-widget-classic.pp-sub-widget-include a.pp-sub-btn,.pp-sub-widget-dark.pp-sub-widget-include a.pp-sub-btn{font-size:90%!important;font-weight:700!important}body .entry-content .pp-sub-widget a:active,body .entry-content .pp-sub-widget a:hover,body .entry-content .pp-sub-widget a:link,body .entry-content .pp-sub-widget a:visited,body .pp-sub-widget a:active,body .pp-sub-widget a:hover,body .pp-sub-widget a:link,body .pp-sub-widget a:visited{text-decoration:none}body .entry-content .pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-include a:visited,body .pp-sub-widget-include a:active,body .pp-sub-widget-include a:hover,body .pp-sub-widget-include a:link,body .pp-sub-widget-include a:visited{text-decoration:none!important}body .entry-content .pp-sub-widget-classic a:active,body .entry-content .pp-sub-widget-classic a:hover,body .entry-content .pp-sub-widget-classic a:link,body .entry-content .pp-sub-widget-classic a:visited,body .pp-sub-widget-classic a:active,body .pp-sub-widget-classic a:hover,body .pp-sub-widget-classic a:link,body .pp-sub-widget-classic a:visited{color:#fff}body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-classic.pp-sub-widget-include a:visited,body .pp-sub-widget-classic.pp-sub-widget-include a:active,body .pp-sub-widget-classic.pp-sub-widget-include a:hover,body .pp-sub-widget-classic.pp-sub-widget-include a:link,body .pp-sub-widget-classic.pp-sub-widget-include a:visited{color:#fff!important}body .entry-content .pp-sub-widget-dark a:active,body .entry-content .pp-sub-widget-dark a:hover,body .entry-content .pp-sub-widget-dark a:link,body .entry-content .pp-sub-widget-dark a:visited,body .pp-sub-widget-dark a:active,body .pp-sub-widget-dark a:hover,body .pp-sub-widget-dark a:link,body .pp-sub-widget-dark a:visited{color:#fff}body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:active,body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:hover,body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:link,body .entry-content .pp-sub-widget-dark.pp-sub-widget-include a:visited,body .pp-sub-widget-dark.pp-sub-widget-include a:active,body .pp-sub-widget-dark.pp-sub-widget-include a:hover,body .pp-sub-widget-dark.pp-sub-widget-include a:link,body .pp-sub-widget-dark.pp-sub-widget-include a:visited{color:#fff!important}.pp-sub-widget-modern a.pp-sub-btn-sq:hover,.pp-sub-widget-modern a.pp-sub-btn:hover{background:#ebebeb radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000%}.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn:active{background-color:#ab42df;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-android.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-android.pp-sub-btn:active{background-color:#75ba26;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-email.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-email.pp-sub-btn:active{background-color:#018c8b;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn:active{background-color:#f9ba01;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn:active{background-color:#2b91c9;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn:active{background-color:#1c1f3d;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn:active{background-color:#3eb559;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn:active{background-color:#960d16;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn:active{background-color:#007feb;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn:active{background-color:#3668ff;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn:active{background-color:#2278cf;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn:active{background-color:#f60;background-size:100%;transition:background 0s}.pp-sub-widget-modern .pp-sub-more.pp-sub-btn-sq:active,.pp-sub-widget-modern .pp-sub-more.pp-sub-btn:active{background-color:#333;background-size:100%;transition:background 0s}.pp-sub-widget-classic a,.pp-sub-widget-dark a{background-color:#222}.pp-sub-widget-classic a.pp-sub-itunes{background-color:#732bbe}.pp-sub-widget-classic a.pp-sub-email,.pp-sub-widget-classic a.pp-sub-pr{background-color:#337ec9}.pp-sub-widget-classic a.pp-sub-bp,.pp-sub-widget-classic a.pp-sub-rss{background-color:#f80}.pp-sub-widget-classic a.pp-sub-stitcher{background-color:#222;background-color:#3ec6ff;background-color:#197195}.pp-sub-widget-classic a.pp-sub-tunein{background-color:#2cb6a8}.pp-sub-widget-classic a.pp-sub-gp{background-color:#f15832;background-color:#3cba54;background-color:#4885ed;background-color:#db3236}.pp-sub-widget-classic a.pp-sub-spotify{background-color:#1db954}.pp-sub-widget-classic a.pp-sub-android{background-color:#6ab344}.pp-sub-widget-classic a.pp-sub-iheartradio{background-color:#960d16}.pp-sub-widget-classic a.pp-sub-deezer{background-color:#007feb}.pp-sub-widget-classic a.pp-sub-pandora{background-color:#3668ff}.pp-sub-widget-classic a.pp-sub-blubrry{background-color:#2278cf}.pp-sub-widget-classic div.pp-sub-h,.pp-sub-widget-classic p.pp-sub-m-p{color:#337ec9}.pp-sub-widget img.pp-sub-l{max-width:300px;padding:0;margin:10px 0;float:left;box-shadow:0 1px 6px rgba(0,0,0,.2);width:100%;height:auto}.pp-sub-widget-include img.pp-sub-l{width:100%!important;height:auto!important}.pp-sub-widget .pp-sub-btns{margin:0;padding:0;display:inline-block;width:100%}.pp-sub-widget-include .pp-sub-btns{width:100%!important}.pp-sub-widget .pp-sub-m{clear:both;margin:10px}.pp-sub-widget p.pp-sub-m-p{margin:0;font-size:90%;color:#1976d2}.pp-sub-widget .pp-sub-m-i{width:80%;color:#333;font-size:85%;border:1px solid #999;padding:5px}.pp-sub-widget-modern a.pp-sub-btn:hover,.pp-sub-widget-modern a.pp-sub-bub-sq:hover{color:#444}@media screen and (max-width:400px){.pp-sub-widget .pp-sub-bx{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}.pp-sub-widget .pp-sub-t{font-size:150%}}.pp-sub-ic{display:inline-block;width:48px;height:48px;border:0;vertical-align:middle;background-repeat:no-repeat;margin-right:2px;background-size:50px}.pp-sub-widget-modern .pp-sub-ic{padding-left:15px;background-image:url(../images/modern_icon_sprite.svg)}.pp-sub-widget-classic .pp-sub-ic,.pp-sub-widget-dark .pp-sub-ic{background-image:url(../images/white_logos.svg)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-sub-widget-modern a .pp-sub-ic{background-image:url(../images/modern-icon-sprite.png)}.pp-sub-widget-classic a .pp-sub-ic,.pp-sub-widget-dark a .pp-sub-ic{background-image:url(../images/white_logos.png);width:50px;background-size:50px}}.pp-sub-widget-classic .pp-sub-itunes .pp-sub-ic,.pp-sub-widget-dark .pp-sub-itunes .pp-sub-ic{background-position:0 -5px}.pp-sub-widget-classic .pp-sub-rss .pp-sub-ic,.pp-sub-widget-dark .pp-sub-rss .pp-sub-ic{background-position:0 -355px}.pp-sub-widget-classic .pp-sub-email .pp-sub-ic,.pp-sub-widget-dark .pp-sub-email .pp-sub-ic{background-position:0 -105px}.pp-sub-widget-classic .pp-sub-android .pp-sub-ic,.pp-sub-widget-dark .pp-sub-android .pp-sub-ic{background-position:0 -55px}.pp-sub-widget-classic .pp-sub-stitcher .pp-sub-ic,.pp-sub-widget-dark .pp-sub-stitcher .pp-sub-ic{background-position:0 -205px}.pp-sub-widget-classic .pp-sub-tunein .pp-sub-ic,.pp-sub-widget-dark .pp-sub-tunein .pp-sub-ic{background-position:0 -255px}.pp-sub-widget-classic .pp-sub-spotify .pp-sub-ic,.pp-sub-widget-dark .pp-sub-spotify .pp-sub-ic{background-position:0 -305px}.pp-sub-widget-classic .pp-sub-gp .pp-sub-ic,.pp-sub-widget-dark .pp-sub-gp .pp-sub-ic{background-position:0 -155px}.pp-sub-widget-classic .pp-sub-more .pp-sub-ic,.pp-sub-widget-dark .pp-sub-more .pp-sub-ic{background-position:0 -405px}.pp-sub-widget-classic .pp-sub-iheartradio .pp-sub-ic,.pp-sub-widget-dark .pp-sub-iheartradio .pp-sub-ic{background-position:0 -455px}.pp-sub-widget-classic .pp-sub-deezer .pp-sub-ic,.pp-sub-widget-dark .pp-sub-deezer .pp-sub-ic{background-position:0 -505px}.pp-sub-widget-classic .pp-sub-pandora .pp-sub-ic,.pp-sub-widget-dark .pp-sub-pandora .pp-sub-ic{background-position:0 -555px}.pp-sub-widget-classic .pp-sub-blubrry .pp-sub-ic,.pp-sub-widget-dark .pp-sub-blubrry .pp-sub-ic{background-position:0 -605px}.pp-sub-widget-modern .pp-sub-itunes.pp-sub-btn-sq{border-left:3px solid #ab42df}.pp-sub-widget-modern .pp-sub-itunes .pp-sub-ic{background-position:0 -5px}.pp-sub-widget-modern .pp-sub-android.pp-sub-btn-sq{border-left:3px solid #75ba26}.pp-sub-widget-modern .pp-sub-android .pp-sub-ic{background-position:0 -55px}.pp-sub-widget-modern .pp-sub-email.pp-sub-btn-sq{border-left:3px solid #018c8b}.pp-sub-widget-modern .pp-sub-email .pp-sub-ic{background-position:0 -106px}.pp-sub-widget-modern .pp-sub-gp.pp-sub-btn-sq{border-left:3px solid #f9ba01}.pp-sub-widget-modern .pp-sub-gp .pp-sub-ic{background-position:0 -155px}.pp-sub-widget-modern .pp-sub-stitcher.pp-sub-btn-sq{border-left:3px solid #2b91c9}.pp-sub-widget-modern .pp-sub-stitcher .pp-sub-ic{background-position:0 -205px}.pp-sub-widget-modern .pp-sub-tunein.pp-sub-btn-sq{border-left:3px solid #1c1f3d}.pp-sub-widget-modern .pp-sub-tunein .pp-sub-ic{background-position:0 -255px}.pp-sub-widget-modern .pp-sub-spotify.pp-sub-btn-sq{border-left:3px solid #3eb559}.pp-sub-widget-modern .pp-sub-spotify .pp-sub-ic{background-position:0 -307px}.pp-sub-widget-modern .pp-sub-iheartradio.pp-sub-btn-sq{border-left:3px solid #960d16}.pp-sub-widget-modern .pp-sub-iheartradio .pp-sub-ic{background-position:0 -456px}.pp-sub-widget-modern .pp-sub-deezer.pp-sub-btn-sq{border-left:3px solid #007feb}.pp-sub-widget-modern .pp-sub-deezer .pp-sub-ic{background-position:0 -507px}.pp-sub-widget-modern .pp-sub-pandora.pp-sub-btn-sq{border-left:3px solid #3668ff}.pp-sub-widget-modern .pp-sub-pandora .pp-sub-ic{background-position:0 -555px}.pp-sub-widget-modern .pp-sub-blubrry.pp-sub-btn-sq{border-left:3px solid #2278cf}.pp-sub-widget-modern .pp-sub-blubrry .pp-sub-ic{background-position:0 -605px}.pp-sub-widget-modern .pp-sub-rss.pp-sub-btn-sq{border-left:3px solid #f60}.pp-sub-widget-modern .pp-sub-rss .pp-sub-ic{background-position:0 -355px}.pp-sub-widget-modern .pp-sub-more.pp-sub-btn-sq{border-left:3px solid #333}.pp-sub-widget-modern .pp-sub-more .pp-sub-ic{background-position:0 -405px}.pp-sub-widget-modern .pp-sub-btn-sq::after,.pp-sub-widget-modern .pp-sub-btn::after{content:url(../images/arrow.svg);width:20px;display:inline-block;float:right;margin-top:16px}
images/cloud_up.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>0B8CC30A-4318-41B6-BD04-DA90A37F1C54</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M14.0249436,11.0031934 L14.01495,11.0031934 C14.4047011,10.0035482 14.3997043,9.77263018 14.0099532,9.38276856 L11.423605,6.69372303 C10.6431035,5.91300014 9.37591285,5.86201824 8.59541134,6.64274112 L6.01006253,9.20083314 C5.62031145,9.5916944 5.0107008,10.2114744 6.01006253,10.6023357 L6.01006253,10.5953382 C6.01006253,10.9861994 7.03240958,10.9822008 7.42316002,10.5923392 L8.15469281,9.85859966 C8.46949176,9.54371143 9.00814773,9.76463302 9.00814773,10.2104748 L9.00814773,19.0003548 C9.00814773,19.552159 9.53581073,20 10.0874584,20 L10.1284322,20 C10.6800799,20 11.0068712,19.552159 11.0068712,19.0003548 L11.0068712,10.2104748 C11.0068712,9.76463302 11.5445278,9.54171214 11.8593268,9.85660037 L12.5918589,10.7962668 C12.98161,11.1861285 13.6341932,11.0031934 14.0249436,11.0031934 M14.0049564,14.0021289 C12.6828008,14.0021289 12.6847996,12.0028386 14.0049564,12.0028386 C15.0602824,12.0028386 15.8197973,12.0738134 16.7302159,11.4520341 C19.1446738,9.80062024 17.8894755,5.90800192 14.904382,6.01496395 C13.5722328,-0.588692099 3.18386755,1.64551487 5.24754953,8.44510138 C3.15488606,6.78069216 0.700453636,10.0055475 2.80011264,11.5669933 C4.30115396,12.6825973 7.00942426,11.1561391 7.00942426,13.0024837 C7.00942426,14.2600374 5.58233571,14.0021289 4.21221077,14.0021289 C0.878340025,14.0021289 -1.1763477,10.4433921 0.732433212,7.72235792 C1.64385111,6.42281918 3.07593648,6.10193308 3.07593648,6.10193308 C3.73551522,0.990747283 9.56978903,-1.7082947 13.8910292,1.18467845 C15.7458445,2.4272374 16.4483958,4.24259305 16.4483958,4.24259305 C21.5801183,5.80203953 21.4721873,14.0021289 14.0049564,14.0021289" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon/20px/cloud_up-[#1062]-Icon/20px/cloud_up-[#1063]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="cloud_up-[#1063]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/done_24px.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="35" height="37" viewBox="0 0 63.419 67"><defs><style>.a{fill:#1976d2;}.b{fill:none;}.c{fill:#fff;}</style></defs><g transform="translate(4.26 7)"><g transform="translate(-4.26 -110)"><path class="a" d="M63.419,139.7c0,16.735-13.618,30.3-31.708,30.3C14.2,170,0,156.433,0,139.7c0-12.353,7.733-22.547,18.827-27.265,0,0-2.674-8.649-2.47-8.864.179-.19,7.784,5.316,7.784,5.316S31.281,103,31.738,103c.338,0,8.732,6.456,8.732,6.456s6.835-4.329,7.025-4.179c.168.132-2.9,7.153-2.9,7.153C55.684,117.149,63.419,127.345,63.419,139.7Z" transform="translate(0 0)"/></g><path class="b" d="M0,0H52.535V52.535H0Z"/><path class="c" d="M15.658,24.8,8.465,17.609,3.4,22.674,15.658,34.932,41.926,8.665,36.861,3.6Z" transform="translate(4.042 9.658)"/></g></svg>
images/settings_nav_icons/blubrry.svg ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="22px" height="24px" viewBox="0 0 22 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>9014148D-9468-4CAA-9CE9-31F1591F2D9C</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <polygon id="path-1" points="0 0 22 0 22 24 0 24"></polygon>
8
+ </defs>
9
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Destinations---All" transform="translate(-213.000000, -597.000000)">
11
+ <g id="Group-3-4" transform="translate(213.000000, 597.000000)">
12
+ <mask id="mask-2" fill="white">
13
+ <use xlink:href="#path-1"></use>
14
+ </mask>
15
+ <g id="Clip-2"></g>
16
+ <path d="M14.4529846,6.10640608 L15.0334595,4.58631922 C18.3648809,6.07166124 20.6783679,9.32899023 20.6783679,13.1153094 L19.0378953,13.1153094 C19.0219112,10.0238871 17.1534549,7.3485342 14.4529846,6.10640608 L14.4529846,6.10640608 Z M16.5393293,13.1153094 C16.5225039,11.0662324 15.3279033,9.29424539 13.5696532,8.39956569 L13.9743031,7.3485342 C16.1607587,8.40738328 17.6666284,10.5876221 17.6750411,13.1153094 L16.5393293,13.1153094 Z M15.4709189,3.37806732 C15.4709189,3.37806732 16.5317579,0.868621064 16.4720278,0.815635179 C16.4131391,0.764386536 14.0416045,2.31053203 14.0416045,2.31053203 C14.0416045,2.31053203 11.1215632,0 11.0121984,0 C10.8531987,0 8.37902948,2.10988056 8.37902948,2.10988056 C8.37902948,2.10988056 5.73828917,0.13897937 5.67855914,0.208469055 C5.60284502,0.286644951 6.52823984,3.37806732 6.52823984,3.37806732 C4.60173607,4.23018458 2.97051738,5.55830619 1.8255516,7.23561346 C0.673014416,8.9111835 0,10.9359392 0,13.1422367 C0,19.135722 4.93067187,24 11.0037857,24 C17.2796451,24 22,19.135722 22,13.1422367 C22,8.72095548 19.3155137,5.07274701 15.4709189,3.37806732 L15.4709189,3.37806732 Z" id="Fill-1" fill="#1976D2" mask="url(#mask-2)"></path>
17
+ </g>
18
+ </g>
19
+ </g>
20
+ </svg>
images/settings_nav_icons/camera_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>4B1C7D43-6A2F-4049-B01F-ECDE8363CC14</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M10,9.5 C7.791,9.5 6,11.291 6,13.5 C6,15.709 7.791,17.5 10,17.5 C12.209,17.5 14,15.709 14,13.5 C14,11.291 12.209,9.5 10,9.5 L10,9.5 Z M7,6 L7,5 C7,4.448 7.448,4 8,4 L12,4 C12.552,4 13,4.448 13,5 L13,6 L7,6 Z M13,2 L7,2 C5.895,2 5,2.895 5,4 L5,6 L2,6 C0.895,6 0,6.895 0,8 L0,16 C0,17.105 0.895,18 2,18 L3,18 C3.552,18 4,17.552 4,17 C4,16.448 3.552,16 3,16 C2.448,16 2,15.552 2,15 L2,9 C2,8.448 2.448,8 3,8 L17,8 C17.552,8 18,8.448 18,9 L18,15 C18,15.552 17.552,16 17,16 C16.448,16 16,16.448 16,17 C16,17.552 16.448,18 17,18 L18,18 C19.105,18 20,17.105 20,16 L20,6 L19,6 L19,5 C19,4.448 18.552,4 18,4 C17.448,4 17,4.448 17,5 L17,6 L15,6 L15,4 C15,2.895 14.105,2 13,2 L13,2 Z M10,11.5 C11.103,11.5 12,12.397 12,13.5 C12,14.603 11.103,15.5 10,15.5 C8.897,15.5 8,14.603 8,13.5 C8,12.397 8.897,11.5 10,11.5 L10,11.5 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/camera-[#962]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="camera-[#962]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/camera_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>4B1C7D43-6A2F-4049-B01F-ECDE8363CC14</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M10,9.5 C7.791,9.5 6,11.291 6,13.5 C6,15.709 7.791,17.5 10,17.5 C12.209,17.5 14,15.709 14,13.5 C14,11.291 12.209,9.5 10,9.5 L10,9.5 Z M7,6 L7,5 C7,4.448 7.448,4 8,4 L12,4 C12.552,4 13,4.448 13,5 L13,6 L7,6 Z M13,2 L7,2 C5.895,2 5,2.895 5,4 L5,6 L2,6 C0.895,6 0,6.895 0,8 L0,16 C0,17.105 0.895,18 2,18 L3,18 C3.552,18 4,17.552 4,17 C4,16.448 3.552,16 3,16 C2.448,16 2,15.552 2,15 L2,9 C2,8.448 2.448,8 3,8 L17,8 C17.552,8 18,8.448 18,9 L18,15 C18,15.552 17.552,16 17,16 C16.448,16 16,16.448 16,17 C16,17.552 16.448,18 17,18 L18,18 C19.105,18 20,17.105 20,16 L20,6 L19,6 L19,5 C19,4.448 18.552,4 18,4 C17.448,4 17,4.448 17,5 L17,6 L15,6 L15,4 C15,2.895 14.105,2 13,2 L13,2 Z M10,11.5 C11.103,11.5 12,12.397 12,13.5 C12,14.603 11.103,15.5 10,15.5 C8.897,15.5 8,14.603 8,13.5 C8,12.397 8.897,11.5 10,11.5 L10,11.5 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/camera-[#962]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="camera-[#962]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/connection_pattern_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>4892BFF8-D917-47C7-ACEC-914413BD705F</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M17,18 C16.449,18 16,17.551 16,17 C16,16.449 16.449,16 17,16 C17.551,16 18,16.449 18,17 C18,17.551 17.551,18 17,18 M7.245,11.341 C5.671,8.707 8.672,5.65 11.341,7.245 C12.297,7.817 12.813,8.84 12.813,9.812 C12.813,12.782 8.827,13.987 7.245,11.341 M3,18 C2.449,18 2,17.551 2,17 C2,16.449 2.449,16 3,16 C3.551,16 4,16.449 4,17 C4,17.551 3.551,18 3,18 M3,4 C2.449,4 2,3.551 2,3 C2,2.449 2.449,2 3,2 C3.551,2 4,2.449 4,3 C4,3.551 3.551,4 3,4 M17,2 C17.551,2 18,2.449 18,3 C18,3.551 17.551,4 17,4 C16.449,4 16,3.551 16,3 C16,2.449 16.449,2 17,2 M17,14 C16.538,14 16.105,14.113 15.714,14.3 L13.981,12.567 C14.971,11.071 15.152,9.076 14.113,7.301 L15.714,5.7 C16.105,5.887 16.538,6 17,6 C18.657,6 20,4.657 20,3 C20,1.343 18.657,0 17,0 C15.343,0 14,1.343 14,3 C14,3.462 14.113,3.895 14.3,4.286 L12.779,5.807 C11.01,4.495 8.753,4.522 7.058,5.644 L5.7,4.286 C5.887,3.895 6,3.462 6,3 C6,1.343 4.657,0 3,0 C1.343,0 0,1.343 0,3 C0,4.657 1.343,6 3,6 C3.462,6 3.895,5.887 4.286,5.7 L5.644,7.058 C4.522,8.752 4.494,11.01 5.807,12.779 L4.286,14.3 C3.895,14.113 3.462,14 3,14 C1.343,14 0,15.343 0,17 C0,18.657 1.343,20 3,20 C4.657,20 6,18.657 6,17 C6,16.538 5.887,16.105 5.7,15.714 L7.301,14.113 C9.069,15.148 11.065,14.975 12.567,13.981 L14.3,15.714 C14.113,16.105 14,16.538 14,17 C14,18.657 15.343,20 17,20 C18.657,20 20,18.657 20,17 C20,15.343 18.657,14 17,14" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/connection_pattern-[#1105]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="connection_pattern-[#1105]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/connection_pattern_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>4892BFF8-D917-47C7-ACEC-914413BD705F</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M17,18 C16.449,18 16,17.551 16,17 C16,16.449 16.449,16 17,16 C17.551,16 18,16.449 18,17 C18,17.551 17.551,18 17,18 M7.245,11.341 C5.671,8.707 8.672,5.65 11.341,7.245 C12.297,7.817 12.813,8.84 12.813,9.812 C12.813,12.782 8.827,13.987 7.245,11.341 M3,18 C2.449,18 2,17.551 2,17 C2,16.449 2.449,16 3,16 C3.551,16 4,16.449 4,17 C4,17.551 3.551,18 3,18 M3,4 C2.449,4 2,3.551 2,3 C2,2.449 2.449,2 3,2 C3.551,2 4,2.449 4,3 C4,3.551 3.551,4 3,4 M17,2 C17.551,2 18,2.449 18,3 C18,3.551 17.551,4 17,4 C16.449,4 16,3.551 16,3 C16,2.449 16.449,2 17,2 M17,14 C16.538,14 16.105,14.113 15.714,14.3 L13.981,12.567 C14.971,11.071 15.152,9.076 14.113,7.301 L15.714,5.7 C16.105,5.887 16.538,6 17,6 C18.657,6 20,4.657 20,3 C20,1.343 18.657,0 17,0 C15.343,0 14,1.343 14,3 C14,3.462 14.113,3.895 14.3,4.286 L12.779,5.807 C11.01,4.495 8.753,4.522 7.058,5.644 L5.7,4.286 C5.887,3.895 6,3.462 6,3 C6,1.343 4.657,0 3,0 C1.343,0 0,1.343 0,3 C0,4.657 1.343,6 3,6 C3.462,6 3.895,5.887 4.286,5.7 L5.644,7.058 C4.522,8.752 4.494,11.01 5.807,12.779 L4.286,14.3 C3.895,14.113 3.462,14 3,14 C1.343,14 0,15.343 0,17 C0,18.657 1.343,20 3,20 C4.657,20 6,18.657 6,17 C6,16.538 5.887,16.105 5.7,15.714 L7.301,14.113 C9.069,15.148 11.065,14.975 12.567,13.981 L14.3,15.714 C14.113,16.105 14,16.538 14,17 C14,18.657 15.343,20 17,20 C18.657,20 20,18.657 20,17 C20,15.343 18.657,14 17,14" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/connection_pattern-[#1105]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="connection_pattern-[#1105]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/desktop_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>E7397104-6E7F-4531-8DA1-355C27F94A6E</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18,3 C18,2.448 17.552,2 17,2 L3,2 C2.448,2 2,2.448 2,3 L2,13 C2,13.552 2.448,14 3,14 L17,14 C17.552,14 18,13.552 18,13 L18,3 Z M20,1.525 L20,1.528 L20,13.528 L20,13.532 C20,14.634 19.328,16 18.226,16 L12.222,16 C11.67,16 11.222,16.448 11.222,17 C11.222,17.552 11.67,18 12.222,18 L15.222,18 C15.775,18 16.222,18.448 16.222,19 C16.222,19.552 15.775,20 15.222,20 L5.222,20 C4.67,20 4.222,19.552 4.222,19 C4.222,18.448 4.67,18 5.222,18 L8.222,18 C8.775,18 9.222,17.552 9.222,17 C9.222,16.448 8.775,16 8.222,16 L2.226,16 L2.222,16 C1.118,16 0,14.633 0,13.528 L0,1.528 C0,0.424 1.118,0 2.222,0 L2.226,0 L18.226,0 C19.328,0 20,0.422 20,1.525 L20,1.525 Z M11.944,7.955 L8.853,9.872 C8.518,10.083 8,9.842 8,9.446 L8,5.611 C8,5.215 8.518,4.974 8.853,5.185 L11.985,7.102 C12.299,7.3 12.258,7.757 11.944,7.955 L11.944,7.955 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/desktop-[#231]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="desktop-[#231]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Blue/2---75%" mask="url(#mask-2)" fill="#1665D8" opacity="0.75">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Rectangle">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/desktop_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>E7397104-6E7F-4531-8DA1-355C27F94A6E</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18,3 C18,2.448 17.552,2 17,2 L3,2 C2.448,2 2,2.448 2,3 L2,13 C2,13.552 2.448,14 3,14 L17,14 C17.552,14 18,13.552 18,13 L18,3 Z M20,1.525 L20,1.528 L20,13.528 L20,13.532 C20,14.634 19.328,16 18.226,16 L12.222,16 C11.67,16 11.222,16.448 11.222,17 C11.222,17.552 11.67,18 12.222,18 L15.222,18 C15.775,18 16.222,18.448 16.222,19 C16.222,19.552 15.775,20 15.222,20 L5.222,20 C4.67,20 4.222,19.552 4.222,19 C4.222,18.448 4.67,18 5.222,18 L8.222,18 C8.775,18 9.222,17.552 9.222,17 C9.222,16.448 8.775,16 8.222,16 L2.226,16 L2.222,16 C1.118,16 0,14.633 0,13.528 L0,1.528 C0,0.424 1.118,0 2.222,0 L2.226,0 L18.226,0 C19.328,0 20,0.422 20,1.525 L20,1.525 Z M11.944,7.955 L8.853,9.872 C8.518,10.083 8,9.842 8,9.446 L8,5.611 C8,5.215 8.518,4.974 8.853,5.185 L11.985,7.102 C12.299,7.3 12.258,7.757 11.944,7.955 L11.944,7.955 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/desktop-[#231]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="desktop-[#231]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Blue/2---75%" mask="url(#mask-2)" fill="#9EA0A5" opacity="0.75">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Rectangle">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/edit_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>CF50AD3D-FDD4-46F3-93C5-19EA39996B2F</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M0,20 L19.6763245,20 L19.6763245,18.042095 L0,18.042095 L0,20 Z M6.88671356,13.1473324 L6.88671356,10.5139501 L15.3219539,2.64512971 L17.1233214,4.64317181 L9.41020217,13.1473324 L6.88671356,13.1473324 Z M20,4.64512971 L15.3760638,0 L4.91908112,9.68771415 L4.91908112,15.1052374 L10.2523489,15.1052374 L20,4.64512971 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/edit-[#1482]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="Icon/20px/edit-[#1482]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/Grey-Darker-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/edit_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>CF50AD3D-FDD4-46F3-93C5-19EA39996B2F</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M0,20 L19.6763245,20 L19.6763245,18.042095 L0,18.042095 L0,20 Z M6.88671356,13.1473324 L6.88671356,10.5139501 L15.3219539,2.64512971 L17.1233214,4.64317181 L9.41020217,13.1473324 L6.88671356,13.1473324 Z M20,4.64512971 L15.3760638,0 L4.91908112,9.68771415 L4.91908112,15.1052374 L10.2523489,15.1052374 L20,4.64512971 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/edit-[#1482]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="Icon/20px/edit-[#1482]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/Grey-Darker-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/file_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>95DB9BA9-4A95-4C67-9EE7-9FBF4AF20856</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18.0004,17 C18.0004,17.552 17.5524,18 17.0004,18 L3.0004,18 C2.4484,18 2.0004,17.552 2.0004,17 L2.0004,3 C2.0004,2.448 2.4484,2 3.0004,2 L12.0004,2 L12.0004,6 C12.0004,7.104 12.8954,8 14.0004,8 L18.0004,8 L18.0004,17 Z M19.7074,5.707 L14.2934,0.293 C14.1054,0.105 13.8514,0 13.5864,0 L2.0004,0 C0.8954,0 0.0004,0.895 0.0004,2 L0.0004,18 C0.0004,19.104 0.8954,20 2.0004,20 L18.0004,20 C19.1054,20 20.0004,19.104 20.0004,18 L20.0004,6.414 C20.0004,6.149 19.8954,5.895 19.7074,5.707 L19.7074,5.707 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/file-[#1699]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="Icon/20px/file-[#1699]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/Grey-Darker-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/file_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>95DB9BA9-4A95-4C67-9EE7-9FBF4AF20856</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18.0004,17 C18.0004,17.552 17.5524,18 17.0004,18 L3.0004,18 C2.4484,18 2.0004,17.552 2.0004,17 L2.0004,3 C2.0004,2.448 2.4484,2 3.0004,2 L12.0004,2 L12.0004,6 C12.0004,7.104 12.8954,8 14.0004,8 L18.0004,8 L18.0004,17 Z M19.7074,5.707 L14.2934,0.293 C14.1054,0.105 13.8514,0 13.5864,0 L2.0004,0 C0.8954,0 0.0004,0.895 0.0004,2 L0.0004,18 C0.0004,19.104 0.8954,20 2.0004,20 L18.0004,20 C19.1054,20 20.0004,19.104 20.0004,18 L20.0004,6.414 C20.0004,6.149 19.8954,5.895 19.7074,5.707 L19.7074,5.707 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/file-[#1699]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="Icon/20px/file-[#1699]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/Grey-Darker-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/fileboard_checklist_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>07520117-325A-4284-8C53-FE7190EB4623</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M14,15 L14,15 C14,15.552 13.552,16 13,16 L10,16 C9.448,16 9,15.552 9,15 C9,14.448 9.448,14 10,14 L13,14 C13.552,14 14,14.448 14,15 L14,15 Z M14,12 L14,12 C14,12.552 13.552,13 13,13 L10,13 C9.448,13 9,12.552 9,12 C9,11.448 9.448,11 10,11 L13,11 C13.552,11 14,11.448 14,12 L14,12 Z M14,9 C14,9.552 13.552,10 13,10 L10,10 C9.448,10 9,9.552 9,9 C9,8.448 9.448,8 10,8 L13,8 C13.552,8 14,8.448 14,9 L14,9 Z M8,15 L8,15 C8,15.552 7.552,16 7,16 C6.448,16 6,15.552 6,15 C6,14.448 6.448,14 7,14 C7.552,14 8,14.448 8,15 L8,15 Z M8,12 L8,12 C8,12.552 7.552,13 7,13 C6.448,13 6,12.552 6,12 C6,11.448 6.448,11 7,11 C7.552,11 8,11.448 8,12 L8,12 Z M8,9 C8,9.552 7.552,10 7,10 C6.448,10 6,9.552 6,9 C6,8.448 6.448,8 7,8 C7.552,8 8,8.448 8,9 L8,9 Z M15,17 C15,17.552 14.552,18 14,18 L6,18 C5.448,18 5,17.552 5,17 L5,4.5 C5,4.224 5.224,4 5.5,4 L6,4 C6,5.104 6.895,6 8,6 L12,6 C13.105,6 14,5.104 14,4 L14.5,4 C14.776,4 15,4.224 15,4.5 L15,17 Z M8,3 C8,2.448 8.448,2 9,2 L11,2 C11.552,2 12,2.448 12,3 C12,3.552 11.552,4 11,4 L9,4 C8.448,4 8,3.552 8,3 L8,3 Z M15,2 L14,2 C14,0.895 13.105,0 12,0 L8,0 C6.895,0 6,0.895 6,2 L5,2 C3.895,2 3,2.895 3,4 L3,18 C3,19.104 3.895,20 5,20 L15,20 C16.105,20 17,19.104 17,18 L17,4 C17,2.895 16.105,2 15,2 L15,2 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/fileboard_checklist-[#1595]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="fileboard_checklist-[#1595]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/fileboard_checklist_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>07520117-325A-4284-8C53-FE7190EB4623</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M14,15 L14,15 C14,15.552 13.552,16 13,16 L10,16 C9.448,16 9,15.552 9,15 C9,14.448 9.448,14 10,14 L13,14 C13.552,14 14,14.448 14,15 L14,15 Z M14,12 L14,12 C14,12.552 13.552,13 13,13 L10,13 C9.448,13 9,12.552 9,12 C9,11.448 9.448,11 10,11 L13,11 C13.552,11 14,11.448 14,12 L14,12 Z M14,9 C14,9.552 13.552,10 13,10 L10,10 C9.448,10 9,9.552 9,9 C9,8.448 9.448,8 10,8 L13,8 C13.552,8 14,8.448 14,9 L14,9 Z M8,15 L8,15 C8,15.552 7.552,16 7,16 C6.448,16 6,15.552 6,15 C6,14.448 6.448,14 7,14 C7.552,14 8,14.448 8,15 L8,15 Z M8,12 L8,12 C8,12.552 7.552,13 7,13 C6.448,13 6,12.552 6,12 C6,11.448 6.448,11 7,11 C7.552,11 8,11.448 8,12 L8,12 Z M8,9 C8,9.552 7.552,10 7,10 C6.448,10 6,9.552 6,9 C6,8.448 6.448,8 7,8 C7.552,8 8,8.448 8,9 L8,9 Z M15,17 C15,17.552 14.552,18 14,18 L6,18 C5.448,18 5,17.552 5,17 L5,4.5 C5,4.224 5.224,4 5.5,4 L6,4 C6,5.104 6.895,6 8,6 L12,6 C13.105,6 14,5.104 14,4 L14.5,4 C14.776,4 15,4.224 15,4.5 L15,17 Z M8,3 C8,2.448 8.448,2 9,2 L11,2 C11.552,2 12,2.448 12,3 C12,3.552 11.552,4 11,4 L9,4 C8.448,4 8,3.552 8,3 L8,3 Z M15,2 L14,2 C14,0.895 13.105,0 12,0 L8,0 C6.895,0 6,0.895 6,2 L5,2 C3.895,2 3,2.895 3,4 L3,18 C3,19.104 3.895,20 5,20 L15,20 C16.105,20 17,19.104 17,18 L17,4 C17,2.895 16.105,2 15,2 L15,2 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/fileboard_checklist-[#1595]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="fileboard_checklist-[#1595]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/megaphone_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>71133BAB-0B30-491B-9D2A-074642A54403</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18,14.6 L2.804,11.561 C2.336,11.467 2,11.057 2,10.58 L2,9.42 C2,8.943 2.336,8.533 2.804,8.439 L18,5.4 L18,14.6 Z M8,15.362 C8,15.995 7.419,16.469 6.798,16.341 L4.798,15.93 C4.334,15.834 4,15.425 4,14.95 L4,13.8 L8,14.6 L8,15.362 Z M18,2 L18,3.4 L1.608,6.678 C0.673,6.865 0,7.686 0,8.64 L0,11.36 C0,12.314 0.673,13.135 1.608,13.322 L2,13.4 L2,15.724 C2,16.673 2.667,17.491 3.597,17.683 L7.597,18.506 C8.838,18.761 10,17.813 10,16.547 L10,15 L18,16.6 L18,18 C18,18.552 18.448,19 19,19 C19.552,19 20,18.552 20,18 L20,2 C20,1.448 19.552,1 19,1 C18.448,1 18,1.448 18,2 L18,2 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/megaphone-[#775]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="megaphone-[#775]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/megaphone_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>71133BAB-0B30-491B-9D2A-074642A54403</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18,14.6 L2.804,11.561 C2.336,11.467 2,11.057 2,10.58 L2,9.42 C2,8.943 2.336,8.533 2.804,8.439 L18,5.4 L18,14.6 Z M8,15.362 C8,15.995 7.419,16.469 6.798,16.341 L4.798,15.93 C4.334,15.834 4,15.425 4,14.95 L4,13.8 L8,14.6 L8,15.362 Z M18,2 L18,3.4 L1.608,6.678 C0.673,6.865 0,7.686 0,8.64 L0,11.36 C0,12.314 0.673,13.135 1.608,13.322 L2,13.4 L2,15.724 C2,16.673 2.667,17.491 3.597,17.683 L7.597,18.506 C8.838,18.761 10,17.813 10,16.547 L10,15 L18,16.6 L18,18 C18,18.552 18.448,19 19,19 C19.552,19 20,18.552 20,18 L20,2 C20,1.448 19.552,1 19,1 C18.448,1 18,1.448 18,2 L18,2 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/megaphone-[#775]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="megaphone-[#775]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/option_bar_settings_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>A54B4900-DD5D-4F3E-BBAD-08EF0C67BB12</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18,4 L18,0 L16,0 L16,4 L14,4 L14,6 L16,6 L16,20 L18,20 L18,6 L20,6 L20,4 L18,4 Z M11,0 L9,0 L9,9 L7,9 L7,11 L9,11 L9,20 L11,20 L11,11 L13,11 L13,9 L11,9 L11,0 Z M4,14 L6,14 L6,16 L4,16 L4,20 L2,20 L2,16 L0,16 L0,14 L2,14 L2,0 L4,0 L4,14 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/option_bar_settings-[#1399]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="Icon/20px/option_bar_settings-[#1399]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/Grey-Darker-⚙️Atoms/Colour/Blue/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Rectangle">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/option_bar_settings_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>A54B4900-DD5D-4F3E-BBAD-08EF0C67BB12</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M18,4 L18,0 L16,0 L16,4 L14,4 L14,6 L16,6 L16,20 L18,20 L18,6 L20,6 L20,4 L18,4 Z M11,0 L9,0 L9,9 L7,9 L7,11 L9,11 L9,20 L11,20 L11,11 L13,11 L13,9 L11,9 L11,0 Z M4,14 L6,14 L6,16 L4,16 L4,20 L2,20 L2,16 L0,16 L0,14 L2,14 L2,0 L4,0 L4,14 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/option_bar_settings-[#1399]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="Icon/20px/option_bar_settings-[#1399]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/Grey-Darker-⚙️Atoms/Colour/Blue/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Rectangle">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/play_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>B79E34A1-4360-4C39-80BC-1B145C28416E</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M3.61735454,1.45408586 C2.17182954,0.651016413 1,1.34331197 1,2.99420208 L1,17.0057979 C1,18.6594501 2.18103027,19.3438721 3.61735454,18.5459141 L16.3826455,11.4540859 C17.8281705,10.6510164 17.8189697,9.34387207 16.3826455,8.54591414 L3.61735454,1.45408586 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/play-[Extra]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="play-[#1001]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/play_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>B79E34A1-4360-4C39-80BC-1B145C28416E</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M3.61735454,1.45408586 C2.17182954,0.651016413 1,1.34331197 1,2.99420208 L1,17.0057979 C1,18.6594501 2.18103027,19.3438721 3.61735454,18.5459141 L16.3826455,11.4540859 C17.8281705,10.6510164 17.8189697,9.34387207 16.3826455,8.54591414 L3.61735454,1.45408586 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/play-[Extra]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="play-[#1001]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/profile_plus_round_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>BBB09C5F-4D7C-4CC3-891C-DB38A8E7FCD6</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M20.0001371,4 C20.0001371,4.552 19.5521371,5 19.0001371,5 L17.0001371,5 L17.0001371,7 C17.0001371,7.552 16.5521371,8 16.0001371,8 C15.4481371,8 15.0001371,7.552 15.0001371,7 L15.0001371,5 L13.0001371,5 C12.4481371,5 12.0001371,4.552 12.0001371,4 C12.0001371,3.448 12.4481371,3 13.0001371,3 L15.0001371,3 L15.0001371,1 C15.0001371,0.448 15.4481371,0 16.0001371,0 C16.5521371,0 17.0001371,0.448 17.0001371,1 L17.0001371,3 L19.0001371,3 C19.5521371,3 20.0001371,3.448 20.0001371,4 M11.7401371,18 L3.6121371,18 C2.8171371,18 2.3141371,17.099 2.7721371,16.449 C3.8511371,14.92 5.6251371,13.916 7.6331371,13.902 C7.6471371,13.902 7.6611371,13.906 7.6751371,13.906 C7.6901371,13.906 7.7031371,13.902 7.7181371,13.902 C9.7271371,13.916 11.5021371,14.919 12.5801371,16.449 C13.0381371,17.099 12.5361371,18 11.7401371,18 M7.6751371,7.906 C8.7781371,7.906 9.6751371,8.803 9.6751371,9.906 C9.6751371,10.995 8.8001371,11.879 7.7181371,11.902 C7.7031371,11.902 7.6901371,11.9 7.6751371,11.9 C7.6611371,11.9 7.6471371,11.902 7.6331371,11.902 C6.5501371,11.879 5.6751371,10.995 5.6751371,9.906 C5.6751371,8.803 6.5731371,7.906 7.6751371,7.906 M10.7011371,12.495 C11.5311371,11.527 11.9311371,10.18 11.5001371,8.724 C11.1031371,7.38 9.9731371,6.319 8.6061371,6.011 C5.9921371,5.422 3.6751371,7.393 3.6751371,9.906 C3.6751371,10.899 4.0501371,11.796 4.6491371,12.495 C2.5201371,13.365 0.848137101,15.181 0.101137101,17.4 C-0.328862899,18.68 0.669137101,20 2.0191371,20 L13.3311371,20 C14.6811371,20 15.6801371,18.68 15.2491371,17.4 C14.5021371,15.181 12.8311371,13.365 10.7011371,12.495" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/profile_plus_round-[#1324]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="profile_plus_round-[#1324]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/profile_plus_round_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>BBB09C5F-4D7C-4CC3-891C-DB38A8E7FCD6</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M20.0001371,4 C20.0001371,4.552 19.5521371,5 19.0001371,5 L17.0001371,5 L17.0001371,7 C17.0001371,7.552 16.5521371,8 16.0001371,8 C15.4481371,8 15.0001371,7.552 15.0001371,7 L15.0001371,5 L13.0001371,5 C12.4481371,5 12.0001371,4.552 12.0001371,4 C12.0001371,3.448 12.4481371,3 13.0001371,3 L15.0001371,3 L15.0001371,1 C15.0001371,0.448 15.4481371,0 16.0001371,0 C16.5521371,0 17.0001371,0.448 17.0001371,1 L17.0001371,3 L19.0001371,3 C19.5521371,3 20.0001371,3.448 20.0001371,4 M11.7401371,18 L3.6121371,18 C2.8171371,18 2.3141371,17.099 2.7721371,16.449 C3.8511371,14.92 5.6251371,13.916 7.6331371,13.902 C7.6471371,13.902 7.6611371,13.906 7.6751371,13.906 C7.6901371,13.906 7.7031371,13.902 7.7181371,13.902 C9.7271371,13.916 11.5021371,14.919 12.5801371,16.449 C13.0381371,17.099 12.5361371,18 11.7401371,18 M7.6751371,7.906 C8.7781371,7.906 9.6751371,8.803 9.6751371,9.906 C9.6751371,10.995 8.8001371,11.879 7.7181371,11.902 C7.7031371,11.902 7.6901371,11.9 7.6751371,11.9 C7.6611371,11.9 7.6471371,11.902 7.6331371,11.902 C6.5501371,11.879 5.6751371,10.995 5.6751371,9.906 C5.6751371,8.803 6.5731371,7.906 7.6751371,7.906 M10.7011371,12.495 C11.5311371,11.527 11.9311371,10.18 11.5001371,8.724 C11.1031371,7.38 9.9731371,6.319 8.6061371,6.011 C5.9921371,5.422 3.6751371,7.393 3.6751371,9.906 C3.6751371,10.899 4.0501371,11.796 4.6491371,12.495 C2.5201371,13.365 0.848137101,15.181 0.101137101,17.4 C-0.328862899,18.68 0.669137101,20 2.0191371,20 L13.3311371,20 C14.6811371,20 15.6801371,18.68 15.2491371,17.4 C14.5021371,15.181 12.8311371,13.365 10.7011371,12.495" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/profile_plus_round-[#1324]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="profile_plus_round-[#1324]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/rss-symbol.svg ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>B7D21D2C-D339-4F2A-8430-376B301F3BD0</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="Destinations---All" transform="translate(-218.000000, -324.000000)" fill="#1A69DD" fill-rule="nonzero">
8
+ <g id="rss-symbol" transform="translate(218.000000, 324.000000)">
9
+ <path d="M1.71141429,6.42857143e-05 C3.20644286,6.42857143e-05 4.64573571,0.1935 6.02929286,0.580371429 C7.41285,0.967242857 8.70788571,1.51476429 9.91436786,2.22293571 C11.1209143,2.93110714 12.2192357,3.78025714 13.2094607,4.77038571 C14.1995571,5.76051429 15.0487071,6.85883571 15.7569107,8.06535 C16.4649857,9.27196071 17.0125071,10.5669643 17.399475,11.9505536 C17.7863786,13.3340786 17.9798143,14.773275 17.9798143,16.2684321 C17.9798143,16.7405464 17.8126393,17.1436821 17.478225,17.4781929 C17.1438107,17.8127036 16.7405786,17.97975 16.2684643,17.97975 C15.7963179,17.97975 15.3930857,17.8126393 15.058575,17.4781929 C14.724225,17.1437786 14.5570179,16.7405464 14.5570179,16.2684321 C14.5570179,15.08805 14.4028929,13.95045 14.0947071,12.8553107 C13.7865214,11.7603964 13.3536536,10.7373857 12.7962964,9.7866 C12.2389393,8.83578214 11.5702071,7.97023929 10.7898107,7.18993929 C10.0094786,6.40963929 9.144,5.74081071 8.19318214,5.18345357 C7.24239643,4.62609643 6.21948214,4.193325 5.12443929,3.88513929 C4.02939643,3.57695357 2.89173214,3.42286071 1.71144643,3.42286071 C1.23933214,3.42286071 0.836067857,3.25565357 0.501653571,2.92123929 C0.167239286,2.586825 3.21428571e-05,2.18356071 3.21428571e-05,1.71144643 C3.21428571e-05,1.23933214 0.167239286,0.836067857 0.501653571,0.501653571 C0.836035714,0.167271429 1.2393,6.42857143e-05 1.71141429,6.42857143e-05 Z M1.71141429,6.47196429 C3.06218571,6.47196429 4.33099286,6.73097143 5.51783571,7.24898571 C6.70467857,7.767 7.74070714,8.46861429 8.62592143,9.35382857 C9.51116786,10.239075 10.2127821,11.2750393 10.7307643,12.4618179 C11.2488107,13.6487893 11.5077857,14.9174679 11.5077857,16.2683679 C11.5077857,16.7404821 11.3406107,17.1436179 11.0062286,17.4781286 C10.6718143,17.8125429 10.2685821,17.9796857 9.79633929,17.9796857 C9.324225,17.9796857 8.92099286,17.812575 8.58657857,17.4781286 C8.25216429,17.1437143 8.08495714,16.7404821 8.08495714,16.2683679 C8.08495714,15.3896464 7.91775,14.5634786 7.58333571,13.7897357 C7.24892143,13.0159929 6.7932,12.3406071 6.21617143,11.7636107 C5.63914286,11.18655 4.96375714,10.7308286 4.19001429,10.3964143 C3.41627143,10.0620643 2.59007143,9.89485714 1.71141429,9.89485714 C1.2393,9.89485714 0.836035714,9.72768214 0.501621429,9.39326786 C0.167207143,9.05882143 0,8.65555714 0,8.18344286 C0,7.71132857 0.167207143,7.30806429 0.501621429,6.97365 C0.836035714,6.63917143 1.2393,6.47196429 1.71141429,6.47196429 Z M4.85884286,15.461775 C4.85884286,15.8027786 4.79655,16.1174893 4.67196429,16.4060357 C4.54737857,16.6946464 4.37689286,16.947 4.16050714,17.1634179 C3.94412143,17.3797071 3.68839286,17.5502571 3.39332143,17.674875 C3.09825,17.7994286 2.78678571,17.8616571 2.45892857,17.8616571 C2.11795714,17.8616571 1.80321429,17.7993643 1.5147,17.674875 C1.22618571,17.5503214 0.973735714,17.379675 0.75735,17.1634179 C0.540964286,16.9470321 0.370478571,16.6945821 0.245892857,16.4060357 C0.121307143,16.1174893 0.0590142857,15.8027786 0.0590142857,15.461775 C0.0590142857,15.1340143 0.121307143,14.8224857 0.245892857,14.5275107 C0.370478571,14.2323107 0.540964286,13.9766143 0.75735,13.7602929 C0.973735714,13.5439071 1.22618571,13.3734536 1.5147,13.2488357 C1.80321429,13.1242821 2.11795714,13.0619571 2.45892857,13.0619571 C2.78678571,13.0619571 3.09825,13.1242821 3.39332143,13.2488357 C3.68839286,13.3734536 3.94412143,13.5439071 4.16050714,13.7602929 C4.37689286,13.9766143 4.54737857,14.2324071 4.67196429,14.5275107 C4.79655,14.8225179 4.85884286,15.13395 4.85884286,15.461775 Z" id="Shape"></path>
10
+ </g>
11
+ </g>
12
+ </g>
13
+ </svg>
images/settings_nav_icons/star_favorite_blue.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>A1B55653-3EA7-4F7E-A5FC-FC76AFC409C2</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M15.0343079,10.404 C14.0383079,11.416 13.5833079,12.872 13.8193079,14.301 L14.2563079,16.957 L11.9663079,15.703 C11.3623079,15.372 10.6823079,15.197 10.0003079,15.197 C9.31730786,15.197 8.63730786,15.372 8.03330786,15.703 L5.74330786,16.957 L6.18130786,14.301 C6.41630786,12.872 5.96130786,11.416 4.96530786,10.404 L3.11330786,8.523 L5.67330786,8.135 C7.05030786,7.927 8.23930786,7.027 8.85530786,5.727 L10.0003079,3.31 L11.1453079,5.727 C11.7603079,7.027 12.9503079,7.927 14.3263079,8.135 L16.8873079,8.523 L15.0343079,10.404 Z M19.4513079,9.433 C20.5253079,8.342 19.9333079,6.441 18.4483079,6.216 L14.6743079,5.645 C14.0843079,5.556 13.5743079,5.17 13.3113079,4.613 L11.6233079,1.051 C11.2913079,0.35 10.6453079,0 10.0003079,0 C9.35430786,0 8.70830786,0.35 8.37630786,1.051 L6.68930786,4.613 C6.42530786,5.17 5.91530786,5.556 5.32630786,5.645 L1.55230786,6.216 C0.067307856,6.441 -0.525692144,8.342 0.548307856,9.433 L3.27930786,12.206 C3.70630786,12.639 3.90130786,13.263 3.80030786,13.875 L3.15530786,17.791 C2.95430786,19.01 3.88430786,20 4.93930786,20 C5.21730786,20 5.50530786,19.931 5.78230786,19.779 L9.15730786,17.93 C9.42130786,17.786 9.71030786,17.713 10.0003079,17.713 C10.2893079,17.713 10.5783079,17.786 10.8423079,17.93 L14.2183079,19.779 C14.4953079,19.931 14.7823079,20 15.0603079,20 C16.1153079,20 17.0453079,19.01 16.8443079,17.791 L16.2003079,13.875 C16.0993079,13.263 16.2933079,12.639 16.7203079,12.206 L19.4513079,9.433 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/star_favorite-[#1498]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="star_favorite-[#1498]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#1665D8">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/settings_nav_icons/star_favorite_gray.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: sketchtool 61.2 (101010) - https://sketch.com -->
4
+ <title>A1B55653-3EA7-4F7E-A5FC-FC76AFC409C2</title>
5
+ <desc>Created with sketchtool.</desc>
6
+ <defs>
7
+ <path d="M15.0343079,10.404 C14.0383079,11.416 13.5833079,12.872 13.8193079,14.301 L14.2563079,16.957 L11.9663079,15.703 C11.3623079,15.372 10.6823079,15.197 10.0003079,15.197 C9.31730786,15.197 8.63730786,15.372 8.03330786,15.703 L5.74330786,16.957 L6.18130786,14.301 C6.41630786,12.872 5.96130786,11.416 4.96530786,10.404 L3.11330786,8.523 L5.67330786,8.135 C7.05030786,7.927 8.23930786,7.027 8.85530786,5.727 L10.0003079,3.31 L11.1453079,5.727 C11.7603079,7.027 12.9503079,7.927 14.3263079,8.135 L16.8873079,8.523 L15.0343079,10.404 Z M19.4513079,9.433 C20.5253079,8.342 19.9333079,6.441 18.4483079,6.216 L14.6743079,5.645 C14.0843079,5.556 13.5743079,5.17 13.3113079,4.613 L11.6233079,1.051 C11.2913079,0.35 10.6453079,0 10.0003079,0 C9.35430786,0 8.70830786,0.35 8.37630786,1.051 L6.68930786,4.613 C6.42530786,5.17 5.91530786,5.556 5.32630786,5.645 L1.55230786,6.216 C0.067307856,6.441 -0.525692144,8.342 0.548307856,9.433 L3.27930786,12.206 C3.70630786,12.639 3.90130786,13.263 3.80030786,13.875 L3.15530786,17.791 C2.95430786,19.01 3.88430786,20 4.93930786,20 C5.21730786,20 5.50530786,19.931 5.78230786,19.779 L9.15730786,17.93 C9.42130786,17.786 9.71030786,17.713 10.0003079,17.713 C10.2893079,17.713 10.5783079,17.786 10.8423079,17.93 L14.2183079,19.779 C14.4953079,19.931 14.7823079,20 15.0603079,20 C16.1153079,20 17.0453079,19.01 16.8443079,17.791 L16.2003079,13.875 C16.0993079,13.263 16.2933079,12.639 16.7203079,12.206 L19.4513079,9.433 Z" id="path-1"></path>
8
+ </defs>
9
+ <g id="Asset-Artboard-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="Icon-Icon/20px/star_favorite-[#1498]">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <use id="star_favorite-[#1498]" fill-opacity="0" fill="#FFFFFF" xlink:href="#path-1"></use>
15
+ <g id="⚙️Atoms/Colour/White-⚙️Atoms/Colour/Grey-Darker/1---100%" mask="url(#mask-2)" fill="#9EA0A5">
16
+ <g transform="translate(-1.000000, -1.000000)" id="Colour">
17
+ <rect x="0" y="0" width="22" height="22"></rect>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
images/status_complete.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="29.467" height="32" viewBox="0 0 29.467 32"><defs><style>.a{fill:#adda12;}.b{fill:none;}.c{fill:#444;}</style></defs><g transform="translate(3.451 10.353)"><path class="a" d="M7796.551,175.979h-14.472V175.9a6.593,6.593,0,0,1-5.789-6.548V158.772a2.174,2.174,0,0,1,.506-4.287h2.7v-7.9a2.17,2.17,0,1,1,4.341,0v7.9h11.071v-7.9a2.17,2.17,0,1,1,4.341,0v7.9h2.658a2.181,2.181,0,0,1,2.188,2.171,2.233,2.233,0,0,1-.633,1.538,2.09,2.09,0,0,1-1.031.579v10.582a6.59,6.59,0,0,1-5.877,6.566Z" transform="translate(-7778.077 -154.762)"/><path class="b" d="M0,0H21.647V21.647H0Z"/><path class="c" d="M8.451,13.161,5.663,10.373,3.4,12.635l5.051,5.051L19.275,6.863,17.012,4.6Z" transform="translate(-0.333 -0.549)"/></g></svg>
images/status_incomplete.svg ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 720 720" style="enable-background:new 0 0 720 720;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#CA1818;}
7
+ .st1{fill:none;stroke:#FFFFFF;stroke-width:68.7886;}
8
+ </style>
9
+ <g id="Group_229_1_" transform="translate(7.923 14.434)">
10
+ <path id="Path_68_1_" class="st0" d="M517.6,705.6H183.8v-2.3c-75.4-9.1-132.6-73.1-132.6-148.6V312.4
11
+ c-27.4-6.9-43.4-34.3-36.6-59.4c4.6-22.9,25.1-38.9,48-38.9h61.7V35.9c0-27.4,22.9-50.3,50.3-50.3S225,8.4,225,35.9v180.6h253.7
12
+ V35.9c0-27.4,22.9-50.3,50.3-50.3c27.4,0,50.3,22.9,50.3,50.3v180.6H641c27.4,0,50.3,22.9,50.3,50.3c0,13.7-4.6,25.1-13.7,34.3
13
+ c-6.9,6.9-13.7,11.4-22.9,13.7V557C652.4,632.4,593,696.4,517.6,705.6L517.6,705.6z"/>
14
+ <line id="Line_23_1_" class="st1" x1="195.3" y1="314.7" x2="499.3" y2="618.7"/>
15
+ <line id="Line_24_1_" class="st1" x1="499.3" y1="314.7" x2="195.3" y2="618.7"/>
16
+ </g>
17
+ </svg>
js/admin.js CHANGED
@@ -8,30 +8,33 @@ var verify_interval = false;
8
 
9
  function powerpress_openTab(evt, cityName) {
10
  // Declare all variables
11
- var i, tabcontent, tablinks;
12
 
13
  let feed_slug = event.currentTarget.id.substring(1);
14
  evt.preventDefault();
15
 
 
 
 
 
16
  // Get all elements with class="pp-tabcontent" and hide them
17
- tabcontent = document.getElementsByClassName("pp-tabcontent");
18
- for (i = 0; i < tabcontent.length; i++) {
19
- if (tabcontent[i].id.endsWith(feed_slug)) {
20
- tabcontent[i].style.display = "none";
21
- }
22
- }
23
 
24
  // Get all elements with class="tablinks" and remove the class "active"
25
- tablinks = document.getElementsByClassName("tablinks");
26
- for (i = 0; i < tablinks.length; i++) {
27
- if (tablinks[i].id.endsWith(feed_slug)) {
28
- tablinks[i].className = tablinks[i].className.replace(" active", "");
29
- }
30
- }
31
 
32
  // Show the current tab, and add an "active" class to the button that opened the tab
33
- document.getElementById(cityName).style.display = "block";
34
- evt.currentTarget.className += " active";
 
35
 
36
  //Set/unset the interval for updating artwork previews
37
  if (cityName == 'artwork-' + feed_slug) {
@@ -48,6 +51,98 @@ function powerpress_openTab(evt, cityName) {
48
  clearInterval(interval);
49
  interval = false;
50
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
 
53
  //Controls the three-way explicit setting switch
8
 
9
  function powerpress_openTab(evt, cityName) {
10
  // Declare all variables
11
+ var tabcontent, tablinks;
12
 
13
  let feed_slug = event.currentTarget.id.substring(1);
14
  evt.preventDefault();
15
 
16
+ let desired_tab = jQuery("#" + event.currentTarget.id);
17
+ let id = "#" + cityName;
18
+ let desired_tab_contents = jQuery(id);
19
+
20
  // Get all elements with class="pp-tabcontent" and hide them
21
+ tabcontent = jQuery('.pp-tabcontent');
22
+ tabcontent.each(function(index, element) {
23
+ //jQuery(this).css("display", "none");
24
+ jQuery(this).attr("class", "pp-tabcontent has-sidenav");
25
+ });
 
26
 
27
  // Get all elements with class="tablinks" and remove the class "active"
28
+ //tablinks = document.getElementsByClassName("tablinks");
29
+ tablinks = jQuery(".tablinks");
30
+ tablinks.each(function(index, element) {
31
+ jQuery(this).attr("class", "tablinks");
32
+ });
 
33
 
34
  // Show the current tab, and add an "active" class to the button that opened the tab
35
+ //desired_tab_contents.css("display", "block");
36
+ desired_tab_contents.attr("class", "pp-tabcontent has-sidenav active");
37
+ desired_tab.attr("class", "tablinks active");
38
 
39
  //Set/unset the interval for updating artwork previews
40
  if (cityName == 'artwork-' + feed_slug) {
51
  clearInterval(interval);
52
  interval = false;
53
  }
54
+
55
+ //In Settings tabs, need to set the sidenav
56
+ if (cityName.includes("settings")) {
57
+ let settingsTab = cityName.replace("settings-", "");
58
+ switch(settingsTab) {
59
+ case "welcome":
60
+ document.getElementById("welcome-default-open").click();
61
+ break;
62
+ case "feeds":
63
+ document.getElementById("feeds-default-open").click();
64
+ break;
65
+ case "website":
66
+ document.getElementById("website-default-open").click();
67
+ break;
68
+ case "destinations":
69
+ document.getElementById("destinations-default-open").click();
70
+ break;
71
+ case "analytics":
72
+
73
+ break;
74
+ case "advanced":
75
+ document.getElementById("advanced-default-open").click();
76
+ break;
77
+ case "other":
78
+ document.getElementById("other-default-open").click();
79
+ break;
80
+ default:
81
+ break;
82
+ }
83
+ }
84
+ }
85
+
86
+ function sideNav(evt, cityName) {
87
+ // Declare all variables
88
+ var i, tabcontent, tablinks, tabs;
89
+ let target;
90
+ evt.preventDefault();
91
+
92
+ if (event.currentTarget.id == "pp-welcome-artwork-link") {
93
+ target = document.getElementById("feeds-artwork-tab");
94
+ } else if(event.currentTarget.id == "pp-welcome-applesubmit-link"){
95
+ target = document.getElementById("destinations-apple-tab");
96
+ } else if(event.currentTarget.id == "advanced-tab-seo-link"){
97
+ target = document.getElementById("feeds-seo-tab");
98
+ }
99
+ else {
100
+ target = event.currentTarget;
101
+ }
102
+ let desired_tab = jQuery("#" + target.id);
103
+ let id = "#" + cityName;
104
+ let desired_tab_contents = jQuery(id);
105
+
106
+ let icon = target.firstElementChild;
107
+
108
+ // Get all elements with class="pp-tabcontent" and hide them
109
+ //tabcontent = document.getElementsByClassName("pp-sidenav-tab");
110
+ tabcontent = jQuery(".pp-sidenav-tab");
111
+ //for (i = 0; i < tabcontent.length; i++) {
112
+ tabcontent.each(function(index, element) {
113
+ //jQuery(this).css("display", "none");
114
+ jQuery(this).attr("class", "pp-sidenav-tab");
115
+ });
116
+
117
+ // Get all elements with class="tablinks" and remove the class "active"
118
+ tabs = jQuery(".pp-sidenav-tablinks");
119
+ tabs.each(function(index, element) {
120
+ jQuery(this).attr("class", "pp-sidenav-tablinks");
121
+ });
122
+
123
+ tablinks = document.getElementsByClassName("pp-sidenav-tablinks");
124
+ if (!cityName.includes("destinations")) {
125
+ for (i = 0; i < tablinks.length; i++) {
126
+ //Set any icons that are blue back to gray
127
+ let img_file = tablinks[i].firstElementChild.getAttribute("src");
128
+ if (img_file && img_file.includes("blue")) {
129
+ let new_img_file = img_file.replace("blue", "gray");
130
+ tablinks[i].firstElementChild.setAttribute("src", new_img_file);
131
+ }
132
+ }
133
+
134
+ if (cityName != "feeds-apple") {
135
+ //Set the selected icon to blue
136
+ let img_file = icon.getAttribute("src");
137
+ let new_img_file = img_file.replace("gray", "blue");
138
+ icon.setAttribute("src", new_img_file);
139
+ }
140
+ }
141
+
142
+ // Show the current tab, and add an "active" class to the button that opened the tab
143
+ //desired_tab_contents.css("display", "inline-block");
144
+ desired_tab_contents.attr("class", "pp-sidenav-tab active");
145
+ desired_tab.attr("class", "pp-sidenav-tablinks active");
146
  }
147
 
148
  //Controls the three-way explicit setting switch
powerpress-subscribe.php CHANGED
@@ -129,15 +129,37 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
129
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
130
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
131
  $Settings['image_url'] = $Settings['itunes_image'];
132
- $Settings['subscribe_feature_rss'] = (!empty($GeneralSettings['subscribe_feature_rss']) || !isset($GeneralSettings['subscribe_feature_rss']) );
133
- $Settings['subscribe_feature_email'] = (!empty($GeneralSettings['subscribe_feature_email']) );
134
- $Settings['subscribe_feature_gp'] = (!empty($GeneralSettings['subscribe_feature_gp']) );
135
- $Settings['subscribe_feature_stitcher'] = (!empty($GeneralSettings['subscribe_feature_stitcher']) );
136
- $Settings['subscribe_feature_tunein'] = (!empty($GeneralSettings['subscribe_feature_tunein']) );
137
- $Settings['subscribe_feature_spotify'] = (!empty($GeneralSettings['subscribe_feature_spotify']) );
138
- $Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
139
- $Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
140
- $Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
142
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
143
  } else {
@@ -177,15 +199,37 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
177
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
178
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
179
  $Settings['image_url'] = $Settings['itunes_image'];
180
- $Settings['subscribe_feature_rss'] = (!empty($GeneralSettings['subscribe_feature_rss']) || !isset($GeneralSettings['subscribe_feature_rss']) );
181
- $Settings['subscribe_feature_email'] = (!empty($GeneralSettings['subscribe_feature_email']) );
182
- $Settings['subscribe_feature_gp'] = (!empty($GeneralSettings['subscribe_feature_gp']) );
183
- $Settings['subscribe_feature_stitcher'] = (!empty($GeneralSettings['subscribe_feature_stitcher']) );
184
- $Settings['subscribe_feature_tunein'] = (!empty($GeneralSettings['subscribe_feature_tunein']) );
185
- $Settings['subscribe_feature_spotify'] = (!empty($GeneralSettings['subscribe_feature_spotify']) );
186
- $Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
187
- $Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
188
- $Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
190
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
191
  } else {
@@ -235,15 +279,37 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
235
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
236
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
237
  $Settings['image_url'] = $Settings['itunes_image'];
238
- $Settings['subscribe_feature_rss'] = (!empty($GeneralSettings['subscribe_feature_rss']) || !isset($GeneralSettings['subscribe_feature_rss']) );
239
- $Settings['subscribe_feature_email'] = (!empty($GeneralSettings['subscribe_feature_email']) );
240
- $Settings['subscribe_feature_gp'] = (!empty($GeneralSettings['subscribe_feature_gp']) );
241
- $Settings['subscribe_feature_stitcher'] = (!empty($GeneralSettings['subscribe_feature_stitcher']) );
242
- $Settings['subscribe_feature_tunein'] = (!empty($GeneralSettings['subscribe_feature_tunein']) );
243
- $Settings['subscribe_feature_spotify'] = (!empty($GeneralSettings['subscribe_feature_spotify']) );
244
- $Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
245
- $Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
246
- $Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
248
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
249
  } else {
@@ -277,15 +343,37 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
277
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
278
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
279
  $Settings['image_url'] = $Settings['itunes_image'];
280
- $Settings['subscribe_feature_rss'] = (!empty($GeneralSettings['subscribe_feature_rss']) || !isset($GeneralSettings['subscribe_feature_rss']) );
281
- $Settings['subscribe_feature_email'] = (!empty($GeneralSettings['subscribe_feature_email']) );
282
- $Settings['subscribe_feature_gp'] = (!empty($GeneralSettings['subscribe_feature_gp']) );
283
- $Settings['subscribe_feature_stitcher'] = (!empty($GeneralSettings['subscribe_feature_stitcher']) );
284
- $Settings['subscribe_feature_tunein'] = (!empty($GeneralSettings['subscribe_feature_tunein']) );
285
- $Settings['subscribe_feature_spotify'] = (!empty($GeneralSettings['subscribe_feature_spotify']) );
286
- $Settings['subscribe_feature_iheart'] = (!empty($GeneralSettings['subscribe_feature_iheart']) );
287
- $Settings['subscribe_feature_deezer'] = (!empty($GeneralSettings['subscribe_feature_deezer']) );
288
- $Settings['subscribe_feature_pandora'] = (!empty($GeneralSettings['subscribe_feature_pandora']) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
290
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
291
  } else {
@@ -301,6 +389,28 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
301
  $Settings['subscribe_feature_iheart'] = false;
302
  $Settings['subscribe_feature_deezer'] = false;
303
  $Settings['subscribe_feature_pandora'] = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  }
305
 
306
  return $Settings;
@@ -379,6 +489,12 @@ function powerpressplayer_link_subscribe_pre($content, $media_url, $ExtraData =
379
  $SubscribeSettings['spotify_url'] = trim($SubscribeSettings['spotify_url']);
380
  $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['spotify_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_spotify\" title=\"". __('Subscribe on Spotify', 'powerpress') ."\" rel=\"nofollow\">". __('Spotify','powerpress') ."</a>".PHP_EOL_WEB;
381
  }
 
 
 
 
 
 
382
 
383
  if( !empty($SubscribeSettings['subscribe_feature_rss']) ) {
384
  $links_array[] = "<a href=\"". htmlspecialchars($feed_url) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_rss\" title=\"". __('Subscribe via RSS', 'powerpress') ."\" rel=\"nofollow\">". __('RSS','powerpress') ."</a>".PHP_EOL_WEB;
@@ -679,56 +795,63 @@ function powerpress_do_subscribe_widget($settings, $PowerPressSettings)
679
 
680
  // Google Podcasts
681
  $googleUrl = '';
682
- if( !empty($settings['google_url']) )
683
  $googleUrl = $settings['google_url'];
684
  else
685
  $googleUrl = 'https://www.google.com/podcasts?feed='. powerpress_base64_encode($settings['feed_url']);
686
  $html .= '<a href="'. esc_url( $googleUrl ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-gp" title="'. esc_attr( __('Subscribe on Google Podcasts', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Google Podcasts', 'powerpress') ) .'</a>';
687
 
688
- if( !empty($settings['spotify_url']) )
689
  {
690
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Spotify', 'powerpress') ) .'</a>';
691
  }
692
 
693
- if( !empty($settings['tunein_url']) )
694
  {
695
  $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('TuneIn', 'powerpress') ) .'</a>';
696
  }
697
-
698
- if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
699
  $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
700
  $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Android', 'powerpress') ) .'</a>';
701
  }
702
 
703
- if( !empty($settings['stitcher_url']) )
704
  {
705
  $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Stitcher', 'powerpress') ) .'</a>';
706
  }
707
 
708
- if( !empty($settings['iheart_url']) ) {
 
 
 
 
 
 
709
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('iHeartRadio', 'powerpress') ) .'</a>';
710
  }
711
 
712
- if( !empty($settings['pandora_url']) ) {
713
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Pandora', 'powerpress') ) .'</a>';
714
  }
715
 
716
- if( !empty($settings['deezer_url']) ) {
 
717
  $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Deezer', 'powerpress') ) .'</a>';
718
  }
719
 
720
  //TODO Radio.com goes here
721
 
722
- if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches )) {
 
723
  $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
724
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('by Email', 'powerpress') ) .'</a>';
725
  }
726
 
727
  //$html .= var_dump($settings, true);
728
 
729
- if( !empty($settings['subscribe_feature_rss']) ) {
730
- $html .= '<a href="'. esc_url( $settings['feed_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-rss" title="'. esc_attr( __('Subscribe via RSS', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('RSS', 'powerpress') ) .'</a>';
731
- }
732
 
733
  $html .= '</div>';
734
  $html .= '</div>';
@@ -786,7 +909,7 @@ function powerpress_do_subscribe_sidebar_widget($settings)
786
  $html .= '<a href="'. esc_url( $settings['itunes_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Apple Podcasts', 'powerpress') ) .'</span></a>';
787
  }
788
 
789
- if( !empty($settings['subscribe_feature_gp']) ) {
790
  $googleUrl = '';
791
  if( !empty($settings['google_url']) )
792
  $gp_url = $settings['google_url'];
@@ -796,53 +919,57 @@ function powerpress_do_subscribe_sidebar_widget($settings)
796
  $html .= '<a href="'. esc_url( $gp_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-gp" title="'. esc_attr( __('Subscribe on Google Podcasts', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Google Podcasts', 'powerpress') ) .'</span></a>';
797
  }
798
 
799
- if( !empty($settings['subscribe_feature_spotify']) && !empty($settings['spotify_url']) ) {
800
  $settings['spotify_url'] = trim($settings['spotify_url']);
801
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Spotify', 'powerpress') ) .'</span></a>';
802
  }
803
 
804
- if( !empty($settings['subscribe_feature_tunein']) && !empty($settings['tunein_url']) ) {
805
  $settings['tunein_url'] = trim($settings['tunein_url']);
806
  $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('TuneIn', 'powerpress') ) .'</span></a>';
807
  }
808
 
809
- if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
810
  $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
811
  $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Android', 'powerpress') ) .'</span></a>';
812
  }
813
 
814
- if( !empty($settings['subscribe_feature_stitcher']) && !empty($settings['stitcher_url']) ) {
815
  $settings['stitcher_url'] = trim($settings['stitcher_url']);
816
  $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Stitcher', 'powerpress') ) .'</span></a>';
817
  }
818
 
819
- if( !empty($settings['subscribe_feature_iheart']) && !empty($settings['iheart_url']) ) {
 
 
 
 
 
820
  $settings['iheart_url'] = trim($settings['iheart_url']);
821
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('iHeartRadio', 'powerpress') ) .'</span></a>';
822
  }
823
 
824
- if( !empty($settings['subscribe_feature_pandora']) && !empty($settings['pandora_url']) ) {
825
  $settings['pandora_url'] = trim($settings['pandora_url']);
826
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Pandora', 'powerpress') ) .'</span></a>';
827
  }
828
 
829
- if( !empty($settings['subscribe_feature_deezer']) && !empty($settings['deezer_url']) ) {
830
  $settings['deezer_url'] = trim($settings['deezer_url']);
831
  $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Deezer', 'powerpress') ) .'</span></a>';
832
  }
833
 
834
  //TODO Radio.com here
835
 
836
- if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
837
- if( !empty($settings['subscribe_feature_email']) ) {
838
  $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
839
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('by Email', 'powerpress') ) .'</span></a>';
840
  }
841
  }
842
 
843
- if( !empty($settings['subscribe_feature_rss']) ) {
844
- $html .= '<a href="'. esc_url( $settings['feed_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-rss" title="'. esc_attr( __('Subscribe via RSS', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('RSS', 'powerpress') ) .'</span></a>';
845
- }
846
 
847
  if( !empty($settings['subscribe_page_url']) )
848
  $html .= '<a href="'. esc_url( $settings['subscribe_page_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-more" title="'. esc_attr( __('More Subscribe Options', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('More Subscribe Options', 'powerpress') ) .'</span></a>';
129
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
130
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
131
  $Settings['image_url'] = $Settings['itunes_image'];
132
+ $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
133
+ $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
134
+ $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
135
+ $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
136
+ $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
137
+ $Settings['subscribe_feature_spotify'] = (isset($GeneralSettings['subscribe_feature_spotify']) ? $GeneralSettings['subscribe_feature_spotify'] : false );
138
+ $Settings['subscribe_feature_iheart'] = (isset($GeneralSettings['subscribe_feature_iheart']) ? $GeneralSettings['subscribe_feature_iheart'] : false );
139
+ $Settings['subscribe_feature_deezer'] = (isset($GeneralSettings['subscribe_feature_deezer']) ? $GeneralSettings['subscribe_feature_deezer'] : false );
140
+ $Settings['subscribe_feature_pandora'] = (isset($GeneralSettings['subscribe_feature_pandora']) ? $GeneralSettings['subscribe_feature_pandora'] : false );
141
+ $Settings['subscribe_feature_android'] = (isset($GeneralSettings['subscribe_feature_android']) ? $GeneralSettings['subscribe_feature_android'] : false );
142
+ $Settings['subscribe_feature_blubrry'] = (isset($GeneralSettings['subscribe_feature_blubrry']) ? $GeneralSettings['subscribe_feature_blubrry'] : false );
143
+ $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
144
+ $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
145
+ $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
146
+ $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
147
+ $Settings['subscribe_feature_spotify_shortcode'] = (isset($GeneralSettings['subscribe_feature_spotify_shortcode']) ? $GeneralSettings['subscribe_feature_spotify_shortcode'] : true );
148
+ $Settings['subscribe_feature_android_shortcode'] = (isset($GeneralSettings['subscribe_feature_android_shortcode']) ? $GeneralSettings['subscribe_feature_android_shortcode'] : true );
149
+ $Settings['subscribe_feature_blubrry_shortcode'] = (isset($GeneralSettings['subscribe_feature_blubrry_shortcode']) ? $GeneralSettings['subscribe_feature_blubrry_shortcode'] : true );
150
+ $Settings['subscribe_feature_iheart_shortcode'] = (isset($GeneralSettings['subscribe_feature_iheart_shortcode']) ? $GeneralSettings['subscribe_feature_iheart_shortcode'] : true );
151
+ $Settings['subscribe_feature_deezer_shortcode'] = (isset($GeneralSettings['subscribe_feature_deezer_shortcode']) ? $GeneralSettings['subscribe_feature_deezer_shortcode'] : true );
152
+ $Settings['subscribe_feature_pandora_shortcode'] = (isset($GeneralSettings['subscribe_feature_pandora_shortcode']) ? $GeneralSettings['subscribe_feature_pandora_shortcode'] : true );
153
+ $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
154
+ $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
155
+ $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
156
+ $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
157
+ $Settings['subscribe_feature_spotify_sidebar'] = (isset($GeneralSettings['subscribe_feature_spotify_sidebar']) ? $GeneralSettings['subscribe_feature_spotify_sidebar'] : false );
158
+ $Settings['subscribe_feature_iheart_sidebar'] = (isset($GeneralSettings['subscribe_feature_iheart_sidebar']) ? $GeneralSettings['subscribe_feature_iheart_sidebar'] : false );
159
+ $Settings['subscribe_feature_deezer_sidebar'] = (isset($GeneralSettings['subscribe_feature_deezer_sidebar']) ? $GeneralSettings['subscribe_feature_deezer_sidebar'] : false );
160
+ $Settings['subscribe_feature_pandora_sidebar'] = (isset($GeneralSettings['subscribe_feature_pandora_sidebar']) ? $GeneralSettings['subscribe_feature_pandora_sidebar'] : false );
161
+ $Settings['subscribe_feature_android_sidebar'] = (isset($GeneralSettings['subscribe_feature_android_sidebar']) ? $GeneralSettings['subscribe_feature_android_sidebar'] : true );
162
+ $Settings['subscribe_feature_blubrry_sidebar'] = (isset($GeneralSettings['subscribe_feature_blubrry_sidebar']) ? $GeneralSettings['subscribe_feature_blubrry_sidebar'] : false );
163
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
164
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
165
  } else {
199
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
200
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
201
  $Settings['image_url'] = $Settings['itunes_image'];
202
+ $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
203
+ $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
204
+ $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
205
+ $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
206
+ $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
207
+ $Settings['subscribe_feature_spotify'] = (isset($GeneralSettings['subscribe_feature_spotify']) ? $GeneralSettings['subscribe_feature_spotify'] : false );
208
+ $Settings['subscribe_feature_iheart'] = (isset($GeneralSettings['subscribe_feature_iheart']) ? $GeneralSettings['subscribe_feature_iheart'] : false );
209
+ $Settings['subscribe_feature_deezer'] = (isset($GeneralSettings['subscribe_feature_deezer']) ? $GeneralSettings['subscribe_feature_deezer'] : false );
210
+ $Settings['subscribe_feature_pandora'] = (isset($GeneralSettings['subscribe_feature_pandora']) ? $GeneralSettings['subscribe_feature_pandora'] : false );
211
+ $Settings['subscribe_feature_android'] = (isset($GeneralSettings['subscribe_feature_android']) ? $GeneralSettings['subscribe_feature_android'] : false );
212
+ $Settings['subscribe_feature_blubrry'] = (isset($GeneralSettings['subscribe_feature_blubrry']) ? $GeneralSettings['subscribe_feature_blubrry'] : false );
213
+ $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
214
+ $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
215
+ $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
216
+ $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
217
+ $Settings['subscribe_feature_spotify_shortcode'] = (isset($GeneralSettings['subscribe_feature_spotify_shortcode']) ? $GeneralSettings['subscribe_feature_spotify_shortcode'] : true );
218
+ $Settings['subscribe_feature_android_shortcode'] = (isset($GeneralSettings['subscribe_feature_android_shortcode']) ? $GeneralSettings['subscribe_feature_android_shortcode'] : true );
219
+ $Settings['subscribe_feature_blubrry_shortcode'] = (isset($GeneralSettings['subscribe_feature_blubrry_shortcode']) ? $GeneralSettings['subscribe_feature_blubrry_shortcode'] : true );
220
+ $Settings['subscribe_feature_iheart_shortcode'] = (isset($GeneralSettings['subscribe_feature_iheart_shortcode']) ? $GeneralSettings['subscribe_feature_iheart_shortcode'] : true );
221
+ $Settings['subscribe_feature_deezer_shortcode'] = (isset($GeneralSettings['subscribe_feature_deezer_shortcode']) ? $GeneralSettings['subscribe_feature_deezer_shortcode'] : true );
222
+ $Settings['subscribe_feature_pandora_shortcode'] = (isset($GeneralSettings['subscribe_feature_pandora_shortcode']) ? $GeneralSettings['subscribe_feature_pandora_shortcode'] : true );
223
+ $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
224
+ $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
225
+ $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
226
+ $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
227
+ $Settings['subscribe_feature_spotify_sidebar'] = (isset($GeneralSettings['subscribe_feature_spotify_sidebar']) ? $GeneralSettings['subscribe_feature_spotify_sidebar'] : false );
228
+ $Settings['subscribe_feature_iheart_sidebar'] = (isset($GeneralSettings['subscribe_feature_iheart_sidebar']) ? $GeneralSettings['subscribe_feature_iheart_sidebar'] : false );
229
+ $Settings['subscribe_feature_deezer_sidebar'] = (isset($GeneralSettings['subscribe_feature_deezer_sidebar']) ? $GeneralSettings['subscribe_feature_deezer_sidebar'] : false );
230
+ $Settings['subscribe_feature_pandora_sidebar'] = (isset($GeneralSettings['subscribe_feature_pandora_sidebar']) ? $GeneralSettings['subscribe_feature_pandora_sidebar'] : false );
231
+ $Settings['subscribe_feature_android_sidebar'] = (isset($GeneralSettings['subscribe_feature_android_sidebar']) ? $GeneralSettings['subscribe_feature_android_sidebar'] : true );
232
+ $Settings['subscribe_feature_blubrry_sidebar'] = (isset($GeneralSettings['subscribe_feature_blubrry_sidebar']) ? $GeneralSettings['subscribe_feature_blubrry_sidebar'] : false );
233
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
234
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
235
  } else {
279
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
280
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
281
  $Settings['image_url'] = $Settings['itunes_image'];
282
+ $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
283
+ $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
284
+ $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
285
+ $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
286
+ $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
287
+ $Settings['subscribe_feature_spotify'] = (isset($GeneralSettings['subscribe_feature_spotify']) ? $GeneralSettings['subscribe_feature_spotify'] : false );
288
+ $Settings['subscribe_feature_iheart'] = (isset($GeneralSettings['subscribe_feature_iheart']) ? $GeneralSettings['subscribe_feature_iheart'] : false );
289
+ $Settings['subscribe_feature_deezer'] = (isset($GeneralSettings['subscribe_feature_deezer']) ? $GeneralSettings['subscribe_feature_deezer'] : false );
290
+ $Settings['subscribe_feature_pandora'] = (isset($GeneralSettings['subscribe_feature_pandora']) ? $GeneralSettings['subscribe_feature_pandora'] : false );
291
+ $Settings['subscribe_feature_android'] = (isset($GeneralSettings['subscribe_feature_android']) ? $GeneralSettings['subscribe_feature_android'] : false );
292
+ $Settings['subscribe_feature_blubrry'] = (isset($GeneralSettings['subscribe_feature_blubrry']) ? $GeneralSettings['subscribe_feature_blubrry'] : false );
293
+ $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
294
+ $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
295
+ $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
296
+ $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
297
+ $Settings['subscribe_feature_spotify_shortcode'] = (isset($GeneralSettings['subscribe_feature_spotify_shortcode']) ? $GeneralSettings['subscribe_feature_spotify_shortcode'] : true );
298
+ $Settings['subscribe_feature_android_shortcode'] = (isset($GeneralSettings['subscribe_feature_android_shortcode']) ? $GeneralSettings['subscribe_feature_android_shortcode'] : true );
299
+ $Settings['subscribe_feature_blubrry_shortcode'] = (isset($GeneralSettings['subscribe_feature_blubrry_shortcode']) ? $GeneralSettings['subscribe_feature_blubrry_shortcode'] : true );
300
+ $Settings['subscribe_feature_iheart_shortcode'] = (isset($GeneralSettings['subscribe_feature_iheart_shortcode']) ? $GeneralSettings['subscribe_feature_iheart_shortcode'] : true );
301
+ $Settings['subscribe_feature_deezer_shortcode'] = (isset($GeneralSettings['subscribe_feature_deezer_shortcode']) ? $GeneralSettings['subscribe_feature_deezer_shortcode'] : true );
302
+ $Settings['subscribe_feature_pandora_shortcode'] = (isset($GeneralSettings['subscribe_feature_pandora_shortcode']) ? $GeneralSettings['subscribe_feature_pandora_shortcode'] : true );
303
+ $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
304
+ $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
305
+ $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
306
+ $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
307
+ $Settings['subscribe_feature_spotify_sidebar'] = (isset($GeneralSettings['subscribe_feature_spotify_sidebar']) ? $GeneralSettings['subscribe_feature_spotify_sidebar'] : false );
308
+ $Settings['subscribe_feature_iheart_sidebar'] = (isset($GeneralSettings['subscribe_feature_iheart_sidebar']) ? $GeneralSettings['subscribe_feature_iheart_sidebar'] : false );
309
+ $Settings['subscribe_feature_deezer_sidebar'] = (isset($GeneralSettings['subscribe_feature_deezer_sidebar']) ? $GeneralSettings['subscribe_feature_deezer_sidebar'] : false );
310
+ $Settings['subscribe_feature_pandora_sidebar'] = (isset($GeneralSettings['subscribe_feature_pandora_sidebar']) ? $GeneralSettings['subscribe_feature_pandora_sidebar'] : false );
311
+ $Settings['subscribe_feature_android_sidebar'] = (isset($GeneralSettings['subscribe_feature_android_sidebar']) ? $GeneralSettings['subscribe_feature_android_sidebar'] : true );
312
+ $Settings['subscribe_feature_blubrry_sidebar'] = (isset($GeneralSettings['subscribe_feature_blubrry_sidebar']) ? $GeneralSettings['subscribe_feature_blubrry_sidebar'] : false );
313
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
314
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
315
  } else {
343
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
344
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
345
  $Settings['image_url'] = $Settings['itunes_image'];
346
+ $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
347
+ $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
348
+ $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
349
+ $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
350
+ $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
351
+ $Settings['subscribe_feature_spotify'] = (isset($GeneralSettings['subscribe_feature_spotify']) ? $GeneralSettings['subscribe_feature_spotify'] : false );
352
+ $Settings['subscribe_feature_iheart'] = (isset($GeneralSettings['subscribe_feature_iheart']) ? $GeneralSettings['subscribe_feature_iheart'] : false );
353
+ $Settings['subscribe_feature_deezer'] = (isset($GeneralSettings['subscribe_feature_deezer']) ? $GeneralSettings['subscribe_feature_deezer'] : false );
354
+ $Settings['subscribe_feature_pandora'] = (isset($GeneralSettings['subscribe_feature_pandora']) ? $GeneralSettings['subscribe_feature_pandora'] : false );
355
+ $Settings['subscribe_feature_android'] = (isset($GeneralSettings['subscribe_feature_android']) ? $GeneralSettings['subscribe_feature_android'] : false );
356
+ $Settings['subscribe_feature_blubrry'] = (isset($GeneralSettings['subscribe_feature_blubrry']) ? $GeneralSettings['subscribe_feature_blubrry'] : false );
357
+ $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
358
+ $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
359
+ $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
360
+ $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
361
+ $Settings['subscribe_feature_spotify_shortcode'] = (isset($GeneralSettings['subscribe_feature_spotify_shortcode']) ? $GeneralSettings['subscribe_feature_spotify_shortcode'] : true );
362
+ $Settings['subscribe_feature_android_shortcode'] = (isset($GeneralSettings['subscribe_feature_android_shortcode']) ? $GeneralSettings['subscribe_feature_android_shortcode'] : true );
363
+ $Settings['subscribe_feature_blubrry_shortcode'] = (isset($GeneralSettings['subscribe_feature_blubrry_shortcode']) ? $GeneralSettings['subscribe_feature_blubrry_shortcode'] : true );
364
+ $Settings['subscribe_feature_iheart_shortcode'] = (isset($GeneralSettings['subscribe_feature_iheart_shortcode']) ? $GeneralSettings['subscribe_feature_iheart_shortcode'] : true );
365
+ $Settings['subscribe_feature_deezer_shortcode'] = (isset($GeneralSettings['subscribe_feature_deezer_shortcode']) ? $GeneralSettings['subscribe_feature_deezer_shortcode'] : true );
366
+ $Settings['subscribe_feature_pandora_shortcode'] = (isset($GeneralSettings['subscribe_feature_pandora_shortcode']) ? $GeneralSettings['subscribe_feature_pandora_shortcode'] : true );
367
+ $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
368
+ $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
369
+ $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
370
+ $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
371
+ $Settings['subscribe_feature_spotify_sidebar'] = (isset($GeneralSettings['subscribe_feature_spotify_sidebar']) ? $GeneralSettings['subscribe_feature_spotify_sidebar'] : false );
372
+ $Settings['subscribe_feature_iheart_sidebar'] = (isset($GeneralSettings['subscribe_feature_iheart_sidebar']) ? $GeneralSettings['subscribe_feature_iheart_sidebar'] : false );
373
+ $Settings['subscribe_feature_deezer_sidebar'] = (isset($GeneralSettings['subscribe_feature_deezer_sidebar']) ? $GeneralSettings['subscribe_feature_deezer_sidebar'] : false );
374
+ $Settings['subscribe_feature_pandora_sidebar'] = (isset($GeneralSettings['subscribe_feature_pandora_sidebar']) ? $GeneralSettings['subscribe_feature_pandora_sidebar'] : false );
375
+ $Settings['subscribe_feature_android_sidebar'] = (isset($GeneralSettings['subscribe_feature_android_sidebar']) ? $GeneralSettings['subscribe_feature_android_sidebar'] : true );
376
+ $Settings['subscribe_feature_blubrry_sidebar'] = (isset($GeneralSettings['subscribe_feature_blubrry_sidebar']) ? $GeneralSettings['subscribe_feature_blubrry_sidebar'] : false );
377
  if (isset($GeneralSettings['subscribe_no_important_styling'])) {
378
  $Settings['subscribe_no_important_styling'] = $GeneralSettings['subscribe_no_important_styling'];
379
  } else {
389
  $Settings['subscribe_feature_iheart'] = false;
390
  $Settings['subscribe_feature_deezer'] = false;
391
  $Settings['subscribe_feature_pandora'] = false;
392
+ $Settings['subscribe_feature_android'] = false;
393
+ $Settings['subscribe_feature_blubrry'] = false;
394
+ $Settings['subscribe_feature_email_shortcode'] = false;
395
+ $Settings['subscribe_feature_gp_shortcode'] = false;
396
+ $Settings['subscribe_feature_stitcher_shortcode'] = false;
397
+ $Settings['subscribe_feature_tunein_shortcode'] = false;
398
+ $Settings['subscribe_feature_spotify_shortcode'] = false;
399
+ $Settings['subscribe_feature_android_shortcode'] = false;
400
+ $Settings['subscribe_feature_blubrry_shortcode'] = false;
401
+ $Settings['subscribe_feature_iheart_shortcode'] = false;
402
+ $Settings['subscribe_feature_deezer_shortcode'] = false;
403
+ $Settings['subscribe_feature_pandora_shortcode'] = false;
404
+ $Settings['subscribe_feature_email_sidebar'] = false;
405
+ $Settings['subscribe_feature_gp_sidebar'] = false;
406
+ $Settings['subscribe_feature_stitcher_sidebar'] = false;
407
+ $Settings['subscribe_feature_tunein_sidebar'] = false;
408
+ $Settings['subscribe_feature_spotify_sidebar'] = false;
409
+ $Settings['subscribe_feature_iheart_sidebar'] = false;
410
+ $Settings['subscribe_feature_deezer_sidebar'] = false;
411
+ $Settings['subscribe_feature_pandora_sidebar'] = false;
412
+ $Settings['subscribe_feature_android_sidebar'] = false;
413
+ $Settings['subscribe_feature_blubrry_sidebar'] = false;
414
  }
415
 
416
  return $Settings;
489
  $SubscribeSettings['spotify_url'] = trim($SubscribeSettings['spotify_url']);
490
  $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['spotify_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_spotify\" title=\"". __('Subscribe on Spotify', 'powerpress') ."\" rel=\"nofollow\">". __('Spotify','powerpress') ."</a>".PHP_EOL_WEB;
491
  }
492
+
493
+ if( !empty($SubscribeSettings['subscribe_feature_blubrry']) && !empty($SubscribeSettings['blubrry_url']) )
494
+ {
495
+ $SubscribeSettings['blubrry_url'] = trim($SubscribeSettings['blubrry_url']);
496
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['blubrry_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_blubrry\" title=\"". __('Subscribe on Blubrry', 'powerpress') ."\" rel=\"nofollow\">". __('Blubrry','powerpress') ."</a>".PHP_EOL_WEB;
497
+ }
498
 
499
  if( !empty($SubscribeSettings['subscribe_feature_rss']) ) {
500
  $links_array[] = "<a href=\"". htmlspecialchars($feed_url) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_rss\" title=\"". __('Subscribe via RSS', 'powerpress') ."\" rel=\"nofollow\">". __('RSS','powerpress') ."</a>".PHP_EOL_WEB;
795
 
796
  // Google Podcasts
797
  $googleUrl = '';
798
+ if( !empty($settings['subscribe_feature_gp_shortcode']) && !empty($settings['google_url']) )
799
  $googleUrl = $settings['google_url'];
800
  else
801
  $googleUrl = 'https://www.google.com/podcasts?feed='. powerpress_base64_encode($settings['feed_url']);
802
  $html .= '<a href="'. esc_url( $googleUrl ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-gp" title="'. esc_attr( __('Subscribe on Google Podcasts', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Google Podcasts', 'powerpress') ) .'</a>';
803
 
804
+ if( !empty($settings['subscribe_feature_spotify_shortcode']) && !empty($settings['spotify_url']) )
805
  {
806
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Spotify', 'powerpress') ) .'</a>';
807
  }
808
 
809
+ if( !empty($settings['subscribe_feature_tunein_shortcode']) && !empty($settings['tunein_url']) )
810
  {
811
  $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('TuneIn', 'powerpress') ) .'</a>';
812
  }
813
+ if( !empty($settings['subscribe_feature_android_shortcode']) && preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
 
814
  $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
815
  $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Android', 'powerpress') ) .'</a>';
816
  }
817
 
818
+ if( !empty($settings['subscribe_feature_stitcher_shortcode']) && !empty($settings['stitcher_url']) )
819
  {
820
  $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Stitcher', 'powerpress') ) .'</a>';
821
  }
822
 
823
+ if( !empty($settings['subscribe_feature_blubrry_shortcode']) ) {
824
+
825
+ $html .= '<a href="'. esc_url( $settings['blubrry_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-blubrry" title="'. esc_attr( __('Subscribe on Blubrry', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Blubrry', 'powerpress') ) .'</a>';
826
+ }
827
+
828
+
829
+ if( !empty($settings['subscribe_feature_iheart_shortcode']) ) {
830
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('iHeartRadio', 'powerpress') ) .'</a>';
831
  }
832
 
833
+ if( !empty($settings['subscribe_feature_pandora_shortcode']) ) {
834
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Pandora', 'powerpress') ) .'</a>';
835
  }
836
 
837
+ if( !empty($settings['subscribe_feature_deezer_shortcode']) ) {
838
+
839
  $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Deezer', 'powerpress') ) .'</a>';
840
  }
841
 
842
  //TODO Radio.com goes here
843
 
844
+ if( !empty($settings['subscribe_feature_email_shortcode']) && preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
845
+
846
  $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
847
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('by Email', 'powerpress') ) .'</a>';
848
  }
849
 
850
  //$html .= var_dump($settings, true);
851
 
852
+
853
+ $html .= '<a href="'. esc_url( $settings['feed_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-rss" title="'. esc_attr( __('Subscribe via RSS', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('RSS', 'powerpress') ) .'</a>';
854
+
855
 
856
  $html .= '</div>';
857
  $html .= '</div>';
909
  $html .= '<a href="'. esc_url( $settings['itunes_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Apple Podcasts', 'powerpress') ) .'</span></a>';
910
  }
911
 
912
+ if( !empty($settings['subscribe_feature_gp_sidebar']) ) {
913
  $googleUrl = '';
914
  if( !empty($settings['google_url']) )
915
  $gp_url = $settings['google_url'];
919
  $html .= '<a href="'. esc_url( $gp_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-gp" title="'. esc_attr( __('Subscribe on Google Podcasts', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Google Podcasts', 'powerpress') ) .'</span></a>';
920
  }
921
 
922
+ if( !empty($settings['subscribe_feature_spotify_sidebar']) && !empty($settings['spotify_url']) ) {
923
  $settings['spotify_url'] = trim($settings['spotify_url']);
924
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Spotify', 'powerpress') ) .'</span></a>';
925
  }
926
 
927
+ if( !empty($settings['subscribe_feature_tunein_sidebar']) && !empty($settings['tunein_url']) ) {
928
  $settings['tunein_url'] = trim($settings['tunein_url']);
929
  $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('TuneIn', 'powerpress') ) .'</span></a>';
930
  }
931
 
932
+ if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) && !empty($settings['subscribe_feature_android_sidebar']) ) {
933
  $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
934
  $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Android', 'powerpress') ) .'</span></a>';
935
  }
936
 
937
+ if( !empty($settings['subscribe_feature_stitcher_sidebar']) && !empty($settings['stitcher_url']) ) {
938
  $settings['stitcher_url'] = trim($settings['stitcher_url']);
939
  $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Stitcher', 'powerpress') ) .'</span></a>';
940
  }
941
 
942
+ if( !empty($settings['subscribe_feature_blubrry_sidebar']) && !empty($settings['blubrry_url']) ) {
943
+ $settings['blubrry_url'] = trim($settings['blubrry_url']);
944
+ $html .= '<a href="'. esc_url( $settings['blubrry_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-blubrry" title="'. esc_attr( __('Subscribe on Blubrry', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Blubrry', 'powerpress') ) .'</span></a>';
945
+ }
946
+
947
+ if( !empty($settings['subscribe_feature_iheart_sidebar']) && !empty($settings['iheart_url']) ) {
948
  $settings['iheart_url'] = trim($settings['iheart_url']);
949
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('iHeartRadio', 'powerpress') ) .'</span></a>';
950
  }
951
 
952
+ if( !empty($settings['subscribe_feature_pandora_sidebar']) && !empty($settings['pandora_url']) ) {
953
  $settings['pandora_url'] = trim($settings['pandora_url']);
954
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Pandora', 'powerpress') ) .'</span></a>';
955
  }
956
 
957
+ if( !empty($settings['subscribe_feature_deezer_sidebar']) && !empty($settings['deezer_url']) ) {
958
  $settings['deezer_url'] = trim($settings['deezer_url']);
959
  $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Deezer', 'powerpress') ) .'</span></a>';
960
  }
961
 
962
  //TODO Radio.com here
963
 
964
+ if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
965
+ if( !empty($settings['subscribe_feature_email_sidebar']) ) {
966
  $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
967
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('by Email', 'powerpress') ) .'</span></a>';
968
  }
969
  }
970
 
971
+ $html .= '<a href="'. esc_url( $settings['feed_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-rss" title="'. esc_attr( __('Subscribe via RSS', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('RSS', 'powerpress') ) .'</span></a>';
972
+
 
973
 
974
  if( !empty($settings['subscribe_page_url']) )
975
  $html .= '<a href="'. esc_url( $settings['subscribe_page_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-more" title="'. esc_attr( __('More Subscribe Options', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('More Subscribe Options', 'powerpress') ) .'</span></a>';
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.11
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.11' );
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.3
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.3' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
powerpressadmin-basic.php CHANGED
@@ -2,7 +2,9 @@
2
 
3
  function powerpress_admin_basic()
4
  {
5
- $FeedAttribs = array('type'=>'general', 'feed_slug'=>'', 'category_id'=>0, 'term_taxonomy_id'=>0, 'term_id'=>0, 'taxonomy_type'=>'', 'post_type'=>'');
 
 
6
  // feed_slug = channel
7
 
8
  $General = powerpress_get_settings('powerpress_general');
@@ -27,7 +29,7 @@ function powerpress_admin_basic()
27
  $MultiSiteServiceSettings = true;
28
  }
29
  }
30
-
31
  ?>
32
  <script type="text/javascript"><!--
33
  function CheckRedirect(obj)
@@ -115,33 +117,197 @@ jQuery(document).ready(function($) {
115
  } );
116
  //-->
117
  </script>
118
-
119
  <input type="hidden" name="action" value="powerpress-save-settings" />
120
 
121
- <input type="hidden" id="save_tab_pos" name="tab" value="<?php echo (empty($_POST['tab'])?0: intval($_POST['tab']) ); ?>" />
 
122
 
123
  <div id="powerpress_admin_header">
124
  <h2><?php echo __('Blubrry PowerPress Settings', 'powerpress'); ?></h2>
125
 
126
  </div>
127
 
128
- <div id="powerpress_settings_page" class="powerpress_tabbed_content">
129
- <ul class="powerpress_settings_tabs">
130
- <li><a href="#tab0"><span><?php echo htmlspecialchars(__('Welcome', 'powerpress')); ?></span></a></li>
131
  <!-- #tab1 deprecated. was episodes tab -->
132
- <li><a href="#tab2"><span><?php echo htmlspecialchars(__('Services & Stats', 'powerpress')); ?></span></a></li>
133
- <li><a href="#tab3"><span><?php echo htmlspecialchars(__('Website', 'powerpress')); ?></span></a></li>
134
- <li><a href="#tab4"><span><?php echo htmlspecialchars(__('Feeds', 'powerpress')); ?></span></a></li>
135
- <li><a href="#tab5"><span><?php echo htmlspecialchars(__('Apple', 'powerpress')); ?></span></a></li>
136
- <li><a href="#tab7"><span><?php echo htmlspecialchars(__('Artwork', 'powerpress')); ?></span></a></li>
137
- <li><a href="#tab-dest"><span><?php echo htmlspecialchars(__('Destinations', 'powerpress')); ?></span></a></li>
138
- </ul>
139
 
140
- <div id="tab0" class="powerpress_tab">
141
- <?php powerpressadmin_welcome($General); ?>
 
 
 
 
 
 
 
 
 
 
 
 
142
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
 
144
- <div id="tab2" class="powerpress_tab">
 
 
 
 
 
145
  <?php
146
  if( $MultiSiteServiceSettings && defined('POWERPRESS_MULTISITE_VERSION') )
147
  {
@@ -149,53 +315,33 @@ jQuery(document).ready(function($) {
149
  }
150
  else
151
  {
152
- powerpressadmin_edit_blubrry_services($General);
153
  powerpressadmin_edit_media_statistics($General);
154
  }
155
  ?>
156
  </div>
157
-
158
- <div id="tab3" class="powerpress_tab">
159
- <?php
160
- powerpressadmin_appearance($General, $FeedSettings);
161
- powerpressadmin_edit_podpress_options($General);
162
- ?>
163
- </div>
164
-
165
- <div id="tab4" class="powerpress_tab">
166
- <?php
167
- powerpressadmin_edit_feed_general($FeedSettings, $General);
168
- powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttribs);
169
- powerpressadmin_edit_funding($FeedSettings);
170
- powerpressadmin_edit_tv($FeedSettings);
171
- ?>
172
- </div>
173
-
174
- <div id="tab5" class="powerpress_tab">
175
- <?php
176
- powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs);
177
- ?>
178
- </div>
179
- <div id="tab7" class="powerpress_tab">
180
- <?php
181
- powerpressadmin_edit_artwork($FeedSettings, $General);
182
- ?>
183
- </div>
184
- <div id="tab-dest" class="powerpress_tab">
185
- <?php
186
- powerpressadmin_edit_destinations($FeedSettings, $General, $FeedAttribs);
187
- ?>
188
- </div>
189
-
190
  </div>
191
  <div class="clear"></div>
192
 
193
  <?php
194
-
195
- powerpressadmin_advanced_options($General);
196
  }
197
 
198
- function powerpressadmin_advanced_options($General)
199
  {
200
  // Break the bottom section here out into it's own function
201
  $ChannelsCheckbox = '';
@@ -205,7 +351,7 @@ function powerpressadmin_advanced_options($General)
205
  //if( !empty($General['custom_cat_feeds']) ) // Decided ont to include this warning because it may imply that you have to delete the actual category, which is not true.
206
  // $CategoryCheckbox = ' onclick="alert(\'You must remove podcasting from the categories to disable this option.\');return false;"';
207
  ?>
208
- <script language="javascript"><!--
209
 
210
  jQuery(document).ready( function() {
211
 
@@ -224,157 +370,200 @@ jQuery(document).ready( function() {
224
  });
225
  });
226
 
227
- //-->
 
 
 
 
228
  </script>
229
  <div style="margin-left: 10px;">
230
- <h3><a href="#" class="pp-expand-section pp-expand-section-expanded"><?php echo __('Advanced Options', 'powerpress'); ?></a></h3>
231
- <div style="margin-left: 50px;" >
 
 
232
  <div>
233
- <input type="checkbox" name="NULL[import_podcast]" value="1" checked disabled />
234
- <strong><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_import_feed.php'); ?>"><?php echo __('Import Podcast', 'powerpress'); ?></a></strong> -
235
- <?php echo __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'); ?>
 
 
236
  </div>
237
  <div>
238
- <input type="checkbox" name="NULL[migrate_media]" value="1" checked disabled />
239
- <strong><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_migrate.php'); ?>"><?php echo __('Migrate Media', 'powerpress'); ?></a></strong> -
240
- <?php echo __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'); ?>
 
 
241
  </div>
242
  <div>
243
- <input type="checkbox" name="NULL[podcasting_seo]" value="1" checked disabled />
244
- <strong><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_search.php'); ?>"><?php echo __('Podcasting SEO', 'powerpress'); ?></a></strong> -
245
- <?php echo __('Select from 3 different web based audio players.', 'powerpress'); ?>
 
 
246
  </div>
247
 
248
  <div>
249
- <input type="checkbox" name="NULL[player_options]" value="1" checked disabled />
250
- <strong><?php echo __('Audio Player Options', 'powerpress'); ?></strong> -
251
- <?php echo __('Select from 3 different web based audio players.', 'powerpress'); ?>
252
- <span style="font-size: 85%;">(<a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_player.php&sp=1'); ?>"><?php echo __('configure audio player', 'powerpress'); ?></a>)</span>
 
 
253
  </div>
254
  <div>
255
- <input type="checkbox" name="NULL[video_player_options]" value="1" checked disabled />
256
- <strong><?php echo __('Video Player Options', 'powerpress'); ?></strong> -
257
- <?php echo __('Select from 3 different web based video players.', 'powerpress'); ?>
258
- <span style="font-size: 85%;">(<a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_videoplayer.php&sp=1'); ?>"><?php echo __('configure video player', 'powerpress'); ?></a>)</span>
259
-
 
260
  </div>
261
  <div>
262
  <input type="hidden" name="General[channels]" value="0" />
263
- <input type="checkbox" name="General[channels]" value="1" <?php echo ( !empty($General['channels']) ?' checked':''); echo $ChannelsCheckbox; ?> />
264
- <strong><?php echo __('Custom Podcast Channels', 'powerpress'); ?></strong> -
265
- <?php echo __('Manage multiple media files and/or formats to one blog post.', 'powerpress'); ?>
266
- <?php if( empty($General['channels']) ) { ?>
267
- <span style="font-size: 85%;">(<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)</span>
268
- <?php } else { ?>
269
- <span style="font-size: 85%;">(<a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_customfeeds.php'); ?>"><?php echo __('configure podcast channels', 'powerpress'); ?></a>)</span>
270
- <?php } ?>
 
 
 
271
  </div>
272
  <div>
273
  <input type="hidden" name="General[cat_casting]" value="0" />
274
- <input type="checkbox" name="General[cat_casting]" value="1" <?php echo ( !empty($General['cat_casting']) ?' checked':''); echo $CategoryCheckbox; ?> />
275
- <strong><?php echo __('Category Podcasting', 'powerpress'); ?></strong> -
276
- <?php echo __('Manage podcasting for specific categories.', 'powerpress'); ?>
277
- <?php if( empty($General['cat_casting']) ) { ?>
278
- <span style="font-size: 85%;">(<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)</span>
279
- <?php } else { ?>
280
- <span style="font-size: 85%;">(<a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_categoryfeeds.php'); ?>"><?php echo __('configure podcast categories', 'powerpress'); ?></a>)</span>
281
- <?php } ?>
 
 
 
282
  </div>
283
 
284
 
285
  <div>
286
  <input type="hidden" name="General[taxonomy_podcasting]" value="0" />
287
- <input type="checkbox" name="General[taxonomy_podcasting]" value="1" <?php echo ( !empty($General['taxonomy_podcasting']) ?' checked':''); ?> />
288
- <strong><?php echo __('Taxonomy Podcasting', 'powerpress'); ?></strong> -
289
- <?php echo __('Manage podcasting for specific taxonomies.', 'powerpress'); ?>
290
- <?php if( empty($General['taxonomy_podcasting']) ) { ?>
291
- <span style="font-size: 85%;">(<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)</span>
292
- <?php } else { ?>
293
- <span style="font-size: 85%;">(<a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_taxonomyfeeds.php'); ?>"><?php echo __('configure taxonomy podcasting', 'powerpress'); ?></a>)</span>
294
- <?php } ?>
 
 
 
295
  </div>
296
  <div>
297
  <input type="hidden" name="General[posttype_podcasting]" value="0" />
298
- <input type="checkbox" name="General[posttype_podcasting]" value="1" <?php echo ( !empty($General['posttype_podcasting']) ?' checked':''); ?> />
299
- <strong><?php echo __('Post Type Podcasting', 'powerpress'); ?></strong> -
300
- <?php echo __('Manage multiple media files and/or formats to specific post types.', 'powerpress'); ?>
301
- <?php if( empty($General['posttype_podcasting']) ) { ?>
302
- <span style="font-size: 85%;">(<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)</span>
303
- <?php } else { ?>
304
- <span style="font-size: 85%;">(<a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_posttypefeeds.php'); ?>"><?php echo __('configure post type podcasting', 'powerpress'); ?></a>)</span>
305
- <?php } ?>
 
 
 
306
  </div>
307
  <div>
308
- <input type="checkbox" name="General[playlist_player]" value="1" <?php echo ( !empty($General['playlist_player']) ?' checked':''); ?> />
309
- <strong><?php echo __('PowerPress Playlist Player', 'powerpress'); ?></strong> -
310
- <?php echo __('Create playlists for your podcasts.', 'powerpress'); ?>
311
- <span style="font-size: 85%;">(<a href="http://create.blubrry.com/resources/powerpress/advanced-tools-and-options/powerpress-playlist-shortcode/" target="_blank"><?php echo __('learn more', 'powerpress'); ?></a>)</span>
 
 
 
312
  </div>
 
313
  </div>
314
  </div>
315
 
316
  <?php
317
  $link_action_url = admin_url('admin.php?action=powerpress-jquery-account');
318
  $link_action = 'powerpress-jquery-account';
319
- ?>
320
- <div style="margin-left: 10px;">
321
- <h3><?php echo __('Link Blubrry Account', 'powerpress'); ?></h3>
322
- <p style="font-size: 125%;">
323
- <strong><a class="button-primary button-blubrry thickbox" title="<?php echo esc_attr(__('Blubrry Services Integration', 'powerpress')); ?>" href="<?php echo wp_nonce_url($link_action_url, $link_action); ?>&amp;KeepThis=true&amp;TB_iframe=true&amp;width=600&amp;height=400&amp;modal=false" target="_blank"><?php echo __('Click here to link Blubrry account', 'powerpress'); ?></a></strong>
324
- </p>
325
- <p>
326
- <?php echo __('Link your blubrry.com account if you have a Blubrry Podcast Hosting or Blubrry Podcast Statistics services.', 'powerpress'); ?>
327
- </p>
328
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
 
330
- <div style="margin-left: 10px;">
331
- <h3 style="margin-bottom: 5px;"><?php echo __('Looking for Support, Consulting or Custom Development?', 'powerpress'); ?></h3>
332
- <p style="margin: 0 0 0 50px;">
333
- <?php echo __('Blubrry offers a variety of options, free and paid, to assist you with your podcasting and Internet media needs. Whether you need your theme customized for podcasting or you want consulting on what video format is best for your audience, we have the staff and knowledge to assist.', 'powerpress'); ?>
334
- </p>
335
- <p style="margin: 5px 0 0 50px;">
336
- <strong><?php echo '<a href="http://create.blubrry.com/support/" target="_blank">'. __('Learn More about Blubrry Support Options', 'powerpress') .'</a>'; ?></strong>
337
- </p>
338
- </div>
 
 
 
 
 
 
 
339
 
340
- <?php
341
- return;
342
-
343
- // We will not pester folks with this stuff in PowerPress 7.0+
344
-
345
- if( isset($General['timestamp']) && $General['timestamp'] > 0 && $General['timestamp'] < ( time()- (60*60*24*14) ) ) // Lets wait 14 days before we annoy them asking for support
346
- {
347
- ?>
348
- <div style="margin-left: 10px;">
349
- <h3 style="margin-bottom: 5px;"><?php echo __('Like The Plugin?', 'powerpress'); ?></h3>
350
- <p style="margin-top: 0;">
351
- <?php echo __('This plugin is great, don\'t you think? If you like the plugin we\'d be ever so grateful if you\'d give it your support. Here\'s how:', 'powerpress'); ?>
352
- </p>
353
- <ul id="powerpress_support">
354
- <li><?php echo sprintf(__('Rate this plugin 5 stars in the %s.', 'powerpress'),
355
- '<a href="http://wordpress.org/extend/plugins/powerpress/" target="_blank">'. __('WordPress Plugins Directory', 'powerpress') .'</a>');
356
-
357
- ?>
358
- </li>
359
- <li><?php echo __('Tell the world about PowerPress by writing about it on your blog', 'powerpress'); ?>,
360
- <a href="https://twitter.com/home/?status=<?php echo urlencode( __('I\'m podcasting with Blubrry PowerPress (https://blubrry.com/powerpress/) #powerpress #wordpress', 'powerpress') ); ?>" target="_blank"><?php echo __('Twitter', 'powerpress'); ?></a>,
361
- <a href="https://www.facebook.com/share.php?u=<?php echo urlencode('https://www.blubrry.com/powerpress'); ?>&amp;t=<?php echo urlencode( __('I podcast with Blubrry PowerPress', 'powerpress')); ?>" target="_blank"><?php echo __('Facebook', 'powerpress'); ?></a>,
362
- etc...</li>
363
- <li><a href="http://www.blubrry.com/contact.php" target="_blank"><?php echo __('Send us feedback', 'powerpress'); ?></a> (<?php echo __('we love getting suggestions for new features!', 'powerpress'); ?>)</li>
364
- </ul>
365
- </div>
366
- <?php
367
- }
368
- ?>
369
- <div style="margin-left: 10px;">
370
- <h3 style="margin-bottom: 5px;"><?php echo __('Become a PowerPress Patron!', 'powerpress'); ?></h3>
371
- <p style="margin: 0; padding-left: 50px;">
372
- <?php echo __('Help support your favorite podcasting plugin via Patreon.', 'powerpress'); ?>
373
- </p>
374
- <p style="margin-top: 0; padding-left: 50px;"><?php echo '<a href="https://www.patreon.com/blubrry?ty=h" target="_blank">'. __('Visit Blubrry\'s Patreon page', 'powerpress') .'</a>'; ?>
375
- </p>
376
- </div>
377
- <?php
378
  }
379
 
380
 
@@ -494,90 +683,46 @@ function powerpressadmin_edit_blubrry_services($General, $action_url = false, $a
494
  if( $action == false )
495
  $action = 'powerpress-jquery-account';
496
  ?>
497
- <h3><?php echo __('Integrate Blubrry Services', 'powerpress'); ?></h3>
498
- <ul><li><ul>
499
- <li style="margin-left: 30px; font-size:115%;"><?php echo sprintf(__('Track your podcast downloads with Blubrry\'s <a href="%s" target="_blank">FREE Basic Statistics</a> or <a href="%s" target="_blank">Professional Media Statistics</a>.','powerpress'), 'http://create.blubrry.com/resources/podcast-media-download-statistics/basic-statistics/', 'http://create.blubrry.com/resources/podcast-media-download-statistics/'); ?></li>
500
- <li style="margin-left: 30px; font-size:115%;"><?php echo sprintf(__('Upload and publish podcast media directly from your blog with <a href="%s" target="_blank">Blubrry Media Hosting</a>.','powerpress'), 'http://create.blubrry.com/resources/podcast-media-hosting/'); ?></li>
501
- </ul></li></ul>
502
- <div style="margin-left: 40px;">
503
- <p style="font-size: 125%;">
504
- <strong><a class="button-primary button-blubrry thickbox" title="<?php echo esc_attr(__('Blubrry Services Integration', 'powerpress')); ?>" href="<?php echo wp_nonce_url( $action_url, $action); ?>&amp;KeepThis=true&amp;TB_iframe=true&amp;width=600&amp;height=400&amp;modal=false" target="_blank"><?php echo __('Click here to configure Blubrry Statistics and Hosting services', 'powerpress'); ?></a></strong>
505
- </p>
506
- <?php
507
- if( !empty($General['blubrry_program_keyword']) )
508
- {
509
- // Check that the redirect is in the settings...
510
- $RedirectURL = 'http://media.blubrry.com/'.$General['blubrry_program_keyword'].'/';
511
- $Error = true;
512
- if( stripos($General['redirect1'], $RedirectURL ) !== false )
513
- $Error = false;
514
- else if( stripos($General['redirect2'], $RedirectURL ) !== false )
515
- $Error = false;
516
- else if( stripos($General['redirect3'], $RedirectURL ) !== false )
517
- $Error = false;
518
- if( $Error )
519
- {
520
- ?>
521
- <p style="font-weight: bold; color: #CC0000;">
522
- <?php
523
- echo __('Statistics are not implemented correctly on this blog. Please click the button above to re-configure your services.', 'powerpress');
524
- ?>
525
- </p>
526
- <?php
527
- }
528
- else
529
- {
530
- ?>
531
- <p style="font-weight: bold;">
532
- <img src="<?php echo powerpress_get_root_url(); ?>images/Check.png" style="width: 25px; height: 20px;" alt="<?php echo __('Enabled!', 'powerpress'); ?>" />
533
- <?php
534
- if( empty($General['blubrry_hosting']) || $General['blubrry_hosting'] === 'false' )
535
- echo __('Blubrry Statistics Enabled!', 'powerpress');
536
- else
537
- echo __('Blubrry Statistics and Media Hosting Enabled!', 'powerpress');
538
- ?>
539
- </p>
540
- <?php if( !empty($General['blubrry_hosting']) && $General['blubrry_hosting'] !== 'false' && !empty($General['blubrry_program_keyword']) ) { ?>
541
- <p style="margin-left: 30px;"><?php echo __('Blubrry Program ID: ', 'powerpress'); ?> <i><?php echo $General['blubrry_program_keyword']; ?></i>
542
- </p><?php } ?>
543
- <?php
544
- }
545
-
546
- if( empty($General['blubrry_hosting']) || $General['blubrry_hosting'] === 'false' )
547
- {
548
- ?>
549
- <p>
550
- <?php echo __('Recently upgraded to Blubrry Hosting?', 'powerpress'); ?>
551
- <a class="thickbox" title="<?php echo esc_attr(__('Blubrry Services Integration', 'powerpress')); ?>" href="<?php echo admin_url(); echo wp_nonce_url( "admin.php?action=powerpress-jquery-account", 'powerpress-jquery-account'); ?>&amp;KeepThis=true&amp;TB_iframe=true&amp;width=600&amp;height=400&amp;modal=false" target="_blank"><?php echo __('Click here to enter your account information.', 'powerpress'); ?></a>
552
- </p>
553
- <?php
554
- }
555
- }
556
- ?>
557
- </div>
558
- <?php
559
- if( empty($General['blubrry_hosting']) || $General['blubrry_hosting'] === 'false' ) // Not signed up for hosting?
560
  {
561
  ?>
562
- <div class="blubrry-services">
563
- <div class="blubrry-hosting">
564
- <p class="top-lines"><?php echo __('Need a reliable host for your podcast media?', 'powerpress'); ?></p>
565
- <p><?php echo __('Blubrry Media Hosting packages start at $12.', 'powerpress'); ?></p>
566
- <p><a href="http://create.blubrry.com/resources/podcast-media-hosting/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a></p>
567
- </div>
568
- <div class="blubrry-stats">
569
- <p class="top-lines"><?php echo __('Measure your audience for <strong>free</strong> and add more detailed', 'powerpress'); ?></p>
570
- <p><?php echo __('reporting for only $5 per month.', 'powerpress'); ?></p>
571
- <p>&nbsp;</p>
572
- <p><a href="http://create.blubrry.com/resources/podcast-media-download-statistics/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a></p>
573
- </div>
574
- <div class="clear"></div>
575
- </div>
 
 
 
 
 
 
576
  <?php
577
  } // end not signed up for hosting
578
 
579
  ?>
580
- <div style="margin-left: 40px;">
581
  <p style="margin-top: 10px;">
582
  <input name="DisableStatsInDashboard" type="checkbox" value="1"<?php if( $DisableStatsInDashboard == true ) echo ' checked'; ?> />
583
  <?php echo __('Remove Statistics from WordPress Dashboard', 'powerpress'); ?></p>
@@ -590,6 +735,7 @@ function powerpressadmin_edit_blubrry_services($General, $action_url = false, $a
590
  <input type="checkbox" id="blubrry_network_mode" value="1" name="General[network_mode]" <?php echo $General['network_mode'] == '1' ? 'checked' : ''; ?> />
591
  <label for="blubrry_network_mode"><?php echo __('Network mode (publish to multiple Blubrry Hosting Accounts)', 'powerpress') ?></label>
592
  </p>
 
593
  </div>
594
  <?php
595
  }
@@ -672,6 +818,7 @@ function powerpressadmin_edit_media_statistics($General)
672
  </div><!-- end blubrry_stats_settings -->
673
  <?php
674
  }
 
675
 
676
  function powerpressadmin_appearance($General=false, $Feed = false)
677
  {
@@ -712,349 +859,140 @@ function powerpressadmin_appearance($General=false, $Feed = false)
712
  }
713
  }
714
  */
715
-
716
- ?>
717
-
718
-
719
- <h3><?php echo __('Website Settings', 'powerpress'); ?></h3>
720
- <div id="enable_presentation_settings">
721
-
722
-
723
- <table class="form-table">
724
- <tr valign="top">
725
- <th scope="row">&nbsp; </th>
726
- <td>
727
- <ul>
728
- <li><p><label><input type="radio" name="General[disable_appearance]" value="0" <?php if( $General['disable_appearance'] == 0 ) echo 'checked'; ?> onclick="javascript: jQuery('#presentation_settings').css('display', (this.checked?'block':'none') );" /> <?php echo __('Enable PowerPress Media Players and Links', 'powerpress'); ?></label> (<?php echo __('default', 'powerpress'); ?>)</p>
729
- <ul><li>
730
- <p class="description"><?php echo __('PowerPress will add media players and links to your site.', 'powerpress'); ?></p>
731
- </li></ul>
732
- </li>
733
-
734
- <li><p><label><input type="radio" name="General[disable_appearance]" value="1" <?php if( $General['disable_appearance'] == 1 ) echo 'checked'; ?> onclick="javascript: jQuery('#presentation_settings').css('display', (this.checked?'none':'block') );" /> <?php echo __('Disable PowerPress Media Players and Links', 'powerpress'); ?></label></p>
735
- <ul><li>
736
- <p class="description"><?php echo __('PowerPress will <u>not</u> add any media players or media links to your site. PowerPress will only be used to add podcasting support to your feeds.', 'powerpress'); ?></p>
737
- </li></ul>
738
- </li>
739
- </ul>
740
- </td>
741
- </tr>
742
- </table>
743
-
744
-
745
-
746
- </div><!-- end enable_presentation_settings -->
747
- <div id="presentation_settings"<?php if($General['disable_appearance']) echo ' style="display: none;"'; ?>>
748
- <!-- start presentation_settings in advanced mode -->
749
- <?php
750
-
751
-
752
- global $wp_rewrite;
753
- if( $wp_rewrite->permalink_structure ) // Only display if permalinks is enabled in WordPress
754
- {
755
- ?>
756
- <h3><?php echo __('Permalinks', 'powerpress'); ?></h3>
757
- <table class="form-table">
758
- <tr valign="top">
759
- <th scope="row">
760
- <?php echo __('Podcast Permalinks', 'powerpress'); ?></th>
761
- <td>
762
- <select name="General[permalink_feeds_only]" class="bpp_input_normal">
763
- <?php
764
- $options = array(0=>__('Default WordPress Behavior', 'powerpress'), 1=>__('Match Feed Name to Page/Category', 'powerpress') );
765
- $current_value = (!empty($General['permalink_feeds_only'])?$General['permalink_feeds_only']:0);
766
-
767
- foreach( $options as $value => $desc )
768
- echo "\t<option value=\"$value\"". ($current_value==$value?' selected':''). ">$desc</option>\n";
769
-
770
- ?>
771
- </select>
772
- <p><?php echo sprintf(__('When configured, %s/podcast/ is matched to page/category named \'podcast\'.', 'powerpress'), get_bloginfo('url') ); ?></p>
773
- </td>
774
- </tr>
775
- </table>
776
- <?php
777
- }
778
- ?>
779
-
780
- <h3><?php echo __('Blog Posts and Pages', 'powerpress'); ?></h3>
781
-
782
-
783
- <table class="form-table">
784
- <tr valign="top">
785
- <th scope="row"><?php echo htmlspecialchars(__('Display Media & Links', 'powerpress')); ?></th>
786
- <td>
787
- <ul>
788
- <li><p><label><input type="radio" name="General[display_player]" value="1" <?php if( $General['display_player'] == 1 ) echo 'checked'; ?> /> <?php echo __('Below page content', 'powerpress'); ?></label> (<?php echo __('default', 'powerpress'); ?>)</p>
789
- <ul><li>
790
- <p class="description"><?php echo __('Player and media links will appear <u>below</u> your post and page content.', 'powerpress'); ?><p>
791
- </li></ul>
792
- </li>
793
- <li><p><label><input type="radio" name="General[display_player]" value="2" <?php if( $General['display_player'] == 2 ) echo 'checked'; ?> /> <?php echo __('Above page content', 'powerpress'); ?></label></p>
794
- <ul><li>
795
- <p class="description"><?php echo __('Player and media links will appear <u>above</u> your post and page content.', 'powerpress'); ?></p>
796
- </li></ul>
797
- </li>
798
- <li>
799
- <p><label><input type="radio" name="General[display_player]" value="0" <?php if( $General['display_player'] == 0 ) echo 'checked'; ?> /> <?php echo __('Disable', 'powerpress'); ?></label></p>
800
- <ul><li>
801
- <p class="description"><?php echo __('Player and media links will <u>NOT</u> appear in your post and page content. Media player and links can be added manually by using the <i>shortcode</i> below.', 'powerpress'); ?></p>
802
- </li></ul>
803
- </li>
804
- </ul>
805
- <p><input name="General[display_player_excerpt]" type="checkbox" value="1" <?php if( !empty($General['display_player_excerpt']) ) echo 'checked '; ?>/> <?php echo __('Display player / links:', 'powerpress'); ?> <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" title="<?php echo __('WordPress Excerpts', 'powerpress'); ?>" target="_blank"><?php echo __('WordPress Excerpts', 'powerpress'); ?></a> (<?php echo __('e.g. search results', 'powerpress'); ?>)</p>
806
- <input type="hidden" name="General[hide_player_more]" value="0" />
807
- <p><input name="General[hide_player_more]" type="checkbox" value="1" <?php if( !empty($General['hide_player_more']) ) echo 'checked '; ?>/> <?php echo __('Hide player / links:', 'powerpress'); ?> <a href="https://en.support.wordpress.com/more-tag/" title="<?php echo __('Read More tagged posts', 'powerpress'); ?>" target="_blank"><?php echo __('Read More tagged posts', 'powerpress'); ?></a></p>
808
- </td>
809
- </tr>
810
- </table>
811
-
812
-
813
- <table class="form-table">
814
- <tr valign="top">
815
- <th scope="row">
816
- <?php echo __('Media Player', 'powerpress'); ?></th>
817
- <td>
818
-
819
- <p><label><input type="checkbox" name="PlayerSettings[display_media_player]" value="2" <?php if( $General['player_function'] == 1 || $General['player_function'] == 2 ) echo 'checked '; ?>/> <?php echo __('Display Player', 'powerpress'); ?></label></p>
820
- <?php /* ?>
821
- <p style="margin-left: 35px;"><input type="checkbox" name="General[display_player_disable_mobile]" value="1" <?php if( !empty($General['display_player_disable_mobile']) ) echo 'checked '; ?>/> <?php echo __('Disable Media Player for known mobile devices.', 'powerpress'); ?></p>
822
- <?php */ ?>
823
- <p><?php echo __('Detected mobile and tablet devices use an HTML5 player with a fallback link to download the media.', 'powerpress'); ?></p>
824
- </td>
825
- </tr>
826
- </table>
827
-
828
-
829
-
830
-
831
- <table class="form-table">
832
-
833
- <tr valign="top">
834
- <th scope="row">
835
-
836
- <?php echo __('Media Links', 'powerpress'); ?></th>
837
- <td>
838
- <p style="padding-top: 8px;"><label><input type="checkbox" name="PlayerSettings[display_pinw]" value="3" <?php if( $General['player_function'] == 3 || $General['player_function'] == 1 ) echo 'checked '; ?>/> <?php echo __('Display Play in new Window Link', 'powerpress'); ?></label></p>
839
-
840
- <p><label><input type="checkbox" name="PlayerSettings[display_download]" value="1" <?php if( $General['podcast_link'] != 0 ) echo 'checked '; ?>/> <?php echo __('Display Download Link', 'powerpress'); ?></label></p>
841
-
842
- <p style="margin-left: 35px;"><input type="checkbox" id="display_download_size" name="PlayerSettings[display_download_size]" value="1" <?php if( $General['podcast_link'] == 2 || $General['podcast_link'] == 3 ) echo 'checked'; ?> onclick="if( !this.checked ) { jQuery('#display_download_duration').removeAttr('checked'); }" /> <?php echo __('Include file size', 'powerpress'); ?>
843
- <input type="checkbox" style="margin-left: 30px;" id="display_download_duration" name="PlayerSettings[display_download_duration]" value="1" <?php if( $General['podcast_link'] == 3 ) echo 'checked'; ?> onclick="if( this.checked ) { jQuery('#display_download_size').attr('checked','checked'); }" /> <?php echo __('Include file size and duration', 'powerpress'); ?></p>
844
-
845
- <p><label><input type="checkbox" name="General[podcast_embed]" value="1" <?php if( !empty($General['podcast_embed']) ) echo 'checked '; ?>/> <?php echo __('Display Player Embed Link', 'powerpress'); ?> </label></p>
846
- <p style="margin-left: 35px;">
847
- <input type="checkbox" name="General[podcast_embed_in_feed]" value="1" <?php if( !empty($General['podcast_embed_in_feed']) ) echo 'checked'; ?> /> <?php echo __('Include embed in feeds', 'powerpress'); ?>
848
- </p>
849
- <p><?php echo __('Embed option works with the MediaElement.js Media Player for audio and video, Flow Player Classic for audio and HTML5 Video player for video.', 'powerpress'); ?></p>
850
- </td>
851
- </tr>
852
- </table>
853
-
854
- <table class="form-table">
855
-
856
- <tr valign="top">
857
- <th scope="row">
858
- <?php echo __('Subscribe Links', 'powerpress'); ?> </th>
859
- <td>
860
- <p style="padding-top: 8px;"><label><input type="checkbox" name="General[subscribe_links]" value="1" <?php if( $General['subscribe_links'] == 1 ) echo 'checked '; ?>/>
861
- <?php echo __('Display subscribe links below player and media links.', 'powerpress'); ?></label></p>
862
- <ul>
863
- <li><label for="subscribe_label">Subscribe label: <input type="text" id="subscribe_label" value="<?php echo esc_attr($General['subscribe_label']); ?>" name="General[subscribe_label]" placeholder="Subscribe:" /></label>
864
- <?php echo __('(leave blank for default)', 'powerpress'); ?>
865
- </li>
866
- </ul>
867
-
868
- <p style="padding-top:10px;"><input type="checkbox" name="NULL[subscribe_feature_itunes]" value="1" checked disabled /> <label><?php echo __('Subscribe on Apple Podcasts', 'powerpress'); ?></label></p>
869
- <div style="margin-left: 24px;">
870
- <p><a href="<?php echo 'https://linkmaker.itunes.apple.com/?q='.urlencode( get_bloginfo('name') ); ?>&amp;media=podcasts" target="_blank"><?php echo __('Find your iTunes Subscription URL', 'powerpress'); ?></a></p>
871
- </div>
872
-
873
- <p><input type="checkbox" name="NULL[subscribe_feature_android]" value="1" checked disabled /> <label><?php echo __('Subscribe on Android', 'powerpress'); ?></label></p>
874
- <div style="margin-left: 24px;">
875
- <p><a href="http://subscribeonandroid.com/podcasters/" target="_blank"><?php echo __('Learn more about Subscribe on Android', 'powerpress'); ?></a></p>
876
- </div>
877
-
878
- <p><input type="hidden" name="General[subscribe_feature_rss]" value="0" /><input type="checkbox" name="General[subscribe_feature_rss]" value="1" id="subscribe_feature_rss" <?php if( !empty($General['subscribe_feature_rss']) || !isset($General['subscribe_feature_rss']) ) echo 'checked '; ?>/> <label for="subscribe_feature_rss"><?php echo __('Subscribe via RSS', 'powerpress'); ?></label></p>
879
-
880
- <p><input type="checkbox" id="subscribe_feature_email" name="General[subscribe_feature_email]" value="1" <?php if( !empty($General['subscribe_feature_email']) ) echo 'checked '; ?>/> <label for="subscribe_feature_email"><?php echo __('Subscribe By Email', 'powerpress'); ?></label> </p>
881
- <div style="margin-left: 24px;">
882
- <p>
883
- <?php echo __('Subscribe By Email is a service that allows listeners to subscribe to their favorite podcasts by email.', 'powerpress'); ?>
884
- </p>
885
- <p><a href="http://subscribebyemail.com/podcasters/" target="_blank"><?php echo __('Learn more about Subscribe by Email', 'powerpress'); ?></a></p>
886
- <p><?php echo __('Note: Subscribe by Email does not replace newsletters or mailing lists. It is only for podcast syndication.', 'powerpress'); ?>
887
- </p>
888
- </div>
889
-
890
- <p><input type="hidden" name="General[subscribe_feature_gp]" value="0" /><input type="checkbox" id="subscribe_feature_gp" name="General[subscribe_feature_gp]" value="1" <?php if( !empty($General['subscribe_feature_gp']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp"><?php echo __('Subscribe on Google Podcasts', 'powerpress'); ?></label> <?php echo powerpressadmin_new(); ?></p>
891
- <p><?php echo __('Note: Subscribe on Android includes Google Podcasts.', 'powerpress'); ?>
892
-
893
- <p><input type="hidden" name="General[subscribe_feature_stitcher]" value="0" /><input type="checkbox" id="subscribe_feature_stitcher" name="General[subscribe_feature_stitcher]" value="1" <?php if( !empty($General['subscribe_feature_stitcher']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher"><?php echo __('Subscribe on Stitcher', 'powerpress'); ?></label></p>
894
-
895
- <p><input type="hidden" name="General[subscribe_feature_tunein]" value="0" /><input type="checkbox" id="subscribe_feature_tunein" name="General[subscribe_feature_tunein]" value="1" <?php if( !empty($General['subscribe_feature_tunein']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein"><?php echo __('Subscribe on TuneIn', 'powerpress'); ?></label></p>
896
-
897
- <p><input type="hidden" name="General[subscribe_feature_spotify]" value="0" /><input type="checkbox" id="subscribe_feature_spotify" name="General[subscribe_feature_spotify]" value="1" <?php if( !empty($General['subscribe_feature_spotify']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify"><?php echo __('Subscribe on Spotify', 'powerpress'); ?></label> <?php echo powerpressadmin_new(); ?></p>
898
-
899
- <p><input type="hidden" name="General[subscribe_feature_iheart]" value="0" /><input type="checkbox" id="subscribe_feature_iheart" name="General[subscribe_feature_iheart]" value="1" <?php if( !empty($General['subscribe_feature_iheart']) ) echo 'checked '; ?>/> <label for="subscribe_feature_iheart"><?php echo __('Subscribe on iHeartRadio', 'powerpress'); ?></label> <?php echo powerpressadmin_new(); ?></p>
900
-
901
- <p><input type="hidden" name="General[subscribe_feature_deezer]" value="0" /><input type="checkbox" id="subscribe_feature_deezer" name="General[subscribe_feature_deezer]" value="1" <?php if( !empty($General['subscribe_feature_deezer']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer"><?php echo __('Subscribe on Deezer', 'powerpress'); ?></label> <?php echo powerpressadmin_new(); ?></p>
902
-
903
- <p><input type="hidden" name="General[subscribe_feature_pandora]" value="0" /><input type="checkbox" id="subscribe_feature_pandora" name="General[subscribe_feature_pandora]" value="1" <?php if( !empty($General['subscribe_feature_pandora']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora"><?php echo __('Subscribe on Pandora', 'powerpress'); ?></label> <?php echo powerpressadmin_new(); ?></p>
904
-
905
-
906
- </td>
907
- </tr>
908
- </table>
909
-
910
- <?php powerpressadmin_settings_tab_appearance($General, $Feed, false); ?>
911
-
912
-
913
-
914
- <table class="form-table">
915
- <tr valign="top">
916
- <th scope="row" style="background-image: url(../wp-includes/images/smilies/icon_exclaim.gif); background-position: 10px 10px; background-repeat: no-repeat; ">
917
-
918
- <div style="margin-left: 24px;"><?php echo __('Having Issues?', 'powerpress'); ?></div></th>
919
- <td>
920
- <select name="General[player_aggressive]" class="bpp_input_med">
921
- <?php
922
- $linkoptions = array(0=>__('No, everything is working', 'powerpress'),
923
- 1=>__('Yes, please try to fix', 'powerpress'),
924
- 2=>__('Yes, alternative fix', 'powerpress'),
925
- 3=>__('Yes, excluding excerpts', 'powerpress'),
926
- 4=>__('Yes, wp_head check', 'powerpress') );
927
-
928
- foreach( $linkoptions as $value => $desc )
929
- echo "\t<option value=\"$value\"". ($General['player_aggressive']==$value?' selected':''). ">$desc</option>\n";
930
-
931
  ?>
932
- </select> <a href="http://create.blubrry.com/resources/powerpress/powerpress-settings/media-appearance/resolving-plugin-theme-conflict-issues/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a>
933
- <p style="margin-top: 5px;">
934
- <?php echo __('Use this option if you are having problems with the players not appearing on some or all of your pages.', 'powerpress'); ?>
935
- </p>
936
- <p style="margin-top: 20px; margin-bottom:0;">
937
- <?php echo __('If the above option fixes the player issues, then you most likely have a conflicting theme or plugin activated. You can verify your theme is not causing the problem by testing your site using the latest default WordPress theme (Twenty Nineteen). For plugins, disable them one by one until the player re-appears, which indicates the last plugin deactivated caused the conflict.', 'powerpress'); ?>
938
- </p>
939
- </td>
940
- </tr>
941
- </table>
942
-
943
- <div id="new_window_settings" style="display: <?php echo ( $General['player_function']==1 || $General['player_function']==3 ?'block':'none'); ?>">
944
- <h3><?php echo __('Play in New Window Settings', 'powerpress'); ?></h3>
945
- <table class="form-table">
946
-
947
- <tr valign="top">
948
- <th scope="row">
949
- <?php echo __('New Window Width', 'powerpress'); ?>
950
- </th>
951
- <td>
952
- <input type="text" name="General[new_window_width]" style="width: 50px;" onkeyup="javascript:this.value=this.value.replace(/[^0-9]/g, '');" value="<?php echo esc_attr($General['new_window_width']); ?>" maxlength="4" />
953
- <?php echo __('Width of new window (leave blank for 420 default)', 'powerpress'); ?>
954
- </td>
955
- </tr>
956
-
957
- <tr valign="top">
958
- <th scope="row">
959
- <?php echo __('New Window Height', 'powerpress'); ?>
960
- </th>
961
- <td>
962
- <input type="text" name="General[new_window_height]" style="width: 50px;" onkeyup="javascript:this.value=this.value.replace(/[^0-9]/g, '');" value="<?php echo esc_attr($General['new_window_height']); ?>" maxlength="4" />
963
- <?php echo __('Height of new window (leave blank for 240 default)', 'powerpress'); ?>
964
- </td>
965
- </tr>
966
-
967
- <tr valign="top">
968
- <th scope="row">
969
- &nbsp;
970
- </th>
971
- <td>
972
-
973
- <p style="margin: 8px 0 0 0;">
974
- <label><input type="checkbox" name="General[new_window_nofactor]" value="1" <?php if( !empty($General['new_window_nofactor']) ) echo 'checked'; ?> /> <?php echo __('Do not factor in scroll bars', 'powerpress'); ?></label>
975
- </p>
976
- <div style="margin: 0 0 0 20px;"><?php echo __('By default, PowerPress adds to the width and height above to compensate for possible vertical and horizontal scroll bars. Check this option if you do not want PowerPress to compensate for browser scroll bars.', 'powerpress'); ?></div>
977
- </td>
978
-
979
- </table>
980
- </div><!-- end new_window_settings -->
981
-
982
- <h3><?php echo __('Miscellaneous Settings', 'powerpress'); ?></h3>
983
- <table class="form-table">
984
- <tr>
985
- <th><?php echo __('Media Embed Options', 'powerpress'); ?></th>
986
- <td>
987
- <label style="font-size: 110%;">
988
- <input id="embed_replace_player" name="General[embed_replace_player]" type="checkbox" value="1"<?php if( !empty($General['embed_replace_player']) ) echo ' checked'; ?> />
989
- <?php echo __('Replace Player with Embed', 'powerpress'); ?>
990
- (<?php echo __('Do not display default player if embed present for episode.', 'powerpress'); ?>)
991
- </label>
992
- </td>
993
- </tr>
994
- <tr>
995
- <th scope="row">
996
- <?php
997
- echo __('Auto Add Media', 'powerpress');
998
- if( !isset($General['auto_enclose']) )
999
- $General['auto_enclose'] = 0;
1000
- ?></th>
1001
- <td>
1002
- <select name="General[auto_enclose]" class="bpp_input_med">
1003
- <?php
1004
- $options = array(0=>__('Disabled (default)', 'powerpress'), 1=>__('First media link found in post content', 'powerpress'), 2=>__('Last media link found in post content', 'powerpress') );
1005
-
1006
- foreach( $options as $value => $desc )
1007
- echo "\t<option value=\"$value\"". ($General['auto_enclose']==$value?' selected':''). ">$desc</option>\n";
1008
-
1009
- ?>
1010
- </select>
1011
- <p><?php echo __('When enabled, the first or last media link found in the post content is automatically added as your podcast episode.', 'powerpress'); ?></p>
1012
- <p style="margin-bottom: 0;" class="description"><em><?php echo __('NOTE: Use this feature with caution. Links to media files could unintentionally become podcast episodes.', 'powerpress'); ?></em></p>
1013
- <p><em><?php echo __('WARNING: Episodes created with this feature will <u>not</u> include Duration (total play time) information.', 'powerpress'); ?></em></p>
1014
- </td>
1015
- </tr>
1016
- <tr>
1017
- <th scope="row">
1018
- <?php echo __('Disable Warnings', 'powerpress'); ?></th>
1019
- <td>
1020
- <select name="General[hide_warnings]" class="bpp_input_med">
1021
- <?php
1022
- $options = array(0=>__('No (default)', 'powerpress'), 1=>__('Yes', 'powerpress') );
1023
- $current_value = (!empty($General['hide_warnings'])?$General['hide_warnings']:0);
1024
- foreach( $options as $value => $desc )
1025
- echo "\t<option value=\"$value\"". ($current_value==$value?' selected':''). ">$desc</option>\n";
1026
-
1027
- ?>
1028
- </select>
1029
- <p><?php echo __('Disable warning messages displayed in episode entry box. Errors are still displayed.', 'powerpress'); ?></p>
1030
- </td>
1031
- </tr>
1032
- </table>
1033
-
1034
- </div><!-- end presentation_settings in advanced mode -->
1035
- <!-- end presentation settings -->
1036
 
1037
  <?php
1038
  } // End powerpress_admin_appearance()
1039
 
 
 
 
 
 
 
 
 
1040
 
1041
- function powerpressadmin_welcome($GeneralSettings)
 
 
 
 
 
 
 
 
1042
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1043
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
1044
  <div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1045
  <div class="powerpress-welcome-news">
1046
- <h2><?php echo __('Podcast Insider by Blubrry', 'powerpress'); ?></h2>
1047
- <?php powerpressadmin_community_news(); ?>
1048
- <p style="margin-bottom: 0; font-size: 85%;">
1049
- <input type="checkbox" name="General[disable_dashboard_news]" value="1" <?php echo (empty($GeneralSettings['disable_dashboard_news'])?'':'checked'); ?> /> <?php echo __('Remove from dashboard', 'powerpress'); ?>
1050
- </p>
1051
- </div>
1052
- <div class="powerpress-welcome-highlighted">
1053
- <div>
1054
- <h2><?php echo __('Highlighted Topics', 'powerpress'); ?></h2>
1055
- <?php powerpressadmin_community_highlighted(); ?>
1056
- </div>
1057
  </div>
 
1058
  <div class="clear"></div>
1059
  </div>
1060
  <?php
@@ -1068,26 +1006,41 @@ function powerpressadmin_edit_funding($FeedSettings = false, $feed_slug='podcast
1068
  $FeedSettings['donate_url'] = '';
1069
  if( !isset($FeedSettings['donate_label']) )
1070
  $FeedSettings['donate_label'] = '';
1071
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1072
  <!-- Donate link and label -->
1073
- <table class="form-table">
1074
- <tr valign="top">
1075
- <th scope="row">
1076
- <?php echo __('Donate Link', 'powerpress'); ?> </th>
1077
- <td>
1078
- <p style="padding-top: 8px;"><label for="donate_link"><input type="checkbox" id="donate_link" name="Feed[donate_link]" value="1" <?php if( $FeedSettings['donate_link'] == 1 ) echo 'checked '; ?>/>
1079
- <?php echo __('Syndicate a donate link with your podcast. Create your own croudfunding page with PayPal donate buttons, or link to a service such as Patreon.', 'powerpress'); ?></label></p>
1080
- <ul>
1081
- <li><label for="donate_url" style="width: 100px; display:inline-block; text-align: right;">Donate URL:</label> <input type="text" id="donate_url" value="<?php echo esc_attr($FeedSettings['donate_url']); ?>" name="Feed[donate_url]" style="width:50%; max-width: 300px;" />
1082
- </li>
1083
- <li><label for="donate_label" style="width: 100px; display:inline-block; text-align: right;">Donate label:</label> <input type="text" id="donate_label" value="<?php echo esc_attr($FeedSettings['donate_label']); ?>" name="Feed[donate_label]" style="width: 50%; max-width: 300px;" />
1084
- <?php echo __('(optional)', 'powerpress'); ?>
1085
- </li>
1086
- </ul>
1087
- <p><a href="http://create.blubrry.com/resources/powerpress/advanced-tools-and-options/syndicating-a-donate-link-in-your-podcast/" target="_blank"><?php echo __('Learn more about syndicating donate links for podcasting', 'powerpress'); ?></a></p>
1088
- </td>
1089
- </tr>
1090
- </table>
1091
  <?php
1092
  }
1093
 
@@ -1097,14 +1050,11 @@ function powerpressadmin_edit_tv($FeedSettings = false, $feed_slug='podcast', $c
1097
  $FeedSettings['parental_rating'] = '';
1098
 
1099
  ?>
1100
- <h3><?php echo __('T.V. Settings', 'powerpress'); ?></h3>
1101
- <table class="form-table">
1102
- <tr valign="top">
1103
- <th scope="row">
1104
- <?php echo __('Parental Rating', 'powerpress'); ?> </th>
1105
- <td>
1106
- <p><?php echo sprintf(__('A parental rating is used to display your content on %s applications available on Internet connected TV\'s. The TV Parental Rating applies to both audio and video media.', 'powerpress'), '<strong><a href="http://www.blubrry.com/roku_blubrry/" target="_blank">Blubrry</a></strong>'); ?></p>
1107
- <?php
1108
  $Ratings = array(''=>__('No rating specified', 'powerpress'),
1109
  'TV-Y'=>__('Children of all ages', 'powerpress'),
1110
  'TV-Y7'=>__('Children 7 years and older', 'powerpress'),
@@ -1128,17 +1078,34 @@ function powerpressadmin_edit_tv($FeedSettings = false, $feed_slug='podcast', $c
1128
  foreach( $Ratings as $rating => $title )
1129
  {
1130
  $tip = $RatingsTips[ $rating ];
 
 
 
1131
  ?>
1132
- <div style="margin-bottom: 10px;"><label><input type="radio" name="Feed[parental_rating]" value="<?php echo $rating; ?>" <?php if( $FeedSettings['parental_rating'] == $rating) echo 'checked'; ?> /> <?php if( $rating ) { ?><strong><?php echo $rating; ?></strong><?php } else { ?><strong><?php echo htmlspecialchars($title); ?></strong><?php } ?></label>
1133
- <?php if( $rating ) { ?> <span style="margin-left: 8px;"><a href="#" class="powerpress-parental-rating-tip" id="rating_tip_<?php echo $rating; ?>"><?php echo htmlspecialchars($title); ?></a></span><?php } ?>
1134
- <p style="margin: 5px 50px; display: none;" id="rating_tip_<?php echo $rating; ?>_p" class="powerpress-parental-rating-tip-p"><?php echo htmlspecialchars($tip); ?></p>
1135
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1136
  <?php
1137
  }
1138
  ?>
1139
- </td>
1140
- </tr>
1141
- </table>
1142
  <?php
1143
  }
1144
 
@@ -1146,86 +1113,70 @@ function powerpressadmin_edit_artwork($FeedSettings, $General)
1146
  {
1147
  $SupportUploads = powerpressadmin_support_uploads();
1148
  ?>
1149
- <h3><?php echo __('Artwork and Images', 'powerpress'); ?></h3>
1150
-
1151
- <table class="form-table">
1152
- <tr valign="top">
1153
- <th scope="row">
1154
- <?php echo __('iTunes Image', 'powerpress'); ?>
1155
- <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
1156
- <?php echo powerpressadmin_updated( __('recommended size changed February, 2016', 'powerpress') ); ?>
1157
- </th>
1158
- <td>
1159
- <input type="text" id="itunes_image" name="Feed[itunes_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['itunes_image'])? $FeedSettings['itunes_image']:''); ?>" maxlength="255" />
1160
- <a href="#" onclick="javascript: window.open( document.getElementById('itunes_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1161
-
1162
- <p><?php echo __('iTunes image must be at least 1400 x 1400 pixels in .jpg or .png format. iTunes image must not exceed 3000 x 3000 pixels and must use RGB color space.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?>: http://example.com/images/itunes.jpg
1163
- </p>
1164
-
1165
- <p><strong><?php echo __('A square 3000 x 3000 pixel image in .jpg format is recommended.', 'powerpress'); ?></strong></p>
 
 
 
 
 
 
 
1166
 
1167
- <p>
1168
- <?php echo __('This image is for your listing on the Apple podcasts directory and may also be used by other directories like Blubrry. It is not the artwork that is displayed during episode playback. That artwork needs to be saved into the media file in the form of tags (ID3 tags for mp3) following the production of the media file.', 'powerpress'); ?>
1169
- </p>
1170
 
1171
- <p class="description"><?php echo __('Note: If you change the iTunes image without changing the file name it may take some time (days or even months) for iTunes to update the image in the Apple Podcast Directory.', 'powerpress'); ?>
1172
- <?php echo sprintf( __('Please contact %s if you are having issues with your image changes not appearing in iTunes.', 'powerpress'), '<a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-itunes/itunes-support/">'. __('Apple Podcasts Support', 'powerpress') .'</a>'); ?></p>
1173
- <?php if( $SupportUploads ) { ?>
1174
 
1175
- <p><label class="powerpress-normal-font"><input name="itunes_image_checkbox" type="checkbox" onchange="powerpress_show_field('itunes_image_upload', this.checked)" value="1" /> <?php echo __('Upload new image', 'powerpress'); ?></label> &nbsp;
1176
- <span style="font-size:85%;">(<?php echo __('Using this option should update your image on iTunes within 24 hours', 'powerpress'); ?>)</span>
1177
- </p>
1178
- <div style="display:none" id="itunes_image_upload">
1179
- <label for="itunes_image_file"><?php echo __('Choose file', 'powerpress'); ?>:</label><input type="file" id="itunes_image_file" name="itunes_image_file" /><br />
1180
- <div style="margin-left: 85px;"><label class="powerpress-normal-font"><input name="itunes_image_checkbox_as_rss" type="checkbox" value="1" onchange="powerpress_show_field('rss_image_upload_container', !this.checked)" /> <?php echo __('Also use as RSS image', 'powerpress'); ?></label></div>
 
1181
  </div>
1182
- <?php } ?>
1183
- </td>
1184
- </tr>
1185
- </table>
1186
 
1187
 
1188
- <table class="form-table">
1189
- <tr valign="top">
1190
- <th scope="row">
1191
- <?php echo __('iTunes Episode Image', 'powerpress'); ?></th>
1192
- <td>
1193
 
1194
- <p style="padding-top: 10px;"><label><input type="checkbox" name="Feed[episode_itunes_image]" value="1" <?php if( !empty($FeedSettings['episode_itunes_image']) ) echo 'checked '; ?>/> <?php echo __('Use iTunes image above', 'powerpress'); ?></label></p>
1195
- <p><?php echo __('Use the program iTunes image above as your iTunes episode image.', 'powerpress'); ?></p>
1196
- <p class="description"><?php echo __('NOTE: You must still save artwork into your media files to guarantee your artwork is displayed during playback.', 'powerpress'); ?></p>
1197
- </td>
1198
- </tr>
1199
 
1200
- <table class="form-table">
1201
-
1202
- <tr valign="top">
1203
- <th scope="row">
1204
- <?php echo __('RSS2 Image', 'powerpress'); ?> <br />
1205
- <span style="font-size: 85%; margin-left: 5px;"><?php echo __('Recommendation: Use iTunes image', 'powerpress'); ?></span>
1206
- </th>
1207
- <td>
1208
- <input type="text" id="rss2_image" name="Feed[rss2_image]" style="width: 60%; margin-top: 10px;" value="<?php echo esc_attr( !empty($FeedSettings['rss2_image'])? $FeedSettings['rss2_image']:''); ?>" maxlength="255" />
1209
- <a href="#" onclick="javascript: window.open( document.getElementById('rss2_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1210
 
1211
- <p><?php echo __('Place the URL to the RSS image above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?> http://mysite.com/images/rss.jpg</p>
 
 
 
 
1212
 
1213
- <!--
1214
- <p><?php echo __('RSS image should be at least 88 pixels wide and at least 31 pixels high in either .gif, .jpg and .png format.', 'powerpress'); ?></p>
1215
- <p><strong><?php echo __('A square image that is 300 x 300 pixel or larger in .jpg format is recommended.', 'powerpress'); ?></strong></p>
1216
- -->
 
1217
 
1218
- <?php if( $SupportUploads ) { ?>
1219
- <div id="rss_image_upload_container">
1220
- <p><input name="rss2_image_checkbox" type="checkbox" onchange="powerpress_show_field('rss_image_upload', this.checked)" value="1" /> <?php echo __('Upload new image', 'powerpress'); ?></p>
1221
- <div style="display:none" id="rss_image_upload">
1222
- <label for="rss2_image"><?php echo __('Choose file', 'powerpress'); ?>:</label><input type="file" name="rss2_image_file" />
1223
- </div>
 
 
 
 
 
1224
  </div>
1225
- <?php } ?>
1226
- </td>
1227
- </tr>
1228
- </table>
1229
  <?php
1230
 
1231
  }
2
 
3
  function powerpress_admin_basic()
4
  {
5
+ wp_enqueue_style("powerpress_episode_box", '/wp-content/plugins/powerpress/css/settings.css');
6
+
7
+ $FeedAttribs = array('type'=>'general', 'feed_slug'=>'', 'category_id'=>0, 'term_taxonomy_id'=>0, 'term_id'=>0, 'taxonomy_type'=>'', 'post_type'=>'');
8
  // feed_slug = channel
9
 
10
  $General = powerpress_get_settings('powerpress_general');
29
  $MultiSiteServiceSettings = true;
30
  }
31
  }
32
+
33
  ?>
34
  <script type="text/javascript"><!--
35
  function CheckRedirect(obj)
117
  } );
118
  //-->
119
  </script>
120
+ <script src='/wp-content/plugins/powerpress/js/admin.js'></script>
121
  <input type="hidden" name="action" value="powerpress-save-settings" />
122
 
123
+ <input type="hidden" id="save_tab_pos" name="tab" value="<?php echo (empty($_POST['tab']) ? "settings-welcome" : $_POST['tab']); ?>" />
124
+ <input type="hidden" id="save_sidenav_pos" name="sidenav-tab" value="<?php echo (empty($_POST['sidenav-tab']) ? "" : $_POST['sidenav-tab']); ?>" />
125
 
126
  <div id="powerpress_admin_header">
127
  <h2><?php echo __('Blubrry PowerPress Settings', 'powerpress'); ?></h2>
128
 
129
  </div>
130
 
131
+ <div id="powerpress_settings_page" class="powerpress_tabbed_content">
132
+ <div class="pp-tab">
133
+ <button id="welcome-tab" class="tablinks active" onclick="powerpress_openTab(event, 'settings-welcome')"><?php echo htmlspecialchars(__('Welcome', 'powerpress')); ?></button>
134
  <!-- #tab1 deprecated. was episodes tab -->
135
+ <button id="feeds-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-feeds')"><?php echo htmlspecialchars(__('Feeds', 'powerpress')); ?></button>
136
+ <button id="website-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-website')"><?php echo htmlspecialchars(__('Website', 'powerpress')); ?></button>
137
+ <button id="destinations-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-destinations')"><?php echo htmlspecialchars(__('Destinations', 'powerpress')); ?></button>
138
+ <!-- <button id="analytics-tab" class="tablinks" onclick="openTab(event, 'settings-analytics')"><?php echo htmlspecialchars(__('Analytics', 'powerpress')); ?></button> -->
139
+ <button id="advanced-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-advanced')"><?php echo htmlspecialchars(__('Advanced', 'powerpress')); ?></button>
140
+ </div>
 
141
 
142
+ <div id="settings-welcome" class="pp-tabcontent active">
143
+ <div class="pp-sidenav">
144
+ <br />
145
+ <div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
146
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
147
+ <br />
148
+ <?php
149
+ powerpressadmin_edit_blubrry_services($General);
150
+ ?>
151
+ </div>
152
+ <button style="display: none;" id="welcome-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'welcome-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
153
+ <div id="welcome-all" class="pp-sidenav-tab active">
154
+ <?php powerpressadmin_welcome($General, $FeedSettings); ?>
155
+ </div>
156
  </div>
157
+
158
+ <div id="settings-feeds" class="pp-tabcontent has-sidenav">
159
+ <div class="pp-sidenav">
160
+ <div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('FEED SETTINGS', 'powerpress')); ?></b></p></div>
161
+ <button id="feeds-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'feeds-feeds')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/megaphone_gray.svg"><?php echo htmlspecialchars(__('Podcast Feeds', 'powerpress')); ?></button>
162
+ <button class="pp-sidenav-tablinks" id="feeds-settings-tab" onclick="sideNav(event, 'feeds-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/option_bar_settings_gray.svg"><?php echo htmlspecialchars(__('Feed Settings', 'powerpress')); ?></button>
163
+ <button class="pp-sidenav-tablinks" id="feeds-artwork-tab" onclick="sideNav(event, 'feeds-artwork')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/camera_gray.svg"><?php echo htmlspecialchars(__('Podcast Artwork', 'powerpress')); ?></button>
164
+ <button class="pp-sidenav-tablinks" id="feeds-seo-tab" onclick="sideNav(event, 'feeds-seo')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/fileboard_checklist_gray.svg"><?php echo htmlspecialchars(__('Podcast SEO', 'powerpress')); ?></button>
165
+ <button class="pp-sidenav-tablinks" id="feeds-basic-tab" onclick="sideNav(event, 'feeds-basic')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/edit_gray.svg"><?php echo htmlspecialchars(__('Basic Show Information', 'powerpress')); ?></button>
166
+ <button class="pp-sidenav-tablinks" id="feeds-rating-tab" onclick="sideNav(event, 'feeds-rating')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/star_favorite_gray.svg"><?php echo htmlspecialchars(__('Rating Settings', 'powerpress')); ?></button>
167
+ <button class="pp-sidenav-tablinks" id="feeds-apple-tab" onclick="sideNav(event, 'feeds-apple')"><span id="apple-icon-feed" class="destinations-side-icon" style="margin-left: 2px;"></span><span class="destination-side-text" style="margin-left: 6px;"><?php echo htmlspecialchars(__('Apple Settings', 'powerpress')); ?></span></button>
168
+ <br />
169
+ <div class="pp-sidenav-extra" style="margin-top: 120%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
170
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
171
+ <br />
172
+ <?php
173
+ powerpressadmin_edit_blubrry_services($General);
174
+ ?>
175
+ </div>
176
+ <div id="feeds-feeds" class="pp-sidenav-tab active">
177
+ <?php
178
+ powerpressadmin_edit_feed_general($FeedSettings, $General, $FeedAttribs);
179
+ powerpress_settings_tab_footer();
180
+ ?>
181
+ </div>
182
+ <div id="feeds-settings" class="pp-sidenav-tab">
183
+ <?php
184
+ powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttribs);
185
+ powerpress_settings_tab_footer();
186
+ ?>
187
+ </div>
188
+ <div id="feeds-artwork" class="pp-sidenav-tab">
189
+ <?php
190
+ powerpressadmin_edit_artwork($FeedSettings, $General);
191
+ powerpress_settings_tab_footer();
192
+ ?>
193
+ </div>
194
+ <div id="feeds-seo" class="pp-sidenav-tab">
195
+ <?php
196
+ require_once(POWERPRESS_ABSPATH . "/powerpressadmin-search.php");
197
+ powerpress_admin_search();
198
+ powerpress_settings_tab_footer();
199
+ ?>
200
+ </div>
201
+ <div id="feeds-basic" class="pp-sidenav-tab">
202
+ <?php
203
+ powerpressadmin_edit_funding($FeedSettings);
204
+ powerpress_settings_tab_footer();
205
+ ?>
206
+ </div>
207
+ <div id="feeds-rating" class="pp-sidenav-tab">
208
+ <?php
209
+ powerpressadmin_edit_tv($FeedSettings);
210
+ powerpress_settings_tab_footer();
211
+ ?>
212
+ </div>
213
+ <div id="feeds-apple" class="pp-sidenav-tab">
214
+ <?php
215
+ powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs);
216
+ powerpress_settings_tab_footer();
217
+ ?>
218
+ </div>
219
+ </div>
220
+
221
+ <div id="settings-website" class="pp-tabcontent">
222
+ <div class="pp-sidenav">
223
+ <div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('WEBSITE SETTINGS', 'powerpress')); ?></b></p></div>
224
+ <button id="website-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'website-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/desktop_gray.svg"><?php echo htmlspecialchars(__('Website Settings', 'powerpress')); ?></button>
225
+ <button class="pp-sidenav-tablinks" id="website-blog-tab" onclick="sideNav(event, 'website-blog')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/file_gray.svg"><?php echo htmlspecialchars(__('Blog Posts and Pages', 'powerpress')); ?></button>
226
+ <button class="pp-sidenav-tablinks" id="website-subscribe-tab" onclick="sideNav(event, 'website-subscribe')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/profile_plus_round_gray.svg"><?php echo htmlspecialchars(__('Subscribe Page', 'powerpress')); ?></button>
227
+ <button class="pp-sidenav-tablinks" id="website-shortcodes-tab" onclick="sideNav(event, 'website-shortcodes')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/connection_pattern_gray.svg"><?php echo htmlspecialchars(__('PowerPress Shortcodes', 'powerpress')); ?></button>
228
+ <button class="pp-sidenav-tablinks" id="website-new-window-tab" onclick="sideNav(event, 'website-new-window')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/play_gray.svg"><?php echo htmlspecialchars(__('Play in New Window', 'powerpress')); ?></button>
229
+ <br />
230
+ <div class="pp-sidenav-extra" style="margin-top: 90%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
231
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
232
+ <br />
233
+ <?php
234
+ powerpressadmin_edit_blubrry_services($General);
235
+ ?>
236
+ </div>
237
+
238
+ <?php
239
+ if( $General === false )
240
+ $General = powerpress_get_settings('powerpress_general');
241
+ $General = powerpress_default_settings($General, 'appearance');
242
+ if( !isset($General['player_function']) )
243
+ $General['player_function'] = 1;
244
+ if( !isset($General['player_aggressive']) )
245
+ $General['player_aggressive'] = 0;
246
+ if( !isset($General['new_window_width']) )
247
+ $General['new_window_width'] = '';
248
+ if( !isset($General['new_window_height']) )
249
+ $General['new_window_height'] = '';
250
+ if( !isset($General['player_width']) )
251
+ $General['player_width'] = '';
252
+ if( !isset($General['player_height']) )
253
+ $General['player_height'] = '';
254
+ if( !isset($General['player_width_audio']) )
255
+ $General['player_width_audio'] = '';
256
+ if( !isset($General['disable_appearance']) )
257
+ $General['disable_appearance'] = false;
258
+ if( !isset($General['subscribe_links']) )
259
+ $General['subscribe_links'] = true;
260
+ if( !isset($General['subscribe_label']) )
261
+ $General['subscribe_label'] = '';
262
+ require_once( dirname(__FILE__).'/views/settings_tab_appearance.php' );
263
+
264
+ ?>
265
+
266
+
267
+ <div id="website-settings" class="pp-sidenav-tab active">
268
+ <?php
269
+ powerpressadmin_website_settings($General, $FeedSettings);
270
+ powerpress_settings_tab_footer();
271
+ ?>
272
+ </div>
273
+ <div id="website-blog" class="pp-sidenav-tab">
274
+ <?php
275
+ powerpressadmin_blog_settings($General, $FeedSettings);
276
+ powerpress_settings_tab_footer();
277
+ ?>
278
+ </div>
279
+ <div id="website-subscribe" class="pp-sidenav-tab">
280
+ <?php
281
+ powerpress_subscribe_settings($General, $FeedSettings);
282
+ powerpress_settings_tab_footer();
283
+ ?>
284
+ </div>
285
+ <div id="website-shortcodes" class="pp-sidenav-tab">
286
+ <?php
287
+ powerpress_shortcode_settings($General, $FeedAttribs);
288
+ powerpress_settings_tab_footer();
289
+ ?>
290
+ </div>
291
+ <div id="website-new-window" class="pp-sidenav-tab">
292
+ <?php
293
+ powerpressadmin_new_window_settings($General, $FeedSettings);
294
+ powerpress_settings_tab_footer();
295
+ ?>
296
+ </div>
297
+ </div>
298
+
299
+ <div id="settings-destinations" class="pp-tabcontent">
300
+ <?php
301
+ powerpressadmin_edit_destinations($FeedSettings, $General, $FeedAttribs);
302
+ ?>
303
+ </div>
304
 
305
+ <div id="settings-analytics" class="pp-tabcontent">
306
+ <div class="pp-sidenav">
307
+ <?php
308
+ powerpressadmin_edit_blubrry_services($General);
309
+ ?>
310
+ </div>
311
  <?php
312
  if( $MultiSiteServiceSettings && defined('POWERPRESS_MULTISITE_VERSION') )
313
  {
315
  }
316
  else
317
  {
 
318
  powerpressadmin_edit_media_statistics($General);
319
  }
320
  ?>
321
  </div>
322
+
323
+ <div id="settings-advanced" class="pp-tabcontent">
324
+ <div class="pp-sidenav">
325
+ <br />
326
+ <div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
327
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
328
+ <br />
329
+ <?php
330
+ powerpressadmin_edit_blubrry_services($General);
331
+ ?>
332
+ </div>
333
+ <?php
334
+ powerpressadmin_advanced_options($General, false);
335
+ ?>
336
+ </div>
337
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  </div>
339
  <div class="clear"></div>
340
 
341
  <?php
 
 
342
  }
343
 
344
+ function powerpressadmin_advanced_options($General, $link_account = true)
345
  {
346
  // Break the bottom section here out into it's own function
347
  $ChannelsCheckbox = '';
351
  //if( !empty($General['custom_cat_feeds']) ) // Decided ont to include this warning because it may imply that you have to delete the actual category, which is not true.
352
  // $CategoryCheckbox = ' onclick="alert(\'You must remove podcasting from the categories to disable this option.\');return false;"';
353
  ?>
354
+ <script language="javascript">
355
 
356
  jQuery(document).ready( function() {
357
 
370
  });
371
  });
372
 
373
+ function goToPodcastSEO() {
374
+ jQuery("#feeds-tab").click();
375
+ jQuery("#feeds-seo-tab").click();
376
+ return false;
377
+ }
378
  </script>
379
  <div style="margin-left: 10px;">
380
+
381
+ <button style="display: none;" id="advanced-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'advanced-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
382
+ <div id="advanced-all" class="pp-sidenav-tab active">
383
+ <h1 class="pp-heading"><?php echo __('Advanced Settings', 'powerpress'); ?></h1>
384
  <div>
385
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="NULL[import_podcast]" value="1" checked disabled />
386
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
387
+ <p class="pp-main"><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_import_feed.php'); ?>"><?php echo __('Import Podcast', 'powerpress'); ?></a></p>
388
+ <p class="pp-sub"><?php echo __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'); ?></p>
389
+ </div>
390
  </div>
391
  <div>
392
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="NULL[migrate_media]" value="1" checked disabled />
393
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
394
+ <p class="pp-main"><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_migrate.php'); ?>"><?php echo __('Migrate Media', 'powerpress'); ?></a></p>
395
+ <p class="pp-sub"><?php echo __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'); ?></p>
396
+ </div>
397
  </div>
398
  <div>
399
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="NULL[podcasting_seo]" value="1" checked disabled />
400
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
401
+ <p class="pp-main"><a id="advanced-tab-seo-link" onclick="goToPodcastSEO();return false;"><?php echo __('Podcasting SEO', 'powerpress'); ?></a></p>
402
+ <p class="pp-sub"><?php echo __('Optimize how your podcast appears in Internet search results.', 'powerpress'); ?></p>
403
+ </div>
404
  </div>
405
 
406
  <div>
407
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="NULL[player_options]" value="1" checked disabled />
408
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
409
+ <p class="pp-main"><?php echo __('Audio Player Options', 'powerpress'); ?></p>
410
+ <p class="pp-sub"><?php echo __('Select from 3 different web based audio players.', 'powerpress'); ?>
411
+ <b><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_player.php&sp=1'); ?>">(<?php echo __('configure audio player', 'powerpress'); ?>)</a></b></p>
412
+ </div>
413
  </div>
414
  <div>
415
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="NULL[video_player_options]" value="1" checked disabled />
416
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
417
+ <p class="pp-main"><?php echo __('Video Player Options', 'powerpress'); ?></p>
418
+ <p class="pp-sub"><?php echo __('Select from 3 different web based video players.', 'powerpress'); ?>
419
+ <b><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_videoplayer.php&sp=1'); ?>">(<?php echo __('configure video player', 'powerpress'); ?>)</a></b></p>
420
+ </div>
421
  </div>
422
  <div>
423
  <input type="hidden" name="General[channels]" value="0" />
424
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="General[channels]" value="1" <?php echo ( !empty($General['channels']) ?' checked':''); echo $ChannelsCheckbox; ?> />
425
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
426
+ <p class="pp-main"><?php echo __('Custom Podcast Channels', 'powerpress'); ?></p>
427
+ <p class="pp-sub"><?php echo __('Manage multiple media files and/or formats to one blog post.', 'powerpress'); ?>
428
+ <?php if( empty($General['channels']) ) { ?>
429
+ (<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)
430
+ <?php } else { ?>
431
+ <b><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_customfeeds.php'); ?>">(<?php echo __('configure podcast channels', 'powerpress'); ?>)</a></b>
432
+ <?php } ?>
433
+ </p>
434
+ </div>
435
  </div>
436
  <div>
437
  <input type="hidden" name="General[cat_casting]" value="0" />
438
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="General[cat_casting]" value="1" <?php echo ( !empty($General['cat_casting']) ?' checked':''); echo $CategoryCheckbox; ?> />
439
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
440
+ <p class="pp-main"><?php echo __('Category Podcasting', 'powerpress'); ?></p>
441
+ <p class="pp-sub"><?php echo __('Manage podcasting for specific categories.', 'powerpress'); ?>
442
+ <?php if( empty($General['cat_casting']) ) { ?>
443
+ (<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)
444
+ <?php } else { ?>
445
+ <b><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_categoryfeeds.php'); ?>">(<?php echo __('configure podcast categories', 'powerpress'); ?>)</a></b>
446
+ <?php } ?>
447
+ </p>
448
+ </div>
449
  </div>
450
 
451
 
452
  <div>
453
  <input type="hidden" name="General[taxonomy_podcasting]" value="0" />
454
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="General[taxonomy_podcasting]" value="1" <?php echo ( !empty($General['taxonomy_podcasting']) ?' checked':''); ?> />
455
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
456
+ <p class="pp-main"><?php echo __('Taxonomy Podcasting', 'powerpress'); ?>
457
+ <p class="pp-sub"><?php echo __('Manage podcasting for specific taxonomies.', 'powerpress'); ?>
458
+ <?php if( empty($General['taxonomy_podcasting']) ) { ?>
459
+ (<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)
460
+ <?php } else { ?>
461
+ <b><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_taxonomyfeeds.php'); ?>">(<?php echo __('configure taxonomy podcasting', 'powerpress'); ?>)</a></b>
462
+ <?php } ?>
463
+ </p>
464
+ </div>
465
  </div>
466
  <div>
467
  <input type="hidden" name="General[posttype_podcasting]" value="0" />
468
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="General[posttype_podcasting]" value="1" <?php echo ( !empty($General['posttype_podcasting']) ?' checked':''); ?> />
469
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
470
+ <p class="pp-main"><?php echo __('Post Type Podcasting', 'powerpress'); ?></p>
471
+ <p class="pp-sub"><?php echo __('Manage multiple media files and/or formats to specific post types.', 'powerpress'); ?>
472
+ <?php if( empty($General['posttype_podcasting']) ) { ?>
473
+ (<?php echo __('feature will appear in left menu when enabled', 'powerpress'); ?>)
474
+ <?php } else { ?>
475
+ <b><a href="<?php echo admin_url('admin.php?page=powerpress/powerpressadmin_posttypefeeds.php'); ?>">(<?php echo __('configure post type podcasting', 'powerpress'); ?>)</a></b>
476
+ <?php } ?>
477
+ </p>
478
+ </div>
479
  </div>
480
  <div>
481
+ <input class="pp-settings-checkbox" style="margin-top: 3em;" type="checkbox" name="General[playlist_player]" value="1" <?php echo ( !empty($General['playlist_player']) ?' checked':''); ?> />
482
+ <div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
483
+ <p class="pp-main"><?php echo __('PowerPress Playlist Player', 'powerpress'); ?></p>
484
+ <p class="pp-sub"><?php echo __('Create playlists for your podcasts.', 'powerpress'); ?>
485
+ <b><a href="http://create.blubrry.com/resources/powerpress/advanced-tools-and-options/powerpress-playlist-shortcode/" target="_blank">(<?php echo __('learn more', 'powerpress'); ?>)</a></b>
486
+ </p>
487
+ </div>
488
  </div>
489
+ <?php powerpress_settings_tab_footer(); ?>
490
  </div>
491
  </div>
492
 
493
  <?php
494
  $link_action_url = admin_url('admin.php?action=powerpress-jquery-account');
495
  $link_action = 'powerpress-jquery-account';
496
+ if ($link_account) {
497
+ ?>
498
+ <div style="margin-left: 10px;">
499
+ <h3><?php echo __('Link Blubrry Account', 'powerpress'); ?></h3>
500
+ <p style="font-size: 125%;">
501
+ <strong><a class="button-primary button-blubrry thickbox"
502
+ title="<?php echo esc_attr(__('Blubrry Services Integration', 'powerpress')); ?>"
503
+ href="<?php echo wp_nonce_url($link_action_url, $link_action); ?>&amp;KeepThis=true&amp;TB_iframe=true&amp;width=600&amp;height=400&amp;modal=false"
504
+ target="_blank"><?php echo __('Click here to link Blubrry account', 'powerpress'); ?></a></strong>
505
+ </p>
506
+ <p>
507
+ <?php echo __('Link your blubrry.com account if you have a Blubrry Podcast Hosting or Blubrry Podcast Statistics services.', 'powerpress'); ?>
508
+ </p>
509
+ </div>
510
+
511
+ <div style="margin-left: 10px;">
512
+ <h3 style="margin-bottom: 5px;"><?php echo __('Looking for Support, Consulting or Custom Development?', 'powerpress'); ?></h3>
513
+ <p style="margin: 0 0 0 50px;">
514
+ <?php echo __('Blubrry offers a variety of options, free and paid, to assist you with your podcasting and Internet media needs. Whether you need your theme customized for podcasting or you want consulting on what video format is best for your audience, we have the staff and knowledge to assist.', 'powerpress'); ?>
515
+ </p>
516
+ <p style="margin: 5px 0 0 50px;">
517
+ <strong><?php echo '<a href="http://create.blubrry.com/support/" target="_blank">' . __('Learn More about Blubrry Support Options', 'powerpress') . '</a>'; ?></strong>
518
+ </p>
519
+ </div>
520
 
521
+ <?php
522
+ return;
523
+
524
+ // We will not pester folks with this stuff in PowerPress 7.0+
525
+
526
+ if (isset($General['timestamp']) && $General['timestamp'] > 0 && $General['timestamp'] < (time() - (60 * 60 * 24 * 14))) // Lets wait 14 days before we annoy them asking for support
527
+ {
528
+ ?>
529
+ <div style="margin-left: 10px;">
530
+ <h3 style="margin-bottom: 5px;"><?php echo __('Like The Plugin?', 'powerpress'); ?></h3>
531
+ <p style="margin-top: 0;">
532
+ <?php echo __('This plugin is great, don\'t you think? If you like the plugin we\'d be ever so grateful if you\'d give it your support. Here\'s how:', 'powerpress'); ?>
533
+ </p>
534
+ <ul id="powerpress_support">
535
+ <li><?php echo sprintf(__('Rate this plugin 5 stars in the %s.', 'powerpress'),
536
+ '<a href="http://wordpress.org/extend/plugins/powerpress/" target="_blank">' . __('WordPress Plugins Directory', 'powerpress') . '</a>');
537
 
538
+ ?>
539
+ </li>
540
+ <li><?php echo __('Tell the world about PowerPress by writing about it on your blog', 'powerpress'); ?>
541
+ ,
542
+ <a href="https://twitter.com/home/?status=<?php echo urlencode(__('I\'m podcasting with Blubrry PowerPress (https://blubrry.com/powerpress/) #powerpress #wordpress', 'powerpress')); ?>"
543
+ target="_blank"><?php echo __('Twitter', 'powerpress'); ?></a>,
544
+ <a href="https://www.facebook.com/share.php?u=<?php echo urlencode('https://www.blubrry.com/powerpress'); ?>&amp;t=<?php echo urlencode(__('I podcast with Blubrry PowerPress', 'powerpress')); ?>"
545
+ target="_blank"><?php echo __('Facebook', 'powerpress'); ?></a>,
546
+ etc...
547
+ </li>
548
+ <li><a href="http://www.blubrry.com/contact.php"
549
+ target="_blank"><?php echo __('Send us feedback', 'powerpress'); ?></a>
550
+ (<?php echo __('we love getting suggestions for new features!', 'powerpress'); ?>)
551
+ </li>
552
+ </ul>
553
+ </div>
554
+ <?php
555
+ }
556
+ ?>
557
+ <div style="margin-left: 10px;">
558
+ <h3 style="margin-bottom: 5px;"><?php echo __('Become a PowerPress Patron!', 'powerpress'); ?></h3>
559
+ <p style="margin: 0; padding-left: 50px;">
560
+ <?php echo __('Help support your favorite podcasting plugin via Patreon.', 'powerpress'); ?>
561
+ </p>
562
+ <p style="margin-top: 0; padding-left: 50px;"><?php echo '<a href="https://www.patreon.com/blubrry?ty=h" target="_blank">' . __('Visit Blubrry\'s Patreon page', 'powerpress') . '</a>'; ?>
563
+ </p>
564
+ </div>
565
+ <?php
566
+ }
 
 
 
 
 
 
 
 
 
567
  }
568
 
569
 
683
  if( $action == false )
684
  $action = 'powerpress-jquery-account';
685
  ?>
686
+ <div id="connect-blubrry-services">
687
+ <?php
688
+ if( !empty($General['blubrry_program_keyword']) ) { ?>
689
+ <div id="blubrry-services-connected-settings">
690
+ <div style="margin-bottom: 1em;">
691
+ <span><img src="<?php echo powerpress_get_root_url(); ?>images/done_24px.svg" style="margin: 0 0 0 8%;vertical-align: text-bottom;" alt="<?php echo __('Enabled!', 'powerpress'); ?>" /></span>
692
+ <p id="connected-blubrry-blurb"><?php echo __("Connected to <b>Blubrry</b>", 'powerpress'); ?></p>
693
+ </div>
694
+ <a style="display: block;" class="thickbox" title="<?php echo esc_attr(__('Blubrry Services Integration', 'powerpress')); ?>" href="<?php echo admin_url(); echo wp_nonce_url( "admin.php?action=powerpress-jquery-account", 'powerpress-jquery-account'); ?>&amp;KeepThis=true&amp;TB_iframe=true&amp;width=600&amp;height=400&amp;modal=false" target="_blank"><?php echo __('Go to Blubrry Account', 'powerpress'); ?></a>
695
+ </div>
696
+ <?php
697
+ }
698
+ else // Not signed up for hosting?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
  {
700
  ?>
701
+ <div id="connect-see-options">
702
+ <img id="blubrry-logo-connect" alt="" src="<?php echo powerpress_get_root_url(); ?>images/blubrry_icon.png">
703
+ <h4><?php echo sprintf(__('<b>PowerPress</b> works best with <b>Blubrry</b>', 'powerpress')); ?></h4>
704
+ <p id="connect-blubrry-blurb"><?php echo sprintf(__('Get access to detailed analytics and more by <b>connecting to your Blubrry Hosting Account.</b>', 'powerpress')); ?></p>
705
+ <p style="font-size: 125%; margin: 1ch 0 0 1ch">
706
+ <strong><a class="button-primary button-blubrry" id="connect-blubrry-button-options"
707
+ title="<?php echo esc_attr(__('Blubrry Services Info', 'powerpress')); ?>"
708
+ href="http://create.blubrry.com/resources/podcast-media-hosting/"
709
+ target="_blank"><?php echo __('SEE MY OPTIONS', 'powerpress'); ?></a></strong>
710
+ </p>
711
+ </div>
712
+ <div id="connect-blubrry-button-container">
713
+ <p style="font-size: 10px; margin-top: 1ch;" class="pp-settings-text-no-margin"><?php echo __('Already have a Blubrry account?', 'powerpress'); ?></p>
714
+ <p style="font-size: 125%; margin-top: 5px;">
715
+ <strong><a class="button-primary button-blubrry thickbox" id="connect-blubrry-button-options"
716
+ title="<?php echo esc_attr(__('Blubrry Services Integration', 'powerpress')); ?>"
717
+ href="<?php echo wp_nonce_url($action_url, $action); ?>&amp;KeepThis=true&amp;TB_iframe=true&amp;width=600&amp;height=400&amp;modal=false"
718
+ target="_blank"><?php echo __('LET\'S CONNECT', 'powerpress'); ?></a></strong>
719
+ </p>
720
+ </div>
721
  <?php
722
  } // end not signed up for hosting
723
 
724
  ?>
725
+ <!--<div style="margin-left: 40px;">
726
  <p style="margin-top: 10px;">
727
  <input name="DisableStatsInDashboard" type="checkbox" value="1"<?php if( $DisableStatsInDashboard == true ) echo ' checked'; ?> />
728
  <?php echo __('Remove Statistics from WordPress Dashboard', 'powerpress'); ?></p>
735
  <input type="checkbox" id="blubrry_network_mode" value="1" name="General[network_mode]" <?php echo $General['network_mode'] == '1' ? 'checked' : ''; ?> />
736
  <label for="blubrry_network_mode"><?php echo __('Network mode (publish to multiple Blubrry Hosting Accounts)', 'powerpress') ?></label>
737
  </p>
738
+ </div>-->
739
  </div>
740
  <?php
741
  }
818
  </div><!-- end blubrry_stats_settings -->
819
  <?php
820
  }
821
+
822
 
823
  function powerpressadmin_appearance($General=false, $Feed = false)
824
  {
859
  }
860
  }
861
  */
862
+ require_once( dirname(__FILE__).'/views/settings_tab_appearance.php' );
863
+ powerpressadmin_website_settings($General, $Feed);
864
+ powerpressadmin_blog_settings($General, $Feed);
865
+ powerpress_subscribe_settings($General, $Feed);
866
+ powerpress_shortcode_settings($General, $Feed);
867
+ powerpressadmin_new_window_settings($General, $Feed);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
868
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
869
 
870
  <?php
871
  } // End powerpress_admin_appearance()
872
 
873
+ // Admin page, footer
874
+ function powerpress_settings_save_button()
875
+ { ?>
876
+ <div class="pp-save-button-container">
877
+ <input type="submit" name="Submit" class="powerpress_save_button" value="<?php echo __('Save Changes', 'powerpress') ?>" />
878
+ </div>
879
+ <?php
880
+ }
881
 
882
+ // Admin page, footer
883
+ function powerpress_settings_tab_footer()
884
+ { ?>
885
+ <div class="pp-settings-footer">
886
+ <?php powerpress_settings_save_button(); ?>
887
+ </div>
888
+ <?php
889
+ }
890
+ function powerpressadmin_welcome($GeneralSettings, $FeedSettings)
891
  {
892
+ $posts = get_posts(array('numberposts' => -1));
893
+ $numEp = 0;
894
+ $foundEp = false;
895
+ $mostRecentEp = array();
896
+ foreach( $posts as $idx => $post ) {
897
+ $enclosureArray = get_post_meta($post->ID, 'enclosure', true);
898
+ if(!empty($enclosureArray)) {
899
+ $numEp += 1;
900
+ if (!$foundEp) {
901
+ $EnclosureURL = '';
902
+ $EnclosureLength = '';
903
+ $EnclosureType = '';
904
+ $EnclosureSerialized = false;
905
+ if ($enclosureArray) {
906
+ // list($EnclosureURL, $EnclosureLength, $EnclosureType, $EnclosureSerialized) = explode("\n", $enclosureArray, 4);
907
+ $MetaParts = explode("\n", $enclosureArray, 4);
908
+ if (count($MetaParts) > 0) {
909
+ $EnclosureURL = $MetaParts[0];
910
+ }
911
+ if (count($MetaParts) > 3) {
912
+ $EnclosureSerialized = $MetaParts[3];
913
+ }
914
+
915
+ if ($EnclosureSerialized && $EnclosureURL) {
916
+ $mostRecentEp = @unserialize($EnclosureSerialized);
917
+ $mostRecentEp['media_url'] = $EnclosureURL;
918
+ $mostRecentEp['post_data'] = $post;
919
+ }
920
+ }
921
+
922
+ if (!empty($mostRecentEp)) {
923
+ $foundEp = true;
924
+ }
925
+ }
926
+ }
927
+ }
928
+ if (isset($mostRecentEp['itunes_image'])) {
929
+ $image = $mostRecentEp['itunes_image'];
930
+ } elseif (isset($FeedSettings['itunes_image'])) {
931
+ $image = $FeedSettings['itunes_image'];
932
+ } else {
933
+ $image = powerpress_get_root_url() . 'images/pts_cover.jpg';
934
+ }
935
  ?>
936
+ <script>
937
+ function goToArtworkSettings() {
938
+ jQuery("#feeds-tab").click();
939
+ jQuery("#feeds-artwork-tab").click();
940
+ return false;
941
+ }
942
+
943
+ function goToDestinationSettings() {
944
+ jQuery("#destinations-tab").click();
945
+ jQuery("#destinations-apple-tab").click();
946
+ return false;
947
+ }
948
+ </script>
949
  <div>
950
+ <div class="pp-settings-program-summary">
951
+ <div class="prog-sum-head">
952
+ <h2 class="pp-heading" id="welcome-title"><?php echo $FeedSettings['title']; ?></h2>
953
+ <div class="pp-settings-recent-post">
954
+ <img id="welcome-preview-image" src="<?php echo $image; ?>" alt="Feed Image" />
955
+ <div class="pp-settings-welcome-text">
956
+ <p class="pp-settings-text-no-margin" style="margin-bottom: 2ch;"><?php echo __('By', 'powerpress'); ?> <?php echo $FeedSettings['itunes_talent_name']; ?></p>
957
+ <p class="pp-settings-text-no-margin"><?php echo $mostRecentEp['post_data']->post_content; ?></p>
958
+ </div>
959
+ </div>
960
+ <div class="pp-settings-num-episodes">
961
+ <p class="pp-settings-text-no-margin"><?php echo __('Number of Episodes', 'powerpress'); ?></p>
962
+ <h2 class="pp-heading" style="margin-top: 5px;"><?php echo $numEp; ?></h2>
963
+ </div>
964
+ </div>
965
+ <div class="prog-sum-contents">
966
+ <a id="welcome-tab-new-post" href="<?php echo admin_url('post-new.php') ?>">
967
+ <div class="pp_button-container">
968
+ <?php echo __('CREATE NEW EPISODE', 'powerpress'); ?>
969
+ </div>
970
+ </a>
971
+ <div class="pp-settings-podcast-status">
972
+ <p class="pp-settings-text-no-margin" style="margin-bottom: 2ch;"><?php echo __('Podcast Status', 'powerpress'); ?></p>
973
+ <?php if (!$GeneralSettings || (isset($GeneralSettings['pp_onboarding_incomplete']) && $GeneralSettings['pp_onboarding_incomplete'] == 1) && (isset($GeneralSettings['timestamp']) && $GeneralSettings['timestamp'] > 1576972800)) { ?>
974
+ <p class="pp-settings-status-text"><a class="program-status-link" href="<?php echo admin_url("admin.php?page=powerpressadmin_onboarding.php"); ?>"><img src="<?php echo powerpress_get_root_url(); ?>images/status_incomplete.svg" class="pp-settings-icon-small" alt="<?php echo __('Not done', 'powerpress'); ?>" />Finish Show Prep</a></p>
975
+ <?php } else { ?>
976
+ <p class="pp-settings-status-text"><img src="<?php echo powerpress_get_root_url(); ?>images/status_complete.svg" class="pp-settings-icon-small" alt="<?php echo __('Done!', 'powerpress'); ?>" />Finished Show Prep</p>
977
+ <?php }
978
+ if (empty($FeedSettings['itunes_image']) && empty($FeedSettings['rss2_image'])) { ?>
979
+ <p id="pp-welcome-artwork-link" class="program-status-link" onclick="goToArtworkSettings();return false;"><img src="<?php echo powerpress_get_root_url(); ?>images/status_incomplete.svg" class="pp-settings-icon-small" alt="<?php echo __('Not done', 'powerpress'); ?>" />Add Artwork to Show</p>
980
+ <?php } else { ?>
981
+ <p class="pp-settings-status-text"><img src="<?php echo powerpress_get_root_url(); ?>images/status_complete.svg" class="pp-settings-icon-small" alt="<?php echo __('Done!', 'powerpress'); ?>" />Added Artwork to Show</p>
982
+ <?php }
983
+ if (!isset($FeedSettings['itunes_url']) || empty($FeedSettings['itunes_url'])) { ?>
984
+ <p id="pp-welcome-applesubmit-link" class="program-status-link" onclick="goToDestinationSettings();return false;"><img src="<?php echo powerpress_get_root_url(); ?>images/status_incomplete.svg" class="pp-settings-icon-small" alt="<?php echo __('Not done', 'powerpress'); ?>" />Submit to Apple Podcasts</p>
985
+ <?php } else { ?>
986
+ <p class="pp-settings-status-text"><img src="<?php echo powerpress_get_root_url(); ?>images/status_complete.svg" class="pp-settings-icon-small" alt="<?php echo __('Done!', 'powerpress'); ?>" />Submitted to Apple Podcasts</p>
987
+ <?php } ?>
988
+ </div>
989
+ </div>
990
+ </div>
991
  <div class="powerpress-welcome-news">
992
+ <h2><?php echo __('<em>PODCAST INSIDER</em> NEWS &amp; UPDATES', 'powerpress'); ?></h2>
993
+ <?php powerpressadmin_community_news(4, true); ?>
 
 
 
 
 
 
 
 
 
994
  </div>
995
+
996
  <div class="clear"></div>
997
  </div>
998
  <?php
1006
  $FeedSettings['donate_url'] = '';
1007
  if( !isset($FeedSettings['donate_label']) )
1008
  $FeedSettings['donate_label'] = '';
1009
+
1010
+ if( !isset($FeedSettings['location']) )
1011
+ $FeedSettings['location'] = '';
1012
+ if( !isset($FeedSettings['frequency']) )
1013
+ $FeedSettings['frequency'] = '';
1014
+ ?>
1015
+
1016
+ <h1 class="pp-heading"><?php echo __('Basic Show Information', 'powerpress'); ?></h1>
1017
+ <div class="pp-settings-section">
1018
+ <h2><?php echo __('Location', 'powerpress'); ?></h2>
1019
+ <label for="Feed[location]" class="pp-settings-label"><?php echo __('Optional', 'powerpress'); ?></label>
1020
+ <input class="pp-settings-text-input" type="text" name="Feed[location]" value="<?php echo esc_attr($FeedSettings['location']); ?>" maxlength="50" />
1021
+ <label for="Feed[location]" class="pp-settings-label-under"><?php echo __('e.g. Cleveland, Ohio', 'powerpress'); ?></label>
1022
+ </div>
1023
+ <div class="pp-settings-section">
1024
+ <h2><?php echo __('Episode Frequency', 'powerpress'); ?></h2>
1025
+ <label for="Feed[frequency]" class="pp-settings-label"><?php echo __('Optional', 'powerpress'); ?></label>
1026
+ <input class="pp-settings-text-input" type="text" name="Feed[frequency]" value="<?php echo esc_attr($FeedSettings['frequency']); ?>" maxlength="50" />
1027
+ <label for="Feed[frequency]" class="pp-settings-label-under"><?php echo __('e.g. Weekly', 'powerpress'); ?></label>
1028
+ </div>
1029
  <!-- Donate link and label -->
1030
+ <div class="pp-settings-section">
1031
+ <h2><?php echo __('Donate Link', 'powerpress'); ?> </h2>
1032
+ <label for="donate_link"></label>
1033
+ <input class="pp-settings-checkbox" style="margin-top: 2.5ch;" type="checkbox" id="donate_link" name="Feed[donate_link]" value="1" <?php if( $FeedSettings['donate_link'] == 1 ) echo 'checked '; ?>/>
1034
+ <div class="pp-settings-subsection">
1035
+ <p class="pp-main"><?php echo __('Syndicate a donate link with your podcast. Create your own crowdfunding page with PayPal donate buttons, or link to a service such as Patreon.', 'powerpress'); ?></p>
1036
+ </div>
1037
+ <label for="donate_url" class="pp-settings-label"><?php echo __('Donate URL', 'powerpress'); ?></label>
1038
+ <input class="pp-settings-text-input" type="text" id="donate_url" value="<?php echo esc_attr($FeedSettings['donate_url']); ?>" name="Feed[donate_url]" />
1039
+ <label for="donate_label" class="pp-settings-label"><?php echo __('Donate Label', 'powerpress'); ?></label>
1040
+ <input class="pp-settings-text-input" type="text" id="donate_label" value="<?php echo esc_attr($FeedSettings['donate_label']); ?>" name="Feed[donate_label]" />
1041
+ <label for="donate_label" class="pp-settings-label-under"><?php echo __('optional', 'powerpress'); ?></label>
1042
+ <p class="pp-settings-text" style="margin-top: 1em;"><a href="http://create.blubrry.com/resources/powerpress/advanced-tools-and-options/syndicating-a-donate-link-in-your-podcast/" target="_blank"><?php echo __('Learn more about syndicating donate links for podcasting', 'powerpress'); ?></a></p>
1043
+ </div>
 
 
 
 
1044
  <?php
1045
  }
1046
 
1050
  $FeedSettings['parental_rating'] = '';
1051
 
1052
  ?>
1053
+ <h1 class="pp-heading"><?php echo __('Rating Settings', 'powerpress'); ?></h1>
1054
+ <p class="pp-settings-text"><?php echo sprintf(__('A parental rating is used to display your content on %s applications available on Internet connected TV\'s. The TV Parental Rating applies to both audio and video media.', 'powerpress'), '<strong><a href="http://www.blubrry.com/roku_blubrry/" target="_blank">Blubrry</a></strong>'); ?></p>
1055
+ <div class="pp-settings-section" style="border-left: none;">
1056
+ <h2><?php echo __('Parental Rating', 'powerpress'); ?> </h2>
1057
+ <?php
 
 
 
1058
  $Ratings = array(''=>__('No rating specified', 'powerpress'),
1059
  'TV-Y'=>__('Children of all ages', 'powerpress'),
1060
  'TV-Y7'=>__('Children 7 years and older', 'powerpress'),
1078
  foreach( $Ratings as $rating => $title )
1079
  {
1080
  $tip = $RatingsTips[ $rating ];
1081
+ if (!$rating) {
1082
+ $style = "style=\"margin-bottom:\"";
1083
+ }
1084
  ?>
1085
+ <div>
1086
+ <input class="pp-settings-radio" type="radio" name="Feed[parental_rating]" value="<?php echo $rating; ?>" <?php if( $FeedSettings['parental_rating'] == $rating) echo 'checked'; ?> />
1087
+ <div class="pp-settings-subsection">
1088
+ <p class="pp-main">
1089
+ <?php if( $rating ) { ?>
1090
+ <strong><?php echo $rating; ?></strong>
1091
+ <?php } else { ?>
1092
+ <strong><?php echo htmlspecialchars($title); ?></strong>
1093
+ <?php } ?>
1094
+ </p>
1095
+ <?php if( $rating ) { ?>
1096
+ <p class="pp-sub">
1097
+ <?php echo htmlspecialchars($title); ?>
1098
+ </p>
1099
+ <?php } else { ?>
1100
+ <br />
1101
+ <?php } ?>
1102
+ </div>
1103
+ </div>
1104
  <?php
1105
  }
1106
  ?>
1107
+ </div>
1108
+
 
1109
  <?php
1110
  }
1111
 
1113
  {
1114
  $SupportUploads = powerpressadmin_support_uploads();
1115
  ?>
1116
+ <h1 class="pp-heading"><?php echo __('Podcast Artwork', 'powerpress'); ?></h1>
1117
+
1118
+
1119
+ <div class="pp-settings-section">
1120
+ <h2><?php echo __('Apple Podcast Artwork', 'powerpress'); ?></h2>
1121
+ <label for="Feed[itunes_image]" class="pp-settings-label"><?php echo __('Artwork URL', 'powerpress'); ?></label>
1122
+ <input class="pp-settings-text-input" type="text" id="itunes_image" name="Feed[itunes_image]" value="<?php echo esc_attr( !empty($FeedSettings['itunes_image'])? $FeedSettings['itunes_image']:''); ?>" maxlength="255" />
1123
+ <label for="Feed[itunes_image]" class="pp-settings-label-under"><?php echo __('Apple Podcast image must be at least 1400 x 1400 pixels in .jpg or .png format. Apple Podcast image must not exceed 3000 x 3000 pixels and must use RGB color space. The filesize should not exceed 0.5MB.', 'powerpress'); ?></label>
1124
+
1125
+ <?php if( $SupportUploads ) { ?>
1126
+ <div id="itunes_image_upload">
1127
+ <div>
1128
+ <div class="pp-settings-button">
1129
+ <img class="pp-settings-icon" src="<?php echo powerpress_get_root_url(); ?>images/cloud_up.svg" alt="">
1130
+ <label class="pp-settings-button-label" for="itunes_image_file"><?php echo __('Upload Image', 'powerpress'); ?></label>
1131
+ <input type="file" id="itunes_image_file" name="itunes_image_file" style="display: none" />
1132
+ </div>
1133
+ </div>
1134
+ <input class="pp-settings-checkbox" style="margin-top: 0;" name="itunes_image_checkbox_as_rss" type="checkbox" value="1" onchange="powerpress_show_field('rss_image_upload_container', !this.checked)" />
1135
+ <label class="pp-checkbox-label" for="itunes_image_checkbox_as_rss"><?php echo __('Also use as RSS image', 'powerpress'); ?></label>
1136
+ </div>
1137
+ <!--<a href="#" onclick="javascript: window.open( document.getElementById('itunes_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>-->
1138
+ <?php } ?>
1139
+ </div>
1140
 
 
 
 
1141
 
 
 
 
1142
 
1143
+ <div class="pp-settings-section">
1144
+ <h2><?php echo __('Apple Episode Image', 'powerpress'); ?></h2>
1145
+ <input class="pp-settings-checkbox" type="checkbox" name="Feed[episode_itunes_image]" value="1" <?php if( !empty($FeedSettings['episode_itunes_image']) ) echo 'checked '; ?>/>
1146
+ <div class="pp-settings-subsection">
1147
+ <p class="pp-main"><?php echo __('Use the program Apple podcast image above as your Apple episode image.', 'powerpress'); ?></p>
1148
+ <p class="pp-sub"><?php echo __('NOTE: You must still save artwork into your media files to guarantee your artwork is displayed during playback.', 'powerpress'); ?></p>
1149
+ </div>
1150
  </div>
 
 
 
 
1151
 
1152
 
 
 
 
 
 
1153
 
 
 
 
 
 
1154
 
 
 
 
 
 
 
 
 
 
 
1155
 
1156
+ <div class="pp-settings-section">
1157
+ <h2><?php echo __('RSS2 Image', 'powerpress'); ?> </h2>
1158
+ <label for="Feed[rss2_image]" class="pp-settings-label"><?php echo __('Recommendation: Use Apple Podacst image', 'powerpress'); ?></label>
1159
+ <input class="pp-settings-text-input" type="text" id="rss2_image" name="Feed[rss2_image]" value="<?php echo esc_attr( !empty($FeedSettings['rss2_image'])? $FeedSettings['rss2_image']:''); ?>" maxlength="255" />
1160
+ <label for="Feed[rss2_image]" class="pp-settings-label-under"><?php echo __('Place the URL to the RSS image above.', 'powerpress'); ?> <?php echo __('Example', 'powerpress'); ?> http://mysite.com/images/rss.jpg</label>
1161
 
1162
+ <!--
1163
+ <a href="#" onclick="javascript: window.open( document.getElementById('rss2_image').value ); return false;"><?php echo __('preview', 'powerpress'); ?></a>
1164
+ <p><?php echo __('RSS image should be at least 88 pixels wide and at least 31 pixels high in either .gif, .jpg and .png format.', 'powerpress'); ?></p>
1165
+ <p><strong><?php echo __('A square image that is 300 x 300 pixel or larger in .jpg format is recommended.', 'powerpress'); ?></strong></p>
1166
+ -->
1167
 
1168
+ <?php if( $SupportUploads ) { ?>
1169
+ <div id="rss_image_upload">
1170
+ <div>
1171
+ <div class="pp-settings-button">
1172
+ <img class="pp-settings-icon" src="<?php echo powerpress_get_root_url(); ?>images/cloud_up.svg" alt="">
1173
+ <label class="pp-settings-button-label" for="rss2_image_file"><?php echo __('Upload Image', 'powerpress'); ?></label>
1174
+ <input type="file" id="rss2_image_file" name="rss2_image_file" style="display: none" />
1175
+ </div>
1176
+ </div>
1177
+ </div>
1178
+ <?php } ?>
1179
  </div>
 
 
 
 
1180
  <?php
1181
 
1182
  }
powerpressadmin-dashboard.php CHANGED
@@ -4,7 +4,7 @@ if( !function_exists('add_action') )
4
  die("access denied.");
5
 
6
  define('POWERPRESS_FEED_HIGHLIGHTED', 'https://blubrry.com/podcast-insider/category/highlighted/feed/?order=ASC');
7
- define('POWERPRESS_FEED_NEWS', 'https://blubrry.com/podcast-insider/feed/podcast/');
8
 
9
  function powerpress_get_news($feed_url, $limit=10)
10
  {
@@ -233,9 +233,6 @@ function powerpress_dashboard_stats_content()
233
  function powerpress_dashboard_news_content()
234
  {
235
  $Settings = get_option('powerpress_general');
236
-
237
- if( isset($Settings['disable_dashboard_news']) && $Settings['disable_dashboard_news'] == 1 )
238
- return; // Lets not do anything to the dashboard for PowerPress News
239
 
240
  powerpressadmin_community_news();
241
  }
@@ -285,8 +282,8 @@ function powerpress_dashboard_setup()
285
  return;
286
  }
287
 
288
- if( $NewsDashboard )
289
- wp_add_dashboard_widget( 'powerpress_dashboard_news', __( 'Podcast Insider by Blubrry', 'powerpress'), 'powerpress_dashboard_news_content' );
290
 
291
  if( !empty($_GET['powerpressdash']) && $_GET['powerpressdash'] == 3 ) {
292
  return;
4
  die("access denied.");
5
 
6
  define('POWERPRESS_FEED_HIGHLIGHTED', 'https://blubrry.com/podcast-insider/category/highlighted/feed/?order=ASC');
7
+ define('POWERPRESS_FEED_NEWS', 'https://blubrry.com/podcast-insider/feed/');
8
 
9
  function powerpress_get_news($feed_url, $limit=10)
10
  {
233
  function powerpress_dashboard_news_content()
234
  {
235
  $Settings = get_option('powerpress_general');
 
 
 
236
 
237
  powerpressadmin_community_news();
238
  }
282
  return;
283
  }
284
 
285
+ //if( $NewsDashboard )
286
+ wp_add_dashboard_widget( 'powerpress_dashboard_news', __( 'Podcast Insider by Blubrry', 'powerpress'), 'powerpress_dashboard_news_content' );
287
 
288
  if( !empty($_GET['powerpressdash']) && $_GET['powerpressdash'] == 3 ) {
289
  return;
powerpressadmin-editfeed.php CHANGED
@@ -156,6 +156,17 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
156
  $FeedAttribs = array('type'=>$type, 'feed_slug'=>'', 'category_id'=>0, 'term_taxonomy_id'=>0, 'term_id'=>0, 'taxonomy_type'=>'', 'post_type'=>'');
157
  $cat_ID = false; $term_taxonomy_id = false;
158
 
 
 
 
 
 
 
 
 
 
 
 
159
 
160
  $FeedTitle = __('Feed Settings', 'powerpress');
161
 
@@ -257,67 +268,177 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
257
  }
258
 
259
  ?>
260
- <div id="powerpress_settings_page" class="powerpress_tabbed_content">
261
- <ul class="powerpress_settings_tabs">
262
- <li><a href="#feed_tab_feed"><span><?php echo htmlspecialchars(__('Feed', 'powerpress')); ?></span></a></li>
263
- <li><a href="#feed_tab_itunes"><span><?php echo htmlspecialchars(__('Apple', 'powerpress')); ?></span></a></li>
264
- <li><a href="#feed_tab_artwork"><span><?php echo htmlspecialchars(__('Artwork', 'powerpress')); ?></span></a></li>
265
- <?php if( in_array($FeedAttribs['type'], array('category', 'ttid', 'post_type', 'channel') ) ) { ?>
266
- <li><a href="#feed_tab_appearance"><span><?php echo htmlspecialchars(__('Website', 'powerpress')); ?></span></a></li>
267
- <?php } ?>
268
- <li><a href="#feed_tab_destinations"><span><?php echo htmlspecialchars(__('Destinations', 'powerpress')); ?></span></a></li>
269
-
270
- <?php if( in_array($FeedAttribs['type'], array('category', 'ttid', 'post_type', 'channel') ) ) { ?>
271
- <li><a href="#feed_tab_other"><span><?php echo htmlspecialchars(__('Other Settings', 'powerpress')); ?></span></a></li>
272
- <?php } ?>
273
- </ul>
274
-
275
-
276
- <div id="feed_tab_feed" class="powerpress_tab">
277
- <?php
278
- powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttribs );
279
- powerpressadmin_edit_funding($FeedSettings, $feed_slug);
280
- powerpressadmin_edit_tv($FeedSettings, $feed_slug);
281
- ?>
282
- </div>
283
-
284
- <div id="feed_tab_itunes" class="powerpress_tab">
285
- <?php
286
- powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs);
287
- ?>
288
- </div>
289
-
290
- <div id="feed_tab_artwork" class="powerpress_tab">
291
- <?php
292
- powerpressadmin_edit_artwork($FeedSettings, $General);
293
- ?>
294
- </div>
295
-
296
- <?php if( $feed_slug || $FeedAttribs['type'] == 'category' || $FeedAttribs['type'] == 'ttid' ) { ?>
297
- <div id="feed_tab_appearance" class="powerpress_tab">
298
- <?php
299
- //powerpressadmin_appearance($General);
300
- //if( $feed_slug )
301
- // powerpressadmin_edit_appearance_feed($General, $FeedSettings, $feed_slug, $FeedAttribs);
302
-
303
- powerpressadmin_settings_tab_appearance($General, $FeedSettings, $FeedAttribs);
304
- ?>
305
- </div>
306
-
307
- <div id="feed_tab_destinations" class="powerpress_tab">
308
- <?php
309
- powerpressadmin_edit_destinations($FeedSettings, $General, $FeedAttribs);
310
- ?>
311
- </div>
312
-
313
- <div id="feed_tab_other" class="powerpress_tab">
314
- <?php
315
- powerpressadmin_settings_tab_other($General, $FeedSettings, $feed_slug, $cat_ID, $FeedAttribs)
316
- ?>
317
- </div>
318
- <?php } ?>
319
-
320
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  <div class="clear"></div>
322
  <?php
323
 
@@ -345,7 +466,7 @@ function powerpressadmin_edit_category_feed($FeedSettings, $General)
345
  <?php
346
  }
347
 
348
- function powerpressadmin_edit_feed_general($FeedSettings, $General)
349
  {
350
  $warning = '';
351
  $episode_count = powerpress_get_episode_count('podcast');
@@ -353,34 +474,66 @@ function powerpressadmin_edit_feed_general($FeedSettings, $General)
353
  {
354
  $warning = __('WARNING: You must create at least one podcast episode for your podcast feed to be valid.', 'powerpress');
355
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
356
 
357
  if( !isset($FeedSettings['apply_to']) )
358
  $FeedSettings['apply_to'] = 1;
359
  ?>
360
- <h3><?php echo __('Podcast Feeds', 'powerpress'); ?></h3>
361
- <table class="form-table">
362
-
363
- <tr valign="top">
364
- <th scope="row">
365
-
366
- <?php echo __('Enhance Feeds', 'powerpress'); ?></th>
367
- <td>
368
- <ul>
369
- <li><p><label><input type="radio" name="Feed[apply_to]" value="1" <?php if( $FeedSettings['apply_to'] == 1 ) echo 'checked'; ?> /> <?php echo __('Enhance All Feeds', 'powerpress'); ?></label> (<?php echo __('Recommended', 'powerpress'); ?>)</p>
370
- <p style="font-size: 100%; margin: 0 0 0 30px;"><?php echo __('Adds podcasting support to all feeds', 'powerpress'); ?></p>
371
- </li>
372
- <li><p><label><input type="radio" name="Feed[apply_to]" value="2" <?php if( $FeedSettings['apply_to'] == 2 ) echo 'checked'; ?> /> <?php echo __('Enhance Main Feed Only', 'powerpress'); ?></label></p>
373
- <p style="font-size: 100%; margin: 0 0 0 30px;"><?php echo __('Adds podcasting support to your main feed only', 'powerpress'); ?></p></li>
374
- <li><p><label><input type="radio" name="Feed[apply_to]" value="0" <?php if( $FeedSettings['apply_to'] == 0 ) echo 'checked'; ?> /> <?php echo __('Do Not Enhance Feeds', 'powerpress'); ?></label></p>
375
- <p style="font-size: 100%; margin: 0 0 0 30px;"><?php echo __('Feed Settings below will only apply to your podcast channel feeds', 'powerpress'); ?></p></li>
376
- </ul>
377
- </td>
378
- </tr>
379
- <tr valign="top">
380
- <th scope="row">
381
 
382
- <?php echo __('Podcast Feeds', 'powerpress'); ?></th>
383
- <td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  <?php if( $warning ) { ?>
385
  <span class="powerpress-error" style="background-color: #FFEBE8; border-color: #CC0000; padding: 6px 10px;"><?php echo $warning; ?></span>
386
  <?php } ?>
@@ -399,75 +552,73 @@ function powerpressadmin_edit_feed_general($FeedSettings, $General)
399
  $feed_title = $feed_slug;
400
  $edit_link = admin_url( 'admin.php?page=powerpress/powerpressadmin_customfeeds.php&amp;action=powerpress-editfeed&amp;feed_slug=') . $feed_slug;
401
  ?>
402
- <p><?php echo $feed_title; ?>: <a href="<?php echo get_feed_link($feed_slug); ?>" title="<?php echo $feed_title; ?>" target="_blank"><?php echo get_feed_link($feed_slug); ?></a>
 
403
  <?php if( defined('POWERPRESS_FEEDVALIDATOR_URL') ) { ?>
404
- | <a href="<?php echo POWERPRESS_FEEDVALIDATOR_URL. urlencode(get_feed_link($feed_slug)); ?>" target="_blank"><?php echo __('validate', 'powerpress'); ?></a>
405
  <?php } ?>
406
  <?php if( false && $feed_slug != 'podcast' ) { ?>
407
- | <a href="<?php echo $edit_link; ?>" title="<?php echo __('Edit Podcast Channel', 'powerpress'); ?>"><?php echo __('edit', 'powerpress'); ?></a>
408
  <?php } ?>
409
- </p>
410
  <?php } ?>
411
- <p><?php echo __('These are podcast only feeds suitable for submission podcast directories such as iTunes.', 'powerpress'); ?></p>
412
- <p class="description"><?php echo __('Note: We do not recommend submitting your main site feed to podcast directories such as iTunes. iTunes and many other podcast directories work best with feeds that do not have regular blog posts mixed in.', 'powerpress'); ?></p>
413
 
414
- <input type="hidden" name="General[feed_action_hook]" value="0" />
415
- <p><label><input type="checkbox" name="General[feed_action_hook]" value="1" <?php if( !empty($General['feed_action_hook']) && $General['feed_action_hook'] == 1 ) echo 'checked '; ?>/> <?php echo __('Do not allow other plugins to modify podcast feeds.', 'powerpress'); ?></label></p>
416
- <input type="hidden" name="General[feed_accel]" value="0" />
417
- <p><label><input type="checkbox" name="General[feed_accel]" value="1" <?php if( !empty($General['feed_accel']) && $General['feed_accel'] == 1 ) echo 'checked '; ?>/> <?php echo __('Accelerate feed', 'powerpress'); ?></label></p>
418
-
419
- </td>
420
- </tr>
 
 
 
 
 
 
 
421
 
422
- <tr valign="top">
423
- <th scope="row">
424
- <?php echo __('Feed Discovery', 'powerpress'); ?></th>
425
- <td>
426
- <p style="margin-top: 10px;"><label><input type="checkbox" name="General[feed_links]" value="1" <?php if( !empty($General['feed_links']) && $General['feed_links'] == 1 ) echo 'checked '; ?>/> <?php echo __('Include podcast feed links in HTML headers.', 'powerpress'); ?></label></p>
427
- <p><?php echo __('Adds "feed discovery" links to your web site\'s headers allowing web browsers and feed readers to auto-detect your podcast feeds.', 'powerpress'); ?></p>
428
- </td>
429
- </tr>
430
 
431
- <tr valign="top">
432
- <th scope="row">
433
- <?php echo __('WebSub', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?></th>
434
- <td>
435
- <p style="margin-top: 10px;"><label><input type="checkbox" value="1" disabled <?php if(!(defined('POWERPRESS_DISABLE_WEBSUB') && POWERPRESS_DISABLE_WEBSUB )) echo 'checked '; ?>/> <?php echo __('Enable WebSub', 'powerpress'); ?></label></p>
436
- <p><?php echo __('Notifies web subscription hub to push notifications to subscribers. Currently supported by the Blubrry Podcast Directory and Google Podcasts.', 'powerpress'); ?></p>
437
- </td>
438
- </tr>
439
 
440
- <tr valign="top">
441
- <th scope="row">
442
- <?php echo __('RSS2 Image', 'powerpress'); ?></th>
443
- <td>
444
- <input type="hidden" name="General[disable_rss_image]" value="1" />
445
- <p><label><input type="checkbox" name="General[disable_rss_image]" value="0" <?php if( empty($General['disable_rss_image']) ) echo 'checked '; ?>/> <?php echo __('Include RSS Image in feeds.', 'powerpress'); ?></label></p>
446
- </td>
447
- </tr>
448
 
449
- <tr valign="top">
450
- <th scope="row">
451
- <?php echo __('Emoji', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?></th>
452
- <td>
453
  <?php
454
  if( 'utf8mb4' != $GLOBALS['wpdb']->charset )
455
  {
456
  ?>
457
- <p style="font-weight: bold; color: #CC0000;">
458
  <?php
459
  echo __('Emoji may not be supported with your WordPress installation. Please upgrade your database to support utf8mb4 available in WordPress 4.2 and newer.', 'powerpress');
460
  ?>
461
  </p>
462
  <?php } ?>
463
  <input type="hidden" name="General[rss_emoji]" value="0" />
464
- <p><label><input type="checkbox" name="General[rss_emoji]" value="1" <?php if( !empty($General['rss_emoji']) ) echo 'checked '; ?>/> <?php echo __('Include Emoji in feeds.', 'powerpress'); ?></label>
465
- <a href="https://create.blubrry.com/resources/powerpress/powerpress-settings/feeds/#emoji" target="_blank"><?php echo __('Learn more', 'powerpress'); ?></p>
466
- </p>
467
- </td>
468
- </tr>
469
-
470
- </table>
471
  <?php
472
  }
473
 
@@ -509,103 +660,65 @@ function powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttrib
509
  }
510
 
511
  $cat_ID = $FeedAttribs['category_id'];
512
-
513
- if( !empty($FeedAttribs['type']) && ( in_array($FeedAttribs['type'], array('category', 'ttid', 'post_type', 'channel') ) ) )
514
- {
515
- ?>
516
- <h3><?php echo __('Feed Information', 'powerpress'); ?></h3>
517
- <table class="form-table">
518
- <tr valign="top">
519
- <th scope="row">
520
- <?php echo __('Feed URL', 'powerpress'); ?>
521
- </th>
522
- <td>
523
- <p style="margin-top: 0;" class="description"><a href="<?php echo $feed_link; ?>" target="_blank"><?php echo $feed_link; ?></a>
524
- <?php if( defined('POWERPRESS_FEEDVALIDATOR_URL') ) { ?>| <a href="<?php echo POWERPRESS_FEEDVALIDATOR_URL. urlencode( str_replace('&amp;', '&', $feed_link)); ?>" target="_blank"><?php echo __('validate', 'powerpress'); ?></a><?php } ?></p>
525
- <?php
526
- if( !empty($FeedSettings['premium']) )
527
- {
528
- echo __('WARNING: This feed is password protected, it cannot be accessed publicly by the iTunes podcast directory or other podcast services.', 'powerpress');
529
- } ?>
530
- </td>
531
- </tr>
532
- </table>
533
- <?php
534
- }
535
- ?>
536
- <h3><?php echo __('Feed Settings', 'powerpress'); ?></h3>
537
- <p class="description"><?php echo sprintf(__('Feed settings below apply to feed: %s', 'powerpress'), esc_html($feed_link) ); ?></p>
538
- <table class="form-table">
539
 
 
 
 
 
 
540
 
541
- <tr valign="top">
542
- <th scope="row">
543
- <?php echo __('Feed Title (Show Title)', 'powerpress'); ?>
544
- </th>
545
- <td>
546
- <input type="text" name="Feed[title]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['title']); ?>" maxlength="255" />
547
  <?php if( $cat_ID ) { ?>
548
- (<?php echo __('leave blank to use default category title', 'powerpress'); ?>)
549
  <?php } else { ?>
550
- (<?php echo __('leave blank to use blog title', 'powerpress'); ?>)
551
  <?php } ?>
552
- <?php if( $FeedAttribs['type'] == 'ttid' ) { } else if( $cat_ID ) {
553
- ?>
554
- <p class="description"><?php echo esc_html(__('Default Category title:', 'powerpress') .' '. get_cat_name($cat_ID) . ' '. apply_filters( 'document_title_separator', '-' ) .' '. get_bloginfo_rss('name') ); ?></p>
555
- <?php } else { ?>
556
- <p class="description"><?php echo __('Blog title:', 'powerpress') .' '. get_bloginfo_rss('name'); ?></p>
557
- <?php } ?>
558
- <?php if( !empty($General['seo_itunes']) ) { ?>
559
- <p>
560
- <em><?php echo __('Podcasting SEO Suggestion: The show title is very important.', 'powerpress'); ?></em>
561
- </p>
562
- <?php } ?>
563
- </td>
564
- </tr>
565
-
566
 
567
- <tr valign="top">
568
- <th scope="row">
569
- <?php echo __('Feed Description', 'powerpress'); ?>
570
- </th>
571
- <td>
572
- <input type="text" name="Feed[description]" style="width: 60%;" value="<?php echo esc_attr( !empty($FeedSettings['description'])? $FeedSettings['description']:''); ?>" maxlength="1000" />
573
  <?php if( $cat_ID ) { ?>
574
- (<?php echo __('leave blank to use category description', 'powerpress'); ?>)
575
  <?php } else { ?>
576
- (<?php echo __('leave blank to use blog description', 'powerpress'); ?>)
577
  <?php } ?>
578
- </td>
579
- </tr>
580
-
581
 
582
- <tr valign="top">
583
- <th scope="row">
584
- <?php echo __('Feed Landing Page URL', 'powerpress'); ?> <br />
585
- </th>
586
- <td>
587
- <input type="text" name="Feed[url]" style="width: 60%;" value="<?php echo esc_attr( !empty($FeedSettings['url'])? $FeedSettings['url']:''); ?>" maxlength="255" />
588
  <?php if( $cat_ID ) { ?>
589
- (<?php echo __('leave blank to use category page', 'powerpress'); ?>)
590
  <?php } else { ?>
591
- (<?php echo __('leave blank to use home page', 'powerpress'); ?>)
592
  <?php } ?>
593
  <?php if( $cat_ID ) { ?>
594
- <p class="description"><?php echo __('Category page URL', 'powerpress'); ?>: <?php echo get_category_link($cat_ID); ?></p>
595
  <?php } else { ?>
596
- <p class="description">e.g. <?php echo get_bloginfo('url'); ?>/custom-page/</p>
597
  <?php } ?>
598
- </td>
599
- </tr>
600
-
601
- <tr valign="top">
602
- <th scope="row">
603
- <?php echo __('PodcastMirror Feed URL', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?><br />
604
- <span style="font-size: 85%; margin-left: 5px;"><a href="https://podcastmirror.com" target="_blank"><?php echo __('learn more', 'powerpress'); ?></a></span>
605
- </th>
606
- <td>
607
- <input type="text" name="Feed[feed_redirect_url]" style="width: 60%;" value="<?php echo esc_attr(!empty($FeedSettings['feed_redirect_url'])? $FeedSettings['feed_redirect_url']:''); ?>" maxlength="100" /> (<?php echo __('leave blank to use built-in feed', 'powerpress'); ?>)
608
- <p><?php echo __('Use this option to mirror your podcast feed to provide fast, scalable subscriptions to your show. Service is FeedBurner compatible.', 'powerpress'); ?></p>
 
609
  <?php
610
  $link = $feed_link;
611
  if( strstr($link, '?') )
@@ -613,44 +726,39 @@ if( strstr($link, '?') )
613
  else
614
  $link .= "?redirect=no";
615
  ?>
616
- <p class="description"><?php echo __('Bypass Redirect URL', 'powerpress'); ?>: <a href="<?php echo $link; ?>" target="_blank"><?php echo $link; ?></a></p>
617
- </td>
618
- </tr>
619
 
620
- <tr valign="top">
621
- <th scope="row">
622
- <?php echo __('Show the most recent', 'powerpress'); ?>
623
- </th>
624
- <td>
625
- <p><input type="text" name="Feed[posts_per_rss]" style="width: 50px;" value="<?php echo ( !empty($FeedSettings['posts_per_rss'])? $FeedSettings['posts_per_rss']:''); ?>" maxlength="5" /> <?php echo sprintf(__('episodes / posts per feed (site default: %d, recommended: %d)', 'powerpress'), get_option('posts_per_rss'), 300); ?></p>
626
- <p style="margin-top: 5px; margin-bottom: 0; font-weight: bold;"><?php echo __('Please enable the <i>Feed Episode Maximizer</i> option to optimize your feed for more than 10 episodes.', 'powerpress'); ?></p>
627
- </td>
628
- </tr>
629
 
630
  <?php
631
  if( in_array($FeedAttribs['type'], array('channel', 'category', 'post_types', 'general')) )
632
  {
633
  ?>
634
- <tr valign="top">
635
- <th scope="row">
636
- <?php echo __('Feed Episode Maximizer', 'powerpress'); ?>
637
- </th>
638
- <td>
639
- <p><input type="checkbox" name="Feed[maximize_feed]" value="1" <?php if( !empty($FeedSettings['maximize_feed']) ) echo 'checked'; ?> />
640
- <?php echo __('Maximize the number of episodes while maintaining an optimal feed size.', 'powerpress'); ?> <a href="https://create.blubrry.com/resources/powerpress/powerpress-settings/feeds/#maximizer" target="_blank"><?php echo __('Learn more', 'powerpress'); ?></p>
641
- <p></a></p>
642
- </td>
643
- </tr>
644
  <?php
645
  }
646
  ?>
647
 
648
- <tr valign="top">
649
- <th scope="row">
650
-
651
- <?php echo __('Feed Language', 'powerpress'); ?></th>
652
- <td>
653
- <select name="Feed[rss_language]" class="bpp_input_med">
654
  <?php
655
  $Languages = powerpress_languages();
656
 
@@ -658,7 +766,8 @@ echo '<option value="">'. __('Blog Default Language', 'powerpress') .'</option>'
658
  foreach( $Languages as $value=> $desc )
659
  echo "\t<option value=\"$value\"". ($FeedSettings['rss_language']==$value?' selected':''). ">". esc_attr($desc)."</option>\n";
660
  ?>
661
- </select>
 
662
  <?php
663
  $rss_language = get_bloginfo_rss('language');
664
  $rss_language = strtolower($rss_language);
@@ -669,65 +778,36 @@ if( isset($Languages[ $rss_language ]) )
669
  <?php } else { ?>
670
  <?php echo __('Blog Default', 'powerpress'); ?>: <?php echo $rss_language; ?>
671
  <?php } ?>
672
- </td>
673
- </tr>
674
-
675
- <tr valign="top">
676
- <th scope="row">
677
- <?php echo __('Copyright', 'powerpress'); ?>
678
- </th>
679
- <td>
680
- <input type="text" name="Feed[copyright]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['copyright']); ?>" maxlength="255" />
681
- </td>
682
- </tr>
683
- <tr valign="top">
684
- <th scope="row">
685
- <?php echo __('Caching Debug Comments', 'powerpress'); ?>
686
- </th>
687
- <td>
688
- <label><input type="checkbox" name="General[allow_feed_comments]" value="1" <?php if( !empty($General['allow_feed_comments']) ) echo 'checked'; ?> />
689
- <?php echo __('Allow WP Super Cache or W3 Total Cache to add HTML Comments to the bottom of your feeds', 'powerpress'); ?></label>
690
- (<?php echo __('Recommended unchecked', 'powerpress'); ?>)
691
- <p><?php echo __('iTunes is known to have issues with feeds that have HTML comments at the bottom.', 'powerpress'); ?></p>
692
- <p style="margin-bottom: 0;" class="description"><?php echo __('NOTE: This setting should only be enabled for debugging purposes.', 'powerpress'); ?></p>
693
- </td>
694
- </tr>
695
 
696
- </table>
 
 
 
 
697
 
698
- <!-- Location and frequency information -->
699
- <?php
700
- if( !isset($FeedSettings['location']) )
701
- $FeedSettings['location'] = '';
702
- if( !isset($FeedSettings['frequency']) )
703
- $FeedSettings['frequency'] = '';
704
- ?>
 
 
 
 
705
 
706
- <h3><?php echo __('Basic Show Information', 'powerpress'); ?></h3>
707
- <div id="rawvoice_basic_options">
708
- <table class="form-table">
709
- <tr valign="top">
710
- <th scope="row"><?php echo __('Location', 'powerpress'); ?></th>
711
- <td>
712
- <input type="text" style="width: 300px;" name="Feed[location]" value="<?php echo esc_attr($FeedSettings['location']); ?>" maxlength="50" /> (<?php echo __('optional', 'powerpress'); ?>)
713
- <p><?php echo __('e.g. Cleveland, Ohio', 'powerpress'); ?></p>
714
- </td>
715
- </tr>
716
- <tr valign="top">
717
- <th scope="row"><?php echo __('Episode Frequency', 'powerpress'); ?></th>
718
- <td>
719
- <input type="text" style="width: 300px;" name="Feed[frequency]" value="<?php echo esc_attr($FeedSettings['frequency']); ?>" maxlength="50" /> (<?php echo __('optional', 'powerpress'); ?>)
720
- <p><?php echo __('e.g. Weekly', 'powerpress'); ?></p>
721
- </td>
722
- </tr>
723
- </table>
724
  </div>
 
725
  <?php
726
 
727
  }
728
 
729
 
730
  function powerpressadmin_settings_tab_other($General, $FeedSettings, $feed_slug, $cat_ID = false, $FeedAttribs = array() ) {
 
731
  require_once( dirname(__FILE__).'/views/settings_tab_other.php' );
732
  }
733
 
@@ -838,74 +918,61 @@ function powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs
838
  }
839
  ?>
840
 
841
- <h3><?php echo __('Apple Settings', 'powerpress'); ?></h3>
842
- <table class="form-table">
843
- <tr valign="top">
844
- <th scope="row">
845
- <?php echo __('iTunes Program Subtitle', 'powerpress'); ?> <br />
846
- </th>
847
- <td>
848
- <input type="text" name="Feed[itunes_subtitle]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['itunes_subtitle']); ?>" maxlength="255" />
849
- </td>
850
- </tr>
851
-
852
- <tr valign="top">
853
- <th scope="row">
854
-
855
- <?php echo __('iTunes Program Summary', 'powerpress'); ?></th>
856
- <td>
857
- <p style="margin-top: 5px;"><?php echo __('Your summary cannot exceed 4,000 characters in length and should not include HTML, except for hyperlinks', 'powerpress'); ?></p>
858
-
859
- <textarea name="Feed[itunes_summary]" rows="5" style="width:80%;" ><?php echo esc_textarea($FeedSettings['itunes_summary']); ?></textarea>
860
- <div>
861
- <input type="hidden" name="General[itunes_cdata]" value="0" />
862
- <input type="checkbox" name="General[itunes_cdata]" value="1" <?php echo ( !empty($General['itunes_cdata'])?'checked ':''); ?>/> <?php echo __('Wrap summary values with &lt;![CDATA[ ... ]]&gt; tags', 'powerpress'); ?>
863
  </div>
864
- </td>
865
- </tr>
866
-
867
 
868
- <tr valign="top">
869
- <th scope="row">
 
 
 
 
 
 
 
 
870
 
871
- <?php echo __('iTunes Episode Summary', 'powerpress'); ?></th>
872
- <td>
873
- <div style="margin-top: 15px;"><input type="checkbox" name="Feed[enhance_itunes_summary]" value="1" <?php echo ( !empty($FeedSettings['enhance_itunes_summary'])?'checked ':''); ?>/> <?php echo __('Optimize iTunes Summary from Blog Posts', 'powerpress'); ?>
 
 
 
 
874
  </div>
875
- <p>
876
- <?php echo __('Creates a friendlier view of your post/episode content.', 'powerpress'); ?>
877
- </p>
878
- </td>
879
- </tr>
880
- </table>
881
 
882
 
883
- <table class="form-table">
884
  <?php
885
  if( !empty($FeedSettings['itunes_keywords']) )
886
  {
887
  ?>
888
- <tr valign="top">
889
- <th scope="row">
890
- <?php echo __('iTunes Program Keywords', 'powerpress'); ?> <br />
891
- </th>
892
- <td>
893
- <input type="text" name="Feed[itunes_keywords]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['itunes_keywords']); ?>" maxlength="255" />
894
- <p><?php echo __('Feature Deprecated by Apple. Keywords above are for your reference only.', 'powerpress'); ?></p>
895
- </td>
896
- </tr>
897
  <?php
898
  } // End iTunes keywords
899
- ?>
900
 
 
 
 
 
 
901
 
902
- <tr valign="top">
903
- <th scope="row">
904
- <?php echo __('iTunes Category', 'powerpress'); ?>
905
- <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
906
- </th>
 
907
 
908
- <td>
909
  <?php
910
  $errorClass = '';
911
  if(empty($FeedSettings['itunes_cat_1'])) {
@@ -915,7 +982,7 @@ function powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs
915
  $errorClass = "class='pp-form-error'";
916
  }
917
  ?>
918
- <select <?php echo $errorClass ?> name="Feed[apple_cat_1]" class="bpp_input_med">
919
  <?php
920
 
921
  $AppleCategories = powerpress_apple_categories(true);
@@ -927,213 +994,164 @@ function powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs
927
  }
928
  ?>
929
  </select>
930
- <p style="width: 250px;">
931
- <?php echo __('The category above is where you will appear when browsing iTunes.', 'powerpress'); ?>
932
- </p>
933
- <?php
934
- if($errorClass == "class='pp-form-error'") {
935
- echo '<p style="width: 250px;">';
936
- echo __('Please enter an Apple Podcasts category', 'powerpress');
937
- echo '</p>'; }
938
- else {
939
- echo '<p style="height: 42px;">&puncsp;</p>';
940
- }
941
- ?>
942
- </td>
943
- </tr>
944
- </table>
945
 
946
 
947
- <!-- start advanced features -->
948
- <div id="more_itunes_cats" style="display: block;">
949
- <table class="form-table">
950
- <tr valign="top">
951
- <th scope="row">
952
- <?php echo __('iTunes Category 2', 'powerpress'); ?>
953
- </th>
954
- <td>
955
- <?php
956
- $errorClass = '';
957
- if(empty($FeedSettings['itunes_cat_2'])) {
958
- //don't show an error if there isn't a corresponding itunes caregory
959
- }
960
- else if(empty($FeedSettings['apple_cat_2'])) {
961
- $errorClass = "class='pp-form-error'";
962
- }
963
- ?>
964
- <select <?php echo $errorClass ?> name="Feed[apple_cat_2]" class="bpp_input_med">
965
- <?php
966
 
967
- echo '<option value="">'. __('Select Category', 'powerpress') .'</option>';
 
968
 
969
- foreach( $AppleCategories as $value=> $desc ) {
 
 
 
 
 
 
 
 
 
 
 
 
970
 
971
- echo "\t<option value=\"$value\"" . ($FeedSettings['apple_cat_2'] == $value ? ' selected' : '') . ">" . htmlspecialchars($desc) . "</option>\n";
972
- }
973
 
974
- ?>
975
- </select>
976
- <?php
977
- if($errorClass == "class='pp-form-error'") {
978
- echo '<p style="width: 250px;">';
979
- echo __('Please enter an Apple Podcasts category to prepare yourself for the new 2019 categories', 'powerpress');
980
- echo '</p>'; }
981
- else {
982
- echo '<p style="height: 42px;">&puncsp;</p>';
983
- }
984
- ?>
985
- <?php if( !empty($General['seo_itunes']) ) { ?>
986
- <p style="height: 42px;">&puncsp;</p>
987
- <?php } ?>
988
 
989
- </td>
 
990
 
991
- </tr>
 
 
992
 
993
- <tr valign="top">
994
- <th scope="row">
995
- <?php echo __('iTunes Category 3', 'powerpress'); ?>
996
- </th>
997
- <td>
998
- <?php
999
- $errorClass = '';
1000
- if(empty($FeedSettings['itunes_cat_3'])) {
1001
- //don't show an error if there isn't a corresponding itunes caregory
1002
- }
1003
- else if(empty($FeedSettings['apple_cat_3'])) {
1004
- $errorClass = "class='pp-form-error'";
1005
- }
1006
- ?>
1007
- <select <?php echo $errorClass ?> name="Feed[apple_cat_3]" class="bpp_input_med">
1008
  <?php
1009
- echo '<option value="">'. __('Select Category', 'powerpress') .'</option>';
1010
- foreach( $AppleCategories as $value=> $desc ) {
1011
- echo "\t<option value=\"$value\"" . ($FeedSettings['apple_cat_3'] == $value ? ' selected' : '') . ">" . htmlspecialchars($desc) . "</option>\n";
 
 
 
1012
  }
1013
-
1014
  ?>
1015
- </select>
1016
- <?php
1017
- if($errorClass == "class='pp-form-error'") {
1018
- echo '<p style="width: 250px;">';
1019
- echo __('Please enter an Apple Podcasts category to prepare yourself for the new 2019 categories', 'powerpress');
1020
- echo '</p>';
1021
- }
1022
- else {
1023
- echo '<p style="height: 42px;">&puncsp;</p>';
1024
- }
1025
- ?>
1026
- <?php if( !empty($General['seo_itunes']) ) { ?>
1027
- <p style="height: 42px;">&puncsp;</p>
1028
- <?php } ?>
1029
- </td>
1030
- </tr>
1031
- </table>
1032
- </div>
1033
- <!-- end advanced features -->
1034
-
1035
-
1036
- <table class="form-table">
1037
- <tr valign="top">
1038
- <th scope="row">
1039
- <?php echo __('iTunes Explicit', 'powerpress'); ?>
1040
- <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
1041
- </th>
1042
- <td>
1043
- <select name="Feed[itunes_explicit]" style="width: 70%;">
1044
- <?php
1045
- $explicit = array(0=> __('No option selected', 'powerpress'), 1=>__('Yes - explicit content', 'powerpress'), 2=>__('Clean - no explicit content', 'powerpress'));
1046
-
1047
- foreach( $explicit as $value=> $desc )
1048
- echo "\t<option value=\"$value\"". ($FeedSettings['itunes_explicit']==$value?' selected':''). (($FeedSettings['itunes_explicit']!=0&&$value==0)?'disabled':''). ">$desc</option>\n";
1049
-
1050
- ?>
1051
- </select>
1052
- <p>
1053
- <em><?php echo __('Note: As of February, 2016, you must select either Yes or Clean.', 'powerpress'); ?></em>
1054
- </p>
1055
- </td>
1056
- </tr>
1057
-
1058
- <tr valign="top">
1059
- <th scope="row">
1060
- <?php echo __('iTunes Author Name', 'powerpress'); ?>
1061
- </th>
1062
- <td>
1063
- <input type="text" name="Feed[itunes_talent_name]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['itunes_talent_name']); ?>" maxlength="255" /><br />
1064
- <div><input type="checkbox" name="Feed[itunes_author_post]" value="1" <?php echo ( !empty($FeedSettings['itunes_author_post'])?'checked ':''); ?>/> <?php echo __('Use blog post author\'s name for individual episodes.', 'powerpress'); ?></div>
1065
 
1066
- <?php if( !empty($General['seo_itunes']) ) { ?>
1067
- <p>
1068
- <em><?php echo __('Podcasting SEO Suggestion: Include talent names and nicknames not mentioned in the show title.', 'powerpress'); ?></em>
1069
- </p>
1070
- <?php } ?>
1071
- </td>
1072
- </tr>
1073
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1074
 
1075
- <tr valign="top">
1076
- <th scope="row">
1077
- <?php echo __('iTunes Email', 'powerpress'); ?>
1078
- <span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span>
1079
- </th>
1080
- <td>
1081
- <input type="text" name="Feed[email]" class="bpp_input_med" value="<?php echo esc_attr($FeedSettings['email']); ?>" maxlength="255" />
1082
- <div>(<?php echo __('iTunes will email this address when your podcast is accepted into the iTunes Directory.', 'powerpress'); ?>)</div>
1083
- </td>
1084
- </tr>
1085
 
 
 
 
 
 
 
 
 
 
1086
 
1087
- <tr valign="top">
1088
- <th scope="row">
1089
- <?php echo __('iTunes Type', 'powerpress'); ?>
1090
- </th>
1091
- <td>
1092
- <select name="Feed[itunes_type]" class="bpp_input_med">
1093
- <?php
1094
- $types = array(''=> __('No option selected', 'powerpress'), 'episodic'=>__('Episodic (default)', 'powerpress'), 'serial'=>__('Serial', 'powerpress'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1095
 
1096
- foreach( $types as $value=> $desc )
1097
- echo "\t<option value=\"$value\"". ($FeedSettings['itunes_type']==$value?' selected':''). ">$desc</option>\n";
1098
 
1099
- ?>
1100
- </select>
1101
- <p>
1102
- <em><?php echo __('Episodic: displays latest episode first.', 'powerpress'); ?></em>
1103
- </p>
1104
- <p>
1105
- <em><?php echo __('Serial: displays latest episode last.', 'powerpress'); ?></em>
1106
- </p>
1107
- </td>
1108
- </tr>
1109
 
1110
- </table>
 
1111
 
 
 
 
 
 
 
 
1112
 
1113
- <table class="form-table">
1114
- <tr valign="top">
1115
- <th scope="row" >
1116
 
1117
- <?php echo __('iTunes New Feed URL', 'powerpress'); ?></th>
1118
- <td>
1119
  <div id="new_feed_url_step_1" style="display: <?php echo ( !empty($FeedSettings['itunes_new_feed_url']) || !empty($FeedSettings['itunes_new_feed_url_podcast']) ?'none':'block'); ?>;">
1120
- <p style="margin-top: 5px;"><strong><a href="#" onclick="return powerpress_new_feed_url_prompt();"><?php echo __('Set iTunes New Feed URL', 'powerpress'); ?></a></strong></p>
1121
- <p><strong>
1122
- <?php echo __('The iTunes New Feed URL option works primarily for Apple\'s iTunes application only, and should only be used if you are unable to implement a HTTP 301 redirect.', 'powerpress'); ?>
1123
  <?php echo __('A 301 redirect will route <u>all podcast clients including iTunes</u> to your new feed address.', 'powerpress'); ?>
1124
  </strong>
1125
  </p>
1126
- <p>
1127
  <?php echo __('Learn more:', 'powerpress'); ?> <a href="https://create.blubrry.com/manual/syndicating-your-podcast-rss-feeds/changing-your-podcast-rss-feed-address-url/" target="_blank"><?php echo __('Changing Your Podcast RSS Feed Address (URL)', 'powerpress'); ?></a>
1128
  </p>
1129
  </div>
1130
  <div id="new_feed_url_step_2" style="display: <?php echo ( !empty($FeedSettings['itunes_new_feed_url']) || !empty($FeedSettings['itunes_new_feed_url_podcast']) ?'block':'none'); ?>;">
1131
- <p style="margin-top: 5px;"><strong><?php echo __('WARNING: Changes made here are permanent. If the New Feed URL entered is incorrect, you will lose subscribers and will no longer be able to update your listing in the iTunes Store.', 'powerpress'); ?></strong></p>
1132
- <p><strong><?php echo __('DO NOT MODIFY THIS SETTING UNLESS YOU ABSOLUTELY KNOW WHAT YOU ARE DOING.', 'powerpress'); ?></strong></p>
1133
- <p>
1134
  <?php echo htmlspecialchars( sprintf(__('Apple recommends you maintain the %s tag in your feed for at least two weeks to ensure that most subscribers will receive the new New Feed URL.', 'powerpress'), '<itunes:new-feed-url>' ) ); ?>
1135
  </p>
1136
- <p>
1137
  <?php
1138
  $FeedName = __('Main RSS2 feed', 'powerpress');
1139
  $FeedURL = get_feed_link('rss2');
@@ -1166,13 +1184,13 @@ foreach( $types as $value=> $desc )
1166
  ?>
1167
  </p>
1168
  <p style="margin-bottom: 0;">
1169
- <label style="width: 25%; float:left; display:block; font-weight: bold;"><?php echo __('New Feed URL', 'powerpress'); ?></label>
1170
- <input type="text" name="Feed[itunes_new_feed_url]" style="width: 55%;" value="<?php echo esc_attr($FeedSettings['itunes_new_feed_url']); ?>" maxlength="255" />
1171
  </p>
1172
- <p style="margin-left: 25%;margin-top: 0;font-size: 90%;">(<?php echo __('Leave blank for no New Feed URL', 'powerpress'); ?>)</p>
1173
 
1174
- <p><a href="https://create.blubrry.com/manual/syndicating-your-podcast-rss-feeds/changing-your-podcast-rss-feed-address-url/" target="_blank"><?php echo __('More information regarding the iTunes New Feed URL is available here.', 'powerpress'); ?></a></p>
1175
- <p>
1176
  <?php
1177
  if( !$cat_ID && !$feed_slug )
1178
  {
@@ -1184,21 +1202,20 @@ foreach( $types as $value=> $desc )
1184
  ?>
1185
  </p>
1186
  </div>
1187
- </td>
1188
- </tr>
1189
- </table>
1190
 
1191
- <fieldset style="border: 1px dashed #333333;">
1192
- <legend style="margin: 0 20px; padding: 0 5px; font-weight: bold;"><?php echo __('Advanced Options', 'powerpress'); ?></legend>
1193
 
1194
- <div style="margin-left: 230px; margin-bottom: 10px;">
1195
- <p>
1196
  <strong style="color: #CC0000; font-weight: bold;"><?php echo __('SETTINGS BELOW HAVE PERMANENT CONSEQUENCES.', 'powerpress'); ?></strong>
1197
  </p>
1198
- <p style="margin-bottom: 0;">
1199
  <?php echo __('Feeds affected', 'powerpress'); ?>:
1200
  </p>
1201
- <div style="margin-left: 20px;">
1202
  <?php
1203
  // $General, $feed_slug=false, $cat_ID=false
1204
 
@@ -1244,31 +1261,20 @@ foreach( $types as $value=> $desc )
1244
  </div>
1245
 
1246
  </div>
1247
- <div id="permanent_itunes_settings">
1248
- <table class="form-table">
1249
-
1250
- <tr valign="top">
1251
- <th scope="row" >
1252
-
1253
- <span style="margin-left: 10px;"><?php echo __('iTunes Block', 'powerpress'); ?></span></th>
1254
- <td>
1255
- <input type="checkbox" name="Feed[itunes_block]" value="1" <?php if( !empty($FeedSettings['itunes_block']) ) echo 'checked'; ?> />
1256
- <?php echo __('Prevent the entire podcast from appearing in the Apple Podcast directory.', 'powerpress'); ?>
1257
- </td>
1258
- </tr>
1259
-
1260
- <tr valign="top">
1261
- <th scope="row" >
1262
-
1263
- <span style="margin-left: 10px;"><?php echo __('iTunes Complete', 'powerpress'); ?></span></th>
1264
- <td>
1265
- <input type="checkbox" name="Feed[itunes_complete]" value="1" <?php if( !empty($FeedSettings['itunes_complete']) ) echo 'checked'; ?> />
1266
- <?php echo __('Indicate the completion of a podcast. iTunes will no longer update your listing in the Apple Podcast directory.', 'powerpress'); ?>
1267
- </td>
1268
- </tr>
1269
- </table>
1270
  </div>
1271
- </fieldset>
1272
 
1273
  <?php
1274
  }
156
  $FeedAttribs = array('type'=>$type, 'feed_slug'=>'', 'category_id'=>0, 'term_taxonomy_id'=>0, 'term_id'=>0, 'taxonomy_type'=>'', 'post_type'=>'');
157
  $cat_ID = false; $term_taxonomy_id = false;
158
 
159
+ wp_enqueue_style("powerpress_episode_box", '/wp-content/plugins/powerpress/css/settings.css');
160
+
161
+ $MultiSiteServiceSettings = false;
162
+ if( is_multisite() )
163
+ {
164
+ $MultiSiteSettings = get_site_option('powerpress_multisite');
165
+ if( !empty($MultiSiteSettings['services_multisite_only']) )
166
+ {
167
+ $MultiSiteServiceSettings = true;
168
+ }
169
+ }
170
 
171
  $FeedTitle = __('Feed Settings', 'powerpress');
172
 
268
  }
269
 
270
  ?>
271
+ <script src='/wp-content/plugins/powerpress/js/admin.js'></script>
272
+ <div id="powerpress_settings_page" class="powerpress_tabbed_content">
273
+ <div class="pp-tab">
274
+ <button id="welcome-tab" class="tablinks active" onclick="powerpress_openTab(event, 'settings-welcome')"><?php echo htmlspecialchars(__('Welcome', 'powerpress')); ?></button>
275
+ <!-- #tab1 deprecated. was episodes tab -->
276
+ <button id="feeds-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-feeds')"><?php echo htmlspecialchars(__('Feeds', 'powerpress')); ?></button>
277
+ <?php if( in_array($FeedAttribs['type'], array('category', 'ttid', 'post_type', 'channel') ) ) { ?>
278
+ <button id="website-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-website')"><?php echo htmlspecialchars(__('Website', 'powerpress')); ?></button>
279
+ <?php } ?>
280
+ <button id="destinations-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-destinations')"><?php echo htmlspecialchars(__('Destinations', 'powerpress')); ?></button>
281
+ <!-- <button class="tablinks" onclick="openTab(event, 'settings-analytics')"><?php echo htmlspecialchars(__('Analytics', 'powerpress')); ?></button> -->
282
+ <button id="other-tab" class="tablinks" onclick="powerpress_openTab(event, 'settings-other')"><?php echo htmlspecialchars(__('Other', 'powerpress')); ?></button>
283
+ </div>
284
+
285
+ <div id="settings-welcome" class="pp-tabcontent active">
286
+ <div class="pp-sidenav">
287
+ <br />
288
+ <div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
289
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
290
+ <br />
291
+ <?php
292
+ powerpressadmin_edit_blubrry_services($General);
293
+ ?>
294
+ </div>
295
+ <button style="display: none;" id="welcome-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'welcome-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
296
+ <div id="welcome-all" class="pp-sidenav-tab active">
297
+ <?php powerpressadmin_welcome($General, $FeedSettings); ?>
298
+ </div>
299
+ </div>
300
+
301
+ <div id="settings-feeds" class="pp-tabcontent has-sidenav">
302
+ <div class="pp-sidenav">
303
+ <button id="feeds-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'feeds-feeds')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/megaphone_gray.svg"><?php echo htmlspecialchars(__('Podcast Feed', 'powerpress')); ?></button>
304
+ <button class="pp-sidenav-tablinks" id="feeds-settings-tab" onclick="sideNav(event, 'feeds-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/option_bar_settings_gray.svg"><?php echo htmlspecialchars(__('Feed Settings', 'powerpress')); ?></button>
305
+ <button class="pp-sidenav-tablinks" id="feeds-artwork-tab" onclick="sideNav(event, 'feeds-artwork')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/camera_gray.svg"><?php echo htmlspecialchars(__('Podcast Artwork', 'powerpress')); ?></button>
306
+ <button class="pp-sidenav-tablinks" id="feeds-basic-tab" onclick="sideNav(event, 'feeds-basic')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/edit_gray.svg"><?php echo htmlspecialchars(__('Basic Show Information', 'powerpress')); ?></button>
307
+ <button class="pp-sidenav-tablinks" id="feeds-rating-tab" onclick="sideNav(event, 'feeds-rating')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/star_favorite_gray.svg"><?php echo htmlspecialchars(__('Rating Settings', 'powerpress')); ?></button>
308
+ <button class="pp-sidenav-tablinks" id="feeds-apple-tab" onclick="sideNav(event, 'feeds-apple')"><span id="apple-icon-feed" class="destinations-side-icon" style="margin-left: 2px;"></span><span class="destination-side-text" style="margin-left: 6px;"><?php echo htmlspecialchars(__('Apple Settings', 'powerpress')); ?></span></button>
309
+ <br />
310
+ <div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
311
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
312
+ <br />
313
+ <?php
314
+ powerpressadmin_edit_blubrry_services($General);
315
+ ?>
316
+ </div>
317
+ <div id="feeds-feeds" class="pp-sidenav-tab active">
318
+ <?php
319
+ powerpressadmin_edit_feed_general($FeedSettings, $General, $FeedAttribs);
320
+ powerpress_settings_tab_footer();
321
+ ?>
322
+ </div>
323
+ <div id="feeds-settings" class="pp-sidenav-tab">
324
+ <?php powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttribs);
325
+ powerpress_settings_tab_footer(); ?>
326
+ </div>
327
+ <div id="feeds-artwork" class="pp-sidenav-tab">
328
+ <?php powerpressadmin_edit_artwork($FeedSettings, $General);
329
+ powerpress_settings_tab_footer(); ?>
330
+ </div>
331
+ <div id="feeds-basic" class="pp-sidenav-tab">
332
+ <?php powerpressadmin_edit_funding($FeedSettings, $feed_slug);
333
+ powerpress_settings_tab_footer(); ?>
334
+ </div>
335
+ <div id="feeds-rating" class="pp-sidenav-tab">
336
+ <?php powerpressadmin_edit_tv($FeedSettings, $feed_slug);
337
+ powerpress_settings_tab_footer(); ?>
338
+ </div>
339
+ <div id="feeds-apple" class="pp-sidenav-tab">
340
+ <?php powerpressadmin_edit_itunes_feed($FeedSettings, $General, $FeedAttribs);
341
+ powerpress_settings_tab_footer(); ?>
342
+ </div>
343
+ </div>
344
+
345
+ <div id="settings-website" class="pp-tabcontent">
346
+ <div class="pp-sidenav">
347
+ <button id="website-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'website-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/desktop_gray.svg"><?php echo htmlspecialchars(__('Website Settings', 'powerpress')); ?></button>
348
+ <button class="pp-sidenav-tablinks" id="website-shortcodes-tab" onclick="sideNav(event, 'website-shortcodes')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/connection_pattern_gray.svg"><?php echo htmlspecialchars(__('PowerPress Shortcodes', 'powerpress')); ?></button>
349
+ <br />
350
+ <div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
351
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
352
+ <br />
353
+ <?php
354
+ powerpressadmin_edit_blubrry_services($General);
355
+ ?>
356
+ </div>
357
+
358
+ <?php
359
+ if( $General === false )
360
+ $General = powerpress_get_settings('powerpress_general');
361
+ $General = powerpress_default_settings($General, 'appearance');
362
+ if( !isset($General['player_function']) )
363
+ $General['player_function'] = 1;
364
+ if( !isset($General['player_aggressive']) )
365
+ $General['player_aggressive'] = 0;
366
+ if( !isset($General['new_window_width']) )
367
+ $General['new_window_width'] = '';
368
+ if( !isset($General['new_window_height']) )
369
+ $General['new_window_height'] = '';
370
+ if( !isset($General['player_width']) )
371
+ $General['player_width'] = '';
372
+ if( !isset($General['player_height']) )
373
+ $General['player_height'] = '';
374
+ if( !isset($General['player_width_audio']) )
375
+ $General['player_width_audio'] = '';
376
+ if( !isset($General['disable_appearance']) )
377
+ $General['disable_appearance'] = false;
378
+ if( !isset($General['subscribe_links']) )
379
+ $General['subscribe_links'] = true;
380
+ if( !isset($General['subscribe_label']) )
381
+ $General['subscribe_label'] = '';
382
+ require_once( dirname(__FILE__).'/views/settings_tab_appearance.php' );
383
+
384
+ ?>
385
+
386
+
387
+ <div id="website-settings" class="pp-sidenav-tab active">
388
+ <?php powerpressadmin_website_settings_custom_feed($General, $FeedSettings, $FeedAttribs);
389
+ powerpress_settings_tab_footer(); ?>
390
+ </div>
391
+ <div id="website-shortcodes" class="pp-sidenav-tab">
392
+ <?php powerpress_shortcode_settings($General, $FeedAttribs);
393
+ powerpress_settings_tab_footer(); ?>
394
+ </div>
395
+ </div>
396
+
397
+ <div id="settings-destinations" class="pp-tabcontent">
398
+ <?php
399
+ powerpressadmin_edit_destinations($FeedSettings, $General, $FeedAttribs);
400
+ ?>
401
+ </div>
402
+
403
+ <div id="settings-analytics" class="pp-tabcontent">
404
+ <div class="pp-sidenav">
405
+ <?php
406
+ powerpressadmin_edit_blubrry_services($General);
407
+ ?>
408
+ </div>
409
+ <?php
410
+ if( $MultiSiteServiceSettings && defined('POWERPRESS_MULTISITE_VERSION') )
411
+ {
412
+ PowerPressMultiSitePlugin::edit_blubrry_services($General);
413
+ }
414
+ else
415
+ {
416
+ powerpressadmin_edit_media_statistics($General);
417
+ }
418
+ ?>
419
+ </div>
420
+
421
+ <div id="settings-other" class="pp-tabcontent"> <div class="pp-sidenav">
422
+ <br />
423
+ <div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
424
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
425
+ <br />
426
+ <?php
427
+ powerpressadmin_edit_blubrry_services($General);
428
+ ?>
429
+ </div>
430
+ <button style="display: none;" id="other-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'other-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
431
+ <div id="other-all" class="pp-sidenav-tab active">
432
+ <?php
433
+ powerpressadmin_settings_tab_other($General, $FeedSettings, $feed_slug, $cat_ID, $FeedAttribs);
434
+ powerpress_settings_tab_footer();
435
+ ?>
436
+ </div>
437
+ </div>
438
+
439
+ </div>
440
+ <div class="clear"></div>
441
+
442
  <div class="clear"></div>
443
  <?php
444
 
466
  <?php
467
  }
468
 
469
+ function powerpressadmin_edit_feed_general($FeedSettings, $General, $FeedAttribs)
470
  {
471
  $warning = '';
472
  $episode_count = powerpress_get_episode_count('podcast');
474
  {
475
  $warning = __('WARNING: You must create at least one podcast episode for your podcast feed to be valid.', 'powerpress');
476
  }
477
+
478
+ $feed_link = '';
479
+ switch( $FeedAttribs['type'])
480
+ {
481
+ case 'category': {
482
+ if( !empty($General['cat_casting_podcast_feeds']) )
483
+ $feed_link = get_category_feed_link($FeedAttribs['category_id'], 'podcast');
484
+ else // Use the old link
485
+ $feed_link = get_category_feed_link($FeedAttribs['category_id']);
486
+ }; break;
487
+ case 'ttid': {
488
+ $feed_link = get_term_feed_link($FeedAttribs['term_taxonomy_id'], $FeedAttribs['taxonomy_type'], 'rss2');
489
+ }; break;
490
+ case 'post_type': {
491
+ $feed_link = get_post_type_archive_feed_link($FeedAttribs['post_type'], $FeedAttribs['feed_slug']);
492
+ }; break;
493
+ case 'channel': {
494
+ $feed_link = get_feed_link($FeedAttribs['feed_slug']);
495
+ }; break;
496
+ default: {
497
+ $feed_link = get_feed_link('podcast');
498
+ }; break;
499
+ }
500
 
501
  if( !isset($FeedSettings['apply_to']) )
502
  $FeedSettings['apply_to'] = 1;
503
  ?>
504
+ <h1 class="pp-heading"><?php echo __('Podcast Feeds', 'powerpress'); ?></h1>
505
+ <p class="pp-settings-text"><?php echo __('Your podcast RSS feed: ', 'powerpress'); ?>
506
+ <a href="<?php echo esc_attr($feed_link); ?>"> <?php echo esc_attr($feed_link); ?> </a>
507
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
 
509
+ <div class="pp-settings-section">
510
+ <h2><?php echo __('Enhance Feeds', 'powerpress'); ?></h2>
511
+ <ul>
512
+ <li>
513
+ <input class="pp-settings-radio" type="radio" name="Feed[apply_to]" value="1" <?php if( $FeedSettings['apply_to'] == 1 ) echo 'checked'; ?> />
514
+ <div class="pp-settings-subsection">
515
+ <p class="pp-main"><?php echo __('Enhance All Feeds', 'powerpress'); ?> (<?php echo __('Recommended', 'powerpress'); ?>)</p>
516
+ <p class="pp-sub"><?php echo __('Adds podcasting support to all feeds', 'powerpress'); ?></p>
517
+ </div>
518
+ </li>
519
+ <li>
520
+ <input class="pp-settings-radio" type="radio" name="Feed[apply_to]" value="2" <?php if( $FeedSettings['apply_to'] == 2 ) echo 'checked'; ?> />
521
+ <div class="pp-settings-subsection">
522
+ <p class="pp-main"><?php echo __('Enhance Main Feed Only', 'powerpress'); ?></p>
523
+ <p class="pp-sub"><?php echo __('Adds podcasting support to your main feed only', 'powerpress'); ?></p>
524
+ </div>
525
+ </li>
526
+ <li>
527
+ <input class="pp-settings-radio" type="radio" name="Feed[apply_to]" value="0" <?php if( $FeedSettings['apply_to'] == 0 ) echo 'checked'; ?> />
528
+ <div class="pp-settings-subsection">
529
+ <p class="pp-main"><?php echo __('Do Not Enhance Feeds', 'powerpress'); ?></p>
530
+ <p class="pp-sub"><?php echo __('Feed Settings below will only apply to your podcast channel feeds', 'powerpress'); ?></p>
531
+ </div>
532
+ </li>
533
+ </ul>
534
+ </div>
535
+ <div class="pp-settings-section">
536
+ <h2><?php echo __('Podcast Feeds', 'powerpress'); ?></h2>
537
  <?php if( $warning ) { ?>
538
  <span class="powerpress-error" style="background-color: #FFEBE8; border-color: #CC0000; padding: 6px 10px;"><?php echo $warning; ?></span>
539
  <?php } ?>
552
  $feed_title = $feed_slug;
553
  $edit_link = admin_url( 'admin.php?page=powerpress/powerpressadmin_customfeeds.php&amp;action=powerpress-editfeed&amp;feed_slug=') . $feed_slug;
554
  ?>
555
+ <p class="pp-settings-text-with-label"><b><?php echo $feed_title; ?></b></p>
556
+ <p class="pp-label-bottom"><a href="<?php echo get_feed_link($feed_slug); ?>" title="<?php echo $feed_title; ?>" target="_blank"><?php echo get_feed_link($feed_slug); ?></a>
557
  <?php if( defined('POWERPRESS_FEEDVALIDATOR_URL') ) { ?>
558
+ - <a href="<?php echo POWERPRESS_FEEDVALIDATOR_URL. urlencode(get_feed_link($feed_slug)); ?>" target="_blank"><?php echo __('Validate Feed', 'powerpress'); ?></a>
559
  <?php } ?>
560
  <?php if( false && $feed_slug != 'podcast' ) { ?>
561
+ - <a href="<?php echo $edit_link; ?>" title="<?php echo __('Edit Podcast Channel', 'powerpress'); ?>"><?php echo __('Edit', 'powerpress'); ?></a>
562
  <?php } ?>
563
+ </p>
564
  <?php } ?>
565
+ <p class="pp-settings-text"><?php echo __('These are podcast only feeds suitable for submission podcast directories such as Apple Podcasts.', 'powerpress'); ?></p>
566
+ <p style="margin-bottom: 3ch;" class="description pp-settings-text"><?php echo __('Note: We do not recommend submitting your main site feed to podcast directories such as iTunes. iTunes and many other podcast directories work best with feeds that do not have regular blog posts mixed in.', 'powerpress'); ?></p>
567
 
568
+ <div>
569
+ <input type="hidden" name="General[feed_action_hook]" value="0" />
570
+ <input class="pp-settings-checkbox" type="checkbox" name="General[feed_action_hook]" value="1" <?php if( !empty($General['feed_action_hook']) && $General['feed_action_hook'] == 1 ) echo 'checked '; ?>/>
571
+ <div class="pp-settings-subsection">
572
+ <p class="pp-settings-text"><?php echo __('Do not allow other plugins to modify podcast feeds.', 'powerpress'); ?></p>
573
+ </div>
574
+ </div>
575
+ <div>
576
+ <input type="hidden" name="General[feed_accel]" value="0" />
577
+ <input class="pp-settings-checkbox" type="checkbox" name="General[feed_accel]" value="1" <?php if( !empty($General['feed_accel']) && $General['feed_accel'] == 1 ) echo 'checked '; ?>/>
578
+ <div class="pp-settings-subsection">
579
+ <p class="pp-settings-text"><?php echo __('Accelerate feed', 'powerpress'); ?></p>
580
+ </div>
581
+ </div>
582
 
583
+ </div>
 
 
 
 
 
 
 
584
 
585
+ <div class="pp-settings-section">
586
+ <h2><?php echo __('Feed Discovery', 'powerpress'); ?></h2>
587
+ <input class="pp-settings-checkbox" type="checkbox" name="General[feed_links]" value="1" <?php if( !empty($General['feed_links']) && $General['feed_links'] == 1 ) echo 'checked '; ?>/>
588
+ <div class="pp-settings-subsection">
589
+ <p class="pp-main"><?php echo __('Include podcast feed links in HTML headers.', 'powerpress'); ?>
590
+ <p class="pp-label-bottom"><?php echo __('Adds "feed discovery" links to your web site\'s headers allowing web browsers and feed readers to auto-detect your podcast feeds.', 'powerpress'); ?></p></p>
591
+ </div>
592
+ </div>
593
 
594
+ <div class="pp-settings-section">
595
+ <h2><?php echo __('RSS2 Image', 'powerpress'); ?></h2>
596
+ <input type="hidden" name="General[disable_rss_image]" value="1" />
597
+ <input class="pp-settings-checkbox" type="checkbox" name="General[disable_rss_image]" value="0" <?php if( empty($General['disable_rss_image']) ) echo 'checked '; ?>/>
598
+ <div class="pp-settings-subsection">
599
+ <p class="pp-main"><?php echo __('Include RSS Image in feeds.', 'powerpress'); ?></label></p>
600
+ </div>
601
+ </div>
602
 
603
+ <div class="pp-settings-section">
604
+ <h2><?php echo __('Emoji', 'powerpress'); ?></h2>
 
 
605
  <?php
606
  if( 'utf8mb4' != $GLOBALS['wpdb']->charset )
607
  {
608
  ?>
609
+ <p class="pp-settings-text" style="font-weight: bold; color: #CC0000;">
610
  <?php
611
  echo __('Emoji may not be supported with your WordPress installation. Please upgrade your database to support utf8mb4 available in WordPress 4.2 and newer.', 'powerpress');
612
  ?>
613
  </p>
614
  <?php } ?>
615
  <input type="hidden" name="General[rss_emoji]" value="0" />
616
+ <input class="pp-settings-checkbox" type="checkbox" name="General[rss_emoji]" value="1" <?php if( !empty($General['rss_emoji']) ) echo 'checked '; ?>/>
617
+ <div class="pp-settings-subsection">
618
+ <p class="pp-main"><?php echo __('Include Emoji in feeds.', 'powerpress'); ?></p>
619
+ <p class="pp-label-bottom"><a href="https://create.blubrry.com/resources/powerpress/powerpress-settings/feeds/#emoji" target="_blank"><?php echo __('Learn more', 'powerpress'); ?></a></p>
620
+ </div>
621
+ </div>
 
622
  <?php
623
  }
624
 
660
  }
661
 
662
  $cat_ID = $FeedAttribs['category_id'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
663
 
664
+ ?>
665
+ <h1 class="pp-heading"><?php echo __('Feed Settings', 'powerpress'); ?></h1>
666
+ <p class="pp-settings-text"><?php echo __('Your podcast RSS feed: ', 'powerpress'); ?>
667
+ <a href="<?php echo esc_attr($feed_link); ?>"> <?php echo esc_attr($feed_link); ?> </a>
668
+ </p>
669
 
670
+ <div class="pp-settings-section">
671
+ <h2><?php echo __('Feed Title', 'powerpress'); ?></h2>
672
+ <label for="Feed[title]" class="pp-settings-label"><?php echo __('Show Title', 'powerpress'); ?></label>
673
+ <input class="pp-settings-text-input" type="text" name="Feed[title]" value="<?php echo esc_attr($FeedSettings['title']); ?>" maxlength="255" />
674
+ <label for="Feed[title]" class="pp-settings-label-under">
 
675
  <?php if( $cat_ID ) { ?>
676
+ <?php echo __('Leave blank to use default category title', 'powerpress'); ?>
677
  <?php } else { ?>
678
+ <?php echo __('Leave blank to use blog title for the show', 'powerpress'); ?>
679
  <?php } ?>
680
+ </label>
681
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
682
 
683
+ <div class="pp-settings-section">
684
+ <h2><?php echo __('Feed Description', 'powerpress'); ?></h2>
685
+ <label for="Feed[description]" class="pp-settings-label"><?php echo __('Show Description', 'powerpress'); ?></label>
686
+ <input class="pp-settings-text-input" type="text" name="Feed[description]" value="<?php echo esc_attr( !empty($FeedSettings['description'])? $FeedSettings['description']:''); ?>" maxlength="1000" />
687
+ <label for="Feed[description]" class="pp-settings-label-under">
 
688
  <?php if( $cat_ID ) { ?>
689
+ <?php echo __('Leave blank to use category description', 'powerpress'); ?>
690
  <?php } else { ?>
691
+ <?php echo __('Leave blank to use blog description', 'powerpress'); ?>
692
  <?php } ?>
693
+ </label>
694
+ </div>
 
695
 
696
+ <!--<div class="pp-settings-section">
697
+ <h2><?php echo __('Feed Landing Page URL', 'powerpress'); ?></h2>
698
+ <input class="pp-settings-text-input" type="text" name="Feed[url]" value="<?php echo esc_attr( !empty($FeedSettings['url'])? $FeedSettings['url']:''); ?>" maxlength="255" />
699
+ <label for="Feed[url]" class="pp-settings-label-under">
 
 
700
  <?php if( $cat_ID ) { ?>
701
+ <?php echo __('Leave blank to use category page', 'powerpress'); ?>
702
  <?php } else { ?>
703
+ <?php echo __('Leave blank to use home page', 'powerpress'); ?>
704
  <?php } ?>
705
  <?php if( $cat_ID ) { ?>
706
+ <p class="description"><?php echo __('Category page URL', 'powerpress'); ?>: <?php echo get_category_link($cat_ID); ?></p>
707
  <?php } else { ?>
708
+ <p class="description">e.g. <?php echo get_bloginfo('url'); ?>/custom-page/</p>
709
  <?php } ?>
710
+ </label>
711
+ </div>-->
712
+
713
+ <div class="pp-settings-section">
714
+ <h2><?php echo __('PodcastMirror Feed URL', 'powerpress'); ?><br /></h2>
715
+ <label for="Feed[feed_redirect_url]" class="pp-settings-label"><?php echo __('URL', 'powerpress'); ?></label>
716
+ <input class="pp-settings-text-input" type="text" name="Feed[feed_redirect_url]" value="<?php echo esc_attr(!empty($FeedSettings['feed_redirect_url'])? $FeedSettings['feed_redirect_url']:''); ?>" maxlength="100" />
717
+ <label for="Feed[feed_redirect_url]" class="pp-settings-label-under">
718
+ <?php echo __('Leave blank to use built-in feed', 'powerpress'); ?>
719
+ </label>
720
+ <span class="pp-right-label" style="float: right;"><a href="https://podcastmirror.com" target="_blank"><?php echo __('Learn more', 'powerpress'); ?></a></span>
721
+ <p style="margin-top: 1em;" class="pp-settings-text"><?php echo __('Use this option to mirror your podcast feed to provide fast, scalable subscriptions to your show. This option is not required. Service is FeedBurner compatible.', 'powerpress'); ?></p>
722
  <?php
723
  $link = $feed_link;
724
  if( strstr($link, '?') )
726
  else
727
  $link .= "?redirect=no";
728
  ?>
729
+ <p class="pp-settings-text"><?php echo __('Bypass Redirect URL', 'powerpress'); ?>: <a href="<?php echo $link; ?>" target="_blank"><?php echo $link; ?></a></p>
730
+ </div>
 
731
 
732
+ <div class="pp-settings-section">
733
+ <h2><?php echo __('Show the most recent', 'powerpress'); ?></h2>
734
+ <p class="pp-settings-text"><?php echo __('Please enable the Feed Episode Maximizer option to optimize your feed for more than 10 episodes.', 'powerpress'); ?></p>
735
+ <label for="Feed[posts_per_rss]" class="pp-settings-label"><?php echo __('Show the most recent', 'powerpress'); ?></label>
736
+ <input class="pp-settings-text-input" type="text" name="Feed[posts_per_rss]" value="<?php echo ( !empty($FeedSettings['posts_per_rss'])? $FeedSettings['posts_per_rss']:''); ?>" maxlength="5" />
737
+ <label for="Feed[posts_per_rss]" class="pp-settings-label-under">
738
+ <?php echo sprintf(__('episodes / posts per feed (site default: %d, maximum: %d)', 'powerpress'), get_option('posts_per_rss'), 300); ?>
739
+ </label>
740
+ </div>
741
 
742
  <?php
743
  if( in_array($FeedAttribs['type'], array('channel', 'category', 'post_types', 'general')) )
744
  {
745
  ?>
746
+ <div class="pp-settings-section">
747
+ <h2><?php echo __('Feed Episode Maximizer', 'powerpress'); ?></h2>
748
+ <input class="pp-settings-checkbox" type="checkbox" name="Feed[maximize_feed]" value="1" <?php if( !empty($FeedSettings['maximize_feed']) ) echo 'checked'; ?> />
749
+ <div class="pp-settings-subsection">
750
+ <p class="pp-main"><?php echo __('Maximize the number of episodes while maintaining an optimal feed size.', 'powerpress'); ?></p>
751
+ <p class="pp-settings-text"><a href="https://create.blubrry.com/resources/powerpress/powerpress-settings/feeds/#maximizer" target="_blank"><?php echo __('Learn more', 'powerpress'); ?></a></p>
752
+ </div>
753
+ </div>
754
+
 
755
  <?php
756
  }
757
  ?>
758
 
759
+ <div class="pp-settings-section">
760
+ <h2><?php echo __('Feed Language', 'powerpress'); ?></h2>
761
+ <select class="pp-settings-select" name="Feed[rss_language]">
 
 
 
762
  <?php
763
  $Languages = powerpress_languages();
764
 
766
  foreach( $Languages as $value=> $desc )
767
  echo "\t<option value=\"$value\"". ($FeedSettings['rss_language']==$value?' selected':''). ">". esc_attr($desc)."</option>\n";
768
  ?>
769
+ </select>
770
+ <label class="pp-settings-label-under" for="Feed[rss_language]">
771
  <?php
772
  $rss_language = get_bloginfo_rss('language');
773
  $rss_language = strtolower($rss_language);
778
  <?php } else { ?>
779
  <?php echo __('Blog Default', 'powerpress'); ?>: <?php echo $rss_language; ?>
780
  <?php } ?>
781
+ </label>
782
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
783
 
784
+ <div class="pp-settings-section">
785
+ <h2><?php echo __('Copyright', 'powerpress'); ?></h2>
786
+ <label for="Feed[copyright]" class="pp-settings-label"><?php echo __('Copyright text', 'powerpress'); ?></label>
787
+ <input class="pp-settings-text-input" type="text" name="Feed[copyright]" value="<?php echo esc_attr($FeedSettings['copyright']); ?>" maxlength="255" />
788
+ </div>
789
 
790
+ <div class="pp-settings-section">
791
+ <h2><?php echo __('Caching Debug Comments', 'powerpress'); ?></h2>
792
+ <input class="pp-settings-checkbox" type="checkbox" name="General[allow_feed_comments]" value="1" <?php if( !empty($General['allow_feed_comments']) ) echo 'checked'; ?> />
793
+ <div class="pp-settings-subsection">
794
+ <p class="pp-main">
795
+ <?php echo __('Allow WP Super Cache or W3 Total Cache to add HTML Comments to the bottom of your feeds', 'powerpress'); ?>
796
+ (<?php echo __('Recommended unchecked', 'powerpress'); ?>)
797
+ </p>
798
+ </div>
799
+ <p class="pp-label-bottom" style="margin-top: 2ch;"><?php echo __('iTunes is known to have issues with feeds that have HTML comments at the bottom.', 'powerpress'); ?>
800
+ <?php echo __('NOTE: This setting should only be enabled for debugging purposes.', 'powerpress'); ?></p>
801
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
802
  </div>
803
+
804
  <?php
805
 
806
  }
807
 
808
 
809
  function powerpressadmin_settings_tab_other($General, $FeedSettings, $feed_slug, $cat_ID = false, $FeedAttribs = array() ) {
810
+
811
  require_once( dirname(__FILE__).'/views/settings_tab_other.php' );
812
  }
813
 
918
  }
919
  ?>
920
 
921
+ <h1 class="pp-heading"><?php echo __('Apple Settings', 'powerpress'); ?></h1>
922
+ <p class="pp-settings-text">
923
+ <?php echo __('The following settings will affect the display of your podcast\'s listing on Apple Podcasts, or when/how your podcast appears in Apple Search results.','powerpress'); ?>
924
+ </p>
925
+ <div class="pp-settings-section">
926
+ <h2><?php echo __('Program Subtitle', 'powerpress'); ?> <br /></h2>
927
+ <input type="text" class="pp-settings-text-input" name="Feed[itunes_subtitle]" value="<?php echo esc_attr($FeedSettings['itunes_subtitle']); ?>" maxlength="255" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
928
  </div>
 
 
 
929
 
930
+ <div class="pp-settings-section">
931
+ <h2><?php echo __('Program Summary', 'powerpress'); ?></h2>
932
+ <p class="pp-main"><?php echo __('Your summary cannot exceed 4,000 characters in length and should not include HTML, except for hyperlinks', 'powerpress'); ?></p>
933
+ <textarea name="Feed[itunes_summary]" class="pp-settings-text-input" rows="5" ><?php echo esc_textarea($FeedSettings['itunes_summary']); ?></textarea>
934
+ <input type="hidden" name="General[itunes_cdata]" value="0" />
935
+ <input type="checkbox" class="pp-settings-checkbox" name="General[itunes_cdata]" value="1" <?php echo ( !empty($General['itunes_cdata'])?'checked ':''); ?>/>
936
+ <div class="pp-settings-subsection" style="border: none;">
937
+ <p class="pp-sub"><?php echo __('Wrap summary values with &lt;![CDATA[ ... ]]&gt; tags', 'powerpress'); ?></p>
938
+ </div>
939
+ </div>
940
 
941
+ <div class="pp-settings-section">
942
+ <h2><?php echo __('Episode Summary', 'powerpress'); ?></h2>
943
+ <input type="checkbox" class="pp-settings-checkbox" name="Feed[enhance_itunes_summary]" value="1" <?php echo ( !empty($FeedSettings['enhance_itunes_summary'])?'checked ':''); ?>/>
944
+ <div class="pp-settings-subsection">
945
+ <p class="pp-main"><?php echo __('Optimize iTunes Summary from Blog Posts', 'powerpress'); ?></p>
946
+ <p class="pp-sub"><?php echo __('Creates a friendlier view of your post/episode content.', 'powerpress'); ?></p>
947
+ </div>
948
  </div>
 
 
 
 
 
 
949
 
950
 
 
951
  <?php
952
  if( !empty($FeedSettings['itunes_keywords']) )
953
  {
954
  ?>
955
+ <div class="pp-settings-section">
956
+ <h2><?php echo __('Program Keywords', 'powerpress'); ?></h2>
957
+ <input type="text" class="pp-settings-text-input" name="Feed[itunes_keywords]" style="width: 60%;" value="<?php echo esc_attr($FeedSettings['itunes_keywords']); ?>" maxlength="255" />
958
+ <p><?php echo __('Feature Deprecated by Apple. Keywords above are for your reference only.', 'powerpress'); ?></p>
959
+ </div>
 
 
 
 
960
  <?php
961
  } // End iTunes keywords
 
962
 
963
+ $MoreCategories = false;
964
+ if( !empty($FeedSettings['itunes_cat_2']) )
965
+ $MoreCategories = true;
966
+ else if( !empty($FeedSettings['itunes_cat_3']) )
967
+ $MoreCategories = true;
968
 
969
+ $Categories = powerpress_itunes_categories(true);
970
+ $AppleCategories = powerpress_apple_categories(true);
971
+
972
+ ?>
973
+ <div class="pp-settings-section" style="display: inline-block;width: 28%;">
974
+ <h2><?php echo __('Category', 'powerpress'); ?><span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span></h2>
975
 
 
976
  <?php
977
  $errorClass = '';
978
  if(empty($FeedSettings['itunes_cat_1'])) {
982
  $errorClass = "class='pp-form-error'";
983
  }
984
  ?>
985
+ <select <?php echo $errorClass ?> name="Feed[apple_cat_1]" class="pp-settings-select" style="width: 80%;">
986
  <?php
987
 
988
  $AppleCategories = powerpress_apple_categories(true);
994
  }
995
  ?>
996
  </select>
997
+ <?php
998
+ if($errorClass == "class='pp-form-error'") {
999
+ echo '<p style="width: 250px;">';
1000
+ echo __('Please enter an Apple Podcasts category to prepare yourself for the new 2019 categories', 'powerpress');
1001
+ echo '</p>'; }
1002
+ else {
1003
+ echo '';
1004
+ }
1005
+ ?>
1006
+ </div>
 
 
 
 
 
1007
 
1008
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1009
 
1010
+ <!-- start advanced features -->
1011
+ <!--<div id="more_itunes_cats" style="display: inline-block;">-->
1012
 
1013
+ <div class="pp-settings-section" style="display: inline-block;width: 28%;">
1014
+ <?php
1015
+ $errorClass = '';
1016
+ if(empty($FeedSettings['itunes_cat_2'])) {
1017
+ //don't show an error if there isn't a corresponding itunes caregory
1018
+ }
1019
+ else if(empty($FeedSettings['apple_cat_2'])) {
1020
+ $errorClass = "class='pp-form-error'";
1021
+ }
1022
+ ?>
1023
+ <h2><?php echo __('Category 2', 'powerpress'); ?> </h2>
1024
+ <select <?php echo $errorClass ?> name="Feed[apple_cat_2]" class="pp-settings-select" style="width: 80%;">
1025
+ <?php
1026
 
1027
+ echo '<option value="">'. __('Select Category', 'powerpress') .'</option>';
 
1028
 
1029
+ foreach( $AppleCategories as $value=> $desc ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
1030
 
1031
+ echo "\t<option value=\"$value\"" . ($FeedSettings['apple_cat_2'] == $value ? ' selected' : '') . ">" . htmlspecialchars($desc) . "</option>\n";
1032
+ }
1033
 
1034
+ reset($Categories);
1035
+ ?>
1036
+ </select>
1037
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1038
  <?php
1039
+ if($errorClass == "class='pp-form-error'") {
1040
+ echo '<p class="pp-settings-text" style="width: 250px;">';
1041
+ echo __('Please enter an Apple Podcasts category to prepare yourself for the new 2019 categories', 'powerpress');
1042
+ echo '</p>'; }
1043
+ else {
1044
+ echo '';
1045
  }
 
1046
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1047
 
1048
+ </div>
 
 
 
 
 
 
1049
 
1050
+ <div class="pp-settings-section" style="display: inline-block;width: 28%;">
1051
+ <?php
1052
+ $errorClass = '';
1053
+ if(empty($FeedSettings['itunes_cat_3'])) {
1054
+ //don't show an error if there isn't a corresponding itunes caregory
1055
+ }
1056
+ else if(empty($FeedSettings['apple_cat_3'])) {
1057
+ $errorClass = "class='pp-form-error'";
1058
+ }
1059
+ ?>
1060
+ <h2><?php echo __('Category 3', 'powerpress'); ?></h2>
1061
+ <select <?php echo $errorClass ?> name="Feed[apple_cat_3]" class="pp-settings-select" style="width: 80%;">
1062
+ <?php
1063
+ echo '<option value="">'. __('Select Category', 'powerpress') .'</option>';
1064
+ foreach( $AppleCategories as $value=> $desc ) {
1065
+ echo "\t<option value=\"$value\"" . ($FeedSettings['apple_cat_3'] == $value ? ' selected' : '') . ">" . htmlspecialchars($desc) . "</option>\n";
1066
+ }
1067
 
1068
+ reset($Categories);
1069
+ ?>
1070
+ </select>
 
 
 
 
 
 
 
1071
 
1072
+ <?php
1073
+ if($errorClass == "class='pp-form-error'") {
1074
+ echo '<p style="width: 250px;">';
1075
+ echo __('Please enter an Apple Podcasts category to prepare yourself for the new 2019 categories', 'powerpress');
1076
+ echo '</p>';
1077
+ }
1078
+ else {
1079
+ echo '';
1080
+ }
1081
 
1082
+ ?>
1083
+ </div>
1084
+
1085
+ <!--</div>-->
1086
+ <!-- end advanced features -->
1087
+
1088
+ <div class="pp-settings-section">
1089
+ <h2><?php echo __('Author Name', 'powerpress'); ?></h2>
1090
+ <input type="text" class="pp-settings-text-input" name="Feed[itunes_talent_name]" value="<?php echo esc_attr($FeedSettings['itunes_talent_name']); ?>" maxlength="255" /><br />
1091
+ <input type="checkbox" class="pp-settings-checkbox" name="Feed[itunes_author_post]" value="1" <?php echo ( !empty($FeedSettings['itunes_author_post'])?'checked ':''); ?>/>
1092
+ <div class="pp-settings-subsection" style="border: none;">
1093
+ <p class="pp-sub"><?php echo __('Use blog post author\'s name for individual episodes.', 'powerpress'); ?></p>
1094
+ </div>
1095
+ </div>
1096
+
1097
+ <div class="pp-settings-section">
1098
+ <h2><?php echo __('Author Email', 'powerpress'); ?><span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span></h2>
1099
+ <input type="text" class="pp-settings-text-input" name="Feed[email]" value="<?php echo esc_attr($FeedSettings['email']); ?>" maxlength="255" />
1100
+ <label for="Feed[email]" class="pp-settings-label-under"><?php echo __('Apple will email this address when your podcast is accepted into the Apple Podcast Directory.', 'powerpress'); ?></label>
1101
+ </div>
1102
+
1103
+
1104
+ <div class="pp-settings-section" style="display: inline-block;width: 45%;">
1105
+ <h2><?php echo __('Explicit', 'powerpress'); ?><span class="powerpress-required"><?php echo __('Required', 'powerpress'); ?></span></h2>
1106
+ <select name="Feed[itunes_explicit]" class="pp-settings-select" style="width: 80%;">
1107
+ <?php
1108
+ $explicit = array(0=> __('No option selected', 'powerpress'), 1=>__('Yes - explicit content', 'powerpress'), 2=>__('Clean - no explicit content', 'powerpress'));
1109
 
1110
+ foreach( $explicit as $value=> $desc )
1111
+ echo "\t<option value=\"$value\"". ($FeedSettings['itunes_explicit']==$value?' selected':''). (($FeedSettings['itunes_explicit']!=0&&$value==0)?'disabled':''). ">$desc</option>\n";
1112
 
1113
+ ?>
1114
+ </select>
1115
+ <p class="description pp-settings-text"><?php echo __('Note: As of February, 2016, you must select either Yes or Clean.', 'powerpress'); ?><br /><br /></p>
1116
+ </div>
1117
+ <div class="pp-settings-section" style="display: inline-block;width: 45%;">
1118
+ <h2><?php echo __('Feed Type', 'powerpress'); ?></h2>
1119
+ <select name="Feed[itunes_type]" class="pp-settings-select" style="width: 80%;">
1120
+ <?php
1121
+ $types = array(''=> __('No option selected', 'powerpress'), 'episodic'=>__('Episodic (default)', 'powerpress'), 'serial'=>__('Serial', 'powerpress'));
 
1122
 
1123
+ foreach( $types as $value=> $desc )
1124
+ echo "\t<option value=\"$value\"". ($FeedSettings['itunes_type']==$value?' selected':''). ">$desc</option>\n";
1125
 
1126
+ ?>
1127
+ </select>
1128
+ <p class="description pp-settings-text">
1129
+ <?php echo __('Episodic: displays latest episode first.', 'powerpress'); ?> <br />
1130
+ <?php echo __('Serial: displays latest episode last.', 'powerpress'); ?>
1131
+ </p>
1132
+ </div>
1133
 
 
 
 
1134
 
1135
+ <div class="pp-settings-section">
1136
+ <h2><?php echo __('New Feed URL', 'powerpress'); ?></h2>
1137
  <div id="new_feed_url_step_1" style="display: <?php echo ( !empty($FeedSettings['itunes_new_feed_url']) || !empty($FeedSettings['itunes_new_feed_url_podcast']) ?'none':'block'); ?>;">
1138
+ <p class="pp-settings-text" style="margin-top: 5px;"><strong><a href="#" onclick="return powerpress_new_feed_url_prompt();"><?php echo __('Set iTunes New Feed URL', 'powerpress'); ?></a></strong></p>
1139
+ <p class="pp-settings-text"><strong>
1140
+ <?php echo __('The Apple New Feed URL option works primarily for Apple\'s Podcast directory only, and should only be used if you are unable to implement a HTTP 301 redirect.', 'powerpress'); ?>
1141
  <?php echo __('A 301 redirect will route <u>all podcast clients including iTunes</u> to your new feed address.', 'powerpress'); ?>
1142
  </strong>
1143
  </p>
1144
+ <p class="pp-settings-text">
1145
  <?php echo __('Learn more:', 'powerpress'); ?> <a href="https://create.blubrry.com/manual/syndicating-your-podcast-rss-feeds/changing-your-podcast-rss-feed-address-url/" target="_blank"><?php echo __('Changing Your Podcast RSS Feed Address (URL)', 'powerpress'); ?></a>
1146
  </p>
1147
  </div>
1148
  <div id="new_feed_url_step_2" style="display: <?php echo ( !empty($FeedSettings['itunes_new_feed_url']) || !empty($FeedSettings['itunes_new_feed_url_podcast']) ?'block':'none'); ?>;">
1149
+ <p class="pp-settings-text" style="margin-top: 5px;"><strong><?php echo __('WARNING: Changes made here are permanent. If the New Feed URL entered is incorrect, you will lose subscribers and will no longer be able to update your listing in the iTunes Store.', 'powerpress'); ?></strong></p>
1150
+ <p class="pp-settings-text"><strong><?php echo __('DO NOT MODIFY THIS SETTING UNLESS YOU ABSOLUTELY KNOW WHAT YOU ARE DOING.', 'powerpress'); ?></strong></p>
1151
+ <p class="pp-settings-text">
1152
  <?php echo htmlspecialchars( sprintf(__('Apple recommends you maintain the %s tag in your feed for at least two weeks to ensure that most subscribers will receive the new New Feed URL.', 'powerpress'), '<itunes:new-feed-url>' ) ); ?>
1153
  </p>
1154
+ <p class="pp-settings-text">
1155
  <?php
1156
  $FeedName = __('Main RSS2 feed', 'powerpress');
1157
  $FeedURL = get_feed_link('rss2');
1184
  ?>
1185
  </p>
1186
  <p style="margin-bottom: 0;">
1187
+ <label class="pp-settings-label"><?php echo __('New Feed URL', 'powerpress'); ?></label>
1188
+ <input type="text" class="pp-settings-text-input" name="Feed[itunes_new_feed_url]" value="<?php echo esc_attr($FeedSettings['itunes_new_feed_url']); ?>" maxlength="255" />
1189
  </p>
1190
+ <label class="pp-settings-label-under"><?php echo __('Leave blank for no New Feed URL', 'powerpress'); ?></label>
1191
 
1192
+ <p class="pp-settings-text" style="margin-top: 2em;"><a href="https://create.blubrry.com/manual/syndicating-your-podcast-rss-feeds/changing-your-podcast-rss-feed-address-url/" target="_blank"><?php echo __('More information regarding the iTunes New Feed URL is available here.', 'powerpress'); ?></a></p>
1193
+ <p class="pp-settings-text">
1194
  <?php
1195
  if( !$cat_ID && !$feed_slug )
1196
  {
1202
  ?>
1203
  </p>
1204
  </div>
1205
+ </div>
1206
+
 
1207
 
1208
+ <h1 class="pp-heading" style="margin-bottom: 1em;"><?php echo __('Advanced Options', 'powerpress'); ?></h1>
1209
+ <div id="permanent_itunes_settings" class="pp-settings-section">
1210
 
1211
+ <div>
1212
+ <p class="pp-settings-text" style="margin-bottom: 1em;">
1213
  <strong style="color: #CC0000; font-weight: bold;"><?php echo __('SETTINGS BELOW HAVE PERMANENT CONSEQUENCES.', 'powerpress'); ?></strong>
1214
  </p>
1215
+ <p style="margin-bottom: 0;" class="pp-settings-text">
1216
  <?php echo __('Feeds affected', 'powerpress'); ?>:
1217
  </p>
1218
+ <div style="margin-left: 20px;" class="pp-settings-text">
1219
  <?php
1220
  // $General, $feed_slug=false, $cat_ID=false
1221
 
1261
  </div>
1262
 
1263
  </div>
1264
+
1265
+ <h2><?php echo __('Block', 'powerpress'); ?></h2>
1266
+ <input type="checkbox" class="pp-settings-checkbox" name="Feed[itunes_block]" value="1" <?php if( !empty($FeedSettings['itunes_block']) ) echo 'checked'; ?> />
1267
+ <div class="pp-settings-subsection">
1268
+ <p class="pp-sub"><?php echo __('Prevent the entire podcast from appearing in the Apple Podcast directory.', 'powerpress'); ?></p>
1269
+ </div>
1270
+
1271
+ <h2><?php echo __('Complete', 'powerpress'); ?></h2>
1272
+ <input type="checkbox" class="pp-settings-checkbox" name="Feed[itunes_complete]" value="1" <?php if( !empty($FeedSettings['itunes_complete']) ) echo 'checked'; ?> />
1273
+ <div class="pp-settings-subsection">
1274
+ <p class="pp-sub"><?php echo __('Indicate the completion of a podcast. Apple will no longer update your listing in the Apple Podcast directory.', 'powerpress'); ?></p>
1275
+ </div>
1276
+
 
 
 
 
 
 
 
 
 
 
1277
  </div>
 
1278
 
1279
  <?php
1280
  }
powerpressadmin-jquery.php CHANGED
@@ -801,6 +801,58 @@ jQuery(document).ready(function($) {
801
  <input type="hidden" name="action" value="powerpress-jquery-account-save" />
802
  <div id="accountinfo">
803
  <h2><?php echo __('Blubrry Services', 'powerpress'); ?></h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  <?php if( $Step == 1 ) { ?>
805
  <p>
806
  <label for="blubrry_username"><?php echo __('Blubrry User Name (Email)', 'powerpress'); ?></label>
@@ -870,7 +922,7 @@ foreach( $Programs as $value => $desc )
870
  $shape = (!empty($_GET['shape']) && $_GET['shape'] == 'squared') ? '-sq' : '';
871
  $css = plugins_url('css/subscribe.css', __FILE__);
872
  echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$css\">";
873
- echo '<div style="width:90%;margin:0 0;" class="pp-sub-widget pp-sub-widget-' . $style . '"><h3 style="margin:0">Preview:</h3><a href="#" class="pp-sub-btn' . $shape . ' pp-sub-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'" style="width: 90% !important;"><span class="pp-sub-ic"></span> '. esc_attr( __('Apple Podcasts', 'powerpress') ) .'</a></div>';
874
  echo "</body>";
875
  echo "</html>";
876
  exit;
801
  <input type="hidden" name="action" value="powerpress-jquery-account-save" />
802
  <div id="accountinfo">
803
  <h2><?php echo __('Blubrry Services', 'powerpress'); ?></h2>
804
+ <?php
805
+
806
+ if( !empty($Settings['blubrry_program_keyword']) )
807
+ {
808
+ // Check that the redirect is in the settings...
809
+ $RedirectURL = 'http://media.blubrry.com/'.$Settings['blubrry_program_keyword'].'/';
810
+ $Error = true;
811
+ if( stripos($Settings['redirect1'], $RedirectURL ) !== false )
812
+ $Error = false;
813
+ else if( stripos($Settings['redirect2'], $RedirectURL ) !== false )
814
+ $Error = false;
815
+ else if( stripos($Settings['redirect3'], $RedirectURL ) !== false )
816
+ $Error = false;
817
+ if( $Error )
818
+ {
819
+ ?>
820
+ <p style="font-weight: bold; color: #CC0000;">
821
+ <?php
822
+ echo __('Statistics are not implemented correctly on this blog. Please click the link below to re-configure your services.', 'powerpress');
823
+ ?>
824
+ </p>
825
+ <?php
826
+ }
827
+ else
828
+ {
829
+ ?>
830
+ <p style="font-weight: bold;display: inline-block;width: 55%;margin: 0;">
831
+ <?php
832
+ if( empty($Settings['blubrry_hosting']) || $Settings['blubrry_hosting'] === 'false' )
833
+ echo __('Blubrry Statistics Enabled!', 'powerpress');
834
+ else
835
+ echo __('Blubrry Statistics and Media Hosting Enabled!', 'powerpress');
836
+ ?>
837
+ </p>
838
+ <?php if( !empty($Settings['blubrry_hosting']) && $Settings['blubrry_hosting'] !== 'false' && !empty($Settings['blubrry_program_keyword']) ) { ?>
839
+ <p style="margin: 0;"><?php echo __('Blubrry Program ID: ', 'powerpress'); ?> <i><?php echo $Settings['blubrry_program_keyword']; ?></i>
840
+ </p>
841
+ <?php }
842
+ }
843
+
844
+ if( empty($Settings['blubrry_hosting']) || $Settings['blubrry_hosting'] === 'false' )
845
+ {
846
+ ?>
847
+ <!--<p>
848
+ <?php echo __('Recently upgraded to Blubrry Hosting?', 'powerpress'); ?>
849
+ <?php echo __('Please click the link below to update your login.', 'powerpress'); ?>
850
+ </p>-->
851
+ <?php
852
+ } ?>
853
+ <?php
854
+ }
855
+ ?>
856
  <?php if( $Step == 1 ) { ?>
857
  <p>
858
  <label for="blubrry_username"><?php echo __('Blubrry User Name (Email)', 'powerpress'); ?></label>
922
  $shape = (!empty($_GET['shape']) && $_GET['shape'] == 'squared') ? '-sq' : '';
923
  $css = plugins_url('css/subscribe.css', __FILE__);
924
  echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$css\">";
925
+ echo '<div style="width:90%;margin:0 0;" class="pp-sub-widget pp-sub-widget-' . $style . '"><a href="#" class="pp-sub-btn' . $shape . ' pp-sub-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'" style="width: 90% !important;"><span class="pp-sub-ic"></span> '. esc_attr( __('Apple Podcasts', 'powerpress') ) .'</a></div>';
926
  echo "</body>";
927
  echo "</html>";
928
  exit;
powerpressadmin-podpress.php CHANGED
@@ -794,7 +794,7 @@ function select_all(index,value)
794
  <p>
795
  <?php
796
  echo __('Blubrry PowerPress does not allow you to include multiple media files for one feed item (blog post).', 'powerpress');
797
- echo __('This is because each podcatcher handles multiple enclosures in feeds differently. iTunes will download the first enclosure that it sees in the feed ignoring the rest.', 'powerpress');
798
  echo __('Other podcatchers and podcasting directories either pick up the first enclosure or the last in each post item.', 'powerpress');
799
  echo sprintf( __('This inconsistency combined with the fact that Dave Winer does not recommend multiple enclosures (%s) and FeedValidator.org (%s) recommendation against it is why Blubrry PowerPress does not support them.', 'powerpress'),
800
  '<a href="http://www.reallysimplesyndication.com/2004/12/21" target="_blank">'. __('Link', 'powerpress') .'</a>',
794
  <p>
795
  <?php
796
  echo __('Blubrry PowerPress does not allow you to include multiple media files for one feed item (blog post).', 'powerpress');
797
+ echo __('This is because each podcatcher handles multiple enclosures in feeds differently. Apple Podcasts will download the first enclosure that it sees in the feed ignoring the rest.', 'powerpress');
798
  echo __('Other podcatchers and podcasting directories either pick up the first enclosure or the last in each post item.', 'powerpress');
799
  echo sprintf( __('This inconsistency combined with the fact that Dave Winer does not recommend multiple enclosures (%s) and FeedValidator.org (%s) recommendation against it is why Blubrry PowerPress does not support them.', 'powerpress'),
800
  '<a href="http://www.reallysimplesyndication.com/2004/12/21" target="_blank">'. __('Link', 'powerpress') .'</a>',
powerpressadmin-search.php CHANGED
@@ -57,93 +57,62 @@ jQuery(document).ready(function() {
57
  //-->
58
  </script>
59
  <input type="hidden" name="action" value="powerpress-save-search" />
60
- <h2><?php echo __('Podcasting SEO', 'powerpress'); ?></h2>
61
-
62
- <p><?php echo __('Enable features to help with podcasting search engine optimization (SEO). The following options can assist your web and podcasting SEO strategies.', 'powerpress'); ?></p>
63
- <p>
64
  <a href="http://create.blubrry.com/resources/powerpress/advanced-tools-and-options/podcasting-seo-settings/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a>
65
  </p>
66
 
67
 
68
- <table class="form-table">
69
- <tr valign="top">
70
- <th scope="row"><?php echo __('Episode Titles', 'powerpress'); ?></th>
71
- <td>
72
- <p>
73
- <label for="seo_feed_title">
74
- <input name="PowerPressSearchToggle[seo_feed_title]" type="hidden" value="0" />
75
- <input id="seo_feed_title" name="PowerPressSearchToggle[seo_feed_title]" type="checkbox" value="1" <?php if( !empty($General['seo_feed_title']) ) echo 'checked '; ?> />
76
- <?php echo __('Specify custom episode titles for podcast feeds.', 'powerpress'); ?></label>
77
- </p>
78
- <div style="margin-left: 40px;">
79
- <p><label style="display: block;"><input type="radio" class="powerpress_seo_feed_title" id="powerpress_seo_feed_title_1" name="General[seo_feed_title]" value="1" <?php if( $General['seo_feed_title'] == 1 ) echo 'checked'; ?> />
80
- <?php echo __('Feed episode title replaces post title (default)', 'powerpress'); ?></label></p>
81
- <p><label style="display: block;"><input type="radio" class="powerpress_seo_feed_title" id="powerpress_seo_feed_title_2" name="General[seo_feed_title]" value="2" <?php if( $General['seo_feed_title'] == 2 ) echo 'checked'; ?> />
82
- <?php echo __('Feed episode title prefixes post title', 'powerpress'); ?></label></p>
83
- <p><label style="display: block;"><input type="radio" class="powerpress_seo_feed_title" id="powerpress_seo_feed_title_3" name="General[seo_feed_title]" value="3" <?php if( $General['seo_feed_title'] == 3 ) echo 'checked'; ?> />
84
- <?php echo __('Feed episode title appended to post title', 'powerpress'); ?></label></p>
 
 
 
 
 
 
 
 
 
 
85
  </div>
86
- <p style="margin: 10px 0 0 40px;">
87
- <strong><?php echo __('Example based on options selected above:', 'powerpress'); ?></strong><br /><i>
88
- <span id="powerpress_example_post_episode_title">
89
- <span id="powerpress_example_post_title" style="margin: 0 5px;"> <?php echo __('Blog Post Title', 'powerpress'); ?> </span>
90
- <span id="powerpress_example_episode_title" style="margin: 0 5px;"> <?php echo __('Custom Episode Title', 'powerpress'); ?> </span>
91
- </span>
92
- </i>
93
- </p>
94
- </td>
95
- </tr>
96
- <tr valign="top">
97
- <th scope="row"><?php echo __('AudioObjects', 'powerpress'); ?></th>
98
- <td>
99
- <p>
100
- <input name="General[seo_audio_objects]" type="hidden" value="0" />
101
- <input name="General[seo_audio_objects]" type="checkbox" value="1" <?php if( !empty($General['seo_audio_objects']) ) echo 'checked '; ?> />
102
- <?php echo __('Schema.org audio objects in microdata format.', 'powerpress'); ?>
103
- </p>
104
- </td>
105
- </tr>
106
- <tr valign="top">
107
- <th scope="row"><?php echo __('VideoObjects', 'powerpress'); ?></th>
108
- <td>
109
- <p>
110
- <input name="General[seo_video_objects]" type="hidden" value="0" />
111
- <input name="General[seo_video_objects]" type="checkbox" value="1" <?php if( !empty($General['seo_video_objects']) ) echo 'checked '; ?> />
112
- <?php echo __('Schema.org video objects in microdata format.', 'powerpress'); ?>
113
- </p>
114
- </td>
115
- </tr>
116
- <tr valign="top">
117
- <th scope="row"><?php echo __('Podcast Directory SEO Guidance', 'powerpress'); ?></th>
118
- <td>
119
- <p>
120
- <input name="General[seo_itunes]" type="hidden" value="0" />
121
- <input name="General[seo_itunes]" type="checkbox" value="1" <?php if( !empty($General['seo_itunes']) ) echo 'checked '; ?> />
122
- <?php echo __('Enable and highlight features that help with Podcast Directory Search Engine Optimization.', 'powerpress'); ?>
123
- </p>
124
- <p>
125
- <ul>
126
- <li>
127
- <ul>
128
- <li>
129
- <?php echo __('Highlight fields for Podcasting SEO', 'powerpress'); ?>
130
- </li>
131
- <li>
132
- <?php echo __('Enables iTunes Subtitle field', 'powerpress'); ?>
133
- </li>
134
- <li>
135
- <?php echo __('Enables iTunes Author field', 'powerpress'); ?>
136
- </li>
137
- <li>
138
- <?php echo __('Enables Enhanced iTunes Summary feature', 'powerpress'); ?>
139
- </li>
140
- </ul>
141
- </li>
142
- </ul>
143
- </p>
144
- </td>
145
- </tr>
146
- </table>
147
 
148
  <?php
149
 
57
  //-->
58
  </script>
59
  <input type="hidden" name="action" value="powerpress-save-search" />
60
+ <h1 class="pp-heading"><?php echo __('Podcast SEO', 'powerpress'); ?></h1>
61
+ <p class="pp-settings-text">
62
+ <?php echo __('Enable features to help with podcasting search engine optimization (SEO). The following options can assist your web and podcasting SEO strategies.', 'powerpress'); ?>
 
63
  <a href="http://create.blubrry.com/resources/powerpress/advanced-tools-and-options/podcasting-seo-settings/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a>
64
  </p>
65
 
66
 
67
+ <div class="pp-settings-section">
68
+ <h2><?php echo __('Episode Titles', 'powerpress'); ?></h2>
69
+ <input name="PowerPressSearchToggle[seo_feed_title]" type="hidden" value="0" />
70
+ <input class="pp-settings-checkbox" id="seo_feed_title" name="PowerPressSearchToggle[seo_feed_title]" type="checkbox" value="1" <?php if( !empty($General['seo_feed_title']) ) echo 'checked '; ?> />
71
+ <div class="pp-settings-subsection-no-border" style="padding-left: 1ch;">
72
+ <p class="pp-main">
73
+ <?php echo __('Specify custom episode titles for podcast feeds.', 'powerpress'); ?>
74
+ </p>
75
+ <div>
76
+ <input class="pp-settings-radio-small" type="radio" style="margin: 2ch 8px 0 1em;vertical-align: top;" class="powerpress_seo_feed_title" id="powerpress_seo_feed_title_1" name="General[seo_feed_title]" value="1" <?php if( $General['seo_feed_title'] == 1 ) echo 'checked'; ?> />
77
+ <div class="pp-settings-subsection-no-border" style="padding-bottom: 0;">
78
+ <p class="pp-settings-text" style="margin: 0;"><?php echo __('Feed episode title replaces post title', 'powerpress'); ?></p>
79
+ <p class="pp-sub" style="font-size: 14px"><?php echo __('Default', 'powerpress'); ?></p>
80
+ </div>
81
+ </div>
82
+ <div>
83
+ <input class="pp-settings-radio-small" type="radio" style="margin-left: 1em;" class="powerpress_seo_feed_title" id="powerpress_seo_feed_title_2" name="General[seo_feed_title]" value="2" <?php if( $General['seo_feed_title'] == 2 ) echo 'checked'; ?> />
84
+ <div class="pp-settings-subsection-no-border">
85
+ <p class="pp-settings-text" style="margin: 0;"><?php echo __('Feed episode title prefixes post title', 'powerpress'); ?></p>
86
+ </div>
87
+ </div>
88
+ <div>
89
+ <input class="pp-settings-radio-small" type="radio" style="margin-left: 1em;" class="powerpress_seo_feed_title" id="powerpress_seo_feed_title_3" name="General[seo_feed_title]" value="3" <?php if( $General['seo_feed_title'] == 3 ) echo 'checked'; ?> />
90
+ <div class="pp-settings-subsection-no-border">
91
+ <p class="pp-settings-text" style="margin: 0;"><?php echo __('Feed episode title appended to post title', 'powerpress'); ?></p>
92
+ </div>
93
+ </div>
94
  </div>
95
+ </div>
96
+
97
+ <div class="pp-settings-section">
98
+ <h2><?php echo __('AudioObjects', 'powerpress'); ?></h2>
99
+ <input name="General[seo_audio_objects]" type="hidden" value="0" />
100
+ <input class="pp-settings-checkbox" name="General[seo_audio_objects]" type="checkbox" value="1" <?php if( !empty($General['seo_audio_objects']) ) echo 'checked '; ?> />
101
+ <div class="pp-settings-subsection-no-border" style="padding-left: 1ch;">
102
+ <p class="pp-main"><?php echo __('Schema.org audio objects in microdata format.', 'powerpress'); ?></p>
103
+ <p class="pp-sub"><?php echo __('What this means and why it\'s important', 'powerpress'); ?></p>
104
+ </div>
105
+ </div>
106
+
107
+ <div class="pp-settings-section">
108
+ <h2><?php echo __('VideoObjects', 'powerpress'); ?></h2>
109
+ <input name="General[seo_video_objects]" type="hidden" value="0" />
110
+ <input class="pp-settings-checkbox" name="General[seo_video_objects]" type="checkbox" value="1" <?php if( !empty($General['seo_video_objects']) ) echo 'checked '; ?> />
111
+ <div class="pp-settings-subsection-no-border" style="padding-left: 1ch;">
112
+ <p class="pp-main"><?php echo __('Schema.org video objects in microdata format.', 'powerpress'); ?></p>
113
+ <p class="pp-sub"><?php echo __('What this means and why it\'s important', 'powerpress'); ?></p>
114
+ </div>
115
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
 
117
  <?php
118
 
powerpressadmin.php CHANGED
@@ -177,7 +177,7 @@ function powerpress_admin_init()
177
  {
178
  if( !move_uploaded_file($temp, $upload_path . $filename) )
179
  {
180
- powerpress_page_message_add_error( __('Error saving iTunes image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('An error occurred saving the iTunes image on the server.', 'powerpress'). ' '. sprintf(__('Local folder: %s; File name: %s', 'powerpress'), $upload_path, $filename) );
181
  }
182
  else
183
  {
@@ -195,28 +195,28 @@ function powerpress_admin_init()
195
  }
196
  else if( $ImageData['channels'] != 3 || $rgb == false )
197
  {
198
- powerpress_page_message_add_error( __('Invalid iTunes image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image must be in RGB color space (CMYK is not supported).', 'powerpress') );
199
  }
200
  else if( $ImageData[0] != $ImageData[1] )
201
  {
202
- powerpress_page_message_add_error( __('Invalid iTunes image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image must be square, 1400 x 1400 is the required minimum size.', 'powerpress') );
203
  }
204
  else if( $ImageData[0] != $ImageData[1] || $ImageData[0] < 1400 )
205
  {
206
- powerpress_page_message_add_error( __('Invalid iTunes image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image is too small, 1400 x 1400 is the required minimum size.', 'powerpress') );
207
  }
208
  else if( $ImageData[0] != $ImageData[1] || $ImageData[0] > 3000 )
209
  {
210
- powerpress_page_message_add_error( __('Invalid iTunes image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image is too large, 3000 x 3000 is the maximum size allowed.', 'powerpress') );
211
  }
212
  else
213
  {
214
- powerpress_page_message_add_error( __('Invalid iTunes image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) );
215
  }
216
  }
217
  else
218
  {
219
- powerpress_page_message_add_error( __('Invalid iTunes image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) );
220
  }
221
  }
222
  }
@@ -1804,7 +1804,7 @@ function powerpress_admin_menu()
1804
 
1805
  add_submenu_page($parent_slug, __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'), __('Import Podcast', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_import_feed.php', 'powerpress_admin_page_import_feed');
1806
  add_submenu_page($parent_slug, __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'), __('Migrate Media', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_migrate.php', 'powerpress_admin_page_migrate');
1807
- add_submenu_page($parent_slug, __('PowerPress Podcasting SEO', 'powerpress'), '<span style="color:#f18500">' . __('Podcasting SEO', 'powerpress') . '</span> ', POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_search.php', 'powerpress_admin_page_search');
1808
 
1809
  add_submenu_page($parent_slug, __('PowerPress Audio Player Options', 'powerpress'), __('Audio Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_player.php', 'powerpress_admin_page_players');
1810
  add_submenu_page($parent_slug, __('PowerPress Video Player Options', 'powerpress'), __('Video Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_videoplayer.php', 'powerpress_admin_page_videoplayers');
@@ -2347,12 +2347,20 @@ jQuery(document).ready(function($) {
2347
 
2348
  if( jQuery("#powerpress_settings_page").length > 0 )
2349
  {
2350
- var tabsCtl = jQuery("#powerpress_settings_page").tabs();
2351
- tabsCtl.tabs("option", "active", <?php echo (empty($_POST['tab'])?0: intval($_POST['tab'])); ?>);
2352
- jQuery('form').submit(function() {
2353
- var selectedTemp = tabsCtl.tabs('option', 'active');
2354
- jQuery('#save_tab_pos').val(selectedTemp);
2355
- });
 
 
 
 
 
 
 
 
2356
  }
2357
 
2358
  jQuery('#powerpress_create_subscribe_page').click( function(e) {
@@ -2362,9 +2370,9 @@ jQuery(document).ready(function($) {
2362
  });
2363
  jQuery('#subscribe_page_link_id').change( function(e) {
2364
  if( jQuery('#subscribe_page_link_id').val().length > 0 )
2365
- jQuery('#subscribe_page_link_or').hide();
2366
  else
2367
- jQuery('#subscribe_page_link_or').show();
2368
  });
2369
 
2370
  jQuery('.powerpress-parental-rating-tip').click( function(event) {
@@ -2535,7 +2543,6 @@ function powerpress_check_url(url, DestDiv)
2535
  DestDiv = powerpress_check_url.arguments[1];
2536
 
2537
  let Div = jQuery( '#'+DestDiv );
2538
- console.log(Div[0]);
2539
  Div.addClass("pp-error");
2540
  Div.removeClass("updated");
2541
 
@@ -3182,9 +3189,15 @@ function powerpress_admin_page_header($page=false, $nonce_field = 'powerpress-ed
3182
  function powerpress_admin_page_footer($SaveButton=true, $form=true)
3183
  {
3184
  if( $SaveButton ) { ?>
 
 
 
 
 
 
 
 
3185
  <p class="submit">
3186
- <input type="submit" name="Submit" id="powerpress_save_button" class="button-primary button-blubrry" value="<?php echo __('Save Changes', 'powerpress') ?>" />
3187
- &nbsp; &mdash;
3188
  <strong><i><?php echo powerpress_review_message(); ?></i></strong>
3189
  </p>
3190
  <?php } ?>
@@ -4553,7 +4566,7 @@ function powerpressadmin_notice($updated_message)
4553
  return '<sup style="color: #CC0000; font-weight: bold; font-size: 105%;">'. htmlspecialchars($updated_message) .'</sup>';
4554
  }
4555
 
4556
- function powerpressadmin_community_news($items=3)
4557
  {
4558
  require_once( POWERPRESS_ABSPATH. '/powerpress-player.php'); // Include, if not included already
4559
  $rss_items = powerpress_get_news(POWERPRESS_FEED_NEWS, $items);
@@ -4569,11 +4582,16 @@ function powerpressadmin_community_news($items=3)
4569
  $first_item = true;
4570
  foreach( $rss_items as $null=> $item)
4571
  {
4572
- $enclosure = $item->get_enclosure();
4573
- echo '<li>';
 
 
 
4574
  echo '<a class="rsswidget" href="'.esc_url( $item->get_permalink(), $protocolls=null, 'display' ).'" target="_blank">'. esc_html( $item->get_title() ) .'</a>';
4575
- echo ' <span class="rss-date">'. $item->get_date('F j, Y') .'</span>';
4576
- echo '<div class="rssSummary">'. esc_html( powerpress_feed_text_limit( strip_tags( $item->get_description() ), 150 ) ).'</div>';
 
 
4577
  if( $enclosure && !empty($enclosure->link) )
4578
  {
4579
  $poster_image = '';
@@ -4628,26 +4646,22 @@ function powerpressadmin_community_news($items=3)
4628
  }
4629
  }
4630
 
4631
- //echo '<div style="clear: both;"></div>';
4632
  }
 
4633
  echo '</li>';
4634
- $first_item = false;
4635
  }
4636
  }
4637
 
4638
  echo '</ul>';
4639
  echo '<br class="clear"/>';
4640
- echo '<div style="margin-top:10px;border-top: 1px solid #ddd; padding-top: 10px; text-align:center;">';
4641
- echo __('Subscribe:', 'powerpress');
4642
- echo ' &nbsp; ';
4643
- echo '<a href="http://www.powerpresspodcast.com/feed/"><img src="'.get_bloginfo('wpurl').'/wp-includes/images/rss.png" alt="'. __('Blog', 'powerpress') .'" /> '. __('Blog', 'powerpress') .'</a>';
4644
- echo ' &nbsp; ';
4645
- echo '<a href="http://www.powerpresspodcast.com/feed/podcast/"><img src="'.get_bloginfo('wpurl').'/wp-includes/images/rss.png" alt="'. __('Podcast', 'powerpress') .'" /> '. __('Podcast', 'powerpress') .'</a>';
4646
- echo ' &nbsp; ';
4647
- echo '<a href="https://itunes.apple.com/us/podcast/blubrry-powerpress-community/id430248099/"><img src="'.powerpress_get_root_url().'images/itunes_modern.png" alt="'. __('iTunes', 'powerpress') .'" /> '. __('iTunes', 'powerpress') .'</a>';
4648
- //echo ' &nbsp; &nbsp; ';
4649
-
4650
- echo '</div>';
4651
  echo '</div>';
4652
  }
4653
 
177
  {
178
  if( !move_uploaded_file($temp, $upload_path . $filename) )
179
  {
180
+ powerpress_page_message_add_error( __('Error saving image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('An error occurred saving the iTunes image on the server.', 'powerpress'). ' '. sprintf(__('Local folder: %s; File name: %s', 'powerpress'), $upload_path, $filename) );
181
  }
182
  else
183
  {
195
  }
196
  else if( $ImageData['channels'] != 3 || $rgb == false )
197
  {
198
+ powerpress_page_message_add_error( __('Invalid image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image must be in RGB color space (CMYK is not supported).', 'powerpress') );
199
  }
200
  else if( $ImageData[0] != $ImageData[1] )
201
  {
202
+ powerpress_page_message_add_error( __('Invalid image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image must be square, 1400 x 1400 is the required minimum size.', 'powerpress') );
203
  }
204
  else if( $ImageData[0] != $ImageData[1] || $ImageData[0] < 1400 )
205
  {
206
+ powerpress_page_message_add_error( __('Invalid image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image is too small, 1400 x 1400 is the required minimum size.', 'powerpress') );
207
  }
208
  else if( $ImageData[0] != $ImageData[1] || $ImageData[0] > 3000 )
209
  {
210
+ powerpress_page_message_add_error( __('Invalid image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) .' - '. __('Image is too large, 3000 x 3000 is the maximum size allowed.', 'powerpress') );
211
  }
212
  else
213
  {
214
+ powerpress_page_message_add_error( __('Invalid image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) );
215
  }
216
  }
217
  else
218
  {
219
+ powerpress_page_message_add_error( __('Invalid image', 'powerpress') .': ' . htmlspecialchars($_FILES['itunes_image_file']['name']) );
220
  }
221
  }
222
  }
1804
 
1805
  add_submenu_page($parent_slug, __('Import podcast feed from SoundCloud, LibSyn, PodBean or other podcast service.', 'powerpress'), __('Import Podcast', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_import_feed.php', 'powerpress_admin_page_import_feed');
1806
  add_submenu_page($parent_slug, __('Migrate media files to Blubrry Podcast Media Hosting with only a few clicks.', 'powerpress'), __('Migrate Media', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_migrate.php', 'powerpress_admin_page_migrate');
1807
+ //add_submenu_page($parent_slug, __('PowerPress Podcasting SEO', 'powerpress'), '<span style="color:#f18500">' . __('Podcasting SEO', 'powerpress') . '</span> ', POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_search.php', 'powerpress_admin_page_search');
1808
 
1809
  add_submenu_page($parent_slug, __('PowerPress Audio Player Options', 'powerpress'), __('Audio Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_player.php', 'powerpress_admin_page_players');
1810
  add_submenu_page($parent_slug, __('PowerPress Video Player Options', 'powerpress'), __('Video Player', 'powerpress'), POWERPRESS_CAPABILITY_EDIT_PAGES, 'powerpress/powerpressadmin_videoplayer.php', 'powerpress_admin_page_videoplayers');
2347
 
2348
  if( jQuery("#powerpress_settings_page").length > 0 )
2349
  {
2350
+ <?php if (!empty($_POST['tab'])) { ?>
2351
+ document.getElementById("<?php echo $_POST['tab']; ?>").click();
2352
+ <?php } ?>
2353
+ <?php if (!empty($_POST['sidenav-tab'])) { ?>
2354
+ document.getElementById("<?php echo $_POST['sidenav-tab']; ?>").click();
2355
+ <?php } ?>
2356
+ jQuery('form').submit(function() {
2357
+ let selectedTemp = jQuery('.tablinks.active:first');
2358
+ jQuery('#save_tab_pos').val(selectedTemp.attr('id'));
2359
+ let selectedSide = jQuery('.pp-tabcontent.active .pp-sidenav-tablinks.active:first');
2360
+ if (selectedSide) {
2361
+ jQuery("#save_sidenav_pos").val(selectedSide.attr('id'));
2362
+ }
2363
+ });
2364
  }
2365
 
2366
  jQuery('#powerpress_create_subscribe_page').click( function(e) {
2370
  });
2371
  jQuery('#subscribe_page_link_id').change( function(e) {
2372
  if( jQuery('#subscribe_page_link_id').val().length > 0 )
2373
+ jQuery('#subscribe_page_link_or').css('display', 'none');
2374
  else
2375
+ jQuery('#subscribe_page_link_or').css('display', 'inline-block');
2376
  });
2377
 
2378
  jQuery('.powerpress-parental-rating-tip').click( function(event) {
2543
  DestDiv = powerpress_check_url.arguments[1];
2544
 
2545
  let Div = jQuery( '#'+DestDiv );
 
2546
  Div.addClass("pp-error");
2547
  Div.removeClass("updated");
2548
 
3189
  function powerpress_admin_page_footer($SaveButton=true, $form=true)
3190
  {
3191
  if( $SaveButton ) { ?>
3192
+ <h2 style="margin-bottom: 0;"><b><?php echo __('Looking for Support, Consulting, or Custom Development?','powerpress'); ?></b></h2>
3193
+ <p class="submit" style="margin-top: 0; margin-left: 2em;">
3194
+ <?php echo __('Blubrry offers a variety of options, free and paid, to assist you with your podcasting and Internet media needs. Whether you need your theme customized for podcasting or you want consulting on what video format is best for your audience, we have the staff and knowledge to assist.', 'powerpress'); ?>
3195
+ <br />
3196
+ <a title="<?php echo esc_attr(__('Blubrry Services Info', 'powerpress')); ?>"
3197
+ href="http://create.blubrry.com/resources/podcast-media-hosting/"
3198
+ target="_blank"><?php echo __('Learn more about Blubrry Support Options', 'powerpress'); ?></a>
3199
+ </p>
3200
  <p class="submit">
 
 
3201
  <strong><i><?php echo powerpress_review_message(); ?></i></strong>
3202
  </p>
3203
  <?php } ?>
4566
  return '<sup style="color: #CC0000; font-weight: bold; font-size: 105%;">'. htmlspecialchars($updated_message) .'</sup>';
4567
  }
4568
 
4569
+ function powerpressadmin_community_news($items=4, $pp_settings=false)
4570
  {
4571
  require_once( POWERPRESS_ABSPATH. '/powerpress-player.php'); // Include, if not included already
4572
  $rss_items = powerpress_get_news(POWERPRESS_FEED_NEWS, $items);
4582
  $first_item = true;
4583
  foreach( $rss_items as $null=> $item)
4584
  {
4585
+ preg_match_all('/<img.*?src="(.*?)"/', $item->get_content(), $matches);
4586
+ $img_url = $matches[1][0];
4587
+ $enclosure = $item->get_enclosure();
4588
+ echo '<li class="pp-news-item">';
4589
+ echo "<div class='pp-news-image-container'><img class='pp-news-image' src=\"$img_url\" alt=\"No image\" /></div><div class='pp-news-details-container'>";
4590
  echo '<a class="rsswidget" href="'.esc_url( $item->get_permalink(), $protocolls=null, 'display' ).'" target="_blank">'. esc_html( $item->get_title() ) .'</a>';
4591
+ echo ' <div class="rss-date">'. $item->get_date('F j, Y') .'</div>';
4592
+ echo '<div class="rssSummary">'. esc_html( powerpress_feed_text_limit( strip_tags( $item->get_description() ), 150 ) );
4593
+ echo '<a href="' . esc_url($item->get_permalink(), $protocolls = null, 'display') . '" target="_blank">' . __('Read more', 'powerpress') . '</a>';
4594
+ echo '</div>';
4595
  if( $enclosure && !empty($enclosure->link) )
4596
  {
4597
  $poster_image = '';
4646
  }
4647
  }
4648
 
4649
+ echo '<div style="clear: both;"></div>';
4650
  }
4651
+ echo '</div>';
4652
  echo '</li>';
4653
+ //$first_item = false;
4654
  }
4655
  }
4656
 
4657
  echo '</ul>';
4658
  echo '<br class="clear"/>';
4659
+ echo '<div style="text-align:center;"><b>';
4660
+ echo __('MORE ARTICLES AT', 'powerpress');
4661
+ echo '&nbsp;';
4662
+ echo '<em><a href="https://blubrry.com/podcast-insider/">'. __('PODCAST INSIDER', 'powerpress') .'</a></em>';
4663
+
4664
+ echo '</b></div>';
 
 
 
 
 
4665
  echo '</div>';
4666
  }
4667
 
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.4
7
- Stable tag: 8.2.11
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -231,11 +231,18 @@ To install Blubrry PowerPress manually, follow these steps:
231
  = Next Major Release Announcements =
232
  * We are looking for beta testers! If you would like to beta test future versions of PowerPress, please [contact us](http://blubrry.com/contact.php#feedback) with your name and email.
233
 
234
- * PowerPress 8.3 beta 1 will be available in April, 2020! Please visit the [PowerPress Beta]https://create.blubrry.com/resources/powerpress/powerpress-beta/) page for more information.
235
 
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.11 =
240
  * Released 04/29/2020
241
  * Entry Box Settings are back--this time, find them by clicking the gear in the upper right of the entry box
@@ -310,6 +317,7 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
310
  * Fixed a bug where the .js file wasn't getting loaded for everyone
311
  * Fixed a bug that would reload the page when a "View More"-type link was clicked
312
 
 
313
  = 8.2 =
314
  * Released 2/10/2020
315
  * Eliminated Episode tab--whole episode box appears
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.4
7
+ Stable tag: 8.3
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
231
  = Next Major Release Announcements =
232
  * We are looking for beta testers! If you would like to beta test future versions of PowerPress, please [contact us](http://blubrry.com/contact.php#feedback) with your name and email.
233
 
234
+ * PowerPress 8.3 beta 1 will be available in May, 2020! Please visit the [PowerPress Beta]https://create.blubrry.com/resources/powerpress/powerpress-beta/) page for more information.
235
 
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.3 =
240
+ * Released 06/01/2020
241
+ * Fresh new appearance for PowerPress settings tabs
242
+ * Now, helpful info about your show and its progress appear at the top of the Welcome tab
243
+ * Destinations-related settings consolidated to the Destinations tab
244
+ * Podcast SEO and Advanced Settings are now within the Settings tabs
245
+
246
  = 8.2.11 =
247
  * Released 04/29/2020
248
  * Entry Box Settings are back--this time, find them by clicking the gear in the upper right of the entry box
317
  * Fixed a bug where the .js file wasn't getting loaded for everyone
318
  * Fixed a bug that would reload the page when a "View More"-type link was clicked
319
 
320
+
321
  = 8.2 =
322
  * Released 2/10/2020
323
  * Eliminated Episode tab--whole episode box appears
views/settings_tab_appearance.php CHANGED
@@ -1,96 +1,319 @@
1
  <?php
2
- // settings_tab_appearance.php
3
-
4
- if( $FeedSettings === false )
5
- $FeedSettings = powerpress_get_settings('powerpress_feed');
6
- if( empty($FeedSettings) )
7
- $FeedSettings = array();
8
-
9
- if( !isset($FeedSettings['subscribe_page_link_href']) )
10
- $FeedSettings['subscribe_page_link_href'] = '';
11
- if( !isset($FeedSettings['subscribe_page_link_id']) )
12
- $FeedSettings['subscribe_page_link_id'] = '';
13
- if( !isset($FeedSettings['subscribe_page_link_text']) )
14
- $FeedSettings['subscribe_page_link_text'] = '';
15
-
16
- $feed_slug = '';
17
- if( !empty($FeedAttribs['feed_slug']) )
18
- $feed_slug = $FeedAttribs['feed_slug'];
19
-
20
- if( !empty($feed_slug) ) {
21
- ?>
22
- <h3><?php echo __('Website Settings', 'powerpress'); ?></h3>
23
- <table class="form-table">
24
- <tr valign="top">
25
- <th scope="row">
26
- <?php echo __('Disable Player', 'powerpress'); ?>
27
- </th>
28
- <td>
29
- <input type="hidden" name="DisablePlayerFor" value="" />
30
- <label><input name="DisablePlayerFor" type="checkbox" <?php if( isset($General['disable_player'][$feed_slug]) ) echo 'checked '; ?> value="1" /> <?php echo __('Do not display web player or links for this podcast.', 'powerpress'); ?></label>
31
- <input type="hidden" name="UpdateDisablePlayer" value="<?php echo $feed_slug; ?>" />
32
- </td>
33
- </tr>
34
- </table>
35
- <?php
36
- }// end $feed_slug
37
-
38
-
39
- // $GeneralSettings = powerpress_get_settings('powerpress_general');
40
-
41
-
42
- if( !empty($FeedAttribs['feed_slug']) && $FeedAttribs['type'] == 'ttid' )
43
- {
44
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  }
46
-
47
-
48
- ?>
49
- <table class="form-table">
50
- <tr valign="top">
51
- <th scope="row">
52
- <?php echo __('Subscribe Page', 'powerpress'); ?></th>
53
- <td>
54
- <p><?php echo __('Add a link to a page to explain to your audience how to subscribe to your podcast.', 'powerpress'); ?></p>
55
- <p><?php echo __('The following link will be added to the Subscribe on iTunes and Subscribe via RSS links below the player.', 'powerpress'); ?></p>
56
- <ul>
57
- <li>
58
- <label for="subscribe_page_link_id"><?php echo __('Subscribe Page:', 'powerpress'); ?>
59
- <?php wp_dropdown_pages( array( 'id'=>'subscribe_page_link_id', 'name' => 'Feed[subscribe_page_link_id]', 'echo' => 1, 'show_option_none' => __( '&mdash; Select &mdash;' ), 'option_none_value' => '', 'selected' => $FeedSettings['subscribe_page_link_id'] ) ); ?>
60
- <div id="subscribe_page_link_or" style="<?php echo ( !empty($FeedSettings['subscribe_page_link_id']) ?'display:none;':''); ?>">
61
- <div><?php echo __(' - or - ', 'powerpress'); ?></div>
62
- <label for="subscribe_page_link_href"><?php echo __('Subscribe URL:', 'powerpress'); ?> <input type="text" id="subscribe_page_link_href" value="<?php echo esc_attr($FeedSettings['subscribe_page_link_href']); ?>" name="Feed[subscribe_page_link_href]" placeholder="" style="width:60%;"<?php echo (empty($FeedSettings['subscribe_page_link_id'])?'':' disabled'); ?> /></label>
63
- <p><?php echo __('(If subscribe page is not hosted on this site)', 'powerpress'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  </div><!-- end subscribe_page_link_or -->
65
 
66
  <?php
67
- if( empty($FeedAttribs) && empty($FeedSettings['subscribe_page_link_href']) && empty($FeedSettings['subscribe_page_link_id']) )
68
- {
69
  ?>
70
- <h3><a href="#" id="powerpress_create_subscribe_page"><?php echo __('Create a subscribe page from Template', 'powerpress'); ?></a></h3>
71
- <p><?php echo __('Creates a page from a template with the [powerpress_subscribe] shortcode. We encourage you to edit this page in your own words. Depending on your SEO strategy, you may want to configure the meta robots content to noindex.', 'powerpress'); ?>
72
  </p>
73
  <?php
74
- }
75
  ?>
76
- <p><a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/subscribe-page/" target="_blank"><?php echo __('Learn more about the PowerPress Subscribe Page', 'powerpress'); ?></a></p>
77
  <?php
78
  // TODO: use the $FeedAttribs to create a recommended shortcode for this particular channel, may be simple [powerpress_subscribe] or it may specify the category, taxonomy, and/or feed_slug/post tpe podcasting
79
  ?>
80
- </li>
81
- <li><label for="subscribe_page_link_text"><?php echo __('Subscribe Page Link Label:', 'powerpress'); ?><br /><input type="text" id="subscribe_page_link_text" value="<?php echo esc_attr($FeedSettings['subscribe_page_link_text']); ?>" name="Feed[subscribe_page_link_text]" placeholder="" style="width:60%;" /></label>
82
- <?php echo __('(leave blank for default)', 'powerpress'); ?>
83
- <p><?php echo __('Default: More Subscribe Options', 'powerpress'); ?></p>
84
- </li>
85
- </ul>
86
- </td>
87
- </tr>
88
- <tr valign="top">
89
- <th scope="row">
90
- <?php echo __('Subscribe Widget', 'powerpress'); ?></th>
91
- <td>
92
- <p><?php echo __('Select the appearance of the subscribe buttons used on your subscribe page', 'powerpress'); ?></p>
93
- <ul>
94
  <?php
95
  // Set default based on when they installed PowerPress...
96
  if( empty($General['subscribe_widget_style']) ) {
@@ -105,39 +328,82 @@
105
  $General['subscribe_widget_shape'] = 'squared'; // Default value
106
  }
107
  ?>
108
- <li>
109
- <label for="subscribe_widget_style"><?php esc_html_e( 'Style:' , 'powerpress'); ?></label>
110
- <select id="subscribe_widget_style" name="General[subscribe_widget_style]">
111
- <option value="modern" <?php echo selected($General['subscribe_widget_style'], 'modern'); ?> >Modern</option>
112
- <option value="classic" <?php echo selected($General['subscribe_widget_style'], 'classic'); ?> >Classic</option>
113
- </select>
114
- <input type="radio" id="subscribe_widget_shape_squared"
115
- name="General[subscribe_widget_shape]" value="squared" <?php echo $General['subscribe_widget_shape'] === 'squared' ? 'checked' : '' ?> />
116
- <label for="subscribe_widget_shape_squared"> <?php esc_html_e('Squared', 'powerpress'); ?></label>
117
- <input type="radio" id="subscribe_widget_shape_rounded"
118
- name="General[subscribe_widget_shape]" value="rounded" <?php echo $General['subscribe_widget_shape'] === 'rounded' ? 'checked' : '' ?> />
119
- <label for="subscribe_widget_shape_rounded"> <?php esc_html_e('Rounded', 'powerpress'); ?></label>
120
- </li>
121
- <li>
122
- <iframe id="btnPreview" title="<?php echo esc_attr(__('Subscribe Button Preview', 'powerpress')); ?>" style="height: 127px;width: auto;" src="<?php echo admin_url('admin.php?action=powerpress-jquery-subscribe-preview&style='.$General['subscribe_widget_style'].'&shape='.$General['subscribe_widget_shape']) ?>"></iframe>
123
- </li>
124
- <?php
125
- if( empty($General['subscribe_no_important_styling']) )
126
- $General['subscribe_no_important_styling'] = 'include';
127
-
128
- ?>
129
- <li>
130
- <select id="subscribe_no_important_styling" name="General[subscribe_no_important_styling]">
131
- <option value="include" <?php echo selected($General['subscribe_no_important_styling'], 'include') ?> ><?php esc_html_e( 'Include recommended styling (recommended)' , 'powerpress'); ?></option>
132
- <option value="exclude" <?php echo selected($General['subscribe_no_important_styling'], 'exclude')?> ><?php esc_html_e( 'Exclude recommended styling' , 'powerpress'); ?></option>
133
- </select>
134
- <label><?php esc_html_e( 'Select Exclude to remove !important and text align left CSS styling.' , 'powerpress'); ?></label>
135
- </li>
136
- </ul>
137
- </td>
138
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  <?php
 
 
 
140
  // Display the shortcodes!
 
 
 
 
141
  $shortcode = array();
142
  $shortcode['powerpress'] = '[powerpress]';
143
  $shortcode['powerpress_playlist'] = '[powerpress_playlist]';
@@ -166,98 +432,93 @@
166
  }
167
 
168
  ?>
169
- <tr valign="top">
170
- <th scope="row">
171
- <?php echo __('PowerPress Shortcodes', 'powerpress'); ?></th>
172
- <td>
173
- <h3><?php echo __('PowerPress Player Shortcode', 'powerpress'); ?></h3>
174
- <p>
175
- <?php echo '<code>'.$shortcode['powerpress'].'</code>'; ?>
176
- </p>
177
- <p>
178
  <?php echo __('The Player shortcode is used to position your media presentation (player and download links) exactly where you want within your post or page content.', 'powerpress'); ?>
179
  </p>
180
- <p>
181
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/shortcode/" target="_blank">'. __('PowerPress Player Shortcode', 'powerpress') .'</a>' ); ?>
182
  </p>
183
- <p class="description">
184
- <?php echo __('Note: When specifying a URL to media in the powerpress shortcode, only the player is included. The Media Links will <u>NOT</u> be included since there is not enough meta information to display them.', 'powerpress'); ?>
185
  </p>
186
- <h3><?php echo __('PowerPress Playlist Shortcode', 'powerpress'); ?></h3>
187
  <?php if( empty($GeneralSettings['playlist_player']) ) { // Either not set or set on
188
  ?>
189
- <p style="margin-bottom: 20px; margin-left: 40px;">
190
- <input type="checkbox" name="General[playlist_player]" value="1" />
191
- <strong><?php echo __('Enable PowerPress Playlist Player', 'powerpress'); ?></strong>
192
  </p>
193
  <?php } ?>
194
- <p>
195
- <?php echo '<code>'.$shortcode['powerpress_playlist'].'</code>'; ?>
196
- </p>
197
- <p>
198
  <?php echo __('The Playlist shortcode is used to display a player with a playlist of your podcast episodes. It utilizes the default playlist built into WordPress.', 'powerpress'); ?>
199
  </p>
200
- <p>
201
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/powerpress-playlist-shortcode/" target="_blank">'. __('PowerPress Playlist Shortcode', 'powerpress') .'</a>' ); ?>
202
  </p>
203
 
204
- <h3><?php echo __('PowerPress Subscribe Shortcode', 'powerpress'); ?> </h3>
205
- <p>
206
- <?php echo '<code>'.$shortcode['powerpress_subscribe'].'</code>'; ?>
207
- </p>
208
- <p>
209
  <?php echo __('The Subscribe shortcode is used to display a subscribe to podcast widget for your podcast. It is intended for use on a custom subscribe page. See the Subscribe Page section below for more details.', 'powerpress'); ?>
210
  </p>
211
- <p>
212
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/powerpress-subscribe-shortcode/" target="_blank">'. __('PowerPress Subscribe Shortcode', 'powerpress') .'</a>' ); ?>
213
  </p>
214
 
215
 
216
 
217
- <h3><?php echo __('PowerPress Skip-to-Position in Player Shortcode', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?></h3>
218
- <p>
219
- <?php echo '<code>[skipto time="TIME"]</code>'; ?>
 
 
 
220
  </p>
221
- <p>
222
- <?php echo __('The Skip-to-Position in Player shortcode creates a link in your page to skip to the specified position in the player. Time may be entered in seconds, minutes:seconds, or hours:minutes:seconds. A label may be specified by providing text followed by a closing shortcode tag. See examples below.', 'powerpress'); ?>
223
- </p>
224
- <ul style="margin-left: 40px;">
225
  <li>[skipto time="45"] &#8212; <a href="#" onclick="return false;">0:45</a></li>
226
  <li>[skipto time="45"]Skip intro[/skipto] &#8212; <a href="#" onclick="return false;">Skip intro</a></li>
227
  <li>[skipto time="3:05"] <?php echo __('or', 'powerpress'); ?> [skipto time="185"] &#8212; <a href="#" onclick="return false;">3:05</a></li>
228
  <li>[skipto time="1:23:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="83:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="5025"] &#8212; <a href="#" onclick="return false;">1:23:45</a></li>
229
  </ul>
230
- <p>
231
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/skip-to-position-in-player/" target="_blank">'. __('PowerPress Skip-to-Position in Player Shortcode', 'powerpress') .'</a>' ); ?>
232
  </p>
 
 
 
 
 
 
 
 
 
233
 
234
- </td>
235
- </tr>
236
-
237
- </table>
238
- <script type="text/javascript">
239
- document.addEventListener('DOMContentLoaded', ()=> {
240
- let baserUrl = "<?php echo admin_url('admin.php?action=powerpress-jquery-subscribe-preview'); ?>";
241
- const previewIframe = document.querySelector('#btnPreview');
242
- const styleSelector = document.querySelector('#subscribe_widget_style');
243
- const squaredRadio = document.querySelector('#subscribe_widget_shape_squared');
244
- const roundedRadio = document.querySelector('#subscribe_widget_shape_rounded');
245
- let selectedShape = '';
246
- if (squaredRadio.checked) {
247
- selectedShape = 'squared';
248
- }
249
- function refreshIframe() {
250
- previewIframe.src = `${baserUrl}&style=${styleSelector.value}&shape=${selectedShape}`
251
- }
252
 
253
- styleSelector.addEventListener('change', refreshIframe);
254
- squaredRadio.addEventListener('change', () => {
255
- selectedShape = 'squared';
256
- refreshIframe();
257
- });
258
- roundedRadio.addEventListener('change', () => {
259
- selectedShape = '';
260
- refreshIframe();
261
- });
262
- });
263
- </script>
 
 
 
 
1
  <?php
2
+ function powerpressadmin_website_settings_custom_feed($General, $FeedSettings, $FeedAttribs) {
3
+
4
+ $feed_slug = '';
5
+ if( !empty($FeedAttribs['feed_slug']) )
6
+ $feed_slug = $FeedAttribs['feed_slug'];
7
+ ?>
8
+
9
+ <h1 class="pp-heading"><?php echo __('Website Settings', 'powerpress'); ?></h1>
10
+ <div class="pp-settings-section">
11
+ <ul>
12
+ <li>
13
+ <input type="hidden" name="DisablePlayerFor" value="" />
14
+ <input class="pp-settings-checkbox" name="DisablePlayerFor" type="checkbox" <?php if( isset($General['disable_player'][$feed_slug]) ) echo 'checked '; ?> value="1" />
15
+ <div class="pp-settings-subsection">
16
+ <p class="pp-main"><?php echo __('Do not display web player or links for this podcast.', 'powerpress'); ?></p>
17
+ </div>
18
+ <input type="hidden" name="UpdateDisablePlayer" value="<?php echo $feed_slug; ?>" />
19
+ </li>
20
+ </ul>
21
+ </div>
22
+
23
+ <h1 class="pp-heading" style="margin-bottom: 1ch;"><?php echo __('Subscribe Page', 'powerpress'); ?></h1>
24
+ <div>
25
+ <p class="pp-settings-text"><?php echo __('Add a link to a page to explain to your audience how to subscribe to your podcast.', 'powerpress'); ?></p>
26
+ <p class="pp-main" style="margin-bottom: 2em;"><?php echo __('The following link will be added to the Subscribe on Apple and Subscribe via RSS links below the player.', 'powerpress'); ?></p>
27
+
28
+ <?php wp_dropdown_pages( array( 'id'=>'subscribe_page_link_id', 'name' => 'Feed[subscribe_page_link_id]', 'class' => 'pp-settings-select-inline', 'echo' => 1, 'show_option_none' => __( '&mdash; Select &mdash;' ), 'option_none_value' => '', 'selected' => $FeedSettings['subscribe_page_link_id'] ) ); ?>
29
+ <div id="subscribe_page_link_or" style="<?php echo ( !empty($FeedSettings['subscribe_page_link_id']) ?'display: none;':'display: inline-block;'); ?>">
30
+ <p class="pp-main" style="display: inline-block; vertical-align: text-bottom; margin-left: 2ch; margin-right: 2ch;"><?php echo __(' - or - ', 'powerpress'); ?></p>
31
+ <div style="display: inline-block; vertical-align: middle;">
32
+ <input type="text" id="subscribe_page_link_href" class="pp-settings-text-input" value="<?php echo esc_attr($FeedSettings['subscribe_page_link_href']); ?>" name="Feed[subscribe_page_link_href]" placeholder="Subscribe URL"<?php echo (!empty($FeedSettings['subscribe_page_link_id'])?'':' disabled'); ?> />
33
+ <label for="subscribe_page_link_href" class="pp-settings-label-under"><?php echo __('(If subscribe page is not hosted on this site)', 'powerpress'); ?></label>
34
+ </div>
35
+ </div><!-- end subscribe_page_link_or -->
36
+
37
+ <?php
38
+ if( empty($FeedAttribs) && empty($FeedSettings['subscribe_page_link_href']) && empty($FeedSettings['subscribe_page_link_id']) )
39
+ {
40
+ ?>
41
+ <h3 class="pp-main" style="text-decoration: underline;margin-top: 1em;margin-bottom: 2em;"><a href="#" id="powerpress_create_subscribe_page"><?php echo __('Create a subscribe page from Template', 'powerpress'); ?></a></h3>
42
+ <p class="pp-settings-text"><?php echo __('Creates a page from a template with the [powerpress_subscribe] shortcode. We encourage you to edit this page in your own words. Depending on your SEO strategy, you may want to configure the meta robots content to noindex.', 'powerpress'); ?>
43
+ </p>
44
+ <?php
45
+ }
46
+ ?>
47
+ <p class="pp-settings-text"><a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/subscribe-page/" target="_blank"><?php echo __('Learn more about the PowerPress Subscribe Page', 'powerpress'); ?></a></p>
48
+ <?php
49
+ // TODO: use the $FeedAttribs to create a recommended shortcode for this particular channel, may be simple [powerpress_subscribe] or it may specify the category, taxonomy, and/or feed_slug/post tpe podcasting
50
+ ?>
51
+ <label for="subscribe_page_link_text" class="pp-settings-label"><?php echo __('Subscribe Page Link Label:', 'powerpress'); ?></label>
52
+ <input type="text" id="subscribe_page_link_text" class="pp-settings-text-input" value="<?php echo esc_attr($FeedSettings['subscribe_page_link_text']); ?>" name="Feed[subscribe_page_link_text]" placeholder="" />
53
+ <label for="subscribe_page_link_text" class="pp-settings-label-under"><?php echo __('(leave blank for default)', 'powerpress'); ?></label>
54
+
55
+ </div>
56
+
57
+ <?php
58
  }
59
+
60
+
61
+ function powerpressadmin_website_settings($General, $Feed) {
62
+ ?>
63
+
64
+ <h1 class="pp-heading"><?php echo __('Website Settings', 'powerpress'); ?></h1>
65
+ <div class="pp-settings-section">
66
+ <ul>
67
+ <li>
68
+ <input class="pp-settings-radio" type="radio" name="General[disable_appearance]" value="0" <?php if( $General['disable_appearance'] == 0 ) echo 'checked'; ?> onclick="javascript: jQuery('#presentation_settings').css('display', (this.checked?'block':'none') );" />
69
+ <div class="pp-settings-subsection">
70
+ <p class="pp-main"><?php echo __('Enable PowerPress Media Players and Links', 'powerpress'); ?>(<?php echo __('default', 'powerpress'); ?>)</p>
71
+ <p class="pp-sub"><?php echo __('PowerPress will add media players and links to your site.', 'powerpress'); ?></p>
72
+ </div>
73
+ </li>
74
+ <li>
75
+ <input class="pp-settings-radio" type="radio" name="General[disable_appearance]" value="1" <?php if( $General['disable_appearance'] == 1 ) echo 'checked'; ?> onclick="javascript: jQuery('#presentation_settings').css('display', (this.checked?'none':'block') );" />
76
+ <div class="pp-settings-subsection">
77
+ <p class="pp-main"><?php echo __('Disable PowerPress Media Players and Links', 'powerpress'); ?></p>
78
+ <p class="pp-sub"><?php echo __('PowerPress will <u>not</u> add any media players or media links to your site. PowerPress will only be used to add podcasting support to your feeds.', 'powerpress'); ?></p>
79
+ </div>
80
+ </li>
81
+ </ul>
82
+ </div>
83
+ <?php
84
+
85
+
86
+ global $wp_rewrite;
87
+ if( $wp_rewrite->permalink_structure ) // Only display if permalinks is enabled in WordPress
88
+ {
89
+ ?>
90
+ <div class="pp-settings-section">
91
+ <h2><?php echo __('Permalinks', 'powerpress'); ?></h2>
92
+ <select name="General[permalink_feeds_only]" class="pp-settings-select">
93
+ <?php
94
+ $options = array(0=>__('Default WordPress Behavior', 'powerpress'), 1=>__('Match Feed Name to Page/Category', 'powerpress') );
95
+ $current_value = (!empty($General['permalink_feeds_only'])?$General['permalink_feeds_only']:0);
96
+
97
+ foreach( $options as $value => $desc )
98
+ echo "\t<option value=\"$value\"". ($current_value==$value?' selected':''). ">$desc</option>\n";
99
+
100
+ ?>
101
+ </select>
102
+ <label class="pp-settings-label-under" for="General[permalink_feeds_only]"><?php echo sprintf(__('When configured, %s/podcast/ is matched to page/category named \'podcast\'.', 'powerpress'), get_bloginfo('url') ); ?></label>
103
+ </div>
104
+ <?php
105
+ }
106
+ ?>
107
+ <div class="pp-settings-section">
108
+ <h2><?php echo __('Episode Box Appearance', 'powerpress'); ?></h2>
109
+ <ul>
110
+ <li>
111
+ <input class="pp-settings-checkbox" 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 '; ?>/>
112
+ <div class="pp-settings-subsection">
113
+ <p class="pp-main"><?php echo __('Check this box to display all episode settings before the media is verified.', 'powerpress'); ?></p>
114
+ <p class="pp-sub"><?php echo __('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>
115
+ </div>
116
+ </li>
117
+ </ul>
118
+ </div>
119
+ <?php
120
+ }
121
+
122
+ function powerpressadmin_blog_settings($General, $Feed) { ?>
123
+
124
+
125
+
126
+ <h1 class="pp-heading"><?php echo __('Blog Posts and Pages', 'powerpress'); ?></h1>
127
+
128
+
129
+ <div class="pp-settings-section">
130
+ <h2><?php echo htmlspecialchars(__('Display Media & Links', 'powerpress')); ?></h2>
131
+ <ul>
132
+ <li>
133
+ <input class="pp-settings-radio" type="radio" name="General[display_player]" value="1" <?php if( $General['display_player'] == 1 ) echo 'checked'; ?> />
134
+ <div class="pp-settings-subsection">
135
+ <p class="pp-main"><?php echo __('Below page content', 'powerpress'); ?> (<?php echo __('default', 'powerpress'); ?>)</p>
136
+ <p class="pp-sub"><?php echo __('Player and media links will appear below your post and page content.', 'powerpress'); ?></p>
137
+ </div>
138
+ </li>
139
+ <li>
140
+ <input class="pp-settings-radio" type="radio" name="General[display_player]" value="2" <?php if( $General['display_player'] == 2 ) echo 'checked'; ?> />
141
+ <div class="pp-settings-subsection">
142
+ <p class="pp-main"><?php echo __('Above page content', 'powerpress'); ?></p>
143
+ <p class="pp-sub"><?php echo __('Player and media links will appear above your post and page content.', 'powerpress'); ?></p>
144
+ </div>
145
+ </li>
146
+ <li>
147
+ <input class="pp-settings-radio" type="radio" name="General[display_player]" value="0" <?php if( $General['display_player'] == 0 ) echo 'checked'; ?> />
148
+ <div class="pp-settings-subsection">
149
+ <p class="pp-main"><?php echo __('Disable', 'powerpress'); ?></p>
150
+ <p class="pp-sub"><?php echo __('Player and media links will NOT appear in your post and page content. Media player and links can be added manually by using the <i>shortcode</i> below.', 'powerpress'); ?></p>
151
+ </div>
152
+ </li>
153
+ <li>
154
+ <input class="pp-settings-checkbox" name="General[display_player_excerpt]" type="checkbox" value="1" <?php if( !empty($General['display_player_excerpt']) ) echo 'checked '; ?>/>
155
+ <div class="pp-settings-subsection">
156
+ <p class="pp-main"><?php echo __('Display player / links:', 'powerpress'); ?> <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" title="<?php echo __('WordPress Excerpts', 'powerpress'); ?>" target="_blank"><?php echo __('WordPress Excerpts', 'powerpress'); ?></a></p>
157
+ <p class="pp-sub">(<?php echo __('e.g. search results', 'powerpress'); ?>)</p>
158
+ </div>
159
+ </li>
160
+ <li>
161
+ <input type="hidden" name="General[hide_player_more]" value="0" />
162
+ <input class="pp-settings-checkbox" name="General[hide_player_more]" type="checkbox" value="1" <?php if( !empty($General['hide_player_more']) ) echo 'checked '; ?>/>
163
+ <div class="pp-settings-subsection">
164
+ <p class="pp-main"><?php echo __('Hide player / links:', 'powerpress'); ?> <a href="https://en.support.wordpress.com/more-tag/" title="<?php echo __('Read More tagged posts', 'powerpress'); ?>" target="_blank"><?php echo __('Read More tagged posts', 'powerpress'); ?></a></p>
165
+ </div>
166
+ </li>
167
+ </ul>
168
+ </div>
169
+
170
+
171
+ <div class="pp-settings-section">
172
+ <h2><?php echo __('Player Settings', 'powerpress'); ?></h2>
173
+ <ul>
174
+ <li>
175
+ <input class="pp-settings-checkbox" type="checkbox" name="PlayerSettings[display_media_player]" value="2" <?php if( $General['player_function'] == 1 || $General['player_function'] == 2 ) echo 'checked '; ?>/>
176
+ <div class="pp-settings-subsection">
177
+ <p class="pp-main"><?php echo __('Display Player', 'powerpress'); ?></p>
178
+ <?php /* ?>
179
+ <p style="margin-left: 35px;"><input type="checkbox" name="General[display_player_disable_mobile]" value="1" <?php if( !empty($General['display_player_disable_mobile']) ) echo 'checked '; ?>/> <?php echo __('Disable Media Player for known mobile devices.', 'powerpress'); ?></p>
180
+ <?php */ ?>
181
+ <p class="pp-sub"><?php echo __('Detected mobile and tablet devices use an HTML5 player with a fallback link to download the media.', 'powerpress'); ?></p>
182
+ </div>
183
+ </li>
184
+ </ul>
185
+ </div>
186
+
187
+
188
+ <div class="pp-settings-section">
189
+ <h2><?php echo __('Media Links', 'powerpress'); ?></h2>
190
+ <ul>
191
+ <li>
192
+ <input class="pp-settings-checkbox" type="checkbox" name="PlayerSettings[display_pinw]" value="3" <?php if( $General['player_function'] == 3 || $General['player_function'] == 1 ) echo 'checked '; ?>/>
193
+ <div class="pp-settings-subsection">
194
+ <p class="pp-main"><?php echo __('Display Play in new Window Link', 'powerpress'); ?></p>
195
+ </div>
196
+ </li>
197
+ <li>
198
+ <input class="pp-settings-checkbox" type="checkbox" name="PlayerSettings[display_download]" value="1" <?php if( $General['podcast_link'] != 0 ) echo 'checked '; ?>/>
199
+ <div class="pp-settings-subsection">
200
+ <p class="pp-main"><?php echo __('Display Download Link', 'powerpress'); ?></p>
201
+ <p class="pp-settings-text" style="margin: 1em 0 1em 0">
202
+ <input class="round-checkbox" type="checkbox" id="display_download_size" name="PlayerSettings[display_download_size]" value="1" <?php if( $General['podcast_link'] == 2 || $General['podcast_link'] == 3 ) echo 'checked'; ?> onclick="if( this.checked ) { jQuery('#display_download_duration').removeAttr('checked'); }" />
203
+ <?php echo __('Include file size', 'powerpress'); ?>
204
+ <input class="round-checkbox" type="checkbox" style="margin-left: 30px;" id="display_download_duration" name="PlayerSettings[display_download_duration]" value="1" <?php if( $General['podcast_link'] == 3 ) echo 'checked'; ?> onclick="if( this.checked ) { jQuery('#display_download_size').attr('checked','checked'); }" />
205
+ <?php echo __('Include file size and duration', 'powerpress'); ?>
206
+ </p>
207
+ </div>
208
+ </li>
209
+ <li>
210
+ <input class="pp-settings-checkbox" type="checkbox" name="General[podcast_embed]" value="1" <?php if( !empty($General['podcast_embed']) ) echo 'checked '; ?>/>
211
+ <div class="pp-settings-subsection">
212
+ <p class="pp-main"><?php echo __('Display Player Embed Link', 'powerpress'); ?></p>
213
+ <p class="pp-settings-text" style="margin: 1em 0 1em 0">
214
+ <input class="round-checkbox" type="checkbox" name="General[podcast_embed_in_feed]" value="1" <?php if( !empty($General['podcast_embed_in_feed']) ) echo 'checked'; ?> /> <?php echo __('Include embed in feeds', 'powerpress'); ?>
215
+ </p>
216
+ <p class="pp-label-bottom"><?php echo __('Embed option works with the MediaElement.js Media Player for audio and video, Flow Player Classic for audio and HTML5 Video player for video.', 'powerpress'); ?></p>
217
+ </div>
218
+ </li>
219
+ </ul>
220
+ </div>
221
+
222
+ <div class="pp-settings-section">
223
+ <h2><?php echo __('Subscribe Links Under Player', 'powerpress'); ?> </h2>
224
+ <input style="margin: 0.25ch 4ch 4ch 3ch;" class="pp-settings-checkbox" type="checkbox" name="General[subscribe_links]" value="1" <?php if( $General['subscribe_links'] == 1 ) echo 'checked '; ?>/>
225
+ <div style="display: inline-block;">
226
+ <p class="pp-main"><?php echo __('Display subscribe links below player and media links.', 'powerpress'); ?></p>
227
+ </div>
228
+
229
+ <input class="pp-settings-text-input" type="text" id="subscribe_label" value="<?php echo esc_attr($General['subscribe_label']); ?>" name="General[subscribe_label]" placeholder="Subscribe Label" />
230
+ <label for="subscribe_label" class="pp-settings-label-under"><?php echo __('Leave blank to use default', 'powerpress'); ?></label>
231
+
232
+ <br /><br />
233
+ </div>
234
+
235
+ <?php
236
+ }
237
+
238
+ function powerpressadmin_new_window_settings($General, $Feed) { ?>
239
+
240
+ <h1 class="pp-heading"><?php echo __('Play in New Window Settings', 'powerpress'); ?></h1>
241
+
242
+ <div style="margin-top: 2em;">
243
+ <label for="General[new_window_width]" class="pp-settings-label"><?php echo __('Width of new window', 'powerpress'); ?></label>
244
+ <input class="pp-settings-text-input" type="text" name="General[new_window_width]" onkeyup="javascript:this.value=this.value.replace(/[^0-9]/g, '');" value="<?php echo esc_attr($General['new_window_width']); ?>" maxlength="4" />
245
+ <label for="General[new_window_width]" class="pp-settings-label-under"><?php echo __('Width of new window (leave blank for 420 default)', 'powerpress'); ?></label>
246
+ </div>
247
+
248
+ <div style="margin: 2em 0;">
249
+ <label for="General[new_window_height]" class="pp-settings-label"><?php echo __('Height of new window', 'powerpress'); ?></label>
250
+ <input class="pp-settings-text-input" type="text" name="General[new_window_height]" onkeyup="javascript:this.value=this.value.replace(/[^0-9]/g, '');" value="<?php echo esc_attr($General['new_window_height']); ?>" maxlength="4" />
251
+ <label for="General[new_window_height]" class="pp-settings-label-under"><?php echo __('Height of new window (leave blank for 240 default)', 'powerpress'); ?></label>
252
+ </div>
253
+
254
+ <div style="margin: 2em 0;">
255
+ <input style="margin: 0.5ch 2ch 0 0;" class="pp-settings-checkbox" type="checkbox" name="General[new_window_nofactor]" value="1" <?php if( !empty($General['new_window_nofactor']) ) echo 'checked'; ?> />
256
+ <div style="display: inline-block; width: 90%;">
257
+ <p class="pp-main"><?php echo __('Do not factor in scroll bars', 'powerpress'); ?></p>
258
+ <p class="pp-label-bottom"><?php echo __('By default, PowerPress adds to the width and height above to compensate for possible vertical and horizontal scroll bars. Check this option if you do not want PowerPress to compensate for browser scroll bars.', 'powerpress'); ?></p>
259
+ </div>
260
+ </div>
261
+
262
+ <?php
263
+ }
264
+
265
+ function powerpress_subscribe_settings($General, $FeedSettings) {
266
+
267
+ if( $FeedSettings === false )
268
+ $FeedSettings = powerpress_get_settings('powerpress_feed');
269
+ if( empty($FeedSettings) )
270
+ $FeedSettings = array();
271
+
272
+ if( !isset($FeedSettings['subscribe_page_link_href']) )
273
+ $FeedSettings['subscribe_page_link_href'] = '';
274
+ if( !isset($FeedSettings['subscribe_page_link_id']) )
275
+ $FeedSettings['subscribe_page_link_id'] = '';
276
+ if( !isset($FeedSettings['subscribe_page_link_text']) )
277
+ $FeedSettings['subscribe_page_link_text'] = '';
278
+
279
+ ?>
280
+
281
+ <h1 class="pp-heading" style="margin-bottom: 1ch;"><?php echo __('Subscribe Page', 'powerpress'); ?></h1>
282
+ <div>
283
+ <p class="pp-settings-text"><?php echo __('Add a link to a page to explain to your audience how to subscribe to your podcast.', 'powerpress'); ?></p>
284
+ <p class="pp-main" style="margin-bottom: 2em;"><?php echo __('The following link will be added to the Subscribe on Apple and Subscribe via RSS links below the player.', 'powerpress'); ?></p>
285
+
286
+ <?php wp_dropdown_pages( array( 'id'=>'subscribe_page_link_id', 'name' => 'Feed[subscribe_page_link_id]', 'class' => 'pp-settings-select-inline', 'echo' => 1, 'show_option_none' => __( '&mdash; Select &mdash;' ), 'option_none_value' => '', 'selected' => $FeedSettings['subscribe_page_link_id'] ) ); ?>
287
+ <div id="subscribe_page_link_or" style="<?php echo ( !empty($FeedSettings['subscribe_page_link_id']) ?'display: none;':'display: inline-block;'); ?>">
288
+ <p class="pp-main" style="display: inline-block; vertical-align: text-bottom; margin-left: 2ch; margin-right: 2ch;"><?php echo __(' - or - ', 'powerpress'); ?></p>
289
+ <div style="display: inline-block; vertical-align: middle;">
290
+ <input type="text" id="subscribe_page_link_href" class="pp-settings-text-input" value="<?php echo esc_attr($FeedSettings['subscribe_page_link_href']); ?>" name="Feed[subscribe_page_link_href]" placeholder="Subscribe URL"<?php echo (!empty($FeedSettings['subscribe_page_link_id'])?'':' disabled'); ?> />
291
+ <label for="subscribe_page_link_href" class="pp-settings-label-under"><?php echo __('(If subscribe page is not hosted on this site)', 'powerpress'); ?></label>
292
+ </div>
293
  </div><!-- end subscribe_page_link_or -->
294
 
295
  <?php
296
+ //if( empty($FeedAttribs) && empty($FeedSettings['subscribe_page_link_href']) && empty($FeedSettings['subscribe_page_link_id']) )
297
+ //{
298
  ?>
299
+ <h3 class="pp-main" style="text-decoration: underline;margin-top: 1em;margin-bottom: 2em;"><a href="#" id="powerpress_create_subscribe_page"><?php echo __('Create a subscribe page from Template', 'powerpress'); ?></a></h3>
300
+ <p class="pp-settings-text"><?php echo __('Creates a page from a template with the [powerpress_subscribe] shortcode. We encourage you to edit this page in your own words. Depending on your SEO strategy, you may want to configure the meta robots content to noindex.', 'powerpress'); ?>
301
  </p>
302
  <?php
303
+ //}
304
  ?>
305
+ <p class="pp-settings-text"><a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/subscribe-page/" target="_blank"><?php echo __('Learn more about the PowerPress Subscribe Page', 'powerpress'); ?></a></p>
306
  <?php
307
  // TODO: use the $FeedAttribs to create a recommended shortcode for this particular channel, may be simple [powerpress_subscribe] or it may specify the category, taxonomy, and/or feed_slug/post tpe podcasting
308
  ?>
309
+ <label for="subscribe_page_link_text" class="pp-settings-label"><?php echo __('Subscribe Page Link Label:', 'powerpress'); ?></label>
310
+ <input type="text" id="subscribe_page_link_text" class="pp-settings-text-input" value="<?php echo esc_attr($FeedSettings['subscribe_page_link_text']); ?>" name="Feed[subscribe_page_link_text]" placeholder="" />
311
+ <label for="subscribe_page_link_text" class="pp-settings-label-under"><?php echo __('(leave blank for default)', 'powerpress'); ?></label>
312
+
313
+ </div>
314
+ <h1 class="pp-heading" style="margin-top: 1em;"><?php echo __('Subscribe Widget', 'powerpress'); ?></h1>
315
+ <div>
316
+ <p class="pp-settings-text" style="margin-top: 1em;"><?php echo __('Select the appearance of the subscribe buttons used on your subscribe page', 'powerpress'); ?></p>
 
 
 
 
 
 
317
  <?php
318
  // Set default based on when they installed PowerPress...
319
  if( empty($General['subscribe_widget_style']) ) {
328
  $General['subscribe_widget_shape'] = 'squared'; // Default value
329
  }
330
  ?>
331
+ <div class="pp-settings-section">
332
+ <h2><?php esc_html_e( 'Style' , 'powerpress'); ?></h2>
333
+ <select id="subscribe_widget_style" class="pp-settings-select" name="General[subscribe_widget_style]">
334
+ <option value="modern" <?php echo selected($General['subscribe_widget_style'], 'modern'); ?> >Modern</option>
335
+ <option value="classic" <?php echo selected($General['subscribe_widget_style'], 'classic'); ?> >Classic</option>
336
+ </select>
337
+ </div>
338
+ <div class="pp-settings-section">
339
+ <h2><?php esc_html_e( 'Shape' , 'powerpress'); ?></h2>
340
+ <input type="radio" id="subscribe_widget_shape_squared" class="pp-settings-radio-small"
341
+ name="General[subscribe_widget_shape]" value="squared" <?php echo $General['subscribe_widget_shape'] === 'squared' ? 'checked' : '' ?> />
342
+ <p class="pp-settings-text" style="display: inline-block;"> <?php esc_html_e('Squared', 'powerpress'); ?></p>
343
+ <br />
344
+ <input type="radio" id="subscribe_widget_shape_rounded" class="pp-settings-radio-small"
345
+ name="General[subscribe_widget_shape]" value="rounded" <?php echo $General['subscribe_widget_shape'] === 'rounded' ? 'checked' : '' ?> />
346
+ <p class="pp-settings-text" style="display: inline-block;"> <?php esc_html_e('Rounded', 'powerpress'); ?></p>
347
+ </div>
348
+ <?php
349
+ if( empty($General['subscribe_no_important_styling']) )
350
+ $General['subscribe_no_important_styling'] = 'include';
351
+
352
+ ?>
353
+ <div class="pp-settings-section">
354
+ <h2><?php esc_html_e( 'Custom Styling' , 'powerpress'); ?></h2>
355
+ <select id="subscribe_no_important_styling" class="pp-settings-select" name="General[subscribe_no_important_styling]">
356
+ <option value="include" <?php echo selected($General['subscribe_no_important_styling'], 'include') ?> ><?php esc_html_e( 'Include recommended styling (recommended)' , 'powerpress'); ?></option>
357
+ <option value="exclude" <?php echo selected($General['subscribe_no_important_styling'], 'exclude')?> ><?php esc_html_e( 'Exclude recommended styling' , 'powerpress'); ?></option>
358
+ </select>
359
+ <p class="description pp-settings-text">
360
+ <?php esc_html_e( 'Select Exclude to remove !important and text align left CSS styling.' , 'powerpress'); ?>
361
+ <br />
362
+ <?php esc_html_e( 'These rules may interfere with custom styling or styling from other plugins.' , 'powerpress'); ?>
363
+ </p>
364
+ </div>
365
+ <div class="pp-settings-section">
366
+ <h2><?php esc_html_e( 'Susbcribe Button Preview' , 'powerpress'); ?></h2>
367
+ <iframe id="btnPreview" title="<?php echo esc_attr(__('Subscribe Button Preview', 'powerpress')); ?>" style="height: 127px;width: auto;" src="<?php echo admin_url('admin.php?action=powerpress-jquery-subscribe-preview&style='.$General['subscribe_widget_style'].'&shape='.$General['subscribe_widget_shape']) ?>"></iframe>
368
+ </div>
369
+
370
+ </div>
371
+
372
+ <script type="text/javascript">
373
+ document.addEventListener('DOMContentLoaded', ()=> {
374
+ let baserUrl = "<?php echo admin_url('admin.php?action=powerpress-jquery-subscribe-preview'); ?>";
375
+ const previewIframe = document.querySelector('#btnPreview');
376
+ const styleSelector = document.querySelector('#subscribe_widget_style');
377
+ const squaredRadio = document.querySelector('#subscribe_widget_shape_squared');
378
+ const roundedRadio = document.querySelector('#subscribe_widget_shape_rounded');
379
+ let selectedShape = '';
380
+ if (squaredRadio.checked) {
381
+ selectedShape = 'squared';
382
+ }
383
+ function refreshIframe() {
384
+ previewIframe.src = `${baserUrl}&style=${styleSelector.value}&shape=${selectedShape}`
385
+ }
386
+
387
+ styleSelector.addEventListener('change', refreshIframe);
388
+ squaredRadio.addEventListener('change', () => {
389
+ selectedShape = 'squared';
390
+ refreshIframe();
391
+ });
392
+ roundedRadio.addEventListener('change', () => {
393
+ selectedShape = '';
394
+ refreshIframe();
395
+ });
396
+ });
397
+ </script>
398
  <?php
399
+ }
400
+
401
+ function powerpress_shortcode_settings($GeneralSettings, $FeedAttribs) {
402
  // Display the shortcodes!
403
+ $feed_slug = '';
404
+ if( !empty($FeedAttribs['feed_slug']) )
405
+ $feed_slug = $FeedAttribs['feed_slug'];
406
+
407
  $shortcode = array();
408
  $shortcode['powerpress'] = '[powerpress]';
409
  $shortcode['powerpress_playlist'] = '[powerpress_playlist]';
432
  }
433
 
434
  ?>
435
+ <div>
436
+ <h1 class="pp-heading"><?php echo __('PowerPress Player Shortcode', 'powerpress'); ?></h1>
437
+ <div class="pp-shortcode-container">
438
+ <b><?php echo '<code class="pp-shortcode">'.$shortcode['powerpress'].'</code>'; ?></b>
439
+ </div>
440
+ <p class="pp-settings-text">
 
 
 
441
  <?php echo __('The Player shortcode is used to position your media presentation (player and download links) exactly where you want within your post or page content.', 'powerpress'); ?>
442
  </p>
443
+ <p class="pp-settings-text">
444
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/shortcode/" target="_blank">'. __('PowerPress Player Shortcode', 'powerpress') .'</a>' ); ?>
445
  </p>
446
+ <p class="pp-label-bottom" style="font-size: 12px;">
447
+ <?php echo __('Note: When specifying a URL to media in the powerpress shortcode, only the player is included. The Media Links will NOT be included since there is not enough meta information to display them.', 'powerpress'); ?>
448
  </p>
449
+ <h1 class="pp-heading"><?php echo __('PowerPress Playlist Shortcode', 'powerpress'); ?></h1>
450
  <?php if( empty($GeneralSettings['playlist_player']) ) { // Either not set or set on
451
  ?>
452
+ <p class="pp-main" style="margin: 3ch 0 2ch 0;">
453
+ <input style="margin: 3px 2ch 0 0;" class="pp-settings-checkbox" type="checkbox" name="General[playlist_player]" value="1" />
454
+ <?php echo __('Enable PowerPress Playlist Player', 'powerpress'); ?>
455
  </p>
456
  <?php } ?>
457
+ <div class="pp-shortcode-container">
458
+ <b><?php echo '<code class="pp-shortcode">'.$shortcode['powerpress_playlist'].'</code>'; ?></b>
459
+ </div>
460
+ <p class="pp-settings-text">
461
  <?php echo __('The Playlist shortcode is used to display a player with a playlist of your podcast episodes. It utilizes the default playlist built into WordPress.', 'powerpress'); ?>
462
  </p>
463
+ <p class="pp-settings-text">
464
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/powerpress-playlist-shortcode/" target="_blank">'. __('PowerPress Playlist Shortcode', 'powerpress') .'</a>' ); ?>
465
  </p>
466
 
467
+ <h1 class="pp-heading"><?php echo __('PowerPress Subscribe Shortcode', 'powerpress'); ?> </h1>
468
+ <div class="pp-shortcode-container">
469
+ <b><?php echo '<code class="pp-shortcode">'.$shortcode['powerpress_subscribe'].'</code>'; ?></b>
470
+ </div>
471
+ <p class="pp-settings-text">
472
  <?php echo __('The Subscribe shortcode is used to display a subscribe to podcast widget for your podcast. It is intended for use on a custom subscribe page. See the Subscribe Page section below for more details.', 'powerpress'); ?>
473
  </p>
474
+ <p class="pp-settings-text">
475
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/powerpress-subscribe-shortcode/" target="_blank">'. __('PowerPress Subscribe Shortcode', 'powerpress') .'</a>' ); ?>
476
  </p>
477
 
478
 
479
 
480
+ <h1 class="pp-heading"><?php echo __('PowerPress Skip-to-Position in Player Shortcode', 'powerpress'); ?> <?php echo powerpressadmin_new(); ?></h1>
481
+ <div class="pp-shortcode-container">
482
+ <b><?php echo '<code class="pp-shortcode">[skipto time="TIME"]</code>'; ?></b>
483
+ </div>
484
+ <p class="pp-settings-text">
485
+ <?php echo __('The Skip-to-Position in Player shortcode creates a link in your page to skip to the specified position in the player. Time may be entered in seconds, minutes:seconds, or hours:minutes:seconds. A label may be specified by providing text followed by a closing shortcode tag..', 'powerpress'); ?>
486
  </p>
487
+ <em><?php echo __('See examples below.', 'powerpress'); ?></em>
488
+ <ul style="margin-top: 2em;">
 
 
489
  <li>[skipto time="45"] &#8212; <a href="#" onclick="return false;">0:45</a></li>
490
  <li>[skipto time="45"]Skip intro[/skipto] &#8212; <a href="#" onclick="return false;">Skip intro</a></li>
491
  <li>[skipto time="3:05"] <?php echo __('or', 'powerpress'); ?> [skipto time="185"] &#8212; <a href="#" onclick="return false;">3:05</a></li>
492
  <li>[skipto time="1:23:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="83:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="5025"] &#8212; <a href="#" onclick="return false;">1:23:45</a></li>
493
  </ul>
494
+ <p class="pp-settings-text" style="margin-top: 2em;">
495
  <?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/skip-to-position-in-player/" target="_blank">'. __('PowerPress Skip-to-Position in Player Shortcode', 'powerpress') .'</a>' ); ?>
496
  </p>
497
+ <h1 class="pp-heading"><?php echo __('Having Issues?', 'powerpress'); ?></h1>
498
+ <div style="margin-top: 3ch;">
499
+ <select name="General[player_aggressive]" class="pp-settings-select">
500
+ <?php
501
+ $linkoptions = array(0=>__('No, everything is working', 'powerpress'),
502
+ 1=>__('Yes, please try to fix', 'powerpress'),
503
+ 2=>__('Yes, alternative fix', 'powerpress'),
504
+ 3=>__('Yes, excluding excerpts', 'powerpress'),
505
+ 4=>__('Yes, wp_head check', 'powerpress') );
506
 
507
+ foreach( $linkoptions as $value => $desc )
508
+ echo "\t<option value=\"$value\"". ($GeneralSettings['player_aggressive']==$value?' selected':''). ">$desc</option>\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
 
510
+ ?>
511
+ </select>
512
+ <div>
513
+ <label style="margin-right: 40vw;" for="General[player_aggressive]" class="pp-settings-label-under">
514
+ <?php echo __('Use this option if you are having problems with the players not appearing on some or all of your pages.', 'powerpress'); ?>
515
+ </label>
516
+ </div>
517
+ <p class="pp-settings-text" style="margin-top: 3ch;"><a href="http://create.blubrry.com/resources/powerpress/powerpress-settings/media-appearance/resolving-plugin-theme-conflict-issues/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a></p>
518
+ <p class="pp-settings-text">
519
+ <?php echo __('If the above option fixes the player issues, then you most likely have a conflicting theme or plugin activated. You can verify your theme is not causing the problem by testing your site using the latest default WordPress theme (twentyfourteen). For plugins, disable them one by one until the player re-appears, which indicates the last plugin deactivated caused the conflict.', 'powerpress'); ?>
520
+ </p>
521
+ </div>
522
+
523
+ </div>
524
+ <?php } ?>
views/settings_tab_destinations.php CHANGED
@@ -49,157 +49,344 @@
49
  if(empty($FeedSettings['pandora_url']) )
50
  $FeedSettings['pandora_url'] = '';
51
 
52
-
53
- $googleUrl = 'https://www.google.com/podcasts?feed='.powerpress_base64_encode($feed_url);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  ?>
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
- <h2><?php echo __('Destinations', 'powerpress'); ?></h2>
59
- <p><?php echo __('Podcast directories and applications to syndicate your podcast.', 'powerpress'); ?></p>
60
-
61
- <table class="form-table">
62
- <tr valign="top">
63
- <th scope="row">&nbsp;</th>
64
- <td>
65
- <p><?php echo __('For your reference, your podcast feed URL is...', 'powerpress'); ?></p>
66
- <input type="text" style="width: 80%;" name="NULL[feed_url]" value="<?php echo esc_attr($feed_url); ?>" maxlength="1024" onclick="javascript: this.select();" onfocus="javascript: this.select();" />
67
- </td>
68
- </tr>
69
- </table>
70
- <br />
71
-
72
- <h3><?php echo __('Podcast Directories', 'powerpress'); ?></h3>
73
- <p><?php echo __('Listing URLs are used by player subscribe links, subscribe sidebar widgets and subscribe to podcast page shortcodes.', 'powerpress'); ?></p>
74
- <table class="form-table">
75
- <tr valign="top">
76
- <th scope="row"><?php echo __('Apple', 'powerpress'); ?></th>
77
- <td>
78
- <p><strong><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-itunes/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to Apple', 'powerpress'); ?></a></strong></p>
79
- <label for="itunes_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('Apple Subscription URL', 'powerpress'); ?></label>
80
- <input type="text" style="width: 80%;" id="itunes_url" name="Feed[itunes_url]" value="<?php echo esc_attr($FeedSettings['itunes_url']); ?>" maxlength="255" />
81
- <p class="description"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://itunes.apple.com/podcast/title-of-podcast/id<strong>000000000</strong>'); ?></p>
82
- <p><?php echo __('Apple will email your Subscription URL to your <em>Apple Email</em> when your podcast is accepted into the Apple Podcasts Directory.', 'powerpress'); ?></p>
83
- </td>
84
- </tr>
85
- </table>
86
-
87
- <table class="form-table">
88
- <tr valign="top">
89
- <th scope="row"><?php echo __('Google', 'powerpress'); ?></th>
90
- <td>
91
- <p><strong><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-google-podcasts/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Learn more about Google Podcasts', 'powerpress'); ?></a></strong></p>
92
- <label for="googleplay_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('Google Listing URL', 'powerpress'); ?></label>
93
- <input type="text" class="bpp-input-normal" style="<?php echo ( empty($FeedSettings['google_url'])?'':'display: none;'); ?>" id="google_url" name="Null[google_url]" value="<?php echo esc_attr($googleUrl); ?>" maxlength="255" readOnly onclick="javascript: this.select();" onfocus="javascript: this.select();" />
94
- <input type="text" class="bpp-input-normal" placeholder="<?php echo esc_attr($googleUrl); ?>" style="<?php echo ( empty($FeedSettings['google_url'])?'display: none;':''); ?>" id="google_url_override" name="Feed[google_url]" value="<?php echo esc_attr($FeedSettings['google_url']); ?>" maxlength="1024" />
95
- <label><input type="checkbox" name="NULL[google_url_toggle]" id="google_url_toggle" value="1" <?php echo ( empty($FeedSettings['google_url'])?'':'checked'); ?> /> <?php echo __('Modify', 'powerpress'); ?></label>
96
- <p><?php echo __('Google Podcasts directory is available through Google search, Google Home smart speakers, and the new Google Podcasts app for Android. As long as your podcast website is discoverable by Google search, your podcast will be included in this directory.', 'powerpress'); ?></p>
97
- </td>
98
- </tr>
99
- </table>
100
-
101
- <script>
102
- jQuery( document ).ready(function() {
103
- // Handler for .ready() called.
104
- jQuery('#google_url_toggle').click( function(e) {
105
- if( this.checked ) {
106
- jQuery('#google_url').hide();
107
- jQuery('#google_url_override').show();
108
- } else {
109
- if( confirm('<?php echo esc_js( __('Reset, are you sure?', 'powerpres') ); ?>') ) {
110
- jQuery('#google_url_override').val('');
111
- jQuery('#google_url_override').hide();
112
- jQuery('#google_url').show();
113
- } else {
114
- e.preventDefault();
115
- }
116
- }
117
- });
118
- });
119
- </script>
120
- <table class="form-table">
121
- <tr valign="top">
122
- <th scope="row"><?php echo __('Blubrry Podcast Directory', 'powerpress'); ?></th>
123
- <td>
124
- <p><strong><a href="https://blubrry.com/addpodcast.php?feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to Blubrry Podcast Directory', 'powerpress'); ?></a></strong></p>
125
- <p>
126
- <?php echo __('The largest podcast directory in the World!', 'powerpress'); ?>
127
- </p><p>
128
- <?php echo sprintf(__('Once listed, %s to expand your podcast distribution to Blubrry\'s SmartTV Apps (e.g. Roku) and apply to be on Spotify.', 'powerpress'), '<a href="https://create.blubrry.com/resources/blubrry-podcast-directory/" target="_blank">'. __('Get Featured', 'powerpress').'</a>' ); ?>
129
- </p>
130
- <label for="blubrry_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('Blubrry Listing URL', 'powerpress'); ?></label>
131
- <input type="text" class="bpp-input-normal" id="blubrry_url" name="Feed[blubrry_url]" value="<?php echo esc_attr($FeedSettings['blubrry_url']); ?>" maxlength="255" />
132
- <p class="description"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://blubrry.com/title_of_podcast/'); ?></p>
133
- </td>
134
- </tr>
135
- </table>
136
-
137
- <table class="form-table">
138
- <tr valign="top">
139
- <th scope="row"><?php echo __('Stitcher Podcast Radio', 'powerpress'); ?></th>
140
- <td>
141
- <p><strong><a href="https://create.blubrry.com/manual/podcast-promotion/publish-podcast-stitcher/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to Stitcher', 'powerpress'); ?></a></strong></p>
142
- <label for="stitcher_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('Stitcher Listing URL', 'powerpress'); ?></label>
143
- <input type="text" class="bpp-input-normal" id="stitcher_url" name="Feed[stitcher_url]" value="<?php echo esc_attr($FeedSettings['stitcher_url']); ?>" maxlength="255" />
144
- <p class="description"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://www.stitcher.com/podcast/your/listing-url/'); ?></p>
145
- </td>
146
- </tr>
147
- </table>
148
-
149
- <table class="form-table">
150
- <tr valign="top">
151
- <th scope="row"><?php echo __('TuneIn', 'powerpress'); ?></th>
152
- <td>
153
- <p><strong><a href="https://create.blubrry.com/manual/podcast-promotion/publish-podcast-tunein/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to TuneIn', 'powerpress'); ?></a></strong></p>
154
- <label for="tunein_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('TuneIn Listing URL', 'powerpress'); ?></label>
155
- <input type="text" class="bpp-input-normal" id="tunein_url" name="Feed[tunein_url]" value="<?php echo esc_attr($FeedSettings['tunein_url']); ?>" maxlength="255" />
156
- <p class="description"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://tunein.com/radio/your-podcast-p000000/'); ?></p>
157
-
158
- </td>
159
- </tr>
160
- </table>
161
-
162
- <table class="form-table">
163
- <tr valign="top">
164
- <th scope="row"><?php echo __('Spotify', 'powerpress'); ?></th>
165
- <td>
166
- <p><strong><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-spotify/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to Spotify', 'powerpress'); ?></a></strong></p>
167
- <label for="spotify_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('Spotify Listing URL', 'powerpress'); ?></label>
168
- <input type="text" class="bpp-input-normal" id="spotify_url" name="Feed[spotify_url]" value="<?php echo esc_attr($FeedSettings['spotify_url']); ?>" maxlength="255" />
169
- <p class="description"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://open.spotify.com/show/abcdefghijklmnopqrstu'); ?></p>
170
-
171
- </td>
172
- </tr>
173
- <tr valign="top">
174
- <th scope="row"><?php echo __('iHeartRadio', 'powerpress'); ?></th>
175
- <td>
176
- <p><strong><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-iheartradio/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to iHeartRadio', 'powerpress'); ?></a></strong></p>
177
- <label for="iheart_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('iHeartRadio Listing URL', 'powerpress'); ?></label>
178
- <input type="text" class="bpp-input-normal" id="iheart_url" name="Feed[iheart_url]" value="<?php echo esc_attr($FeedSettings['iheart_url']); ?>" maxlength="255" />
179
- <p class="description"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://www.iheart.com/podcast/abcdefghijklmopqrstu/'); ?></p>
180
-
181
- </td>
182
- </tr>
183
- <tr valign="top">
184
- <th scope="row"><?php echo __('Deezer', 'powerpress'); ?></th>
185
- <td>
186
- <p><strong><a href="https://powerpresspodcast.com/2019/08/07/blubrry-podcasts-coming-deezer/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to Deezer', 'powerpress'); ?></a></strong></p>
187
- <label for="deezer_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('Deezer Listing URL', 'powerpress'); ?></label>
188
- <input type="text" class="bpp-input-normal" id="deezer_url" name="Feed[deezer_url]" value="<?php echo esc_attr($FeedSettings['deezer_url']); ?>" maxlength="255" />
189
- <p class="description"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://www.deezer.com/us/show/1234'); ?></p>
190
-
191
- </td>
192
- </tr>
193
- <tr valign="top">
194
- <th scope="row"><?php echo __('Pandora', 'powerpress'); ?></th>
195
- <td>
196
- <p><strong><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-pandora/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('Submit podcast to Pandora', 'powerpress'); ?></a></strong></p>
197
- <label for="pandora_url" style="font-size: 120%; display: block; font-weight: bold;"><?php echo __('Pandora Listing URL', 'powerpress'); ?></label>
198
- <input type="text" class="bpp-input-normal" id="pandora_url" name="Feed[pandora_url]" value="<?php echo esc_attr($FeedSettings['pandora_url']); ?>" maxlength="255" />
199
- <!-- Unknown: <p class="description">--><?php //echo sprintf(__('e.g. %s', 'powerpress'), 'https://www.iheart.com/podcast/abcdefghijklmopqrstu/'); ?><!--</p>-->
200
-
201
- </td>
202
- </tr>
203
- </table>
204
 
 
 
 
 
 
 
 
 
 
205
  <br />
49
  if(empty($FeedSettings['pandora_url']) )
50
  $FeedSettings['pandora_url'] = '';
51
 
52
+ $Settings['subscribe_feature_rss'] = (isset($General['subscribe_feature_rss']) ? $General['subscribe_feature_rss'] : true );
53
+ $Settings['subscribe_feature_email'] = (isset($General['subscribe_feature_email']) ? $General['subscribe_feature_email'] : false );
54
+ $Settings['subscribe_feature_gp'] = (isset($General['subscribe_feature_gp']) ? $General['subscribe_feature_gp'] : false );
55
+ $Settings['subscribe_feature_stitcher'] = (isset($General['subscribe_feature_stitcher']) ? $General['subscribe_feature_stitcher'] : false );
56
+ $Settings['subscribe_feature_tunein'] = (isset($General['subscribe_feature_tunein']) ? $General['subscribe_feature_tunein'] : false );
57
+ $Settings['subscribe_feature_spotify'] = (isset($General['subscribe_feature_spotify']) ? $General['subscribe_feature_spotify'] : false );
58
+ $Settings['subscribe_feature_iheart'] = (isset($General['subscribe_feature_iheart']) ? $General['subscribe_feature_iheart'] : false );
59
+ $Settings['subscribe_feature_deezer'] = (isset($General['subscribe_feature_deezer']) ? $General['subscribe_feature_deezer'] : false );
60
+ $Settings['subscribe_feature_pandora'] = (isset($General['subscribe_feature_pandora']) ? $General['subscribe_feature_pandora'] : false );
61
+ $Settings['subscribe_feature_android'] = (isset($General['subscribe_feature_android']) ? $General['subscribe_feature_android'] : false );
62
+ $Settings['subscribe_feature_blubrry'] = (isset($General['subscribe_feature_blubrry']) ? $General['subscribe_feature_blubrry'] : false );
63
+ $Settings['subscribe_feature_email_shortcode'] = (isset($General['subscribe_feature_email_shortcode']) ? $General['subscribe_feature_email_shortcode'] : true );
64
+ $Settings['subscribe_feature_gp_shortcode'] = (isset($General['subscribe_feature_gp_shortcode']) ? $General['subscribe_feature_gp_shortcode'] : true );
65
+ $Settings['subscribe_feature_stitcher_shortcode'] = (isset($General['subscribe_feature_stitcher_shortcode']) ? $General['subscribe_feature_stitcher_shortcode'] : true );
66
+ $Settings['subscribe_feature_tunein_shortcode'] = (isset($General['subscribe_feature_tunein_shortcode']) ? $General['subscribe_feature_tunein_shortcode'] : true );
67
+ $Settings['subscribe_feature_spotify_shortcode'] = (isset($General['subscribe_feature_spotify_shortcode']) ? $General['subscribe_feature_spotify_shortcode'] : true );
68
+ $Settings['subscribe_feature_android_shortcode'] = (isset($General['subscribe_feature_android_shortcode']) ? $General['subscribe_feature_android_shortcode'] : true );
69
+ $Settings['subscribe_feature_blubrry_shortcode'] = (isset($General['subscribe_feature_blubrry_shortcode']) ? $General['subscribe_feature_blubrry_shortcode'] : true );
70
+ $Settings['subscribe_feature_iheart_shortcode'] = (isset($General['subscribe_feature_iheart_shortcode']) ? $General['subscribe_feature_iheart_shortcode'] : true );
71
+ $Settings['subscribe_feature_deezer_shortcode'] = (isset($General['subscribe_feature_deezer_shortcode']) ? $General['subscribe_feature_deezer_shortcode'] : true );
72
+ $Settings['subscribe_feature_pandora_shortcode'] = (isset($General['subscribe_feature_pandora_shortcode']) ? $General['subscribe_feature_pandora_shortcode'] : true );
73
+ $Settings['subscribe_feature_email_sidebar'] = (isset($General['subscribe_feature_email_sidebar']) ? $General['subscribe_feature_email_sidebar'] : true );
74
+ $Settings['subscribe_feature_gp_sidebar'] = (isset($General['subscribe_feature_gp_sidebar']) ? $General['subscribe_feature_gp_sidebar'] : true );
75
+ $Settings['subscribe_feature_stitcher_sidebar'] = (isset($General['subscribe_feature_stitcher_sidebar']) ? $General['subscribe_feature_stitcher_sidebar'] : false );
76
+ $Settings['subscribe_feature_tunein_sidebar'] = (isset($General['subscribe_feature_tunein_sidebar']) ? $General['subscribe_feature_tunein_sidebar'] : false );
77
+ $Settings['subscribe_feature_spotify_sidebar'] = (isset($General['subscribe_feature_spotify_sidebar']) ? $General['subscribe_feature_spotify_sidebar'] : false );
78
+ $Settings['subscribe_feature_iheart_sidebar'] = (isset($General['subscribe_feature_iheart_sidebar']) ? $General['subscribe_feature_iheart_sidebar'] : false );
79
+ $Settings['subscribe_feature_deezer_sidebar'] = (isset($General['subscribe_feature_deezer_sidebar']) ? $General['subscribe_feature_deezer_sidebar'] : false );
80
+ $Settings['subscribe_feature_pandora_sidebar'] = (isset($General['subscribe_feature_pandora_sidebar']) ? $General['subscribe_feature_pandora_sidebar'] : false );
81
+ $Settings['subscribe_feature_android_sidebar'] = (isset($General['subscribe_feature_android_sidebar']) ? $General['subscribe_feature_android_sidebar'] : true );
82
+ $Settings['subscribe_feature_blubrry_sidebar'] = (isset($General['subscribe_feature_blubrry_sidebar']) ? $General['subscribe_feature_blubrry_sidebar'] : false );
83
+
84
+
85
+ function subscribeSetting($directory, $feed_url, $listing_url) {
86
+ $style = " style=\"height: 32px;\" ";
87
+ $link_at_top = true;
88
+ $id_tail = "-subsection";
89
+ $class = " class='pp-heading'";
90
+ $android_url = "";
91
+ $email_url = "";
92
+ if( preg_match('/^(https?:\/\/)(.*)$/i', $feed_url, $matches ) ) {
93
+ $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
94
+ $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
95
+ }
96
+
97
+ switch ($directory) {
98
+ case 'apple': ?>
99
+
100
+ <h2 class="pp-heading"><span id="apple-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Apple Podcast', 'powerpress'); ?></span></h2>
101
+ <?php if ($link_at_top) { ?>
102
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-itunes/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Apple', 'powerpress'); ?></a></b></p>
103
+ <?php } ?>
104
+ <p class="pp-settings-text"><?php echo __('Follow the steps to submit your podcast to Apple then come back here and enter the Subscription URL. Apple will email your Subscription URL to your Apple Email when your podcast is accepted into the Apple Podcasts Directory.', 'powerpress'); ?></p>
105
+ <?php if (!$link_at_top) { ?>
106
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-itunes/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Apple', 'powerpress'); ?></a></b></p>
107
+ <?php } ?>
108
+ <input class="pp-settings-text-input-less-wide" type="text" id="itunes_url<?php echo $id_tail; ?>" name="Feed[itunes_url]" placeholder="<?php echo __('Apple Subscription URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
109
+ <label for="itunes_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://itunes.apple.com/podcast/title-of-podcast/id000000000'); ?></label>
110
+
111
+ <?php
112
+ break;
113
+ case 'google':
114
+ $googleUrl = 'https://www.google.com/podcasts?feed='.powerpress_base64_encode($feed_url);?>
115
+
116
+ <h2 class="pp-heading"><span id="google-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Google', 'powerpress'); ?></span></h2>
117
+ <?php if ($link_at_top) { ?>
118
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-google-podcasts/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Google', 'powerpress'); ?></a></b></p>
119
+ <?php } ?>
120
+ <p class="pp-settings-text"><?php echo __('Google Podcasts directory is available through Google search, Google Home smart speakers, and the new Google Podcasts app for Android. As long as your podcast website is discoverable by Google search, your podcast will be included in this directory.', 'powerpress'); ?></p>
121
+ <?php if (!$link_at_top) { ?>
122
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-google-podcasts/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Google', 'powerpress'); ?></a></b></p>
123
+ <?php } ?>
124
+ <input class="pp-settings-text-input-less-wide" type="text" placeholder="<?php echo __('Google Listing URL', 'powerpress'); ?>" id="google_url_override<?php echo $id_tail; ?>" name="Feed[google_url]" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
125
+ <label for="google_url_override" class="pp-settings-label-under">e.g. <?php echo esc_attr($googleUrl); ?></label>
126
+
127
+
128
+ <script>
129
+ jQuery( document ).ready(function() {
130
+ // Handler for .ready() called.
131
+ jQuery('#google_url_toggle').click( function(e) {
132
+ if( this.checked ) {
133
+ jQuery('#google_url').hide();
134
+ jQuery('#google_url_override').show();
135
+ } else {
136
+ if( confirm('<?php echo esc_js( __('Reset, are you sure?', 'powerpres') ); ?>') ) {
137
+ jQuery('#google_url_override').val('');
138
+ jQuery('#google_url_override').hide();
139
+ jQuery('#google_url').show();
140
+ } else {
141
+ e.preventDefault();
142
+ }
143
+ }
144
+ });
145
+ });
146
+ </script>
147
+ <?php
148
+ break;
149
+ case 'stitcher': ?>
150
+
151
+ <h2 class="pp-heading"><span id="stitcher-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Stitcher', 'powerpress'); ?></span></h2>
152
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/publish-podcast-stitcher/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Stitcher', 'powerpress'); ?></a></b></p>
153
+ <input class="pp-settings-text-input-less-wide" type="text" id="stitcher_url<?php echo $id_tail; ?>" name="Feed[stitcher_url]" placeholder="<?php echo __('Stitcher Listing URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
154
+ <label for="stitcher_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://www.stitcher.com/podcast/your/listing-url/'); ?></label>
155
+
156
+ <?php
157
+ break;
158
+ case 'tunein': ?>
159
+
160
+ <h2 class="pp-heading"><span id="tunein-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Tunein', 'powerpress'); ?></span></h2>
161
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/publish-podcast-tunein/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to TuneIn', 'powerpress'); ?></a></b></p>
162
+ <input class="pp-settings-text-input-less-wide" type="text" id="tunein_url<?php echo $id_tail; ?>" name="Feed[tunein_url]" placeholder="<?php echo __('TuneIn Listing URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
163
+ <label for="tunein_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'http://tunein.com/radio/your-podcast-p000000/'); ?></label>
164
+
165
+
166
+ <?php
167
+ break;
168
+ case 'spotify': ?>
169
+
170
+ <h2 class="pp-heading"><span id="spotify-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Spotify', 'powerpress'); ?></span></h2>
171
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-spotify/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Spotify', 'powerpress'); ?></a></b></p>
172
+ <input class="pp-settings-text-input-less-wide" type="text" id="spotify_url<?php echo $id_tail; ?>" name="Feed[spotify_url]" placeholder="<?php echo __('Spotify Listing URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
173
+ <label for="spotify_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://open.spotify.com/show/abcdefghijklmnopqrstu'); ?></label>
174
+
175
+
176
+ <?php
177
+ break;
178
+ case 'blubrry': ?>
179
+
180
+ <h2<?php echo $class; ?>><img class="pp-directory-icon" <?php echo $style; ?>alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/blubrry.svg"><?php echo __('Blubrry Podcast Directory', 'powerpress'); ?></h2>
181
+ <?php if ($link_at_top) { ?>
182
+ <p class="pp-settings-text">
183
+ <b><a href="https://blubrry.com/addpodcast.php?feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Blubrry Directory', 'powerpress'); ?></a></b>
184
+ </p>
185
+ <?php }?>
186
+ <p class="pp-settings-text">
187
+ <b><?php echo __('Get listed on the largest podcast directory in the world! ', 'powerpress'); ?></b><?php echo sprintf(__('Once listed, %s to expand your podcast distribution to Blubrry\'s SmartTV Apps (e.g. Roku) and apply to be on Spotify.', 'powerpress'), '<a href="https://create.blubrry.com/resources/blubrry-podcast-directory/" target="_blank">'. __('Get Featured', 'powerpress').'</a>' ); ?>
188
+ </p>
189
+ <?php if(!$link_at_top) { ?>
190
+ <p class="pp-settings-text">
191
+ <b><a href="https://blubrry.com/addpodcast.php?feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Blubrry Directory', 'powerpress'); ?></a></b>
192
+ </p>
193
+ <?php } ?>
194
+ <input class="pp-settings-text-input-less-wide" type="text" id="blubrry_url<?php echo $id_tail; ?>" name="Feed[blubrry_url]" placeholder="<?php echo __('Blubrry Listing URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
195
+ <label for="blubrry_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://blubrry.com/title_of_podcast/'); ?></label>
196
+
197
+ <?php
198
+ break;
199
+ case 'android': ?>
200
+ <h2 class="pp-heading"><span id="android-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Android', 'powerpress'); ?></span></h2>
201
+ <input class="pp-settings-text-input-less-wide" type="text" id="android_url_<?php echo $id_tail; ?>" name="null[android_url]" placeholder="<?php echo __('Subscribe by Android not available', 'powerpress'); ?>" value="<?php echo esc_attr($android_url); ?>" maxlength="255" readonly />
202
+ <?php
203
+ break;
204
+ case 'email': ?>
205
+ <h2 class="pp-heading"><span id="email-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Email', 'powerpress'); ?></span></h2>
206
+ <input class="pp-settings-text-input-less-wide" type="text" id="email_url_<?php echo $id_tail; ?>" name="null[iheart_url]" placeholder="<?php echo __('Susbcribe on Email not available', 'powerpress'); ?>" value="<?php echo esc_attr($email_url); ?>" maxlength="255" readonly />
207
+ <?php
208
+ break;
209
+ case 'iheart': ?>
210
+
211
+ <h2 class="pp-heading"><span id="iheart-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('iHeartRadio', 'powerpress'); ?></span></h2>
212
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-iheartradio/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to iHeartRadio', 'powerpress'); ?></a></b></p>
213
+ <input class="pp-settings-text-input-less-wide" type="text" id="iheart_url<?php echo $id_tail; ?>" name="Feed[iheart_url]" placeholder="<?php echo __('iHeartRadio Listing URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
214
+ <label for="iheart_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://www.iheart.com/podcast/abcdefghijklmopqrstu/'); ?></label>
215
+
216
+ <?php
217
+ break;
218
+ case 'deezer': ?>
219
+
220
+ <h2 class="pp-heading"><span id="deezer-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Deezer', 'powerpress'); ?></span></h2>
221
+ <p class="pp-settings-text"><b><a href="https://blubrry.com/podcast-insider/2019/08/07/blubrry-podcasts-coming-deezer/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Deezer', 'powerpress'); ?></a></b></p>
222
+ <input class="pp-settings-text-input-less-wide" type="text" id="deezer_url<?php echo $id_tail; ?>" name="Feed[deezer_url]" placeholder="<?php echo __('Deezer Listing URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
223
+ <label for="deezer_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://www.deezer.com/us/show/1234'); ?></label>
224
+
225
+ <?php
226
+ break;
227
+ case 'pandora': ?>
228
+
229
+ <h2 class="pp-heading"><span id="pandora-icon" class="destinations-side-icon"></span><span class="directory-summary-head"><?php echo __('Pandora', 'powerpress'); ?></span></h2>
230
+ <p class="pp-settings-text"><b><a href="https://create.blubrry.com/manual/podcast-promotion/submit-podcast-to-pandora/?podcast-feed=<?php echo urlencode($feed_url); ?>" target="_blank"><?php echo __('How to submit a podcast to Pandora', 'powerpress'); ?></a></b></p>
231
+ <input class="pp-settings-text-input-less-wide" type="text" id="pandora_url<?php echo $id_tail; ?>" name="Feed[pandora_url]" placeholder="<?php echo __('Pandora Listing URL', 'powerpress'); ?>" value="<?php echo esc_attr($listing_url); ?>" maxlength="255" />
232
+ <label for="pandora_url" class="pp-settings-label-under"><?php echo sprintf(__('e.g. %s', 'powerpress'), 'https://www.pandora.com/us/show/1234'); ?></label>
233
+
234
+ <?php
235
+ break;
236
+ case 'default':
237
+ break;
238
+ }
239
+ }
240
  ?>
241
 
242
+ <div class="pp-sidenav">
243
+ <div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('DESTINATIONS SETTINGS', 'powerpress')); ?></b></p></div>
244
+ <button id="destinations-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'destinations-all')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg" style="margin-left: 7px; margin-right: 20px;width: 22px;"><?php echo htmlspecialchars(__('Basic Info', 'powerpress')); ?></button>
245
+ <button class="pp-sidenav-tablinks" id="destinations-apple-tab" onclick="sideNav(event, 'destinations-apple')"><span id="apple-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Apple', 'powerpress')); ?></span></button>
246
+ <button class="pp-sidenav-tablinks" id="destinations-google-tab" onclick="sideNav(event, 'destinations-google')"><span id="google-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Google', 'powerpress')); ?></span></button>
247
+ <button class="pp-sidenav-tablinks" id="destinations-stitcher-tab" onclick="sideNav(event, 'destinations-stitcher')"><span id="stitcher-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Stitcher', 'powerpress')); ?></span></button>
248
+ <button class="pp-sidenav-tablinks" id="destinations-tunein-tab" onclick="sideNav(event, 'destinations-tunein')"><span id="tunein-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('TuneIn', 'powerpress')); ?></span></button>
249
+ <button class="pp-sidenav-tablinks" id="destinations-spotify-tab" onclick="sideNav(event, 'destinations-spotify')"><span id="spotify-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Spotify', 'powerpress')); ?></span></button>
250
+ <button class="pp-sidenav-tablinks" id="destinations-blubrry-tab" onclick="sideNav(event, 'destinations-blubrry')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/blubrry.svg" style="margin-left: 7px; margin-right: 20px;"><?php echo htmlspecialchars(__('Blubrry Directory', 'powerpress')); ?></button>
251
+ <button class="pp-sidenav-tablinks" id="destinations-iheart-tab" onclick="sideNav(event, 'destinations-iheart')"><span id="iheart-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('iHeartRadio', 'powerpress')); ?></span></button>
252
+ <button class="pp-sidenav-tablinks" id="destinations-deezer-tab" onclick="sideNav(event, 'destinations-deezer')"><span id="deezer-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Deezer', 'powerpress')); ?></span></button>
253
+ <button class="pp-sidenav-tablinks" id="destinations-pandora-tab" onclick="sideNav(event, 'destinations-pandora')"><span id="pandora-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Pandora', 'powerpress')); ?></span></button>
254
+ <button class="pp-sidenav-tablinks" id="destinations-android-tab" onclick="sideNav(event, 'destinations-android')"><span id="android-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Android', 'powerpress')); ?></span></button>
255
+ <button class="pp-sidenav-tablinks" id="destinations-email-tab" onclick="sideNav(event, 'destinations-email')"><span id="email-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Email', 'powerpress')); ?></span></button>
256
+ <br />
257
+ <div class="pp-sidenav-extra" style="margin-top: 200%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('DOCUMENTATION', 'powerpress')); ?></a></div>
258
+ <div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('BLOG', 'powerpress')); ?></a></div>
259
+ <br />
260
+ <?php
261
+ powerpressadmin_edit_blubrry_services($General);
262
+ ?>
263
+ </div>
264
 
265
+ <div id="destinations-all" class="pp-sidenav-tab active">
266
+
267
+ <h1 class="pp-heading"><?php echo __('Destinations', 'powerpress'); ?></h1>
268
+
269
+
270
+ <div>
271
+ <p style="line-height: 36px;" class="pp-settings-text"><?php echo __('Your podcast RSS feed: ', 'powerpress'); ?>
272
+ <a href="<?php echo esc_attr($feed_url); ?>"> <?php echo esc_attr($feed_url); ?> </a>
273
+ <br />
274
+ <?php echo __('Use this URL to submit your podcast to various directories.', 'powerpress'); ?>
275
+ <br />
276
+ <?php echo __('Directory listing URLs are used by player subscribe links, subscribe sidebar widgets, and subscribe to podcast page shortcodes.', 'powerpress'); ?>
277
+ </p>
278
+ </div>
279
+ <?php powerpress_settings_tab_footer(); ?>
280
+ </div>
281
+
282
+ <div id="destinations-apple" class="pp-sidenav-tab">
283
+ <?php subscribeSetting('apple', $feed_url, $FeedSettings['itunes_url']); ?>
284
+ <div class="pp-show-subscribe">
285
+ <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_itunes_sidebar]" value="1" checked disabled /> <label><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
286
+ <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_itunes_shortcode]" value="1" checked disabled /> <label><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
287
+ <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_itunes]" value="1" checked disabled /> <label><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
288
+ </div>
289
+ <?php powerpress_settings_tab_footer(); ?>
290
+ </div>
291
+
292
+ <div id="destinations-google" class="pp-sidenav-tab">
293
+ <?php subscribeSetting('google', $feed_url, $FeedSettings['google_url']); ?>
294
+ <div class="pp-show-subscribe">
295
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_gp_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_gp_sidebar" name="General[subscribe_feature_gp_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_gp_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
296
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_gp_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_gp_shortcode" name="General[subscribe_feature_gp_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_gp_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
297
+ <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_gp]" value="1" checked disabled/> <label for="subscribe_feature_gp_shortcode"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
298
+ </div>
299
+ <?php powerpress_settings_tab_footer(); ?>
300
+ </div>
301
+
302
+ <div id="destinations-stitcher" class="pp-sidenav-tab">
303
+ <?php subscribeSetting('stitcher', $feed_url, $FeedSettings['stitcher_url']); ?>
304
+ <div class="pp-show-subscribe">
305
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher_sidebar" name="General[subscribe_feature_stitcher_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
306
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher_shortcode" name="General[subscribe_feature_stitcher_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
307
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher" name="General[subscribe_feature_stitcher]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
308
+ </div>
309
+ <?php powerpress_settings_tab_footer(); ?>
310
+ </div>
311
+
312
+ <div id="destinations-tunein" class="pp-sidenav-tab">
313
+ <?php subscribeSetting('tunein', $feed_url, $FeedSettings['tunein_url']); ?>
314
+ <div class="pp-show-subscribe">
315
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein_sidebar" name="General[subscribe_feature_tunein_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
316
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein_shortcode" name="General[subscribe_feature_tunein_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
317
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein" name="General[subscribe_feature_tunein]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
318
+ </div>
319
+ <?php powerpress_settings_tab_footer(); ?>
320
+ </div>
321
+
322
+ <div id="destinations-spotify" class="pp-sidenav-tab">
323
+ <?php subscribeSetting('spotify', $feed_url, $FeedSettings['spotify_url']); ?>
324
+ <div class="pp-show-subscribe">
325
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify_sidebar" name="General[subscribe_feature_spotify_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
326
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify_shortcode" name="General[subscribe_feature_spotify_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
327
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify" name="General[subscribe_feature_spotify]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
328
+ </div>
329
+ <?php powerpress_settings_tab_footer(); ?>
330
+ </div>
331
+
332
+ <div id="destinations-blubrry" class="pp-sidenav-tab">
333
+ <?php subscribeSetting('blubrry', $feed_url, $FeedSettings['blubrry_url']); ?>
334
+ <div class="pp-show-subscribe">
335
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry_sidebar" name="General[subscribe_feature_blubrry_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
336
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry_shortcode" name="General[subscribe_feature_blubrry_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
337
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry" name="General[subscribe_feature_blubrry]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
338
+ </div>
339
+ <?php powerpress_settings_tab_footer(); ?>
340
+ </div>
341
+
342
+ <div id="destinations-iheart" class="pp-sidenav-tab">
343
+ <?php subscribeSetting('iheart', $feed_url, $FeedSettings['iheart_url']); ?>
344
+ <div class="pp-show-subscribe">
345
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_iheart_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_iheart_sidebar" name="General[subscribe_feature_iheart_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_iheart_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_iheart_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
346
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_iheart_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_iheart_shortcode" name="General[subscribe_feature_iheart_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_iheart_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_iheart_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
347
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_iheart]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_iheart" name="General[subscribe_feature_iheart]" value="1" <?php if( !empty($Settings['subscribe_feature_iheart']) ) echo 'checked '; ?>/> <label for="subscribe_feature_iheart"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
348
+ </div>
349
+ <?php powerpress_settings_tab_footer(); ?>
350
+ </div>
351
+
352
+ <div id="destinations-deezer" class="pp-sidenav-tab">
353
+ <?php subscribeSetting('deezer', $feed_url, $FeedSettings['deezer_url']); ?>
354
+ <div class="pp-show-subscribe">
355
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer_sidebar" name="General[subscribe_feature_deezer_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
356
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer_shortcode" name="General[subscribe_feature_deezer_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
357
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer" name="General[subscribe_feature_deezer]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
358
+ </div>
359
+ <?php powerpress_settings_tab_footer(); ?>
360
+ </div>
361
+
362
+ <div id="destinations-pandora" class="pp-sidenav-tab">
363
+ <?php subscribeSetting('pandora', $feed_url, $FeedSettings['pandora_url']); ?>
364
+ <div class="pp-show-subscribe">
365
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora_sidebar" name="General[subscribe_feature_pandora_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
366
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora_shortcode" name="General[subscribe_feature_pandora_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
367
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora" name="General[subscribe_feature_pandora]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
368
+ </div>
369
+ <?php powerpress_settings_tab_footer(); ?>
370
+ </div>
371
+
372
+ <div id="destinations-android" class="pp-sidenav-tab">
373
+ <?php subscribeSetting('android', $feed_url, ''); ?>
374
+ <div class="pp-show-subscribe">
375
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android_sidebar" name="General[subscribe_feature_android_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_android_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
376
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android_shortcode" name="General[subscribe_feature_android_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_android_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
377
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android" name="General[subscribe_feature_android]" value="1" <?php if( !empty($Settings['subscribe_feature_android']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
378
+ </div>
379
+ <?php powerpress_settings_tab_footer(); ?>
380
+ </div>
381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
 
383
+ <div id="destinations-email" class="pp-sidenav-tab">
384
+ <?php subscribeSetting('email', $feed_url, ''); ?>
385
+ <div class="pp-show-subscribe">
386
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_email_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_email_sidebar" name="General[subscribe_feature_email_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_email_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_email_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
387
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_email_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_email_shortcode" name="General[subscribe_feature_email_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_email_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_email_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
388
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_email]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_email" name="General[subscribe_feature_email]" value="1" <?php if( !empty($Settings['subscribe_feature_email']) ) echo 'checked '; ?>/> <label for="subscribe_feature_email"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
389
+ </div>
390
+ <?php powerpress_settings_tab_footer(); ?>
391
+ </div>
392
  <br />
views/settings_tab_other.php CHANGED
@@ -14,69 +14,56 @@
14
  {
15
 
16
  ?>
17
- <h3><?php echo __('Media Statistics', 'powerpress'); ?></h3>
18
- <p>
19
- <?php echo __('Enter your Redirect URL issued by your media statistics service provider below.', 'powerpress'); ?>
20
- </p>
 
 
 
 
21
 
22
- <table class="form-table">
23
- <tr valign="top">
24
- <th scope="row">
25
- <?php echo __('Redirect URL', 'powerpress'); ?>
26
- </th>
27
- <td>
28
- <input type="text" style="width: 60%;" name="Feed[redirect]" value="<?php echo esc_attr($FeedSettings['redirect']); ?>" maxlength="255" />
29
  <?php if( $FeedAttribs['type'] == 'category' ) { ?>
30
- <p class="description"><?php echo __('When specified, this will be the only media statistics redirect applied to this category. Please enable Strict Category Podcasting to apply statistics redirect on non category pages.', 'powerpress'); ?></p>
31
  <?php } else if( $FeedAttribs['type'] == 'ttid' ) { ?>
32
- <p class="description"><?php echo __('Note: Media Redirect URL is applied to this podcast feed only. The redirect will NOT apply to pages.', 'powerpress'); ?></p>
33
  <?php } else if( $FeedAttribs['type'] == 'channel' ) { ?>
34
- <p class="description"><?php echo __('When specified, this will be the only media statistics redirect applied to this podcast channel.', 'powerpress'); ?></p>
35
  <?php } else if( $FeedAttribs['type'] == 'post_type' ) { ?>
36
- <p class="description"><?php echo __('When specified, this will be the only media statistics redirect applied to this podcast post type.', 'powerpress'); ?></p>
37
  <?php } ?>
38
- </td>
39
- </tr>
40
- <!--
41
- <tr valign="top">
42
- <th scope="row">
43
- <?php echo __('Redirect URL 2', 'powerpress'); ?>
44
- </th>
45
- <td>
46
- <input type="text" style="width: 60%;" name="Feed[redirect2]" value="<?php echo esc_attr($FeedSettings['redirect2']); ?>" maxlength="255" />
47
- </td>
48
- </tr>
49
- -->
50
- </table>
51
  <?php
52
  }
53
 
54
  if( $feed_slug ) // end if category, else channel...
55
  {
56
  ?>
 
 
57
 
58
- <h3><?php echo __('Episode Entry Box', 'powerpress'); ?></h3>
59
- <table class="form-table">
60
- <tr valign="top">
61
- <th scope="row">
62
- <?php echo __('Background Color', 'powerpress'); ?>
63
- </th>
64
- <td>
65
- <input type="text" id="episode_background_color" name="EpisodeBoxBGColor[<?php echo $feed_slug; ?>]" style="width: 100px; float:left; border: 1px solid #333333; <?php if( !empty($General['episode_box_background_color'][ $feed_slug ]) ) echo 'background-color: '.$General['episode_box_background_color'][ $feed_slug ]; ?>;" value="<?php if( !empty($General['episode_box_background_color'][ $feed_slug ]) ) echo esc_attr($General['episode_box_background_color'][ $feed_slug ]); ?>" maxlength="10" onblur="jQuery('#episode_background_color').css({'background-color' : this.value });" />
66
- <div style="background-color: #FFDFEF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#FFDFEF'; jQuery('#episode_background_color').css({'background-color' :'#FFDFEF' });"></div>
67
- <div style="background-color: #FBECD8;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#FBECD8'; jQuery('#episode_background_color').css({'background-color' :'#FBECD8' });"></div>
68
- <div style="background-color: #FFFFCC;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#FFFFCC'; jQuery('#episode_background_color').css({'background-color' :'#FFFFCC' });"></div>
69
- <div style="background-color: #DFFFDF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#DFFFDF'; jQuery('#episode_background_color').css({'background-color' :'#DFFFDF' });"></div>
70
 
71
- <div style="background-color: #EBFFFF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#EBFFFF'; jQuery('#episode_background_color').css({'background-color' :'#EBFFFF' });"></div>
72
- <div style="background-color: #D9E0EF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#D9E0EF'; jQuery('#episode_background_color').css({'background-color' :'#D9E0EF' });"></div>
73
- <div style="background-color: #EBE0EB;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#EBE0EB'; jQuery('#episode_background_color').css({'background-color' :'#EBE0EB' });"></div>
74
- &nbsp; (<?php echo __('leave blank for default', 'powerpress'); ?>)
75
 
76
- <p class="clear"><?php echo __('Use a distinctive background color for this podcast channel\'s episode box.', 'powerpress'); ?></p>
77
- </td>
78
- </tr>
79
- </table>
80
 
81
  <!-- password protected feed option -->
82
 
@@ -84,7 +71,8 @@
84
  if( @$General['premium_caps'] && $feed_slug && $feed_slug != 'podcast' )
85
  {
86
  ?>
87
- <h3><?php echo __('Password Protect Podcast Channel', 'powerpress'); ?></h3>
 
88
  <p>
89
  <?php echo __('Require visitors to have membership to your blog in order to gain access to this channel\'s Premium Content.', 'powerpress'); ?>
90
  </p>
@@ -97,7 +85,7 @@
97
  <p style="margin-top: 5px;"><input type="checkbox" name="ProtectContent" value="1" <?php echo ( !empty($FeedSettings['premium']) ?'checked ':''); ?> onchange="powerpress_toggle_premium_content(this.checked);" /> <?php echo __('Require user to be signed-in to access feed.', 'powerpress'); ?></p>
98
  <?php ?>
99
  <div style="margin-left: 20px; display: <?php echo ( !empty($FeedSettings['premium'])?'block':'none'); ?>;" id="premium_role"><?php echo __('User must have the following capability', 'powerpress'); ?>:
100
- <select name="Feed[premium]" class="bpp_input_med">
101
  <?php
102
  $caps = powerpress_admin_capabilities();
103
  $actual_premium_value = 'premium_content';
@@ -167,15 +155,18 @@ function powerpress_default_premium_label(event)
167
  </tr>
168
  </table>
169
  </div>
 
170
  <?php
171
  }
172
  else if( !empty($General['premium_caps']) && $feed_slug )
173
  {
174
  ?>
175
- <h3><?php echo __('Password Protect Podcast Channel', 'powerpress'); ?></h3>
176
- <p>
 
177
  <?php echo __('This feature is not available for the default podcast channel.', 'powerpress'); ?>
178
  </p>
 
179
  <?php
180
  }
181
 
@@ -184,18 +175,17 @@ function powerpress_default_premium_label(event)
184
  if( $FeedAttribs['type'] == 'channel' )
185
  {
186
  ?>
187
- <h3><?php echo __('Custom Post Types', 'powerpress'); ?></h3>
188
- <p>
189
- <?php echo __('Set whether all post types or a specific custom post type may use this podcast channel. Custom post type must be of type \'Posts\'. Other post types such as \'Pages\' or \'Categories\' do not apply.', 'powerpress'); ?>
190
- </p>
191
- <table class="form-table">
192
- <tr valign="top">
193
- <th scope="row">
 
194
 
195
- <?php echo __('Custom Post Type', 'powerpress'); ?></th>
196
- <td>
197
- <?php ?>
198
- <select name="Feed[custom_post_type]" class="bpp_input_med">
199
  <?php
200
 
201
  $post_types = powerpress_admin_get_post_types('post');
@@ -231,13 +221,8 @@ function powerpress_default_premium_label(event)
231
  }
232
  }
233
  ?>
234
- </select>
235
- <p>
236
- <?php echo __('Use the default setting if you do not understand custom post types.', 'powerpress'); ?>
237
- </p>
238
- </td>
239
- </tr>
240
- </table>
241
  <?php
242
  }
243
  } // else if channel
14
  {
15
 
16
  ?>
17
+ <div class="pp-settings-section">
18
+ <h2><?php echo __('Media Statistics', 'powerpress'); ?></h2>
19
+
20
+
21
+
22
+ <h4><?php echo __('REDIRECT URL', 'powerpress'); ?></h4>
23
+ <p class="pp-settings-text-no-margin">
24
+ <?php echo __('Enter your Redirect URL issued by your media statistics service provider below.', 'powerpress'); ?>
25
 
 
 
 
 
 
 
 
26
  <?php if( $FeedAttribs['type'] == 'category' ) { ?>
27
+ <?php echo __('When specified, this will be the only media statistics redirect applied to this category. Please enable Strict Category Podcasting to apply statistics redirect on non category pages.', 'powerpress'); ?>
28
  <?php } else if( $FeedAttribs['type'] == 'ttid' ) { ?>
29
+ <?php echo __('Note: Media Redirect URL is applied to this podcast feed only. The redirect will NOT apply to pages.', 'powerpress'); ?>
30
  <?php } else if( $FeedAttribs['type'] == 'channel' ) { ?>
31
+ <?php echo __('When specified, this will be the only media statistics redirect applied to this podcast channel.', 'powerpress'); ?>
32
  <?php } else if( $FeedAttribs['type'] == 'post_type' ) { ?>
33
+ <?php echo __('When specified, this will be the only media statistics redirect applied to this podcast post type.', 'powerpress'); ?>
34
  <?php } ?>
35
+ </p>
36
+ <input style="margin-top: 1ch;" type="text" class="pp-settings-text-input" name="Feed[redirect]" value="<?php echo esc_attr($FeedSettings['redirect']); ?>" maxlength="255" />
37
+ </div>
 
 
 
 
 
 
 
 
 
 
38
  <?php
39
  }
40
 
41
  if( $feed_slug ) // end if category, else channel...
42
  {
43
  ?>
44
+ <div class="pp-settings-section" style="height: 14em;">
45
+ <h2><?php echo __('Episode Entry Box', 'powerpress'); ?></h2>
46
 
47
+ <h4><?php echo __('BACKGROUND COLOR', 'powerpress'); ?></h4>
48
+ <p class="pp-settings-text-no-margin"><?php echo __('Use a distinctive background color for this podcast channel\'s episode box.', 'powerpress'); ?></p>
49
+ <div style="margin-top: 1ch;">
50
+ <h4 style="display: inline-block; margin-right: 1em;margin-top: 2ch;float: left;"><?php echo __('Custom Post Type', 'powerpress'); ?></h4>
51
+ <input type="text" class="pp-settings-text-input-less-wide" id="episode_background_color" name="EpisodeBoxBGColor[<?php echo $feed_slug; ?>]" style="width: 50%;margin-right: 40%;display: inherit; border: 1px solid #333333; <?php if( !empty($General['episode_box_background_color'][ $feed_slug ]) ) echo 'background-color: '.$General['episode_box_background_color'][ $feed_slug ]; ?>;" value="<?php if( !empty($General['episode_box_background_color'][ $feed_slug ]) ) echo esc_attr($General['episode_box_background_color'][ $feed_slug ]); ?>" maxlength="10" onblur="jQuery('#episode_background_color').css({'background-color' : this.value });" />
52
+ </div>
53
+ <div>
54
+ <h4 style="display: inline-block; margin-right: 1em;margin-top: 1ch;float: left;"><?php echo __('Custom Post Type', 'powerpress'); ?></h4>
55
+ <div style="background-color: #FFDFEF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#FFDFEF'; jQuery('#episode_background_color').css({'background-color' :'#FFDFEF' });"></div>
56
+ <div style="background-color: #FBECD8;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#FBECD8'; jQuery('#episode_background_color').css({'background-color' :'#FBECD8' });"></div>
57
+ <div style="background-color: #FFFFCC;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#FFFFCC'; jQuery('#episode_background_color').css({'background-color' :'#FFFFCC' });"></div>
58
+ <div style="background-color: #DFFFDF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#DFFFDF'; jQuery('#episode_background_color').css({'background-color' :'#DFFFDF' });"></div>
59
 
60
+ <div style="background-color: #EBFFFF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#EBFFFF'; jQuery('#episode_background_color').css({'background-color' :'#EBFFFF' });"></div>
61
+ <div style="background-color: #D9E0EF;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#D9E0EF'; jQuery('#episode_background_color').css({'background-color' :'#D9E0EF' });"></div>
62
+ <div style="background-color: #EBE0EB;" class="powerpress_color_box" onclick="document.getElementById('episode_background_color').value='#EBE0EB'; jQuery('#episode_background_color').css({'background-color' :'#EBE0EB' });"></div>
63
+ </div>
64
 
65
+
66
+ </div>
 
 
67
 
68
  <!-- password protected feed option -->
69
 
71
  if( @$General['premium_caps'] && $feed_slug && $feed_slug != 'podcast' )
72
  {
73
  ?>
74
+ <div class="pp-settings-section">
75
+ <h2><?php echo __('Password Protect Podcast Channel', 'powerpress'); ?></h2>
76
  <p>
77
  <?php echo __('Require visitors to have membership to your blog in order to gain access to this channel\'s Premium Content.', 'powerpress'); ?>
78
  </p>
85
  <p style="margin-top: 5px;"><input type="checkbox" name="ProtectContent" value="1" <?php echo ( !empty($FeedSettings['premium']) ?'checked ':''); ?> onchange="powerpress_toggle_premium_content(this.checked);" /> <?php echo __('Require user to be signed-in to access feed.', 'powerpress'); ?></p>
86
  <?php ?>
87
  <div style="margin-left: 20px; display: <?php echo ( !empty($FeedSettings['premium'])?'block':'none'); ?>;" id="premium_role"><?php echo __('User must have the following capability', 'powerpress'); ?>:
88
+ <select name="Feed[premium]" class="pp-settings-select">
89
  <?php
90
  $caps = powerpress_admin_capabilities();
91
  $actual_premium_value = 'premium_content';
155
  </tr>
156
  </table>
157
  </div>
158
+ </div>
159
  <?php
160
  }
161
  else if( !empty($General['premium_caps']) && $feed_slug )
162
  {
163
  ?>
164
+ <div class="pp-settings-section">
165
+ <h2><?php echo __('Password Protect Podcast Channel', 'powerpress'); ?></h2>
166
+ <p class="pp-settings-text">
167
  <?php echo __('This feature is not available for the default podcast channel.', 'powerpress'); ?>
168
  </p>
169
+ </div>
170
  <?php
171
  }
172
 
175
  if( $FeedAttribs['type'] == 'channel' )
176
  {
177
  ?>
178
+ <div class="pp-settings-section">
179
+ <h2><?php echo __('Custom Posts', 'powerpress'); ?></h2>
180
+ <p class="pp-settings-text-no-margin">
181
+ <?php echo __('Set whether all post types or a specific custom post type may use this podcast channel. Custom post type must be of type \'Posts\'. Other post types such as \'Pages\' or \'Categories\' do not apply.', 'powerpress'); ?>
182
+ <b>
183
+ <?php echo __('Use the default setting if you do not understand custom post types.', 'powerpress'); ?>
184
+ </b>
185
+ </p>
186
 
187
+ <h4 style="display: inline-block; margin-right: 1em;"><?php echo __('Custom Post Type', 'powerpress'); ?></h4>
188
+ <select style="margin-top: 1ch;display: inline-block;" name="Feed[custom_post_type]" class="pp-settings-select">
 
 
189
  <?php
190
 
191
  $post_types = powerpress_admin_get_post_types('post');
221
  }
222
  }
223
  ?>
224
+ </select>
225
+ </div>
 
 
 
 
 
226
  <?php
227
  }
228
  } // else if channel