PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.36
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.36
3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 2.44 All 141 releases
← All changes | Options/Defaults.php +229 -218 2.433.36 View file →
@@ -1,291 +1,299 @@
1 1 <?php
2 +
2 3 namespace Photonic_Plugin\Options;
3 4
5 +use Photonic_Plugin\Core\Photonic;
6 +
4 7 class Defaults {
5 - static function get_options() {
8 + public static function get_options(): array {
6 9 return [
7 10 // Generic - Generic
8 - 'alternative_shortcode' => '',
9 - 'slideshow_library' => 'swipebox',
10 - 'custom_lightbox' => 'strip',
11 - 'custom_lightbox_js' => '',
12 - 'custom_lightbox_css' => '',
13 - 'disable_photonic_lightbox_scripts' => '',
14 - 'disable_photonic_slider_scripts' => '',
15 - 'lightbox_for_all' => '',
16 - 'lightbox_for_videos' => '',
17 - 'always_load_scripts' => '',
18 - 'js_in_header' => '',
19 - 'disable_editor' => '',
20 - 'disable_editor_post_type' => '',
21 - 'disable_flow_editor' => '',
22 - 'disable_flow_editor_global' => '',
23 - 'nested_shortcodes' => '',
24 - 'external_links_in_new_tab' => '',
25 - 'css_in_file' => '',
11 + 'alternative_shortcode' => '',
12 + 'slideshow_library' => 'baguettebox',
13 + 'custom_lightbox' => 'fancybox2',
14 + 'custom_lightbox_js' => '',
15 + 'custom_lightbox_css' => '',
16 + 'disable_photonic_lightbox_scripts' => '',
17 + 'disable_photonic_slider_scripts' => '',
18 + 'lightbox_for_all' => '',
19 + 'lightbox_for_videos' => '',
20 + 'always_load_scripts' => '',
21 + 'js_in_header' => '',
22 + 'disable_editor' => '',
23 + 'disable_editor_post_type' => '',
24 + 'disable_flow_editor' => '',
25 + 'disable_flow_editor_global' => '',
26 + 'disable_on_home_page' => '',
27 + 'disable_on_archives' => '',
28 + 'nested_shortcodes' => '',
29 + 'external_links_in_new_tab' => '',
30 + 'css_in_file' => '',
26 31
27 32 // Generic - Layouts
28 - 'archive_thumbs' => '',
29 - 'archive_link_more' => '',
30 - 'thumbnail_style' => 'square',
31 - 'standard_thumbnail_effect' => 'none',
32 - 'tile_spacing' => '2',
33 - 'tile_min_height' => '200',
34 - 'justified_thumbnail_effect' => 'none',
35 - 'masonry_tile_spacing' => '2',
36 - 'masonry_min_width' => '200',
37 - 'masonry_thumbnail_effect' => 'none',
38 - 'mosaic_tile_spacing' => '2',
39 - 'mosaic_trigger_width' => '200',
40 - 'mosaic_thumbnail_effect' => 'zoom',
33 + 'thumbnail_style' => 'square',
34 + 'standard_thumbnail_effect' => 'none',
35 + 'tile_spacing' => '2',
36 + 'tile_min_height' => '200',
37 + 'justified_thumbnail_effect' => 'none',
38 + 'masonry_tile_spacing' => '2',
39 + 'masonry_min_width' => '200',
40 + 'masonry_thumbnail_effect' => 'none',
41 + 'mosaic_tile_spacing' => '2',
42 + 'mosaic_trigger_width' => '200',
43 + 'mosaic_thumbnail_effect' => 'zoom',
41 44
42 45 // Generic - Native WP Galleries
43 - 'wp_title_caption' => 'title',
44 - 'wp_thumbnail_title_display' => 'tooltip',
45 - 'wp_disable_title_link' => '',
46 + 'wp_title_caption' => 'title',
47 + 'wp_thumbnail_title_display' => 'tooltip',
48 + 'wp_disable_title_link' => '',
49 + 'wp_layout_engine' => 'css',
46 50
47 51 // Generic - Slideshow
48 - 'slideshow_prevent_autostart' => '',
49 - 'wp_slide_align' => '',
50 - 'wp_slide_adjustment' => 'adapt-height-width',
52 + 'slideshow_prevent_autostart' => '',
53 + 'wp_slide_adjustment' => 'adapt-height-width',
51 54
52 55 // Generic - Overlaid Popup Panel
53 - 'enable_popup' => '',
54 - 'popup_panel_width' => '80',
55 - 'flickr_gallery_panel_background' => ["color" => '#111111', "image" => '', "trans" => "0", "position" => "top left", "repeat" => "repeat", "colortype" => "custom"],
56 - 'flickr_set_popup_thumb_border' => self::default_border(),
56 + 'enable_popup' => '',
57 + 'popup_panel_width' => '80',
58 + 'flickr_gallery_panel_background' => ['color' => '#111111', 'image' => '', 'trans' => '0', 'position' => 'top left', 'repeat' => 'repeat', 'colortype' => 'custom'],
57 59
58 60 // Generic - Photo Template
59 - 'gallery_template_page' => '',
60 - 'page_title' => 'replace-if-available',
61 - 'page_content' => 'replace-if-available',
61 + 'gallery_template_page' => '',
62 + 'page_title' => 'replace-if-available',
63 + 'page_meta_title' => 'append-if-available',
64 + 'page_content' => 'replace-if-available',
62 65
63 66 // Generic - Advanced
64 - 'ssl_verify_off' => '',
65 - 'curl_timeout' => '10',
66 - 'script_dev_mode' => '',
67 - 'performance_logging' => '',
68 - 'debug_on' => '',
67 + 'load_mode' => 'php',
68 + 'ssl_verify_off' => '',
69 + 'curl_timeout' => '30',
70 + 'script_dev_mode' => '',
71 + 'performance_logging' => '',
72 + 'debug_on' => '',
69 73
70 74 // Flickr
71 - 'flickr_api_key' => '',
72 - 'flickr_api_secret' => '',
73 - 'flickr_access_token' => '',
74 - 'flickr_token_secret' => '',
75 - 'flickr_default_user' => '',
76 - 'flickr_media' => 'photos',
77 - 'flickr_thumb_size' => 's',
78 - 'flickr_main_size' => 'z',
79 - 'flickr_tile_size' => 'same',
80 - 'flickr_video_size' => 'Video Original',
81 - 'flickr_disable_title_link' => '',
82 - 'flickr_title_caption' => 'title',
75 + 'flickr_api_key' => '',
76 + 'flickr_api_secret' => '',
77 + 'flickr_access_token' => '',
78 + 'flickr_token_secret' => '',
79 + 'flickr_default_user' => '',
80 + 'flickr_media' => 'photos',
81 + 'flickr_thumb_size' => 's',
82 + 'flickr_main_size' => 'z',
83 + 'flickr_tile_size' => 'same',
84 + 'flickr_video_size' => 'Video Original',
85 + 'flickr_disable_title_link' => '',
86 + 'flickr_title_caption' => 'title',
87 + 'flickr_layout_engine' => 'css',
83 88
84 89 // Flickr - Collections
85 - 'flickr_hide_empty_collection_details' => '',
86 - 'flickr_hide_collection_thumbnail' => '',
87 - 'flickr_hide_collection_title' => '',
88 - 'flickr_hide_collection_set_count' => '',
90 + 'flickr_hide_empty_collection_details' => '',
91 + 'flickr_hide_collection_thumbnail' => '',
92 + 'flickr_hide_collection_title' => '',
93 + 'flickr_hide_collection_set_count' => '',
89 94
90 95 // Flickr - Multiple Photosets
91 - 'flickr_collection_set_title_display' => 'tooltip',
96 + 'flickr_collection_set_title_display' => 'tooltip',
92 97 'flickr_hide_collection_set_photos_count_display' => '',
93 - 'flickr_collection_set_per_row_constraint' => 'padding',
94 - 'flickr_collection_set_constrain_by_padding' => '15',
95 - 'flickr_collection_set_constrain_by_count' => '5',
98 + 'flickr_collection_set_per_row_constraint' => 'padding',
99 + 'flickr_collection_set_constrain_by_count' => '5',
96 100
97 101 // Flickr - Single Photosets
98 - 'flickr_hide_set_thumbnail' => '',
99 - 'flickr_hide_set_title' => '',
100 - 'flickr_hide_set_photo_count' => '',
102 + 'flickr_hide_set_thumbnail' => '',
103 + 'flickr_hide_set_title' => '',
104 + 'flickr_hide_set_photo_count' => '',
101 105
102 106 // Flickr - Multiple Galleries
103 - 'flickr_gallery_title_display' => 'tooltip',
104 - 'flickr_hide_gallery_photos_count_display' => '',
105 - 'flickr_galleries_per_row_constraint' => 'padding',
106 - 'flickr_galleries_constrain_by_padding' => '15',
107 - 'flickr_galleries_constrain_by_count' => '5',
107 + 'flickr_gallery_title_display' => 'tooltip',
108 + 'flickr_hide_gallery_photos_count_display' => '',
109 + 'flickr_galleries_per_row_constraint' => 'padding',
110 + 'flickr_galleries_constrain_by_count' => '5',
108 111
109 112 // Flickr - Single Galleries
110 - 'flickr_hide_gallery_thumbnail' => '',
111 - 'flickr_hide_gallery_title' => '',
112 - 'flickr_hide_gallery_photo_count' => '',
113 + 'flickr_hide_gallery_thumbnail' => '',
114 + 'flickr_hide_gallery_title' => '',
115 + 'flickr_hide_gallery_photo_count' => '',
113 116
114 117 // Flickr - Photos on main page
115 - 'flickr_photo_title_display' => 'tooltip',
116 - 'flickr_photos_per_row_constraint' => 'padding',
117 - 'flickr_photos_constrain_by_padding' => '15',
118 - 'flickr_photos_constrain_by_count' => '5',
118 + 'flickr_photo_title_display' => 'tooltip',
119 + 'flickr_photos_per_row_constraint' => 'padding',
120 + 'flickr_photos_constrain_by_count' => '5',
119 121
120 122 // Flickr - Photos in overlay
121 - 'flickr_photo_pop_title_display' => 'tooltip',
122 - 'flickr_photos_pop_per_row_constraint' => 'padding',
123 - 'flickr_photos_pop_constrain_by_padding' => '15',
124 - 'flickr_photos_pop_constrain_by_count' => '5',
123 + 'flickr_photo_pop_title_display' => 'tooltip',
125 124
126 125 // SmugMug
127 - 'smug_api_key' => '',
128 - 'smug_api_secret' => '',
129 - 'smug_access_token' => '',
130 - 'smug_token_secret' => '',
131 - 'smug_default_user' => '',
132 - 'smug_media' => 'photos',
133 - 'smug_thumb_size' => 'Tiny',
134 - 'smug_main_size' => 'Largest',
135 - 'smug_tile_size' => 'same',
136 - 'smug_video_size' => 'Largest',
137 - 'smug_disable_title_link' => '',
138 - 'smug_show_buy_link' => '',
139 - 'smug_title_caption' => 'title-desc',
126 + 'smug_api_key' => '',
127 + 'smug_api_secret' => '',
128 + 'smug_access_token' => '',
129 + 'smug_token_secret' => '',
130 + 'smug_default_user' => '',
131 + 'smug_media' => 'photos',
132 + 'smug_thumb_size' => 'Tiny',
133 + 'smug_main_size' => 'Largest',
134 + 'smug_tile_size' => 'same',
135 + 'smug_video_size' => 'Largest',
136 + 'smug_disable_title_link' => '',
137 + 'smug_show_buy_link' => '',
138 + 'smug_title_caption' => 'title-desc',
139 + 'smug_layout_engine' => 'css',
140 140
141 141 // SmugMug - Multiple Albums
142 - 'smug_albums_album_title_display' => 'tooltip',
143 - 'smug_hide_albums_album_photos_count_display' => '',
144 - 'smug_hide_password_protected_thumbnail' => '',
145 - 'smug_album_sort_order' => 'Last Updated (Descending)',
146 - 'smug_albums_album_per_row_constraint' => 'padding',
147 - 'smug_albums_album_constrain_by_padding' => '15',
148 - 'smug_albums_album_constrain_by_count' => '5',
142 + 'smug_albums_album_title_display' => 'tooltip',
143 + 'smug_hide_albums_album_photos_count_display' => '',
144 + 'smug_hide_password_protected_thumbnail' => '',
145 + 'smug_album_sort_order' => 'Last Updated (Descending)',
146 + 'smug_albums_album_per_row_constraint' => 'padding',
147 + 'smug_albums_album_constrain_by_count' => '5',
149 148
150 149 // SmugMug - Multiple Photos
151 - 'smug_hide_album_thumbnail' => '',
152 - 'smug_hide_album_title' => '',
153 - 'smug_hide_album_photo_count' => '',
154 - 'smug_photo_title_display' => 'tooltip',
155 - 'smug_photos_per_row_constraint' => 'padding',
156 - 'smug_photos_constrain_by_padding' => '15',
157 - 'smug_photos_constrain_by_count' => '5',
150 + 'smug_hide_album_thumbnail' => '',
151 + 'smug_hide_album_title' => '',
152 + 'smug_hide_album_photo_count' => '',
153 + 'smug_photo_title_display' => 'tooltip',
154 + 'smug_photos_per_row_constraint' => 'padding',
155 + 'smug_photos_constrain_by_count' => '5',
158 156
159 157 // SmugMug - Multiple Photos in overlay
160 - 'smug_photo_pop_title_display' => 'tooltip',
161 - 'smug_photos_pop_per_row_constraint' => 'padding',
162 - 'smug_photos_pop_constrain_by_padding' => '15',
163 - 'smug_photos_pop_constrain_by_count' => '5',
158 + 'smug_photo_pop_title_display' => 'tooltip',
164 159
160 + // SmugMug - Advanced
161 + 'smug_nesting_levels' => '5',
162 +
165 163 // Google
166 - 'google_client_id' => '',
167 - 'google_client_secret' => '',
168 - 'google_refresh_token' => '',
169 - 'google_media' => 'photos',
170 - 'google_hide_album_photo_count_display' => '',
171 - 'google_title_caption' => 'title',
172 - 'google_chain_queries' => '',
164 + 'google_client_id' => '',
165 + 'google_client_secret' => '',
166 + 'google_refresh_token' => '',
167 + 'google_media' => 'photos',
168 + 'google_hide_album_photo_count_display' => '',
169 + 'google_title_caption' => 'title',
170 + 'google_chain_queries' => '',
171 + 'google_layout_engine' => 'css',
173 172
174 173 // Google - Photos
175 - 'google_photo_title_display' => 'tooltip',
176 - 'google_photos_per_row_constraint' => 'padding',
177 - 'google_photos_constrain_by_padding' => '15',
178 - 'google_photos_constrain_by_count' => '5',
174 + 'google_photo_title_display' => 'tooltip',
175 + 'google_photos_per_row_constraint' => 'padding',
176 + 'google_photos_constrain_by_count' => '5',
179 177
180 178 // Google - Photos in overlay
181 - 'google_photo_pop_title_display' => 'tooltip',
182 - 'google_photos_pop_per_row_constraint' => 'padding',
183 - 'google_photos_pop_constrain_by_padding' => '15',
184 - 'google_photos_pop_constrain_by_count' => '5',
179 + 'google_photo_pop_title_display' => 'tooltip',
185 180
186 181 // Zenfolio
187 - 'zenfolio_default_user' => '',
188 - 'zenfolio_media' => 'photos',
189 - 'zenfolio_disable_title_link' => '',
190 - 'zenfolio_photos_per_row_constraint' => 'padding',
191 - 'zenfolio_photos_constrain_by_padding' => '15',
192 - 'zenfolio_photos_constrain_by_count' => '5',
193 - 'zenfolio_thumb_size' => '1',
194 - 'zenfolio_main_size' => '4',
195 - 'zenfolio_tile_size' => 'same',
196 - 'zenfolio_video_size' => '210',
197 - 'zenfolio_photo_title_display' => 'tooltip',
198 - 'zenfolio_title_caption' => 'title',
182 + 'zenfolio_default_user' => '',
183 + 'zenfolio_media' => 'photos',
184 + 'zenfolio_disable_title_link' => '',
185 + 'zenfolio_photos_per_row_constraint' => 'padding',
186 + 'zenfolio_photos_constrain_by_count' => '5',
187 + 'zenfolio_thumb_size' => '1',
188 + 'zenfolio_main_size' => '4',
189 + 'zenfolio_tile_size' => 'same',
190 + 'zenfolio_video_size' => '210',
191 + 'zenfolio_photo_title_display' => 'tooltip',
192 + 'zenfolio_title_caption' => 'title',
193 + 'zenfolio_layout_engine' => 'css',
199 194
200 195 // Zenfolio - Groups
201 - 'zenfolio_hide_empty_groups' => '',
202 - 'zenfolio_hide_group_title' => '',
203 - 'zenfolio_link_group_page' => '',
204 - 'zenfolio_hide_group_photo_count' => '',
205 - 'zenfolio_hide_group_group_count' => '',
206 - 'zenfolio_hide_group_set_count' => '',
196 + 'zenfolio_hide_empty_groups' => '',
197 + 'zenfolio_hide_group_title' => '',
198 + 'zenfolio_link_group_page' => '',
199 + 'zenfolio_hide_group_photo_count' => '',
200 + 'zenfolio_hide_group_group_count' => '',
201 + 'zenfolio_hide_group_set_count' => '',
207 202
208 203 // Zenfolio - Sets
209 - 'zenfolio_set_title_display' => 'tooltip',
210 - 'zenfolio_hide_set_photos_count_display' => '',
211 - 'zenfolio_hide_password_protected_thumbnail' => '',
212 - 'zenfolio_sets_per_row_constraint' => 'padding',
213 - 'zenfolio_sets_constrain_by_padding' => '15',
214 - 'zenfolio_sets_constrain_by_count' => '5',
204 + 'zenfolio_set_title_display' => 'tooltip',
205 + 'zenfolio_hide_set_photos_count_display' => '',
206 + 'zenfolio_hide_password_protected_thumbnail' => '',
207 + 'zenfolio_sets_per_row_constraint' => 'padding',
208 + 'zenfolio_sets_constrain_by_count' => '5',
215 209
216 210 // Zenfolio - Single set
217 - 'zenfolio_hide_set_thumbnail' => '',
218 - 'zenfolio_hide_set_title' => '',
219 - 'zenfolio_link_set_page' => '',
220 - 'zenfolio_hide_set_photo_count' => '',
211 + 'zenfolio_hide_set_thumbnail' => '',
212 + 'zenfolio_hide_set_title' => '',
213 + 'zenfolio_link_set_page' => '',
214 + 'zenfolio_hide_set_photo_count' => '',
221 215
222 216 // Instagram
223 - 'instagram_access_token' => '',
224 - 'instagram_media' => 'photos',
225 - 'instagram_disable_title_link' => '',
226 - 'instagram_main_size' => 'standard_resolution',
227 - 'instagram_video_size' => 'standard_resolution',
228 - 'instagram_tile_size' => 'same',
229 - 'instagram_photo_title_display' => 'tooltip',
230 - 'instagram_photos_per_row_constraint' => 'padding',
231 - 'instagram_photos_constrain_by_padding' => '15',
232 - 'instagram_photos_constrain_by_count' => '5',
217 + 'instagram_access_token' => '',
218 + 'instagram_media' => 'photos',
219 + 'instagram_disable_title_link' => '',
220 + 'instagram_carousel_caption_position' => 'none',
221 + 'instagram_video_size' => 'standard_resolution',
222 + 'instagram_tile_size' => 'same',
223 + 'instagram_photo_title_display' => 'tooltip',
233 224
225 + // DeviantArt
226 + 'deviantart_client_id' => '',
227 + 'deviantart_client_secret' => '',
228 + 'deviantart_refresh_token' => '',
229 +
234 230 // Lightbox - common
235 - 'slideshow_mode' => '',
236 - 'slideshow_interval' => '5000',
237 - 'lightbox_no_loop' => '',
238 - 'deep_linking' => 'no-history',
239 - 'social_media' => '',
231 + 'slideshow_mode' => '',
232 + 'slideshow_interval' => '5000',
233 + 'lightbox_no_loop' => '',
234 + 'deep_linking' => 'no-history',
235 + 'social_media' => '',
240 236
241 237 // Lightbox - Colorbox
242 - 'cbox_theme' => '1',
243 - 'cb_transition_effect' => 'elastic',
244 - 'cb_transition_speed' => '350',
238 + 'cbox_theme' => '1',
239 + 'cb_transition_effect' => 'elastic',
240 + 'cb_transition_speed' => '350',
245 241
246 242 // Lightbox - FancyBox 1 / 2 / 3
247 - 'fbox_title_position' => 'inside',
248 - 'fb3_transition_effect' => 'fade',
249 - 'fb3_transition_speed' => '366',
250 - 'fb3_disable_zoom' => '',
251 - 'fb3_disable_slideshow' => '',
252 - 'fb3_show_fullscreen' => '',
253 - 'enable_fb3_fullscreen' => '',
254 - 'fb3_enable_download' => '',
255 - 'fb3_hide_thumbs' => '',
256 - 'enable_fb3_thumbnail' => '',
257 - 'fb3_disable_right_click' => '',
243 + 'fbox_title_position' => 'inside',
244 + 'fb3_transition_effect' => 'fade',
245 + 'fb3_transition_speed' => '366',
246 + 'fb3_disable_zoom' => '',
247 + 'fb3_disable_slideshow' => '',
248 + 'fb3_show_fullscreen' => '',
249 + 'enable_fb3_fullscreen' => '',
250 + 'fb3_enable_download' => '',
251 + 'fb3_hide_thumbs' => '',
252 + 'enable_fb3_thumbnail' => '',
253 + 'fb3_disable_right_click' => '',
258 254
259 255 // Lightbox - Lightcase
260 - 'lc_transition_effect' => 'scrollHorizontal',
261 - 'lc_transition_speed_in' => '350',
262 - 'lc_transition_speed_out' => '250',
263 - 'lc_enable_shrink' => '',
256 + 'lc_transition_effect' => 'scrollHorizontal',
257 + 'lc_transition_speed_in' => '350',
258 + 'lc_transition_speed_out' => '250',
259 + 'lc_enable_shrink' => '',
264 260
265 261 // Lightbox - LightGallery
266 - 'enable_lg_transitions' => '',
267 - 'lg_transition_effect' => 'lg-slide',
268 - 'lg_transition_speed' => 10,
269 - 'enable_lg_autoplay' => '',
270 - 'enable_lg_fullscreen' => '',
271 - 'enable_lg_thumbnail' => '',
272 - 'enable_lg_zoom' => '',
273 - 'disable_lg_download' => '',
274 - 'lg_hide_bars_delay' => '6000',
262 + 'enable_lg_transitions' => '',
263 + 'lg_transition_effect' => 'lg-slide',
264 + 'lg_transition_speed' => 10,
265 + 'enable_lg_autoplay' => '',
266 + 'enable_lg_fullscreen' => '',
267 + 'enable_lg_thumbnail' => '',
268 + 'enable_lg_zoom' => '',
269 + 'disable_lg_download' => '',
270 + 'lg_mobile_show_controls' => '',
271 + 'lg_mobile_show_close' => '',
272 + 'lg_mobile_show_download' => '',
273 + 'lg_hide_bars_delay' => '6000',
275 274
276 275 // Lightbox - PrettyPhoto
277 - 'pphoto_theme' => 'pp_default',
278 - 'pp_animation_speed' => 'Fast',
276 + 'pphoto_theme' => 'pp_default',
277 + 'pp_animation_speed' => 'Fast',
279 278
279 + // Lightbox - Spotlight
280 + 'sp_download' => '',
281 + 'sp_hide_bars' => '',
282 +
280 283 // Lightbox - SwipeBox
281 - 'enable_swipebox_mobile_bars' => '',
282 - 'sb_hide_mobile_close' => '',
283 - 'sb_hide_bars_delay' => 0,
284 + 'enable_swipebox_mobile_bars' => '',
285 + 'sb_hide_mobile_close' => '',
286 + 'sb_hide_bars_delay' => 0,
287 +
288 + // Lightbox - VenoBox
289 + 'vb_display_vertical_scroll' => '',
290 + 'vb_title_position' => 'bottom',
291 + 'vb_title_style' => 'bar'
284 292 ];
285 293 }
286 294
287 - static function get_options_pages() {
295 + public static function get_options_pages(): array {
288 296 return [
289 297 // Generic
290 298 'generic-how-to',
291 299 'generic-settings',
@@ -312,8 +320,9 @@
312 320 'smug-settings',
313 321 'smug-albums',
314 322 'smug-photos',
315 323 'smug-photos-pop',
324 + 'smug-advanced',
316 325
317 326 // Google Photos
318 327 'google-settings',
319 328 'google-photos',
@@ -327,8 +336,12 @@
327 336
328 337 // Instagram
329 338 'instagram-settings',
330 339
340 + // DeviantArt
341 + 'deviantart-how-to',
342 + 'deviantart-settings',
343 +
331 344 // Lightboxes
332 345 'lb-settings',
333 346 'lb-cb-settings',
334 347 'lb-fb-settings',
@@ -334,19 +347,17 @@
334 347 'lb-fb-settings',
335 348 'lb-lc-settings',
336 349 'lb-lg-settings',
337 350 'lb-pp-settings',
351 + 'lb-sp-settings',
338 352 'lb-sb-settings',
353 + 'lb-vb-settings',
339 354
340 355 ];
341 356 }
342 357
343 - static function default_border() {
344 - $ret = [
345 - 'top' => ['colortype' => 'transparent', 'color' => '#c0c0c0', 'style' => 'none', 'border-width' => 0, 'border-width-type' => 'px'],
346 - 'right' => ['colortype' => 'transparent', 'color' => '#c0c0c0', 'style' => 'none', 'border-width' => 0, 'border-width-type' => 'px'],
347 - 'bottom' => ['colortype' => 'custom', 'color' => '#c0c0c0', 'style' => 'none', 'border-width' => 0, 'border-width-type' => 'px'],
348 - 'left' => ['colortype' => 'transparent', 'color' => '#c0c0c0', 'style' => 'none', 'border-width' => 0, 'border-width-type' => 'px'],
358 + public static function get_migrated_options(): array {
359 + return [
360 + 'slideshow_library' => Photonic::$lightbox_replacements
349 361 ];
350 - return $ret;
351 362 }
352 363 }