PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 2.30
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v2.30
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
photonic / options / generic-options.php

generic-options.php in Photonic Gallery & Lightbox for Flickr, SmugMug & Others 2.30, at options/generic-options.php

445 lines 22.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 global $photonic_setup_options, $photonic_generic_options;
3
4 $photonic_generic_options = array(
5 array('name' => "How To",
6 'desc' => "Control generic settings for the plugin",
7 'category' => 'generic-how-to',
8 'buttons' => 'no-buttons',
9 'type' => 'section',),
10
11 array('name' => "Creating a gallery",
12 'desc' => "Photonic lets you create a gallery via a <strong><em>Gutenberg Block</em></strong>:<br/><br/>
13 <img src='".PHOTONIC_URL."/screenshot-1.png' style='max-width: 300px;'/><br/><br/>
14 Alternatively, if you are using the <strong><em>Classic Editor</em></strong> you can use the <em>Add / Edit Photonic Gallery</em> button:<br/><br/>
15 <img src='".PHOTONIC_URL."/screenshot-2.jpg' style='max-width: 300px;'/><br/><br/>
16 You will be presented with the following:<br/><br/>
17 <img src='".PHOTONIC_URL."/screenshot-3.png' style='max-width: 500px;'/>",
18 'grouping' => 'generic-how-to',
19 'type' => 'blurb',),
20
21 array('name' => "Generic settings",
22 'desc' => "Control generic settings for the plugin",
23 'category' => 'generic-settings',
24 'type' => 'section',),
25
26 array('name' => "Custom Shortcode",
27 'desc' => "If you are using the <strong><em>Classic Editor</em></strong> by default Photonic uses the <code>gallery</code> shortcode,
28 so that your galleries stay safe if you stop using Photonic.
29 But your theme or other plugins might be using the same shortcode too. In such a case define an explicit shortcode,
30 and only this shortcode will show Photonic galleries",
31 'id' => "alternative_shortcode",
32 'grouping' => 'generic-settings',
33 'type' => 'text'),
34
35 array('name' => "Inbuilt Lightbox libraries",
36 'desc' => "Photonic lets you choose from the following JS libraries for Lightbox effects:",
37 'id' => "slideshow_library",
38 'grouping' => 'generic-settings',
39 'type' => 'radio',
40 'options' => array(
41 "colorbox" => "<a href='http://colorpowered.com/colorbox/'>Colorbox</a> &ndash; ~10KB JS, ~5KB CSS: Released under the MIT license.",
42 "fancybox" => "<a href='http://fancybox.net/'>FancyBox</a> &ndash; ~16KB JS, ~9KB CSS: Released under MIT and GPL licenses.",
43 "fancybox3" => "<a href='https://fancyapps.com/fancybox/3/'>FancyBox 3</a> &ndash; ~61KB JS, ~14KB CSS: Released under the GPL v3 license.",
44 "featherlight" => "<a href='http://noelboss.github.io/featherlight/'>Featherlight</a> &ndash; ~12KB JS, ~4KB CSS: Released under the MIT license.",
45 // "fluidbox" => "<a href='https://terrymun.github.io/Fluidbox/'>Fluidbox</a> &ndash; ~10KB JS, ~4KB CSS: Released under the MIT license.",
46 // "galleria" => "<a href='https://galleria.io/'>Galleria</a> &ndash; ~72KB JS (+ Theme), ~5KB CSS: Released under the MIT license.",
47 "imagelightbox" => "<a href='https://osvaldas.info/image-lightbox-responsive-touch-friendly'>Image Lightbox</a> &ndash; ~6KB JS, ~5KB CSS: Released under the MIT license. No video support.",
48 "lightcase" => "<a href='http://cornel.bopp-art.com/lightcase/'>LightCase</a> &ndash; ~25KB JS, ~16KB CSS: Released under the GPL license.",
49 "lightgallery" => "<a href='https://sachinchoolur.github.io/lightGallery/'>Lightgallery</a> &ndash; ~18KB JS (+ Optional plugins), ~20KB CSS, ~20KB fonts: Released under the GPL v3 license.",
50 "magnific" => "<a href='http://dimsemenov.com/plugins/magnific-popup/'>Magnific Popup</a> &ndash; ~20KB JS, ~7KB CSS: Released under the MIT license.",
51 "photoswipe" => "<a href='http://photoswipe.com/'>PhotoSwipe</a> &ndash; ~42KB JS, ~4KB CSS: Released under the MIT license. No video support for Flickr.",
52 "prettyphoto" => "<a href='http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/'>PrettyPhoto</a> &ndash; ~23KB JS, ~27KB CSS: Released under the GPL v2.0 license. YouTube and Vimeo supported, but no support for videos from Flickr etc.",
53 "swipebox" => "<a href='http://brutaldesign.github.io/swipebox/'>Swipebox</a> &ndash; ~12KB, ~5KB CSS: Released under the MIT license.",
54 "thickbox" => "Thickbox &ndash; ~12KB: Released under the MIT license. No video support.",
55 "none" => "None",
56 "custom" => "Non-bundled &nbsp; You have to provide the JS and CSS links. See <a href='https://aquoid.com/plugins/photonic/third-party-lightboxes/'>here</a> for instructions",
57 )),
58
59 array('name' => "Non-bundled Lightbox libraries",
60 'desc' => "If you don't like the above libraries, you can try one of the following. These are not distributed with the theme for various reasons,
61 predominant being licensing restrictions. <strong>Photonic doesn't support installation of these scripts</strong>. If you want to use them,
62 you will need to specify their JS and CSS files in subsequent options, unless they come bundled with your theme.",
63 'id' => "custom_lightbox",
64 'grouping' => 'generic-settings',
65 'type' => 'radio',
66 'options' => array(
67 "fancybox2" => "<a href='http://fancyapps.com/fancybox/'>FancyBox 2</a>: Released under the CC-BY-NC 3.0 license",
68 "strip" => "<a href='http://www.stripjs.com/'>Strip</a>: Released under the CC-BY-NC-ND 3.0 license. YouTube and Vimeo supported, but no support for videos from Flickr etc.",
69 )),
70
71 array('name' => "Non-bundled Lightbox JS",
72 'desc' => "If you have chosen a custom lightbox library from the above, enter the full URLs of the JS files for each of them.
73 <strong>Please enter one URL per line</strong>. Note that your URL should start with <code>http://...</code> and you should be able to visit that entry in a browser",
74 'id' => "custom_lightbox_js",
75 'grouping' => 'generic-settings',
76 'type' => 'textarea'),
77
78 array('name' => "Custom Lightbox CSS",
79 'desc' => "If you have chosen a custom lightbox library from the above, enter the full URLs of the CSS files for each of them.
80 <strong>Please enter one URL per line</strong>. Note that your URL should start with <code>http://...</code> and you should be able to visit that entry in a browser",
81 'id' => "custom_lightbox_css",
82 'grouping' => 'generic-settings',
83 'type' => 'textarea'),
84
85 array('name' => "Don't include third-party lightbox scripts",
86 'desc' => "If your theme or another plugin is supplying a lightbox script from the list above, you have the option to disable loading the same script from Photonic. <strong>This will save you some bandwidth, but you will have to work with the support for your theme or the other plugin to resolve issues.</strong>",
87 'id' => "disable_photonic_lightbox_scripts",
88 'grouping' => 'generic-settings',
89 'type' => 'checkbox'
90 ),
91
92 array('name' => "Don't include third-party slider scripts",
93 'desc' => "If your theme or another plugin is supplying the <a href='https://sachinchoolur.github.io/lightslider/'>LightSlider script</a> (used for slideshow layouts), you have the option to disable loading the same script from Photonic. <strong>This will save you some bandwidth, but you will have to work with the support for your theme or the other plugin to resolve issues.</strong>",
94 'id' => "disable_photonic_slider_scripts",
95 'grouping' => 'generic-settings',
96 'type' => 'checkbox'
97 ),
98
99 array('name' => "Photonic Lightbox for non-Photonic Images",
100 'desc' => "Selecting this will let you use Photonic's lightbox for non-Photonic images. This eliminates the need for a separate lightbox plugin.",
101 'id' => "lightbox_for_all",
102 'grouping' => 'generic-settings',
103 'type' => 'checkbox'
104 ),
105
106 array('name' => "Photonic Lightbox for non-Photonic videos (YouTube / Vimeo etc.)",
107 'desc' => "Selecting this will let you use Photonic's lightbox for YouTube / Vimeo or self-hosted videos. This eliminates the need for a separate lightbox plugin.",
108 'id' => "lightbox_for_videos",
109 'grouping' => 'generic-settings',
110 'type' => 'checkbox'
111 ),
112
113 array('name' => "Include Photonic JS for non-Photonic Images / Videos",
114 'desc' => "By default Photonic's JavaScript is only loaded on pages that have Photonic galleries. This will cause issues on pages that have no Photonic galleries but are using Photonic for non-Photonic images. By checking this option you will be including the JS on all pages regardless of whether they have Photonic galleries.
115 Alternatively if you don't want to load the scripts on all pages, you can create a blank shortcode at the top of your post with the photos this way:
116 <ol>
117 <li>If you are using the <code>gallery</code> shortcode put in <code>[gallery style='square']</code></li>
118 <li>If you are using a custom shortcode from the first option on this page, e.g. <code>photonic</code> put in <code>[photonic]</code></li>
119 </ol>
120 Creating a blank shortcode will ensure that this page will get the scripts, and will not load the script on other pages.",
121 'id' => "always_load_scripts",
122 'grouping' => 'generic-settings',
123 'type' => 'checkbox'
124 ),
125
126 array('name' => "Force JS in header when possible",
127 'desc' => "By default Photonic's JavaScript is loaded in the footer. For themes including RetinaJS this causes a conflict due to a <a href='https://github.com/strues/retinajs/issues/260'>bug in RetinaJS</a>. Selecting this option addresses this bug, <strong>however this requires the previous option (<em>Include Photonic JS for non-Photonic Images / Videos</em>) to be selected</strong>.",
128 'id' => "js_in_header",
129 'grouping' => 'generic-settings',
130 'type' => 'checkbox'
131 ),
132
133 array('name' => "Disable shortcode editing in Visual Editor",
134 'desc' => "Occasionally the shortcode editor might cause JavaScript conflicts with other plugins. If that happens, select this option. Note that even if this option is selected, <strong>you will see a \"No items found\" message in the visual editor. Your gallery will still work, and you can edit the shortcode via the \"Text Editor\"</strong>.",
135 'id' => "disable_editor",
136 'grouping' => 'generic-settings',
137 'type' => 'checkbox'
138 ),
139
140 array('name' => "Disable Visual Editing for specific post types",
141 'desc' => "If you have disabled the Visual Editor in the previous option, you can selectively disable the editor for specific post types. <strong>Not selecting anything will keep it disabled for all post types.</strong> Note that you can still edit the shortcode via the \"Text Editor\".",
142 'id' => "disable_editor_post_type",
143 'grouping' => 'generic-settings',
144 'options' => Photonic::get_formatted_post_type_array(),
145 'type' => "multi-select"
146 ),
147
148 array('name' => "Use traditional interface for editing in Visual Editor",
149 'desc' => 'If shortcode editing in the visual editor is permitted (globally or for a post type in the above options), this option will show you a flat list of all attributes instead of workflow-type data entry.',
150 'id' => "disable_flow_editor",
151 'grouping' => 'generic-settings',
152 'type' => 'checkbox'
153 ),
154
155 array('name' => "Globally turn off Workflow Editor",
156 'desc' => 'If selected, the only way to add galleries will be via <em>Add Media &rarr; Photonic</em>.',
157 'id' => "disable_flow_editor_global",
158 'grouping' => 'generic-settings',
159 'type' => 'checkbox'
160 ),
161
162 array('name' => "Nested Shortcodes in parameters",
163 'desc' => "Allow parameters of the gallery shortcode to use shortcodes themselves",
164 'id' => "nested_shortcodes",
165 'grouping' => 'generic-settings',
166 'type' => 'checkbox'
167 ),
168
169 array('name' => "External Link Handling",
170 'desc' => "Let the links to external sites (like Flickr or Instagram) open in a new tab/window.",
171 'id' => "external_links_in_new_tab",
172 'grouping' => 'generic-settings',
173 'type' => 'checkbox'
174 ),
175
176 array('name' => "Custom CSS in its own file",
177 'desc' => "When selected, Photonic will try to save the custom CSS generated through options to a file, <code>".trailingslashit(PHOTONIC_UPLOAD_DIR)."custom-styles.css</code>. You can use that file for caching.",
178 'id' => "css_in_file",
179 'grouping' => 'generic-settings',
180 'type' => 'checkbox'
181 ),
182
183 array('name' => "Layouts",
184 'desc' => "Set up your layouts",
185 'category' => "layout-settings",
186 'type' => 'section',),
187
188 array('name' => "Archive View Thumbnails",
189 'desc' => "How many images do you want to show per gallery at the most on archive views (e.g. Blog page, Category, Date, Tag or Author views)? All thumbnails will be visible when the post is viewed in full.",
190 'id' => "archive_thumbs",
191 'grouping' => "layout-settings",
192 'type' => 'text',
193 'hint' => "Leave blank or 0 to not restrict the number",
194 ),
195
196 array('name' => "Link to see remaining photos",
197 'desc' => "Hide the button to show remaining photos from the archive page",
198 'id' => "archive_link_more",
199 'grouping' => "layout-settings",
200 'type' => 'checkbox',
201 ),
202
203 array('name' => "Image layout",
204 'desc' => "If no gallery layout is specified, the following selection will be used:",
205 'id' => "thumbnail_style",
206 'grouping' => "layout-settings",
207 'type' => 'select',
208 'options' => Photonic::layout_options(),
209 'hint' => 'The first four options trigger a slideshow, the rest trigger a lightbox.'
210 ),
211
212 array('name' => "Square / Circle Grid - Thumbnail Effect",
213 'desc' => "The following effect will be used for thumbnails in a square or circular thumbnail grid",
214 'id' => "standard_thumbnail_effect",
215 'grouping' => "layout-settings",
216 'type' => 'radio',
217 'options' => array(
218 'none' => 'Thumbnails will be displayed as they are',
219 'opacity' => 'Thumbnails will show up opaque, opacity will clear upon hovering',
220 'zoom' => 'Thumbnails will zoom in upon hovering - will not work for square thumbs with title shown below image, and for any circular thumbs',
221 ),
222 ),
223
224 array('name' => "Random Justified Gallery - Padding",
225 'desc' => "How much spacing do you want around each photo? This is only applicable to <strong>Random Justified Galleries</strong>. The gap between two photos is double this value.",
226 'id' => "tile_spacing",
227 'grouping' => "layout-settings",
228 'type' => 'text',
229 'hint' => "Enter the number of pixels here (don't enter 'px').",
230 ),
231
232 array('name' => "Random Justified Gallery - Minimum Tile height",
233 'desc' => "What is the minimum height in pixels you want to make your random tiles? By default Photonic tries to assign a height that is 1/4 of the browser window, or 200px, whichever is greater. This is only applicable to <strong>Random Tiled Galleries</strong>. Use lower values if your content window is narrow.",
234 'id' => "tile_min_height",
235 'grouping' => "layout-settings",
236 'type' => 'text',
237 'hint' => "Enter the number of pixels here (don't enter 'px').",
238 ),
239
240 array('name' => "Random Justified Gallery - Thumbnail Effect",
241 'desc' => "The following effect will be used for tiles in a Random Justified Gallery",
242 'id' => "justified_thumbnail_effect",
243 'grouping' => "layout-settings",
244 'type' => 'radio',
245 'options' => array(
246 'none' => 'Tiles will be displayed as they are',
247 'opacity' => 'Tiles will show up opaque, opacity will clear upon hovering',
248 'zoom' => 'Tiles will zoom in upon hovering',
249 ),
250 ),
251
252 array('name' => "Masonry Layout - Padding",
253 'desc' => "How much spacing do you want around each photo? This is only applicable to <strong>Masonry layouts</strong>. The gap between two photos is double this value.",
254 'id' => "masonry_tile_spacing",
255 'grouping' => "layout-settings",
256 'type' => 'text',
257 'hint' => "Enter the number of pixels here (don't enter 'px').",
258 ),
259
260 array('name' => "Masonry Layout - Minimum Column Width",
261 'desc' => "What is the minimum width in pixels you want to make your columns in the <strong>Masonry</strong> layout? This drives responsive design.",
262 'id' => "masonry_min_width",
263 'grouping' => "layout-settings",
264 'type' => 'text',
265 'hint' => "Enter the number of pixels here (don't enter 'px').",
266 ),
267
268 array('name' => "Masonry Layout - Thumbnail Effect",
269 'desc' => "The following effect will be used for tiles in a Masonry Layout",
270 'id' => "masonry_thumbnail_effect",
271 'grouping' => "layout-settings",
272 'type' => 'radio',
273 'options' => array(
274 'none' => 'Tiles will be displayed as they are',
275 'opacity' => 'Tiles will show up opaque, opacity will clear upon hovering',
276 'zoom' => 'Tiles will zoom in upon hovering (will not work if titles are displayed below the tile)',
277 ),
278 ),
279
280 array('name' => "Mosaic Layout - Padding",
281 'desc' => "How much spacing do you want around each photo? This is only applicable to <strong>Mosaic layouts</strong>. The gap between two photos is double this value.",
282 'id' => "mosaic_tile_spacing",
283 'grouping' => "layout-settings",
284 'type' => 'text',
285 'hint' => "Enter the number of pixels here (don't enter 'px'). Set to &gt; 0 to avoid rounding errors in the layout.",
286 ),
287
288 array('name' => "Mosaic Layout - Trigger width",
289 'desc' => "If your content is narrow, you might not want too many images in a row for the <strong>Mosaic Layout</strong>. The Trigger Width controls this behaviour. If your content is 600px wide, and you set the Trigger width to 150, Photonic will not try to fit more than 4 (= 600/150) tiles in a mosaic row.",
290 'id' => "mosaic_trigger_width",
291 'grouping' => "layout-settings",
292 'type' => 'text',
293 'hint' => "Enter the number of pixels here (don't enter 'px').",
294 ),
295
296 array('name' => "Mosaic Layout - Thumbnail Effect",
297 'desc' => "The following effect will be used for tiles in a Mosaic layout",
298 'id' => "mosaic_thumbnail_effect",
299 'grouping' => "layout-settings",
300 'type' => 'radio',
301 'options' => array(
302 'none' => 'Tiles will be displayed as they are',
303 'opacity' => 'Tiles will show up opaque, opacity will clear upon hovering',
304 'zoom' => 'Tiles will zoom in upon hovering',
305 ),
306 ),
307
308 array('name' => "Native WP Galleries",
309 'desc' => "Control settings for native WP gallieries, invoked by <code>[gallery id='abc']</code>",
310 'category' => "wp-settings",
311 'type' => 'section',),
312
313 array('name' => "Photo titles and captions",
314 'desc' => "What do you want to show as the photo title in the tooltip and lightbox?",
315 'id' => "wp_title_caption",
316 'grouping' => "wp-settings",
317 'type' => 'select',
318 'options' => Photonic::title_caption_options(),),
319
320 array('name' => "Thumbnail Title Display",
321 'desc' => "How do you want the title of the Thumbnails displayed?",
322 'id' => "wp_thumbnail_title_display",
323 'grouping' => "wp-settings",
324 'type' => 'radio',
325 'options' => photonic_title_styles()),
326
327 array('name' => "Disable lightbox linking",
328 'desc' => "Check this to disable linking the photo title in the lightbox to the original photo page on your site.",
329 'id' => "wp_disable_title_link",
330 'grouping' => "wp-settings",
331 'type' => 'checkbox'),
332
333 array('name' => "Slideshow settings",
334 'desc' => "Control settings for the slideshow layout",
335 'category' => "sshow-settings",
336 'type' => 'section',),
337
338 array('name' => "Prevent Slideshow Autostart",
339 'desc' => "By default slideshows start playing automatically. Selecting this will prevent this behaviour.",
340 'id' => "slideshow_prevent_autostart",
341 'grouping' => "sshow-settings",
342 'type' => 'checkbox',
343 ),
344
345 array('name' => "Centre slideshow images",
346 'desc' => "If you pass the <code>layout</code> parameter (<code>style</code> for native WP galleries) to the <code>gallery</code> shortcode and the style is <code>strip-above</code>, <code>strip-below</code> or <code>no-strip</code> the image in the slide will be centered if you select this.",
347 'id' => "wp_slide_align",
348 'grouping' => "sshow-settings",
349 'type' => 'checkbox',
350 ),
351
352 array('name' => "Slideshow Image Adjustment",
353 'desc' => "If you are displaying a slideshow and your images are of uneven sizes, how do you want to handle the size differences?",
354 'id' => "wp_slide_adjustment",
355 'grouping' => "sshow-settings",
356 'type' => 'select',
357 'options' => array(
358 'side-white' => 'Show whitespace to the side for narrower images',
359 'start-next' => 'Start next image to cover whitespace for narrower images',
360 'adapt-height' => 'Dynamically change slideshow height according to the image size',
361 'adapt-height-width' => 'Dynamically change slideshow height and stretch images',
362 )),
363
364 array('name' => "Overlaid Popup Panel",
365 'desc' => "Control settings for popup panel",
366 'category' => "photos-pop",
367 'type' => 'section',),
368
369 array('name' => "What is this section?",
370 'desc' => "Options in this section are in effect when you click on a Photoset/album thumbnail to launch an overlaid gallery.",
371 'grouping' => "photos-pop",
372 'type' => "blurb",),
373
374 array('name' => "Enable Interim Popup for Album Thumbnails",
375 'desc' => "When you click on an Album / Photoset / Gallery, the lightbox automatically starts showing the images in the album. You can, instead, show an interim popup with all thumbnails for that album, then launch the lightbox upon clicking a thumbnail.",
376 'id' => "enable_popup",
377 'grouping' => "photos-pop",
378 'type' => 'checkbox'),
379
380 array('name' => "Overlaid (popup) Gallery Panel Width",
381 'desc' => "When you click on a gallery, it can launch a panel on top of your page. What is the width, <b>in percentage</b>, you want to assign to this gallery?",
382 'id' => "popup_panel_width",
383 'grouping' => "photos-pop",
384 'type' => 'select',
385 'options' => photonic_selection_range(1, 100)),
386
387
388 array('name' => "Overlaid (popup) Gallery Panel background",
389 'desc' => "Setup the background of the overlaid gallery (popup).",
390 'id' => "flickr_gallery_panel_background",
391 'grouping' => "photos-pop",
392 'type' => "background",
393 'options' => array(),
394 ),
395
396 array('name' => "Overlaid (popup) Gallery Border",
397 'desc' => "Setup the border of overlaid gallery (popup).",
398 'id' => "flickr_set_popup_thumb_border",
399 'grouping' => "photos-pop",
400 'type' => 'border',
401 'options' => array(),
402 ),
403
404 array('name' => "Advanced",
405 'desc' => "Control advanced settings for the plugin",
406 'category' => "advanced-settings",
407 'type' => 'section',),
408
409 array('name' => 'Turn off SSL verification in calls',
410 'desc' => "When selected, Photonic will not use SSL verification for secure calls. <strong>This is not recommended, and may only be used on development sites</strong>.",
411 'id' => 'ssl_verify_off',
412 'grouping' => "advanced-settings",
413 'type' => 'checkbox',
414 ),
415
416 array('name' => 'Increase cURL timeout',
417 'desc' => "By default cURL requests made by WordPress time out after 10 seconds. In some cases your hosting provider might be throttling the connection speed to external services such as Flickr. In such a case bump up the timeout to something like 30 in the option below.",
418 'id' => "curl_timeout",
419 'grouping' => "advanced-settings",
420 'type' => 'text',
421 ),
422
423 array('name' => 'Script Dev Mode',
424 'desc' => "By default Photonic loads minified versions of scripts. Select this option to load the full versions. This might help troubleshooting, or you may require this to play nice with minificaiton plugins.",
425 'id' => 'script_dev_mode',
426 'grouping' => "advanced-settings",
427 'type' => 'checkbox',
428 ),
429
430 array('name' => 'Performance logging',
431 'desc' => "When selected, Photonic will log performance statistics for various operations. This is useful for fine-tuning. Stats are printed as HTML comments under each gallery, invisible on the front-end.",
432 'id' => 'performance_logging',
433 'grouping' => "advanced-settings",
434 'type' => 'checkbox',
435 ),
436
437 array('name' => 'Turn on debug logging',
438 'desc' => "Turning this on helps troubleshoot error messages. <strong>This is not recommended, and may only be used on development sites</strong>.",
439 'id' => 'debug_on',
440 'grouping' => "advanced-settings",
441 'type' => 'checkbox',
442 ),
443 );
444
445