Download Monitor - Version 4.5.96

Version Description

  • 16.08.2022 = Changed: Show error on upload if file not OK ( https://github.com/WPChill/download-monitor/issues/995 ) Added: New settings field types ( https://github.com/WPChill/download-monitor/issues/1005 ) Fixed: Download link on SiteGround with CDN not working ( https://github.com/WPChill/download-monitor/issues/994 ) Fixed: Add parameter to filter for 3rd party payment gateway ( https://github.com/WPChill/download-monitor/issues/922 )
Download this release

Release Info

Developer raldea89
Plugin Icon 128x128 Download Monitor
Version 4.5.96
Comparing to
See all releases

Code changes from version 4.5.95 to 4.5.96

assets/css/admin.css CHANGED
@@ -1 +1 @@
1
- .post-type-dlm_download h1 a.dlm-delete-logs{color:#a00}.post-type-dlm_download h1 a.dlm-delete-logs:hover{color:#fff;background:#a00;border-color:#7c0900}.post-type-dlm_download .dlm-page-header{border-bottom:1px solid #ccc;padding:15px 20px;display:flex;justify-content:space-between;background:#fff;width:calc(100% + 20px);box-sizing:border-box;margin-left:-20px}.post-type-dlm_download .dlm-page-header .dlm-header-links{margin-left:-20px}.post-type-dlm_download .dlm-page-header .dlm-header-links a span{vertical-align:middle;position:relative;top:-2px;padding-right:10px}.post-type-dlm_download .dlm-page-header .dlm-header-logo img{max-height:35px}.post-type-dlm_download td.column-shortcode .hidden{display:none}#dlm_logs td{padding:7px 7px;vertical-align:middle}#dlm_logs .check-column{width:1%;padding:0;vertical-align:middle}#dlm_logs .column-status{width:2%}#dlm_logs td.column-status{font-size:10px;vertical-align:middle;text-align:center}#dlm_logs td.column-status span{color:#fff;font-weight:400;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;height:18px;line-height:18px;width:18px;display:inline-block;background:url('../images/log-status-icons.png') top left no-repeat}#dlm_logs td.column-status .completed{background-color:#6cc644}#dlm_logs td.column-status .failed{background-color:#bd2c00;background-position-y:-18px}#dlm_logs td.column-status .redirected{background-color:#1c769b;background-position-y:-36px}#dlm_logs td.column-user_agent,#dlm_logs td.column-user_ip{font-family:monospace;font-weight:400}#dlm_logs span.dlm-description{font-weight:400}#dlm_logs .column-download,#dlm_logs .column-file,#dlm_logs .column-user,#dlm_logs .column-user_ua{width:16%!important}#dlm_logs .column-date,#dlm_logs .column-user_ip{width:6%!important}.post-type-dlm_download .inline-edit-row .inline-edit-col-dlm .inline-edit-col-dlm-inner{margin-top:10px}.dlm-settings-sub-nav{margin:0 0 10px 0;width:100%;border-bottom:1px solid #ccc;box-shadow:0 1px 1px rgba(0,0,0,.04)}.dlm-settings-sub-nav li{margin-right:10px;margin-bottom:-2px}.dlm-settings-sub-nav a{padding:13px;display:block}.dlm-settings-sub-nav .active-section{margin-bottom:-2px}.dlm-settings-sub-nav .active-section a{border-bottom:4px solid #000;padding-bottom:9px;margin-bottom:-2px;font-weight:600}.admin-color-blue .dlm-settings-sub-nav .active-section a{border-bottom-color:#096484}.admin-color-coffee .dlm-settings-sub-nav .active-section a{border-bottom-color:#c7a589}.admin-color-ectoplasm .dlm-settings-sub-nav .active-section a{border-bottom-color:#a3b745}.admin-color-midnight .dlm-settings-sub-nav .active-section a{border-bottom-color:#e14d43}.admin-color-ocean .dlm-settings-sub-nav .active-section a{border-bottom-color:#627c83}.admin-color-sunrise .dlm-settings-sub-nav .active-section a{border-bottom-color:#be3631}.admin-color-light .dlm-settings-sub-nav .active-section a{border-bottom-color:#888}.admin-color-evergreen .dlm-settings-sub-nav .active-section a{border-bottom-color:#36533f}.admin-color-mint .dlm-settings-sub-nav .active-section a{border-bottom-color:#4f6d59}.admin-color-modern .dlm-settings-sub-nav .active-section a{border-bottom-color:#3858e9}.dlm-admin-settings #setting-dlm_decimal_separator,.dlm-admin-settings #setting-dlm_thousand_separator{width:50px}.dlm-admin-settings table td{padding:15px 0}.dlm-admin-settings h3{margin:2em 0 0}ul.download_monitor_file_browser{list-style:none outside;margin:0;border:1px solid #ddd;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#f9f9f9;padding:5px 5px;-moz-box-shadow:inset 0 0 0 1px #fff;-webkit-box-shadow:inset 0 0 0 1px #fff;box-shadow:inset 0 0 0 1px #fff}ul.download_monitor_file_browser li{padding:0;margin:0}ul.download_monitor_file_browser li a{color:#21759b;display:block;padding:4px 0 4px 4px;text-decoration:none}ul.download_monitor_file_browser li a:hover{background-color:#eaf2fa}ul.download_monitor_file_browser li a:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f123";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.folder:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f318";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-3g2:before,ul.download_monitor_file_browser li a.filetype-3gp:before,ul.download_monitor_file_browser li a.filetype-asf:before,ul.download_monitor_file_browser li a.filetype-asx:before,ul.download_monitor_file_browser li a.filetype-avi:before,ul.download_monitor_file_browser li a.filetype-mov:before,ul.download_monitor_file_browser li a.filetype-mp4:before,ul.download_monitor_file_browser li a.filetype-mpg:before,ul.download_monitor_file_browser li a.filetype-rm:before,ul.download_monitor_file_browser li a.filetype-srt:before,ul.download_monitor_file_browser li a.filetype-vob:before,ul.download_monitor_file_browser li a.filetype-wmv:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f126";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-aif:before,ul.download_monitor_file_browser li a.filetype-iff:before,ul.download_monitor_file_browser li a.filetype-m3u:before,ul.download_monitor_file_browser li a.filetype-m4a:before,ul.download_monitor_file_browser li a.filetype-mid:before,ul.download_monitor_file_browser li a.filetype-midi:before,ul.download_monitor_file_browser li a.filetype-mp3:before,ul.download_monitor_file_browser li a.filetype-mpa:before,ul.download_monitor_file_browser li a.filetype-ra:before,ul.download_monitor_file_browser li a.filetype-wav:before,ul.download_monitor_file_browser li a.filetype-wma:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f127";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-ai:before,ul.download_monitor_file_browser li a.filetype-bmp:before,ul.download_monitor_file_browser li a.filetype-dds:before,ul.download_monitor_file_browser li a.filetype-eps:before,ul.download_monitor_file_browser li a.filetype-gif:before,ul.download_monitor_file_browser li a.filetype-ico:before,ul.download_monitor_file_browser li a.filetype-jpeg:before,ul.download_monitor_file_browser li a.filetype-jpg:before,ul.download_monitor_file_browser li a.filetype-png:before,ul.download_monitor_file_browser li a.filetype-ps:before,ul.download_monitor_file_browser li a.filetype-psd:before,ul.download_monitor_file_browser li a.filetype-pspimage:before,ul.download_monitor_file_browser li a.filetype-svg:before,ul.download_monitor_file_browser li a.filetype-tga:before,ul.download_monitor_file_browser li a.filetype-thm:before,ul.download_monitor_file_browser li a.filetype-tif:before,ul.download_monitor_file_browser li a.filetype-yuv:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f128";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li.nofiles{color:#999;font-style:italic;padding:4px 0}ul.download_monitor_file_browser li ul{list-style:none outside;margin:0;padding:0 0 0 28px}ul.download_monitor_file_browser li ul.loading{background:url(../images/ajax-loader.gif) no-repeat 24px 0;height:32px}table.wp-list-table .column-thumb{width:44px;text-align:center;white-space:nowrap}table.wp-list-table .column-dlm_download_cat,table.wp-list-table .column-dlm_download_tag,table.wp-list-table .column-file{width:11%!important}table.wp-list-table .column-file,table.wp-list-table .column-title{width:17%!important}table.wp-list-table .column-download_id,table.wp-list-table .column-version{width:5em}table.wp-list-table th.column-download_count span:first-child,table.wp-list-table th.column-featured span:first-child,table.wp-list-table th.column-locked_download span:first-child,table.wp-list-table th.column-redirect_only span:first-child,table.wp-list-table th.column-thumb span:first-child{float:none;display:inline-block;width:1em;height:1em;line-height:1em;padding:2px 0 0 0;overflow:hidden}table.wp-list-table th.column-download_count .sorting-indicator,table.wp-list-table th.column-featured .sorting-indicator,table.wp-list-table th.column-locked_download .sorting-indicator,table.wp-list-table th.column-redirect_only .sorting-indicator,table.wp-list-table th.column-thumb .sorting-indicator{float:right}table.wp-list-table th.column-thumb{width:52px;text-align:center}table.wp-list-table th.column-thumb span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f128";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-download_count{width:5em}table.wp-list-table th.column-download_count span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f346";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-locked_download{width:3.5em}table.wp-list-table th.column-locked_download span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f160";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-redirect_only{width:3.5em}table.wp-list-table th.column-redirect_only span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f103";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-featured{width:3.5em}table.wp-list-table th.column-featured span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f155";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table td.column-download_count,table.wp-list-table td.column-featured,table.wp-list-table td.column-locked_download,table.wp-list-table td.column-redirect_only{text-align:left;padding-left:11px}table.wp-list-table td.column-download_count span.na,table.wp-list-table td.column-featured span.na,table.wp-list-table td.column-locked_download span.na,table.wp-list-table td.column-redirect_only span.na{color:#999;width:1em;height:1em;line-height:1em;display:inline-block;overflow:hidden;vertical-align:middle}table.wp-list-table td.column-download_count span.na:before,table.wp-list-table td.column-featured span.na:before,table.wp-list-table td.column-locked_download span.na:before,table.wp-list-table td.column-redirect_only span.na:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table td.column-download_count span.yes,table.wp-list-table td.column-featured span.yes,table.wp-list-table td.column-locked_download span.yes,table.wp-list-table td.column-redirect_only span.yes{width:1em;height:1em;line-height:1em;display:inline-block;overflow:hidden;vertical-align:middle}table.wp-list-table td.column-download_count span.yes:before,table.wp-list-table td.column-featured span.yes:before,table.wp-list-table td.column-locked_download span.yes:before,table.wp-list-table td.column-redirect_only span.yes:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f147";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table .column-thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:32px;height:32px}#download-monitor-file .inside{padding:0;margin:0}#download-monitor-file .dlm-metaboxes-wrapper .close_all,#download-monitor-file .dlm-metaboxes-wrapper .expand_all{float:right;margin-left:1em;line-height:22px;text-decoration:none}#download-monitor-file .dlm-metaboxes-wrapper .expand_all:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f168";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .close_all:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar a.button{float:left;margin:0}#download-monitor-file .dlm-metaboxes-wrapper .fr,#download-monitor-file .dlm-metaboxes-wrapper button.add_attribute,#download-monitor-file .dlm-metaboxes-wrapper button.add_variable_attribute,#download-monitor-file .dlm-metaboxes-wrapper select.attribute_taxonomy{float:right;margin:0 0 0 6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metaboxes{padding:0 12px 0}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin:9px 0;border-width:1px;border-style:dashed}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox{background:#ececec;border:1px solid #ececec;margin:9px 0!important}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox .dlm-blury:before{content:url('../images/ajax-loader.gif');display:block;position:absolute;top:50%;transform:translateY(-50%);width:100%;left:0;margin:0 auto;color:#cecece;text-align:center;z-index:11;font-size:16px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox .dlm-blury:after{content:"";display:block;background:rgba(0,0,0,.5);width:100%;top:0;left:0;margin:0 auto;height:100%;z-index:10;position:absolute}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3{margin:0!important;padding:6px!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 button{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 strong{line-height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 select{font-family:sans-serif}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 .handlediv{background-position:6px 5px!important;display:none!important;height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:hover h3 .handlediv{display:block}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table{width:100%;position:relative;background:#fff;padding:3px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td{text-align:left;padding:6px 6px;vertical-align:top;border:0;line-height:26px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td label{text-align:left;display:block;line-height:21px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input{float:left;min-width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{height:7.5em}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td select{width:100%}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.short{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.checkbox{width:auto;min-width:inherit;vertical-align:middle;display:inline;float:none}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.date-picker-field{width:50%;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.hour,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.minute{width:2em;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td.attribute_name{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .minus,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .plus{margin-top:6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fl{float:left}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fr{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:first-child h3{background-color:#fafafa;border-bottom:1px solid #dcdcde}#download-monitor-file .dlm-metaboxes-wrapper .plus:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f132";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .minus:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_upload_file:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f317";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_media_library:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f104";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_browse_for_file{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm_browse_for_file:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f322";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-information .dlm_information_panel div p{overflow:hidden;width:100%;font-weight:700;box-sizing:border-box;line-height:28px;margin-bottom:5px}#download-monitor-information .dlm_information_panel input{margin:0;border-top-right-radius:0;border-bottom-right-radius:0;flex-grow:1;width:calc(100% - 45px)}#download-monitor-product-information .dlm_information_panel div p{overflow:hidden;width:100%;font-weight:700;box-sizing:border-box;line-height:28px;margin-bottom:5px}#download-monitor-product-information .dlm_information_panel input{margin:0;border-top-right-radius:0;border-bottom-right-radius:0;flex-grow:1;width:calc(100% - 45px)}#download-monitor-options .inside{padding:0;margin:0}#download-monitor-options .form-field-checkbox label{display:inline;padding:0 0 4px}#download-monitor-options .form-field-checkbox input{display:inline-block;width:auto;vertical-align:middle}#download-monitor-options .form-field-checkbox .dlm-description{padding:4px 0 0 0;display:block}#download-monitor-options .access_permissions{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-options .access_permissions h4{margin-bottom:.5em;margin:0 0 .5em}#download-monitor-options .access_permissions ul{background:#fff;border:1px solid #dfdfdf;height:110px;overflow:auto;padding:.5em .9em;margin:0}#download-monitor-options p{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-options p.not-active{opacity:.7}#download-monitor-options .options_upsell_link{color:unset;text-decoration:none}#download-monitor-options .dlm-upsell-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:5px;border-radius:10px}#insert-download{padding:20px 20px}#insert-download #drag-drop-area,#insert-download #insert-shortcode{margin:1em 0}#insert-download .error,#insert-download .updated{margin-left:0;margin-right:0}#insert-download h2{margin-top:0}#insert-download label{margin:0 0 .25em 0;display:block;font-size:1.1em}#insert-download span.description{display:block}#insert-download input.input{margin:0 0 .25em 0;display:block;width:100%;font-size:1.1em}#insert-download .add_link{float:right}#insert-download ul.page-numbers{overflow:hidden;zoom:1;margin:0 auto;padding:0;text-align:center}#insert-download ul.page-numbers li{display:inline-block;margin:0;list-style:none outside;line-height:1em}#insert-download ul.page-numbers li a,#insert-download ul.page-numbers li span{text-decoration:none;border:1px solid #ddd;-webkit-border-radius:4px;border-radius:4px;padding:8px;display:block}#insert-download ul.page-numbers li span{border-color:#eee}#insert-download legend{font-weight:700;display:block;margin:0 0 1em}#insert-download fieldset label{display:block;margin:0 0 .5em}.dlm-code-nginx-rules{display:block}.settings_panel .form-table td{padding-left:0}.settings_panel .dlm-lazy-select-loader{display:inline-block;vertical-align:middle;padding:0 0 0 3px}.settings_panel .dlm-lazy-select-loader img{display:inline-block;height:25px;width:25px;margin-top:1px}.dlm-reports h1 .dlm-reports-actions{float:right}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector,.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period,.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher{margin:0 5px;float:left}.dlm-reports h1 .dlm-reports-actions>:last-child{margin-right:0}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector{position:relative;font-size:14px;padding:0 .5em 0 1em;background:#fff;border:1px solid #ccc;border-radius:3px;user-select:none;cursor:pointer}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm-arrow:before{font-family:dashicons!important;content:"\f140";font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;font-size:1.6em;vertical-align:middle;margin-top:-2px}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay{display:block;width:466px;padding:10px;background:#fff;border:1px solid #ccc;position:absolute;top:30px;right:0;z-index:10;overflow:hidden}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date{font-size:70%;margin-right:5px;float:left;z-index:11}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline{border:0}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline .ui-state-highlight{background:#e6e6e6 url(../images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;color:#555;border:1px solid #d3d3d3}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline .ui-state-active{border:1px solid #aaa;background:#fff url(../images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline td,.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline th{padding:0;margin:0;line-height:2em}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline td a,.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline th a{text-align:center!important}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_actions{width:70px;padding-left:10px;text-align:center;float:left}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher{display:block;margin-top:1px;padding-top:4px;color:#23282d;text-decoration:none}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher:before{font-family:dashicons!important;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;font-size:1.4em}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher.dlm-line:before{content:"\f238"}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher.dlm-bar:before{content:"\f185"}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period a{border-color:#ccc!important}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period a:first-child{border-bottom-right-radius:0;border-top-right-radius:0;border-right:0}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period a:last-child{border-bottom-left-radius:0;border-top-left-radius:0;border-left:0}.dlm-reports .dlm_reports_loader{position:absolute;width:32px;height:32px;top:50%;left:50%;margin:-16px 0 0 -16px}.dlm-reports .dlm-reports-block-chart{width:100%;height:300px;margin-top:20px;background:#fff;border:1px solid #e5e5e5;overflow:hidden}.dlm-reports .dlm-reports-block-chart .chart-container h6{display:none}.dlm-reports .dlm-reports-block-summary #popular span{line-height:1em}.dlm-reports .dlm-reports-block{position:relative;box-sizing:border-box;width:100%;padding:20px 10px;margin-top:20px;background:#fff;border:1px solid #e5e5e5;overflow:hidden;float:left}.dlm-reports .dlm-reports-block.dlm-reports-block-half{width:49%;margin-right:1%}.dlm-reports .dlm-reports-block.dlm-reports-block-half-right{width:49%;margin-left:1%}.dlm-reports .dlm-reports-block .dlm-reports-placeholder-no-data{display:inline-block;width:100%;font-size:1.5em;color:#b4b9be;font-style:italic;text-align:center}.dlm-reports .dlm-reports-block ul{box-sizing:border-box;width:100%;padding:0;margin:0}.dlm-reports .dlm-reports-block ul li{display:inline-block;width:33%;padding:5px 0}.dlm-reports .dlm-reports-block ul li label,.dlm-reports .dlm-reports-block ul li span{display:block;width:100%;text-align:center}.dlm-reports .dlm-reports-block ul li span{font-size:2.5em;font-weight:700;padding:.5em 0 0}.dlm-reports .dlm-reports-block table{width:100%}.dlm-reports .dlm-reports-block table td,.dlm-reports .dlm-reports-block table th{text-align:center;padding:10px 0;border-bottom:1px solid #e5e5e5}.dlm-reports .dlm-reports-block table td:first-child,.dlm-reports .dlm-reports-block table th:first-child{text-align:left}.dlm-reports .dlm-reports-block table th{padding-bottom:20px}.dlm-reports-block-summary{background:#333!important;color:#fff}.post-type-dlm_product table.wp-list-table .column-title{width:65%!important}.dlm_mb_shop_product_information .dlm_shop_field_row{width:100%;overflow:hidden}.dlm_mb_shop_product_information .dlm_shop_field_row label.dlm_shop_field_label{display:inline-block;width:20%;height:100%;line-height:2.2em;float:left}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input{display:inline-block;width:50%;float:left}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .dlm_shop_input{width:100%;padding:5px 7px}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-selection--multiple{border:1px solid #ddd}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-search,.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-selection__choice{margin-bottom:0}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-search__field{padding-top:3px}.dlm-order-overview #dlm_empty_trash{margin-left:3px}.dlm-order-overview .wp-list-table td .column-id{width:25%}.dlm-order-details{max-width:1250px;margin-left:auto;margin-right:auto;padding-right:20px}.dlm-order-details h1{padding-bottom:25px}.dlm-order-details .dlm-order-details-main,.dlm-order-details .dlm-order-details-side{width:100%;float:left}.dlm-order-details .dlm-order-details-block{padding:0;margin-bottom:20px;line-height:1;border:1px solid #e5e5e5;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.dlm-order-details .dlm-order-details-block h2.dlm-order-details-block-title{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #eee}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside{margin:6px 0 0 0;padding:6px 12px 12px;line-height:1.4em;font-size:13px}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside label{display:block;font-weight:700;padding-bottom:6px}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside p{padding:0;margin:0}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside ul,.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside ul li{list-style:none;padding:0;margin:0}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside ul li{padding:6px 0}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside .dlm-order-details-current-state{width:70%;height:30px}.dlm-order-details .dlm-order-details-block.dlm-order-details-customer .dlm-order-details-customer-image{float:right}.dlm-order-details .dlm-order-details-block.dlm-order-details-customer ul li{margin-bottom:4px;padding:0}.dlm-order-details .dlm-order-details-block.dlm-order-details-customer ul li:first-child{font-weight:700}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items{overflow:hidden}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview{width:25%;float:right}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview td,.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview th{padding-top:1.5em;padding-bottom:1.5em;text-align:right}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview th{width:50%;font-weight:400}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview td{padding-right:1em;font-weight:700}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table{width:100%}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th{text-align:center}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td:first-child,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th:first-child{text-align:left;padding-left:.5em}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th{padding-top:.5em;padding-bottom:.5em;border-bottom:2px solid #c3c1bc}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td{padding-top:1.5em;padding-bottom:1.5em;border-bottom:1px solid #c3c1bc}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td.dlm-order-details-order-items-item-total,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th.dlm-order-details-order-items-item-total{text-align:right;padding-right:1em}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td.dlm-order-transaction-processor-id,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th.dlm-order-transaction-processor-id{display:none}.dlm-order-details .dlm-order-details-block .dlm-order-details-update-successful{font-size:2em;padding:.2em .3em;color:#46b450}@media (min-width:768px){.dlm-order-details .dlm-order-details-main{width:62%;float:left}.dlm-order-details .dlm-order-details-side{width:35%;float:right}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td.dlm-order-transaction-processor-id,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th.dlm-order-transaction-processor-id{display:table-cell}}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-one-col{margin:0 auto;max-width:800px}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-cta{margin-top:40px;text-align:center}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col{max-width:680px;margin:40px auto 0;overflow:hidden;display:flex;justify-content:space-between;flex-wrap:wrap}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col .dlm-onboarding-col{padding-top:2.5em;flex:1;align-self:flex-start;min-width:100%;max-width:100%}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col .dlm-onboarding-col img{width:100%}.dlm-onboarding .dlm-onboarding-section h2{margin:60px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.dlm-onboarding .dlm-onboarding-section p{max-width:55em;margin:.6em auto 0 auto}.dlm-onboarding .dlm-onboarding-section a.button-hero{height:46px;font-size:14px;line-height:44px;padding:0 36px;font-weight:700;text-align:center}.dlm-onboarding .dlm-onboarding-pages{max-width:55em;margin:0 auto;padding:2em 0 0}.dlm-onboarding .dlm-onboarding-pages a.button-hero{width:170px}.dlm-onboarding .dlm-onboarding-pages a.button-hero.dlm-page-exists{background:#46b450;border-color:#46b450 #4a8442 #467a3f;box-shadow:0 2px 0 #467a3f;text-shadow:0 -1px 1px #4a8442,1px 0 1px #4a8442,0 1px 1px #4a8442,-1px 0 1px #4a8442}.dlm-onboarding .dlm-onboarding-pages a.button-hero.dlm-page-exists:active{box-shadow:0 2px 0 #467a3f}.dlm-onboarding .dlm-onboarding-pages td,.dlm-onboarding .dlm-onboarding-pages th{padding:1em 0;border-bottom:1px solid #ccc}.dlm-onboarding .dlm-onboarding-pages th{width:13%;min-width:6em;text-align:left}.dlm-onboarding .dlm-onboarding-pages td{padding-right:.5em;padding-left:.5em}.dlm-onboarding .dlm-onboarding-pages td.dlm-onboarding-pages-page-title{font-weight:700}@media (min-width:768px){.dlm-onboarding .dlm-onboarding-section .dlm-onboarding-pages{width:55em}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col .dlm-onboarding-col{padding-top:0;min-width:31%;max-width:31%}}.dlm_extensions_wrap a.dlm-reload-button{float:right;position:relative;top:-40px}.dlm_extensions_wrap #available-extensions{clear:both}.dlm_extensions_wrap .dlm_extensions{padding:15px 0;overflow:hidden}.dlm_extensions_wrap .dlm_extensions .dlm_extension{background-color:#fff;width:calc(20% - 15px);margin:0 15px 15px 0;display:inline-block;vertical-align:top}.dlm_extensions_wrap .dlm_extensions .dlm_extension p{margin:0}.dlm_extensions_wrap .dlm_extensions .dlm_extension a{color:#444;text-decoration:none}.dlm_extensions_wrap .dlm_extensions .dlm_extension .dlm_extension_img_wrapper{width:100%;background:#419ccb;text-align:center}.dlm_extensions_wrap .dlm_extensions .dlm_extension .dlm_extension_img_wrapper img{max-width:100%;margin:0 auto}.dlm_extensions_wrap .dlm_extensions .dlm_extension h3{padding:0 20px}.dlm_extensions_wrap .dlm_extensions .dlm_extension div.extension-desc{min-height:120px;padding:0 20px}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer{padding:15px 15px 15px 0;text-align:right;background-color:#fafafa;border-top:1px solid #dcdcde}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .loop_price{font-weight:700}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .loop_price.sale{color:green}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .loop_price.sale strike{color:#444}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .button .dashicons{vertical-align:middle;font-size:16px}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license{padding:0 20px 20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license div.dlm_license_error{padding:.5em;margin-bottom:15px;background:#ffffe0}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license div.dlm_license_error a{color:#00f;text-decoration:underline}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license p.license-status{padding:5px 0;margin:5px 0;background:red;font-weight:700;font-size:1.2em;color:#fff;text-align:center}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license p.license-status.active{background:green}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license input{width:100%;margin:7px 0;padding:7px}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license a.button-primary{width:100%;margin:5px auto 0;color:#fff;text-align:center}#ui-datepicker-div{display:none}.wpchill-upsell{background:#fff;border:0;padding:15px;margin-top:30px}.wpchill-upsell .wpchill-upsell-features{text-align:left;display:flex;flex-wrap:wrap;padding:20px 0}.wpchill-upsell .wpchill-upsell-features li{width:33%}.wpchill-upsell a:first-child{margin-right:10px}.wpchill-upsells-wrapper{width:100%}.wrap.dlm-admin-settings .form-table{width:65%;float:left}.wrap.dlm-admin-settings .form-table+.wpchill-upsells-wrapper{width:30%;float:right}.wrap.dlm-admin-settings .form-table .dlm_htaccess_notice{margin-bottom:5px}.wrap.dlm-admin-settings .dlm-upsell-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:10px;border-radius:10px}.wrap.dlm-admin-settings #setting-dlm_downloads_path+p strong{color:red}#total_downloads_browser_table a.nav-tab{text-transform:capitalize}#dlm-amazon-s3-upsell .inside,#dlm-buttons-upsell .inside,#dlm-download-page-upsell .inside,#dlm-google-drive-upsell .inside{display:flex;flex-wrap:wrap;background:#f1f1f1}#dlm-amazon-s3-upsell .inside .wpchill-upsell,#dlm-buttons-upsell .inside .wpchill-upsell,#dlm-download-page-upsell .inside .wpchill-upsell,#dlm-google-drive-upsell .inside .wpchill-upsell{background:0 0;text-align:center;width:100%;margin-top:0}#dlm-amazon-s3-upsell .inside,#dlm-buttons-upsell .inside,#dlm-download-page-upsell .inside,#dlm-google-drive-upsell .inside{margin:0;padding:0}.upsells-columns{display:flex;flex-wrap:wrap;align-items:center;align-content:center}.upsells-columns .upsells-columns-2{width:50%;text-align:center;display:flex;align-items:center;align-content:center}.upsells-columns .upsells-column{width:100%;text-align:center;display:flex;align-items:center;align-content:center}.upsells-columns .upsells-column>*{display:inline-block;align-content:center;vertical-align:middle;margin:0 15px;padding:10px 0}.upsells-columns .upsells-column>.wpchill-upsell{position:relative;float:none;flex-grow:1;display:flex;align-items:center}.upsells-columns .upsells-column>.wpchill-upsell .wpchill-upsell-description{margin:0 auto}.upsells-columns .upsells-column h3{line-height:1.3em}.upsells-columns .upsells-column:last-child{border-top:1px solid #c3c4c7;border-bottom:1px solid #c3c4c7}.upsells-columns .wpchill-upsell{margin-top:0}.dlm_download_page_dlm-extensions .theme.dlm_extension{background-color:#fff}body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap{margin-left:0;max-width:85%}.rsvp-lite-vs-premium,.rsvp-lite-vs-premium p{font-size:14px;margin:0}.rsvp-lite-vs-premium>.wpchill-plans-table.wpchill-highlight>.wpchill-pricing-package{background:#fefff0;box-shadow:0 0 15px #d0dbdb}.rsvp-lite-vs-premium .wp-badge{display:inline-block;vertical-align:middle;position:relative;margin-right:2.5%}.rsvp-lite-vs-premium h3{display:block;position:relative;font-size:16px;margin:0}.rsvp-lite-vs-premium .wpchill-plans-table{display:flex}.rsvp-lite-vs-premium .wpchill-plans-table.table-header{margin-top:50px;border-top:0}.rsvp-lite-vs-premium .wpchill-plans-table.table-header .wpchill-pricing-package{border:0}.rsvp-lite-vs-premium .wpchill-plans-table.table-header .wpchill-pricing-package.wpchill-title.wpchill-highlight::before,.rsvp-lite-vs-premium .wpchill-plans-table.table-header .wpchill-pricing-package:not(.wpchill-modula-lite):last-child:before{content:'';width:auto;display:inline-block;opacity:1;position:absolute;top:-1px;background:#41495b;text-align:center;left:0;right:0;color:#fff;font-size:15px;text-transform:uppercase;padding:10px 5px;transform:translateY(-100%)}.rsvp-lite-vs-premium.table-footer .wpchill-pricing-package:last-child{border:0}.rsvp-lite-vs-premium .wpchill-pricing-package{text-align:center;line-height:1.5;padding:10px 15px;display:flex;align-content:center;align-items:center;justify-content:center;background:#fff;border-top:1px solid #ccc;width:32%}.rsvp-lite-vs-premium .wpchill-pricing-package:not(:first-child){max-width:300px}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title{font-weight:400;color:#666;font-size:1.25rem;height:auto;-ms-flex-direction:column;flex-direction:column;padding-top:30px;padding-bottom:30px;justify-content:space-between;position:relative}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-name{margin:0;font-size:36px}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title.wpchill-modula-lite{justify-content:center}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title p.description{font-style:italic;font-size:13px;margin-bottom:40px}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price p:last-child{font-size:30px;margin:0 0 40px 0}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price p.old-price{margin:0;position:relative}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price p.old-price:after{content:"";height:2px;width:60px;background:red;display:block;position:absolute;left:50%;top:52%;transform:translate(-50%,-50%)}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price sup{top:2px;position:relative;font-size:15px}.rsvp-lite-vs-premium .wpchill-pricing-package.wpchill-empty{background:0 0;border-color:transparent}.rsvp-lite-vs-premium .wpchill-pricing-package.feature-name{justify-content:space-between;font-weight:400;text-align:left;font-size:13px;display:block;background:0 0}.rsvp-lite-vs-premium .wpchill-pricing-package .dashicons-saved{color:green}.rsvp-lite-vs-premium .wpchill-pricing-package .dashicons{width:30px;height:30px;font-size:30px}.rsvp-lite-vs-premium .wpchill-pricing-package .dashicons-no-alt{color:#ff3439}.rsvp-lite-vs-premium .wpchill-pricing-package:last-child{background:#fefff0}.rsvp-lite-vs-premium .button .dashicons{font-size:16px;vertical-align:middle;line-height:26px}.wpchill-tooltip{position:relative;display:inline-block;float:left;margin-right:10px}.wpchill-tooltip>span{cursor:pointer;color:#0073aa;text-decoration:underline;margin-left:5px}.wpchill-tooltip .wpchill-tooltip-content{display:none;position:absolute;top:50%;right:-10px;transform:translate(100%,-50%);width:300px;background:#000;color:#fff;padding:10px;box-sizing:border-box;z-index:99}.wpchill-tooltip:hover .wpchill-tooltip-content{display:block}.wpchill-tooltip .wpchill-tooltip-content:before{content:'';width:0;height:0;border-style:solid;border-width:8px 8px 8px 0;border-color:transparent #000 transparent transparent;display:block;position:absolute;top:50%;left:-8px;transform:translateY(-50%)}.wpchill-tooltip-button{position:relative}.wpchill-tooltip-button .wpchill-tooltip-content{display:none;position:absolute;top:50%;right:25px;transform:translate(50%,-135%);width:auto;background:rgba(0,0,0,.8);color:#fff;padding:10px 15px;box-sizing:border-box;font-size:14px;z-index:99}.wpchill-tooltip-button:hover .wpchill-tooltip-content{display:block}.wpchill-tooltip-button .wpchill-tooltip-content:before{content:'';width:0;height:0;border-style:solid;border-width:8px 8px 8px 0;border-color:transparent #000 transparent transparent;display:block;position:absolute;bottom:-12px;left:50%;transform:rotate(-90deg)}.dlm-file-link{display:block;margin-top:3px}.dlm-listing-no-file code{color:#b32d2e}
1
+ .post-type-dlm_download h1 a.dlm-delete-logs{color:#a00}.post-type-dlm_download h1 a.dlm-delete-logs:hover{color:#fff;background:#a00;border-color:#7c0900}.post-type-dlm_download .dlm-page-header{border-bottom:1px solid #ccc;padding:15px 20px;display:flex;justify-content:space-between;background:#fff;width:calc(100% + 20px);box-sizing:border-box;margin-left:-20px}.post-type-dlm_download .dlm-page-header .dlm-header-links{margin-left:-20px}.post-type-dlm_download .dlm-page-header .dlm-header-links a span{vertical-align:middle;position:relative;top:-2px;padding-right:10px}.post-type-dlm_download .dlm-page-header .dlm-header-logo img{max-height:35px}.post-type-dlm_download td.column-shortcode .hidden{display:none}#dlm_logs td{padding:7px 7px;vertical-align:middle}#dlm_logs .check-column{width:1%;padding:0;vertical-align:middle}#dlm_logs .column-status{width:2%}#dlm_logs td.column-status{font-size:10px;vertical-align:middle;text-align:center}#dlm_logs td.column-status span{color:#fff;font-weight:400;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;height:18px;line-height:18px;width:18px;display:inline-block;background:url('../images/log-status-icons.png') top left no-repeat}#dlm_logs td.column-status .completed{background-color:#6cc644}#dlm_logs td.column-status .failed{background-color:#bd2c00;background-position-y:-18px}#dlm_logs td.column-status .redirected{background-color:#1c769b;background-position-y:-36px}#dlm_logs td.column-user_agent,#dlm_logs td.column-user_ip{font-family:monospace;font-weight:400}#dlm_logs span.dlm-description{font-weight:400}#dlm_logs .column-download,#dlm_logs .column-file,#dlm_logs .column-user,#dlm_logs .column-user_ua{width:16%!important}#dlm_logs .column-date,#dlm_logs .column-user_ip{width:6%!important}.post-type-dlm_download .inline-edit-row .inline-edit-col-dlm .inline-edit-col-dlm-inner{margin-top:10px}.dlm-settings-sub-nav{margin:0 0 10px 0;width:100%;border-bottom:1px solid #ccc;box-shadow:0 1px 1px rgba(0,0,0,.04)}.dlm-settings-sub-nav li{margin-right:10px;margin-bottom:-2px}.dlm-settings-sub-nav a{padding:13px;display:block}.dlm-settings-sub-nav .active-section{margin-bottom:-2px}.dlm-settings-sub-nav .active-section a{border-bottom:4px solid #000;padding-bottom:9px;margin-bottom:-2px;font-weight:600}.admin-color-blue .dlm-settings-sub-nav .active-section a{border-bottom-color:#096484}.admin-color-coffee .dlm-settings-sub-nav .active-section a{border-bottom-color:#c7a589}.admin-color-ectoplasm .dlm-settings-sub-nav .active-section a{border-bottom-color:#a3b745}.admin-color-midnight .dlm-settings-sub-nav .active-section a{border-bottom-color:#e14d43}.admin-color-ocean .dlm-settings-sub-nav .active-section a{border-bottom-color:#627c83}.admin-color-sunrise .dlm-settings-sub-nav .active-section a{border-bottom-color:#be3631}.admin-color-light .dlm-settings-sub-nav .active-section a{border-bottom-color:#888}.admin-color-evergreen .dlm-settings-sub-nav .active-section a{border-bottom-color:#36533f}.admin-color-mint .dlm-settings-sub-nav .active-section a{border-bottom-color:#4f6d59}.admin-color-modern .dlm-settings-sub-nav .active-section a{border-bottom-color:#3858e9}.dlm-admin-settings #setting-dlm_decimal_separator,.dlm-admin-settings #setting-dlm_thousand_separator{width:50px}.dlm-admin-settings table td{padding:15px 0}.dlm-admin-settings h3{margin:2em 0 0}.dlm-admin-settings .form-table label.dlm-radio-label{display:block;margin-bottom:5px}.dlm-admin-settings .form-table label.dlm-enhanced-radio-label{position:relative;padding:10px 15px;display:inline-block;margin-bottom:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dlm-admin-settings .form-table label.dlm-enhanced-radio-label span{z-index:3;position:relative}.dlm-admin-settings .form-table label.dlm-enhanced-radio-label input[type=radio]{position:relative;z-index:2}.dlm-admin-settings .form-table label.dlm-enhanced-radio-label input[type=radio]+div.dlm-radio__selectable-area{position:absolute;width:100%;height:100%;border-radius:20px;display:block;top:0;left:0;opacity:1;border:1px solid grey}.dlm-admin-settings .form-table label.dlm-enhanced-radio-label input[type=radio]:checked+div.dlm-radio__selectable-area{border-color:green;background-color:rgba(0,128,0,.6)}.dlm-admin-settings .form-table label.dlm-enhanced-radio-label input[type=radio]:checked+div.dlm-radio__selectable-area+span{color:#fff}.dlm-admin-settings .dlm_settings{padding:5px 0}.dlm-admin-settings .dlm_settings>th{padding:15px 5px}.dlm-admin-settings .dlm_settings>td{padding:15px 5px 15px 0}.dlm-admin-settings .dlm_install_plugin_setting{background:#fff;padding:0 15px;border-bottom:1px solid #ccc;border-top:1px solid #ccc}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group,.dlm-admin-settings .dlm_group_setting td{margin:0 auto;padding:0!important}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group .dlm-groupped-settings__box,.dlm-admin-settings .dlm_group_setting td .dlm-groupped-settings__box{margin:5px 0 5px 0}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group .dlm-groupped-settings__box .postbox,.dlm-admin-settings .dlm_group_setting td .dlm-groupped-settings__box .postbox{padding:0;margin:0 auto}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group .dlm-groupped-settings__box .postbox .hndle,.dlm-admin-settings .dlm_group_setting td .dlm-groupped-settings__box .postbox .hndle{margin:0;padding:8px;font-weight:lighter}.dlm-admin-settings .dlm_group_setting .handle-actions button{box-shadow:none}.dlm-admin-settings .dlm_group_setting h2.hndle{cursor:pointer}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group__content{padding:15px}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group__content .dlm-accordeon-group__setting{padding:35px 0;display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group__content .dlm-accordeon-group__setting .dlm-accordeon-group__setting-title{font-size:16px;margin-bottom:15px;font-weight:700;width:20%}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group__content .dlm-accordeon-group__setting .dlm-accordeon-group__setting-content{width:80%}.dlm-admin-settings .dlm_group_setting .dlm-accordeon-group__content .dlm-accordeon-group__setting .description{font-style:italic}ul.download_monitor_file_browser{list-style:none outside;margin:0;border:1px solid #ddd;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#f9f9f9;padding:5px 5px;-moz-box-shadow:inset 0 0 0 1px #fff;-webkit-box-shadow:inset 0 0 0 1px #fff;box-shadow:inset 0 0 0 1px #fff}ul.download_monitor_file_browser li{padding:0;margin:0}ul.download_monitor_file_browser li a{color:#21759b;display:block;padding:4px 0 4px 4px;text-decoration:none}ul.download_monitor_file_browser li a:hover{background-color:#eaf2fa}ul.download_monitor_file_browser li a:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f123";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.folder:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f318";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-3g2:before,ul.download_monitor_file_browser li a.filetype-3gp:before,ul.download_monitor_file_browser li a.filetype-asf:before,ul.download_monitor_file_browser li a.filetype-asx:before,ul.download_monitor_file_browser li a.filetype-avi:before,ul.download_monitor_file_browser li a.filetype-mov:before,ul.download_monitor_file_browser li a.filetype-mp4:before,ul.download_monitor_file_browser li a.filetype-mpg:before,ul.download_monitor_file_browser li a.filetype-rm:before,ul.download_monitor_file_browser li a.filetype-srt:before,ul.download_monitor_file_browser li a.filetype-vob:before,ul.download_monitor_file_browser li a.filetype-wmv:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f126";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-aif:before,ul.download_monitor_file_browser li a.filetype-iff:before,ul.download_monitor_file_browser li a.filetype-m3u:before,ul.download_monitor_file_browser li a.filetype-m4a:before,ul.download_monitor_file_browser li a.filetype-mid:before,ul.download_monitor_file_browser li a.filetype-midi:before,ul.download_monitor_file_browser li a.filetype-mp3:before,ul.download_monitor_file_browser li a.filetype-mpa:before,ul.download_monitor_file_browser li a.filetype-ra:before,ul.download_monitor_file_browser li a.filetype-wav:before,ul.download_monitor_file_browser li a.filetype-wma:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f127";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-ai:before,ul.download_monitor_file_browser li a.filetype-bmp:before,ul.download_monitor_file_browser li a.filetype-dds:before,ul.download_monitor_file_browser li a.filetype-eps:before,ul.download_monitor_file_browser li a.filetype-gif:before,ul.download_monitor_file_browser li a.filetype-ico:before,ul.download_monitor_file_browser li a.filetype-jpeg:before,ul.download_monitor_file_browser li a.filetype-jpg:before,ul.download_monitor_file_browser li a.filetype-png:before,ul.download_monitor_file_browser li a.filetype-ps:before,ul.download_monitor_file_browser li a.filetype-psd:before,ul.download_monitor_file_browser li a.filetype-pspimage:before,ul.download_monitor_file_browser li a.filetype-svg:before,ul.download_monitor_file_browser li a.filetype-tga:before,ul.download_monitor_file_browser li a.filetype-thm:before,ul.download_monitor_file_browser li a.filetype-tif:before,ul.download_monitor_file_browser li a.filetype-yuv:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f128";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li.nofiles{color:#999;font-style:italic;padding:4px 0}ul.download_monitor_file_browser li ul{list-style:none outside;margin:0;padding:0 0 0 28px}ul.download_monitor_file_browser li ul.loading{background:url(../images/ajax-loader.gif) no-repeat 24px 0;height:32px}table.wp-list-table .column-thumb{width:44px;text-align:center;white-space:nowrap}table.wp-list-table .column-dlm_download_cat,table.wp-list-table .column-dlm_download_tag,table.wp-list-table .column-file{width:11%!important}table.wp-list-table .column-file,table.wp-list-table .column-title{width:17%!important}table.wp-list-table .column-download_id,table.wp-list-table .column-version{width:5em}table.wp-list-table th.column-download_count span:first-child,table.wp-list-table th.column-featured span:first-child,table.wp-list-table th.column-locked_download span:first-child,table.wp-list-table th.column-redirect_only span:first-child,table.wp-list-table th.column-thumb span:first-child{float:none;display:inline-block;width:1em;height:1em;line-height:1em;padding:2px 0 0 0;overflow:hidden}table.wp-list-table th.column-download_count .sorting-indicator,table.wp-list-table th.column-featured .sorting-indicator,table.wp-list-table th.column-locked_download .sorting-indicator,table.wp-list-table th.column-redirect_only .sorting-indicator,table.wp-list-table th.column-thumb .sorting-indicator{float:right}table.wp-list-table th.column-thumb{width:52px;text-align:center}table.wp-list-table th.column-thumb span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f128";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-download_count{width:5em}table.wp-list-table th.column-download_count span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f346";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-locked_download{width:3.5em}table.wp-list-table th.column-locked_download span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f160";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-redirect_only{width:3.5em}table.wp-list-table th.column-redirect_only span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f103";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-featured{width:3.5em}table.wp-list-table th.column-featured span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f155";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table td.column-download_count,table.wp-list-table td.column-featured,table.wp-list-table td.column-locked_download,table.wp-list-table td.column-redirect_only{text-align:left;padding-left:11px}table.wp-list-table td.column-download_count span.na,table.wp-list-table td.column-featured span.na,table.wp-list-table td.column-locked_download span.na,table.wp-list-table td.column-redirect_only span.na{color:#999;width:1em;height:1em;line-height:1em;display:inline-block;overflow:hidden;vertical-align:middle}table.wp-list-table td.column-download_count span.na:before,table.wp-list-table td.column-featured span.na:before,table.wp-list-table td.column-locked_download span.na:before,table.wp-list-table td.column-redirect_only span.na:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table td.column-download_count span.yes,table.wp-list-table td.column-featured span.yes,table.wp-list-table td.column-locked_download span.yes,table.wp-list-table td.column-redirect_only span.yes{width:1em;height:1em;line-height:1em;display:inline-block;overflow:hidden;vertical-align:middle}table.wp-list-table td.column-download_count span.yes:before,table.wp-list-table td.column-featured span.yes:before,table.wp-list-table td.column-locked_download span.yes:before,table.wp-list-table td.column-redirect_only span.yes:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f147";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table .column-thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:32px;height:32px}#download-monitor-file .inside{padding:0;margin:0}#download-monitor-file .dlm-metaboxes-wrapper .close_all,#download-monitor-file .dlm-metaboxes-wrapper .expand_all{float:right;margin-left:1em;line-height:22px;text-decoration:none}#download-monitor-file .dlm-metaboxes-wrapper .expand_all:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f168";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .close_all:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar a.button{float:left;margin:0}#download-monitor-file .dlm-metaboxes-wrapper .fr,#download-monitor-file .dlm-metaboxes-wrapper button.add_attribute,#download-monitor-file .dlm-metaboxes-wrapper button.add_variable_attribute,#download-monitor-file .dlm-metaboxes-wrapper select.attribute_taxonomy{float:right;margin:0 0 0 6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metaboxes{padding:0 12px 0}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin:9px 0;border-width:1px;border-style:dashed}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox{background:#ececec;border:1px solid #ececec;margin:9px 0!important}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox .dlm-blury:before{content:url('../images/ajax-loader.gif');display:block;position:absolute;top:50%;transform:translateY(-50%);width:100%;left:0;margin:0 auto;color:#cecece;text-align:center;z-index:11;font-size:16px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox .dlm-blury:after{content:"";display:block;background:rgba(0,0,0,.5);width:100%;top:0;left:0;margin:0 auto;height:100%;z-index:10;position:absolute}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3{margin:0!important;padding:6px!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 button{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 strong{line-height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 select{font-family:sans-serif}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 .handlediv{background-position:6px 5px!important;display:none!important;height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:hover h3 .handlediv{display:block}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table{width:100%;position:relative;background:#fff;padding:3px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td{text-align:left;padding:6px 6px;vertical-align:top;border:0;line-height:26px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td label{text-align:left;display:block;line-height:21px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input{float:left;min-width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{height:7.5em}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td select{width:100%}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.short{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.checkbox{width:auto;min-width:inherit;vertical-align:middle;display:inline;float:none}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.date-picker-field{width:50%;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.hour,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.minute{width:2em;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td.attribute_name{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .minus,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .plus{margin-top:6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fl{float:left}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fr{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:first-child h3{background-color:#fafafa;border-bottom:1px solid #dcdcde}#download-monitor-file .dlm-metaboxes-wrapper .plus:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f132";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .minus:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_upload_file:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f317";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_media_library:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f104";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_browse_for_file{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm_browse_for_file:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f322";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-information .dlm_information_panel div p{overflow:hidden;width:100%;font-weight:700;box-sizing:border-box;line-height:28px;margin-bottom:5px}#download-monitor-information .dlm_information_panel input{margin:0;border-top-right-radius:0;border-bottom-right-radius:0;flex-grow:1;width:calc(100% - 45px)}#download-monitor-product-information .dlm_information_panel div p{overflow:hidden;width:100%;font-weight:700;box-sizing:border-box;line-height:28px;margin-bottom:5px}#download-monitor-product-information .dlm_information_panel input{margin:0;border-top-right-radius:0;border-bottom-right-radius:0;flex-grow:1;width:calc(100% - 45px)}#download-monitor-options .inside{padding:0;margin:0}#download-monitor-options .form-field-checkbox label{display:inline;padding:0 0 4px}#download-monitor-options .form-field-checkbox input{display:inline-block;width:auto;vertical-align:middle}#download-monitor-options .form-field-checkbox .dlm-description{padding:4px 0 0 0;display:block}#download-monitor-options .access_permissions{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-options .access_permissions h4{margin-bottom:.5em;margin:0 0 .5em}#download-monitor-options .access_permissions ul{background:#fff;border:1px solid #dfdfdf;height:110px;overflow:auto;padding:.5em .9em;margin:0}#download-monitor-options p{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-options p.not-active{opacity:.7}#download-monitor-options .options_upsell_link{color:unset;text-decoration:none}#download-monitor-options .dlm-upsell-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:5px;border-radius:10px}#insert-download{padding:20px 20px}#insert-download #drag-drop-area,#insert-download #insert-shortcode{margin:1em 0}#insert-download .error,#insert-download .updated{margin-left:0;margin-right:0}#insert-download h2{margin-top:0}#insert-download label{margin:0 0 .25em 0;display:block;font-size:1.1em}#insert-download span.description{display:block}#insert-download input.input{margin:0 0 .25em 0;display:block;width:100%;font-size:1.1em}#insert-download .add_link{float:right}#insert-download ul.page-numbers{overflow:hidden;zoom:1;margin:0 auto;padding:0;text-align:center}#insert-download ul.page-numbers li{display:inline-block;margin:0;list-style:none outside;line-height:1em}#insert-download ul.page-numbers li a,#insert-download ul.page-numbers li span{text-decoration:none;border:1px solid #ddd;-webkit-border-radius:4px;border-radius:4px;padding:8px;display:block}#insert-download ul.page-numbers li span{border-color:#eee}#insert-download legend{font-weight:700;display:block;margin:0 0 1em}#insert-download fieldset label{display:block;margin:0 0 .5em}.dlm-code-nginx-rules{display:block}.settings_panel .form-table td{padding-left:0}.settings_panel .dlm-lazy-select-loader{display:inline-block;vertical-align:middle;padding:0 0 0 3px}.settings_panel .dlm-lazy-select-loader img{display:inline-block;height:25px;width:25px;margin-top:1px}.dlm-reports h1 .dlm-reports-actions{float:right}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector,.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period,.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher{margin:0 5px;float:left}.dlm-reports h1 .dlm-reports-actions>:last-child{margin-right:0}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector{position:relative;font-size:14px;padding:0 .5em 0 1em;background:#fff;border:1px solid #ccc;border-radius:3px;user-select:none;cursor:pointer}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm-arrow:before{font-family:dashicons!important;content:"\f140";font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;font-size:1.6em;vertical-align:middle;margin-top:-2px}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay{display:block;width:466px;padding:10px;background:#fff;border:1px solid #ccc;position:absolute;top:30px;right:0;z-index:10;overflow:hidden}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date{font-size:70%;margin-right:5px;float:left;z-index:11}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline{border:0}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline .ui-state-highlight{background:#e6e6e6 url(../images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;color:#555;border:1px solid #d3d3d3}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline .ui-state-active{border:1px solid #aaa;background:#fff url(../images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline td,.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline th{padding:0;margin:0;line-height:2em}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline td a,.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_date .ui-datepicker-inline th a{text-align:center!important}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-date-selector .dlm_rdrs_overlay .dlm_rdrs_actions{width:70px;padding-left:10px;text-align:center;float:left}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher{display:block;margin-top:1px;padding-top:4px;color:#23282d;text-decoration:none}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher:before{font-family:dashicons!important;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;font-size:1.4em}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher.dlm-line:before{content:"\f238"}.dlm-reports h1 .dlm-reports-actions a.dlm-reports-header-chart-switcher.dlm-bar:before{content:"\f185"}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period a{border-color:#ccc!important}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period a:first-child{border-bottom-right-radius:0;border-top-right-radius:0;border-right:0}.dlm-reports h1 .dlm-reports-actions .dlm-reports-header-period a:last-child{border-bottom-left-radius:0;border-top-left-radius:0;border-left:0}.dlm-reports .dlm_reports_loader{position:absolute;width:32px;height:32px;top:50%;left:50%;margin:-16px 0 0 -16px}.dlm-reports .dlm-reports-block-chart{width:100%;height:300px;margin-top:20px;background:#fff;border:1px solid #e5e5e5;overflow:hidden}.dlm-reports .dlm-reports-block-chart .chart-container h6{display:none}.dlm-reports .dlm-reports-block-summary #popular span{line-height:1em}.dlm-reports .dlm-reports-block{position:relative;box-sizing:border-box;width:100%;padding:20px 10px;margin-top:20px;background:#fff;border:1px solid #e5e5e5;overflow:hidden;float:left}.dlm-reports .dlm-reports-block.dlm-reports-block-half{width:49%;margin-right:1%}.dlm-reports .dlm-reports-block.dlm-reports-block-half-right{width:49%;margin-left:1%}.dlm-reports .dlm-reports-block .dlm-reports-placeholder-no-data{display:inline-block;width:100%;font-size:1.5em;color:#b4b9be;font-style:italic;text-align:center}.dlm-reports .dlm-reports-block ul{box-sizing:border-box;width:100%;padding:0;margin:0}.dlm-reports .dlm-reports-block ul li{display:inline-block;width:33%;padding:5px 0}.dlm-reports .dlm-reports-block ul li label,.dlm-reports .dlm-reports-block ul li span{display:block;width:100%;text-align:center}.dlm-reports .dlm-reports-block ul li span{font-size:2.5em;font-weight:700;padding:.5em 0 0}.dlm-reports .dlm-reports-block table{width:100%}.dlm-reports .dlm-reports-block table td,.dlm-reports .dlm-reports-block table th{text-align:center;padding:10px 0;border-bottom:1px solid #e5e5e5}.dlm-reports .dlm-reports-block table td:first-child,.dlm-reports .dlm-reports-block table th:first-child{text-align:left}.dlm-reports .dlm-reports-block table th{padding-bottom:20px}.dlm-reports-block-summary{background:#333!important;color:#fff}.post-type-dlm_product table.wp-list-table .column-title{width:65%!important}.dlm_mb_shop_product_information .dlm_shop_field_row{width:100%;overflow:hidden}.dlm_mb_shop_product_information .dlm_shop_field_row label.dlm_shop_field_label{display:inline-block;width:20%;height:100%;line-height:2.2em;float:left}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input{display:inline-block;width:50%;float:left}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .dlm_shop_input{width:100%;padding:5px 7px}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-selection--multiple{border:1px solid #ddd}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-search,.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-selection__choice{margin-bottom:0}.dlm_mb_shop_product_information .dlm_shop_field_row span.dlm_shop_field_input .select2-search__field{padding-top:3px}.dlm-order-overview #dlm_empty_trash{margin-left:3px}.dlm-order-overview .wp-list-table td .column-id{width:25%}.dlm-order-details{max-width:1250px;margin-left:auto;margin-right:auto;padding-right:20px}.dlm-order-details h1{padding-bottom:25px}.dlm-order-details .dlm-order-details-main,.dlm-order-details .dlm-order-details-side{width:100%;float:left}.dlm-order-details .dlm-order-details-block{padding:0;margin-bottom:20px;line-height:1;border:1px solid #e5e5e5;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.dlm-order-details .dlm-order-details-block h2.dlm-order-details-block-title{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #eee}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside{margin:6px 0 0 0;padding:6px 12px 12px;line-height:1.4em;font-size:13px}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside label{display:block;font-weight:700;padding-bottom:6px}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside p{padding:0;margin:0}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside ul,.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside ul li{list-style:none;padding:0;margin:0}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside ul li{padding:6px 0}.dlm-order-details .dlm-order-details-block .dlm-order-details-block-inside .dlm-order-details-current-state{width:70%;height:30px}.dlm-order-details .dlm-order-details-block.dlm-order-details-customer .dlm-order-details-customer-image{float:right}.dlm-order-details .dlm-order-details-block.dlm-order-details-customer ul li{margin-bottom:4px;padding:0}.dlm-order-details .dlm-order-details-block.dlm-order-details-customer ul li:first-child{font-weight:700}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items{overflow:hidden}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview{width:25%;float:right}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview td,.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview th{padding-top:1.5em;padding-bottom:1.5em;text-align:right}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview th{width:50%;font-weight:400}.dlm-order-details .dlm-order-details-block.dlm-order-details-order-items .dlm-order-details-overview td{padding-right:1em;font-weight:700}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table{width:100%}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th{text-align:center}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td:first-child,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th:first-child{text-align:left;padding-left:.5em}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th{padding-top:.5em;padding-bottom:.5em;border-bottom:2px solid #c3c1bc}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td{padding-top:1.5em;padding-bottom:1.5em;border-bottom:1px solid #c3c1bc}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td.dlm-order-details-order-items-item-total,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th.dlm-order-details-order-items-item-total{text-align:right;padding-right:1em}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td.dlm-order-transaction-processor-id,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th.dlm-order-transaction-processor-id{display:none}.dlm-order-details .dlm-order-details-block .dlm-order-details-update-successful{font-size:2em;padding:.2em .3em;color:#46b450}@media (min-width:768px){.dlm-order-details .dlm-order-details-main{width:62%;float:left}.dlm-order-details .dlm-order-details-side{width:35%;float:right}.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table td.dlm-order-transaction-processor-id,.dlm-order-details .dlm-order-details-block table.dlm-order-details-data-table th.dlm-order-transaction-processor-id{display:table-cell}}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-one-col{margin:0 auto;max-width:800px}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-cta{margin-top:40px;text-align:center}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col{max-width:680px;margin:40px auto 0;overflow:hidden;display:flex;justify-content:space-between;flex-wrap:wrap}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col .dlm-onboarding-col{padding-top:2.5em;flex:1;align-self:flex-start;min-width:100%;max-width:100%}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col .dlm-onboarding-col img{width:100%}.dlm-onboarding .dlm-onboarding-section h2{margin:60px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.dlm-onboarding .dlm-onboarding-section p{max-width:55em;margin:.6em auto 0 auto}.dlm-onboarding .dlm-onboarding-section a.button-hero{height:46px;font-size:14px;line-height:44px;padding:0 36px;font-weight:700;text-align:center}.dlm-onboarding .dlm-onboarding-pages{max-width:55em;margin:0 auto;padding:2em 0 0}.dlm-onboarding .dlm-onboarding-pages a.button-hero{width:170px}.dlm-onboarding .dlm-onboarding-pages a.button-hero.dlm-page-exists{background:#46b450;border-color:#46b450 #4a8442 #467a3f;box-shadow:0 2px 0 #467a3f;text-shadow:0 -1px 1px #4a8442,1px 0 1px #4a8442,0 1px 1px #4a8442,-1px 0 1px #4a8442}.dlm-onboarding .dlm-onboarding-pages a.button-hero.dlm-page-exists:active{box-shadow:0 2px 0 #467a3f}.dlm-onboarding .dlm-onboarding-pages td,.dlm-onboarding .dlm-onboarding-pages th{padding:1em 0;border-bottom:1px solid #ccc}.dlm-onboarding .dlm-onboarding-pages th{width:13%;min-width:6em;text-align:left}.dlm-onboarding .dlm-onboarding-pages td{padding-right:.5em;padding-left:.5em}.dlm-onboarding .dlm-onboarding-pages td.dlm-onboarding-pages-page-title{font-weight:700}@media (min-width:768px){.dlm-onboarding .dlm-onboarding-section .dlm-onboarding-pages{width:55em}.dlm-onboarding .dlm-onboarding-section.dlm-onboarding-section-three-col .dlm-onboarding-col{padding-top:0;min-width:31%;max-width:31%}}.dlm_extensions_wrap a.dlm-reload-button{float:right;position:relative;top:-40px}.dlm_extensions_wrap #available-extensions{clear:both}.dlm_extensions_wrap .dlm_extensions{padding:15px 0;overflow:hidden}.dlm_extensions_wrap .dlm_extensions .dlm_extension{background-color:#fff;width:calc(20% - 15px);margin:0 15px 15px 0;display:inline-block;vertical-align:top}.dlm_extensions_wrap .dlm_extensions .dlm_extension p{margin:0}.dlm_extensions_wrap .dlm_extensions .dlm_extension a{color:#444;text-decoration:none}.dlm_extensions_wrap .dlm_extensions .dlm_extension .dlm_extension_img_wrapper{width:100%;background:#419ccb;text-align:center}.dlm_extensions_wrap .dlm_extensions .dlm_extension .dlm_extension_img_wrapper img{max-width:100%;margin:0 auto}.dlm_extensions_wrap .dlm_extensions .dlm_extension h3{padding:0 20px}.dlm_extensions_wrap .dlm_extensions .dlm_extension div.extension-desc{min-height:120px;padding:0 20px}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer{padding:15px 15px 15px 0;text-align:right;background-color:#fafafa;border-top:1px solid #dcdcde}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .loop_price{font-weight:700}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .loop_price.sale{color:green}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .loop_price.sale strike{color:#444}.dlm_extensions_wrap .dlm_extensions .dlm_extension .product_footer .button .dashicons{vertical-align:middle;font-size:16px}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license{padding:0 20px 20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license div.dlm_license_error{padding:.5em;margin-bottom:15px;background:#ffffe0}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license div.dlm_license_error a{color:#00f;text-decoration:underline}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license p.license-status{padding:5px 0;margin:5px 0;background:red;font-weight:700;font-size:1.2em;color:#fff;text-align:center}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license p.license-status.active{background:green}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license input{width:100%;margin:7px 0;padding:7px}.dlm_extensions_wrap .dlm_extensions .dlm_extension .extension_license a.button-primary{width:100%;margin:5px auto 0;color:#fff;text-align:center}#ui-datepicker-div{display:none}.wpchill-upsell{background:#fff;border:0;padding:15px;margin-top:30px}.wpchill-upsell .wpchill-upsell-features{text-align:left;display:flex;flex-wrap:wrap;padding:20px 0}.wpchill-upsell .wpchill-upsell-features li{width:33%}.wpchill-upsell a:first-child{margin-right:10px}.wpchill-upsells-wrapper{width:100%}.wrap.dlm-admin-settings .form-table{width:65%;float:left}.wrap.dlm-admin-settings .form-table+.wpchill-upsells-wrapper{width:30%;float:right}.wrap.dlm-admin-settings .form-table .dlm_htaccess_notice{margin-bottom:5px}.wrap.dlm-admin-settings .dlm-upsell-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:10px;border-radius:10px}.wrap.dlm-admin-settings #setting-dlm_downloads_path+p strong{color:red}.wrap.dlm-admin-settings .dlm-install-plugin-actions{display:inline-block;vertical-align:middle;margin:5px auto;margin-left:15px}#total_downloads_browser_table a.nav-tab{text-transform:capitalize}#dlm-amazon-s3-upsell .inside,#dlm-buttons-upsell .inside,#dlm-download-page-upsell .inside,#dlm-google-drive-upsell .inside{display:flex;flex-wrap:wrap;background:#f1f1f1}#dlm-amazon-s3-upsell .inside .wpchill-upsell,#dlm-buttons-upsell .inside .wpchill-upsell,#dlm-download-page-upsell .inside .wpchill-upsell,#dlm-google-drive-upsell .inside .wpchill-upsell{background:0 0;text-align:center;width:100%;margin-top:0}#dlm-amazon-s3-upsell .inside,#dlm-buttons-upsell .inside,#dlm-download-page-upsell .inside,#dlm-google-drive-upsell .inside{margin:0;padding:0}.upsells-columns{display:flex;flex-wrap:wrap;align-items:center;align-content:center}.upsells-columns .upsells-columns-2{width:50%;text-align:center;display:flex;align-items:center;align-content:center}.upsells-columns .upsells-column{width:100%;text-align:center;display:flex;align-items:center;align-content:center}.upsells-columns .upsells-column>*{display:inline-block;align-content:center;vertical-align:middle;margin:0 15px;padding:10px 0}.upsells-columns .upsells-column>.wpchill-upsell{position:relative;float:none;flex-grow:1;display:flex;align-items:center}.upsells-columns .upsells-column>.wpchill-upsell .wpchill-upsell-description{margin:0 auto}.upsells-columns .upsells-column h3{line-height:1.3em}.upsells-columns .upsells-column:last-child{border-top:1px solid #c3c4c7;border-bottom:1px solid #c3c4c7}.upsells-columns .wpchill-upsell{margin-top:0}.dlm_download_page_dlm-extensions .theme.dlm_extension{background-color:#fff}.dlm-lite-vs-premium,.dlm-lite-vs-premium p{font-size:14px;margin:0}.dlm-lite-vs-premium>.wpchill-plans-table.wpchill-highlight>.wpchill-pricing-package{background:#fefff0;box-shadow:0 0 15px #d0dbdb}.dlm-lite-vs-premium .wp-badge{display:inline-block;vertical-align:middle;position:relative;margin-right:2.5%}.dlm-lite-vs-premium h3{display:block;position:relative;font-size:16px;margin:0}.dlm-lite-vs-premium .wpchill-plans-table{display:flex}.dlm-lite-vs-premium .wpchill-plans-table.table-header{margin-top:50px;border-top:0}.dlm-lite-vs-premium .wpchill-plans-table.table-header .wpchill-pricing-package{border:0}.dlm-lite-vs-premium .wpchill-plans-table.table-header .wpchill-pricing-package.wpchill-title.wpchill-highlight::before,.dlm-lite-vs-premium .wpchill-plans-table.table-header .wpchill-pricing-package:not(.wpchill-modula-lite):last-child:before{content:'';width:auto;display:inline-block;opacity:1;position:absolute;top:-1px;background:#41495b;text-align:center;left:0;right:0;color:#fff;font-size:15px;text-transform:uppercase;padding:10px 5px;transform:translateY(-100%)}.dlm-lite-vs-premium.table-footer .wpchill-pricing-package:last-child{border:0}.dlm-lite-vs-premium .wpchill-pricing-package{text-align:center;line-height:1.5;padding:10px 15px;display:flex;align-content:center;align-items:center;justify-content:center;background:#fff;border-top:1px solid #ccc;width:32%}.dlm-lite-vs-premium .wpchill-pricing-package:not(:first-child){max-width:300px}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title{font-weight:400;color:#666;font-size:1.25rem;height:auto;-ms-flex-direction:column;flex-direction:column;padding-top:30px;padding-bottom:30px;justify-content:space-between;position:relative}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-name{margin:0;font-size:36px}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title.wpchill-modula-lite{justify-content:center}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title p.description{font-style:italic;font-size:13px;margin-bottom:40px}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price p:last-child{font-size:30px;margin:0 0 40px 0}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price p.old-price{margin:0;position:relative}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price p.old-price:after{content:"";height:2px;width:60px;background:red;display:block;position:absolute;left:50%;top:52%;transform:translate(-50%,-50%)}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-price sup{top:2px;position:relative;font-size:15px}.dlm-lite-vs-premium .wpchill-pricing-package.wpchill-empty{background:0 0;border-color:transparent}.dlm-lite-vs-premium .wpchill-pricing-package.feature-name{justify-content:space-between;font-weight:400;text-align:left;font-size:13px;display:block;background:0 0}.dlm-lite-vs-premium .wpchill-pricing-package .dashicons-saved{color:green}.dlm-lite-vs-premium .wpchill-pricing-package .dashicons{width:30px;height:30px;font-size:30px}.dlm-lite-vs-premium .wpchill-pricing-package .dashicons-no-alt{color:#ff3439}.dlm-lite-vs-premium .wpchill-pricing-package:last-child{background:#fefff0}.dlm-lite-vs-premium .button .dashicons{font-size:16px;vertical-align:middle;line-height:26px}.wpchill-tooltip{position:relative;display:inline-block;float:left;margin-right:10px}.wpchill-tooltip>span{cursor:pointer;color:#0073aa;text-decoration:underline;margin-left:5px}.wpchill-tooltip .wpchill-tooltip-content{display:none;position:absolute;top:50%;right:-10px;transform:translate(100%,-50%);width:300px;background:#000;color:#fff;padding:10px;box-sizing:border-box;z-index:99}.wpchill-tooltip:hover .wpchill-tooltip-content{display:block}.wpchill-tooltip .wpchill-tooltip-content:before{content:'';width:0;height:0;border-style:solid;border-width:8px 8px 8px 0;border-color:transparent #000 transparent transparent;display:block;position:absolute;top:50%;left:-8px;transform:translateY(-50%)}.wpchill-tooltip-button{position:relative}.wpchill-tooltip-button .wpchill-tooltip-content{display:none;position:absolute;top:50%;right:25px;transform:translate(50%,-135%);width:auto;background:rgba(0,0,0,.8);color:#fff;padding:10px 15px;box-sizing:border-box;font-size:14px;z-index:99}.wpchill-tooltip-button:hover .wpchill-tooltip-content{display:block}.wpchill-tooltip-button .wpchill-tooltip-content:before{content:'';width:0;height:0;border-style:solid;border-width:8px 8px 8px 0;border-color:transparent #000 transparent transparent;display:block;position:absolute;bottom:-12px;left:50%;transform:rotate(-90deg)}.dlm-file-link{display:block;margin-top:3px}.dlm-listing-no-file code{color:#b32d2e}.wpchill-toggle{position:relative;user-select:none;display:inline-block;vertical-align:middle}.wpchill-toggle .wpchill-toggle__items{box-sizing:border-box;display:inline-block;position:relative}.wpchill-toggle .wpchill-toggle__items>*{box-sizing:inherit}.wpchill-toggle .wpchill-toggle__items .wpchill-toggle__track{background-color:#fff;border:2px solid #6c7781;border-radius:9px;display:inline-block;height:18px;width:36px;vertical-align:top;transition:background .2s ease}.wpchill-toggle .wpchill-toggle__items .wpchill-toggle__thumb{background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;display:block;height:10px;width:10px;position:absolute;left:4px;top:4px;transition:transform .2s ease;min-width:auto;min-height:auto;float:none;padding:0}.wpchill-toggle .wpchill-toggle__items .wpchill-toggle__off{position:absolute;right:6px;top:6px;color:#6c7781;fill:currentColor}.wpchill-toggle .wpchill-toggle__items .wpchill-toggle__on{position:absolute;top:6px;left:8px;border:1px solid #fff;outline:1px solid transparent;outline-offset:-1px;display:none}.wpchill-toggle .wpchill-toggle__input[type=checkbox]{border-radius:2px;border:2px solid #6c7781;margin-right:12px;transition:none;height:100%;left:0;top:0;margin:0;padding:0;opacity:0;position:absolute;width:100%;z-index:1}.wpchill-toggle .wpchill-toggle__input[type=checkbox]:checked+.wpchill-toggle__items .wpchill-toggle__track{background-color:#0081a7;border:9px solid transparent}.wpchill-toggle .wpchill-toggle__input[type=checkbox]:checked+.wpchill-toggle__items .wpchill-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.wpchill-toggle .wpchill-toggle__input[type=checkbox]:checked+.wpchill-toggle__items .wpchill-toggle__off{display:none}.wpchill-toggle .wpchill-toggle__input[type=checkbox]:checked+.wpchill-toggle__items .wpchill-toggle__on{display:inline-block}
assets/css/admin.less CHANGED
@@ -60,7 +60,7 @@
60
 
61
  td.column-shortcode {
62
  .hidden {
63
- display:none;
64
  }
65
  }
66
  }
@@ -292,6 +292,133 @@
292
  h3 {
293
  margin: 2em 0 0;
294
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  }
296
 
297
  /* File lists */
@@ -616,31 +743,31 @@ table.wp-list-table {
616
  border: 1px solid #ececec;
617
  margin: 9px 0 !important;
618
 
619
- & .dlm-blury{
620
  &:before {
621
- content:url('../images/ajax-loader.gif');
622
- display:block;
623
  position: absolute;
624
- top:50%;
625
- transform:translateY(-50%);
626
- width:100%;
627
- left:0;
628
- margin:0 auto;
629
- color:#cecece;
630
  text-align: center;
631
  z-index: 11;
632
  font-size: 16px;
633
- // background-image:url('../images/ajax-loader.gif') center center no-repeat;
634
  }
635
 
636
  &:after {
637
- content:"";
638
- display:block;
639
- background:rgba(0,0,0,0.5);
640
- width:100%;
641
- top:0;
642
- left:0;
643
- margin:0 auto;
644
  height: 100%;
645
  z-index: 10;
646
  position: absolute;
@@ -769,6 +896,7 @@ table.wp-list-table {
769
  &:first-child {
770
 
771
  /* main file */
 
772
  h3 {
773
  background-color: #FAFAFA;
774
  border-bottom: 1px solid #dcdcde;
@@ -794,6 +922,7 @@ table.wp-list-table {
794
 
795
  .dlm_browse_for_file {
796
  float: right;
 
797
  &:before {
798
  .iconbefore("\f322");
799
  }
@@ -824,6 +953,7 @@ table.wp-list-table {
824
  }
825
  }
826
  }
 
827
  #download-monitor-product-information {
828
  .dlm_information_panel {
829
  div {
@@ -1044,7 +1174,7 @@ table.wp-list-table {
1044
  float: left;
1045
  }
1046
 
1047
- &> :last-child {
1048
  margin-right: 0;
1049
  }
1050
 
@@ -1694,14 +1824,15 @@ table.wp-list-table {
1694
 
1695
  /* Extensions */
1696
  .dlm_extensions_wrap {
1697
-
1698
  a.dlm-reload-button {
1699
  float: right;
1700
  position: relative;
1701
  top: -40px;
1702
  }
1703
- #available-extensions{
1704
- clear:both;
 
1705
  }
1706
 
1707
  .dlm_extensions {
@@ -1711,7 +1842,7 @@ table.wp-list-table {
1711
  .dlm_extension {
1712
 
1713
  background-color: #FFF;
1714
- width: calc( 20% - 15px);
1715
  margin: 0 15px 15px 0;
1716
  display: inline-block;
1717
  vertical-align: top;
@@ -1844,7 +1975,8 @@ table.wp-list-table {
1844
  width: 33%;
1845
  }
1846
  }
1847
- a:first-child{
 
1848
  margin-right: 10px;
1849
  }
1850
  }
@@ -1858,13 +1990,13 @@ table.wp-list-table {
1858
  width: 65%;
1859
  float: left;
1860
 
1861
- &+.wpchill-upsells-wrapper {
1862
  width: 30%;
1863
  float: right;
1864
  }
1865
-
1866
- .dlm_htaccess_notice{
1867
- margin-bottom:5px;
1868
  }
1869
  }
1870
 
@@ -1876,13 +2008,21 @@ table.wp-list-table {
1876
  margin-left: 10px;
1877
  border-radius: 10px;
1878
  }
 
1879
  #setting-dlm_downloads_path {
1880
  & + p {
1881
  strong {
1882
- color:red;
1883
  }
1884
  }
1885
  }
 
 
 
 
 
 
 
1886
  }
1887
 
1888
  #total_downloads_browser_table {
@@ -1936,7 +2076,7 @@ table.wp-list-table {
1936
  align-items: center;
1937
  align-content: center;
1938
 
1939
- >* {
1940
  display: inline-block;
1941
  align-content: center;
1942
  vertical-align: middle;
@@ -1980,12 +2120,7 @@ table.wp-list-table {
1980
 
1981
  /* Lite vs PRO Section */
1982
 
1983
- body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
1984
- margin-left: 0;
1985
- max-width: 85%;
1986
- }
1987
-
1988
- .rsvp-lite-vs-premium {
1989
 
1990
  &,
1991
  p {
@@ -1993,8 +2128,8 @@ body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
1993
  margin: 0;
1994
  }
1995
 
1996
- &>.wpchill-plans-table.wpchill-highlight {
1997
- &>.wpchill-pricing-package {
1998
  background: #fefff0;
1999
  box-shadow: 0 0 15px rgb(208 219 219);
2000
  }
@@ -2176,10 +2311,10 @@ body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
2176
  */
2177
 
2178
  .wpchill-tooltip {
2179
- position: relative;
2180
- display: inline-block;
2181
- float: left;
2182
- margin-right: 10px;
2183
 
2184
  & > span {
2185
  cursor: pointer;
@@ -2193,7 +2328,7 @@ body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
2193
  position: absolute;
2194
  top: 50%;
2195
  right: -10px;
2196
- transform: translate( 100% ,-50% );
2197
  width: 300px;
2198
  background: #000;
2199
  color: #fff;
@@ -2206,7 +2341,7 @@ body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
2206
  display: block;
2207
  }
2208
 
2209
- .wpchill-tooltip-content{
2210
  &:before {
2211
  content: '';
2212
  width: 0px;
@@ -2218,7 +2353,7 @@ body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
2218
  position: absolute;
2219
  top: 50%;
2220
  left: -8px;
2221
- transform: translateY( -50% );
2222
  }
2223
  }
2224
  }
@@ -2246,7 +2381,7 @@ body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
2246
  display: block;
2247
  }
2248
 
2249
- .wpchill-tooltip-content{
2250
  &:before {
2251
  content: '';
2252
  width: 0px;
@@ -2263,13 +2398,114 @@ body.rsvp_page_rsvp-upgrade-to-pro #wpcontent .wrap {
2263
  }
2264
  }
2265
 
2266
- .dlm-file-link{
2267
- display:block;
2268
- margin-top:3px;
2269
  }
2270
 
2271
- .dlm-listing-no-file{
2272
  code {
2273
  color: #b32d2e;
2274
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2275
  }
60
 
61
  td.column-shortcode {
62
  .hidden {
63
+ display: none;
64
  }
65
  }
66
  }
292
  h3 {
293
  margin: 2em 0 0;
294
  }
295
+
296
+ .form-table {
297
+
298
+ label.dlm-radio-label {
299
+ display: block;
300
+ margin-bottom: 5px;
301
+ }
302
+
303
+ label.dlm-enhanced-radio-label {
304
+ position: relative;
305
+ padding: 10px 15px;
306
+ display: inline-block;
307
+ margin-bottom: 15px;
308
+ -webkit-user-select: none; /* Safari */
309
+ -moz-user-select: none; /* Firefox */
310
+ -ms-user-select: none; /* IE10+/Edge */
311
+ user-select: none; /* Standard */
312
+
313
+ span {
314
+ z-index: 3;
315
+ position: relative;
316
+ }
317
+
318
+ input[type="radio"] {
319
+ position: relative;
320
+ z-index: 2;
321
+
322
+ & + div.dlm-radio__selectable-area {
323
+ position: absolute;
324
+ width: 100%;
325
+ height: 100%;
326
+ border-radius: 20px;
327
+ display: block;
328
+ top: 0;
329
+ left: 0;
330
+ opacity: 1;
331
+ border: 1px solid grey;
332
+ }
333
+
334
+ &:checked + div.dlm-radio__selectable-area {
335
+ border-color: green;
336
+ background-color: rgba(0, 128, 0, 0.6);
337
+
338
+ & + span {
339
+ color: #fff;
340
+ }
341
+ }
342
+ }
343
+ }
344
+ }
345
+
346
+ .dlm_settings {
347
+ padding: 5px 0;
348
+
349
+ & > th {
350
+ padding: 15px 5px;
351
+ }
352
+
353
+ & > td {
354
+ padding: 15px 5px 15px 0;
355
+ }
356
+ }
357
+
358
+ .dlm_install_plugin_setting {
359
+ background: #fff;
360
+ padding: 0 15px;
361
+ border-bottom: 1px solid #ccc;
362
+ border-top: 1px solid #ccc;
363
+ }
364
+
365
+ .dlm_group_setting {
366
+ td,
367
+ .dlm-accordeon-group {
368
+ margin: 0 auto;
369
+ padding: 0 !important;
370
+
371
+ .dlm-groupped-settings__box {
372
+ margin: 5px 0 5px 0;
373
+ .postbox {
374
+ padding: 0;
375
+ margin: 0 auto;
376
+ .hndle{
377
+ margin:0;
378
+ padding:8px;
379
+ font-weight: lighter;
380
+ }
381
+ }
382
+ }
383
+ }
384
+
385
+ .handle-actions {
386
+ button {
387
+ box-shadow: none;
388
+ }
389
+ }
390
+
391
+ h2.hndle {
392
+ cursor: pointer;
393
+ }
394
+
395
+ .dlm-accordeon-group__content {
396
+ padding: 15px;
397
+
398
+ .dlm-accordeon-group__setting {
399
+ padding: 35px 0;
400
+ display:flex;
401
+ flex-wrap:wrap;
402
+ flex-direction:row;
403
+ justify-content: space-between;
404
+
405
+ .dlm-accordeon-group__setting-title {
406
+ font-size: 16px;
407
+ margin-bottom: 15px;
408
+ font-weight: bold;
409
+ width:20%;
410
+ }
411
+
412
+ .dlm-accordeon-group__setting-content {
413
+ width:80%;
414
+ }
415
+
416
+ .description {
417
+ font-style: italic;
418
+ }
419
+ }
420
+ }
421
+ }
422
  }
423
 
424
  /* File lists */
743
  border: 1px solid #ececec;
744
  margin: 9px 0 !important;
745
 
746
+ & .dlm-blury {
747
  &:before {
748
+ content: url('../images/ajax-loader.gif');
749
+ display: block;
750
  position: absolute;
751
+ top: 50%;
752
+ transform: translateY(-50%);
753
+ width: 100%;
754
+ left: 0;
755
+ margin: 0 auto;
756
+ color: #cecece;
757
  text-align: center;
758
  z-index: 11;
759
  font-size: 16px;
760
+ // background-image:url('../images/ajax-loader.gif') center center no-repeat;
761
  }
762
 
763
  &:after {
764
+ content: "";
765
+ display: block;
766
+ background: rgba(0, 0, 0, 0.5);
767
+ width: 100%;
768
+ top: 0;
769
+ left: 0;
770
+ margin: 0 auto;
771
  height: 100%;
772
  z-index: 10;
773
  position: absolute;
896
  &:first-child {
897
 
898
  /* main file */
899
+
900
  h3 {
901
  background-color: #FAFAFA;
902
  border-bottom: 1px solid #dcdcde;
922
 
923
  .dlm_browse_for_file {
924
  float: right;
925
+
926
  &:before {
927
  .iconbefore("\f322");
928
  }
953
  }
954
  }
955
  }
956
+
957
  #download-monitor-product-information {
958
  .dlm_information_panel {
959
  div {
1174
  float: left;
1175
  }
1176
 
1177
+ & > :last-child {
1178
  margin-right: 0;
1179
  }
1180
 
1824
 
1825
  /* Extensions */
1826
  .dlm_extensions_wrap {
1827
+
1828
  a.dlm-reload-button {
1829
  float: right;
1830
  position: relative;
1831
  top: -40px;
1832
  }
1833
+
1834
+ #available-extensions {
1835
+ clear: both;
1836
  }
1837
 
1838
  .dlm_extensions {
1842
  .dlm_extension {
1843
 
1844
  background-color: #FFF;
1845
+ width: calc(20% - 15px);
1846
  margin: 0 15px 15px 0;
1847
  display: inline-block;
1848
  vertical-align: top;
1975
  width: 33%;
1976
  }
1977
  }
1978
+
1979
+ a:first-child {
1980
  margin-right: 10px;
1981
  }
1982
  }
1990
  width: 65%;
1991
  float: left;
1992
 
1993
+ & + .wpchill-upsells-wrapper {
1994
  width: 30%;
1995
  float: right;
1996
  }
1997
+
1998
+ .dlm_htaccess_notice {
1999
+ margin-bottom: 5px;
2000
  }
2001
  }
2002
 
2008
  margin-left: 10px;
2009
  border-radius: 10px;
2010
  }
2011
+
2012
  #setting-dlm_downloads_path {
2013
  & + p {
2014
  strong {
2015
+ color: red;
2016
  }
2017
  }
2018
  }
2019
+
2020
+ .dlm-install-plugin-actions {
2021
+ display: inline-block;
2022
+ vertical-align: middle;
2023
+ margin: 5px auto;
2024
+ margin-left: 15px;
2025
+ }
2026
  }
2027
 
2028
  #total_downloads_browser_table {
2076
  align-items: center;
2077
  align-content: center;
2078
 
2079
+ > * {
2080
  display: inline-block;
2081
  align-content: center;
2082
  vertical-align: middle;
2120
 
2121
  /* Lite vs PRO Section */
2122
 
2123
+ .dlm-lite-vs-premium {
 
 
 
 
 
2124
 
2125
  &,
2126
  p {
2128
  margin: 0;
2129
  }
2130
 
2131
+ & > .wpchill-plans-table.wpchill-highlight {
2132
+ & > .wpchill-pricing-package {
2133
  background: #fefff0;
2134
  box-shadow: 0 0 15px rgb(208 219 219);
2135
  }
2311
  */
2312
 
2313
  .wpchill-tooltip {
2314
+ position: relative;
2315
+ display: inline-block;
2316
+ float: left;
2317
+ margin-right: 10px;
2318
 
2319
  & > span {
2320
  cursor: pointer;
2328
  position: absolute;
2329
  top: 50%;
2330
  right: -10px;
2331
+ transform: translate(100%, -50%);
2332
  width: 300px;
2333
  background: #000;
2334
  color: #fff;
2341
  display: block;
2342
  }
2343
 
2344
+ .wpchill-tooltip-content {
2345
  &:before {
2346
  content: '';
2347
  width: 0px;
2353
  position: absolute;
2354
  top: 50%;
2355
  left: -8px;
2356
+ transform: translateY(-50%);
2357
  }
2358
  }
2359
  }
2381
  display: block;
2382
  }
2383
 
2384
+ .wpchill-tooltip-content {
2385
  &:before {
2386
  content: '';
2387
  width: 0px;
2398
  }
2399
  }
2400
 
2401
+ .dlm-file-link {
2402
+ display: block;
2403
+ margin-top: 3px;
2404
  }
2405
 
2406
+ .dlm-listing-no-file {
2407
  code {
2408
  color: #b32d2e;
2409
  }
2410
+ }
2411
+
2412
+ /* Toggles */
2413
+ .wpchill-toggle {
2414
+ position: relative;
2415
+ user-select: none;
2416
+ display: inline-block;
2417
+ vertical-align: middle;
2418
+
2419
+ .wpchill-toggle__items {
2420
+ box-sizing: border-box;
2421
+ display: inline-block;
2422
+ position: relative;
2423
+
2424
+ & > * {
2425
+ box-sizing: inherit;
2426
+ }
2427
+
2428
+ .wpchill-toggle__track {
2429
+ background-color: #fff;
2430
+ border: 2px solid #6c7781;
2431
+ border-radius: 9px;
2432
+ display: inline-block;
2433
+ height: 18px;
2434
+ width: 36px;
2435
+ vertical-align: top;
2436
+ transition: background .2s ease;
2437
+ }
2438
+
2439
+ .wpchill-toggle__thumb {
2440
+ background-color: #6c7781;
2441
+ border: 5px solid #6c7781;
2442
+ border-radius: 50%;
2443
+ display: block;
2444
+ height: 10px;
2445
+ width: 10px;
2446
+ position: absolute;
2447
+ left: 4px;
2448
+ top: 4px;
2449
+ transition: transform .2s ease;
2450
+ min-width: auto;
2451
+ min-height: auto;
2452
+ float: none;
2453
+ padding: 0;
2454
+ }
2455
+
2456
+ .wpchill-toggle__off {
2457
+ position: absolute;
2458
+ right: 6px;
2459
+ top: 6px;
2460
+ color: #6c7781;
2461
+ fill: currentColor;
2462
+ }
2463
+
2464
+ .wpchill-toggle__on {
2465
+ position: absolute;
2466
+ top: 6px;
2467
+ left: 8px;
2468
+ border: 1px solid #fff;
2469
+ outline: 1px solid transparent;
2470
+ outline-offset: -1px;
2471
+ display: none;
2472
+ }
2473
+ }
2474
+
2475
+ .wpchill-toggle__input[type=checkbox] {
2476
+ border-radius: 2px;
2477
+ border: 2px solid #6c7781;
2478
+ margin-right: 12px;
2479
+ transition: none;
2480
+ height: 100%;
2481
+ left: 0;
2482
+ top: 0;
2483
+ margin: 0;
2484
+ padding: 0;
2485
+ opacity: 0;
2486
+ position: absolute;
2487
+ width: 100%;
2488
+ z-index: 1;
2489
+
2490
+ &:checked {
2491
+ & + .wpchill-toggle__items .wpchill-toggle__track {
2492
+ background-color: #0081a7;
2493
+ border: 9px solid transparent;
2494
+ }
2495
+
2496
+ & + .wpchill-toggle__items .wpchill-toggle__thumb {
2497
+ background-color: #fff;
2498
+ border-width: 0;
2499
+ transform: translateX(18px);
2500
+ }
2501
+
2502
+ & + .wpchill-toggle__items .wpchill-toggle__off {
2503
+ display: none;
2504
+ }
2505
+
2506
+ & + .wpchill-toggle__items .wpchill-toggle__on {
2507
+ display: inline-block;
2508
+ }
2509
+ }
2510
+ }
2511
  }
assets/js/install-plugins.js ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function( wp, $ ) {
2
+ 'use strict';
3
+ if ( ! wp ) {
4
+ return;
5
+ }
6
+
7
+ function activatePlugin( url ) {
8
+ $.ajax( {
9
+ async: true,
10
+ type: 'GET',
11
+ dataType: 'html',
12
+ url: url,
13
+ success: function() {
14
+ location.reload();
15
+ }
16
+ });
17
+ }
18
+
19
+ // Install plugins actions
20
+ $('a.dlm-install-plugin-link').on('click', (event) => {
21
+
22
+ event.preventDefault();
23
+ const current = $(event.currentTarget);
24
+ const plugin_slug = current.data('slug');
25
+ const plugin_action = current.data('action');
26
+ const element = current.parents('tr[data-setting]').attr('data-setting');
27
+ const activate_url = current.data('activation_url');
28
+
29
+ // Now let's disable the button and show the action text
30
+ current.attr('disabled', true);
31
+
32
+
33
+ if ( 'install' === plugin_action ) {
34
+
35
+ current.after('<span class="dlm-install-plugin-actions">' + dlm_install_plugins_vars.install_plugin + '</span>');
36
+
37
+ const args = {
38
+ slug: plugin_slug,
39
+ success: (response) => {
40
+ current.next('span').remove();
41
+ current.after('<span>' + dlm_install_plugins_vars.activate_plugin + '</span>');
42
+ activatePlugin( response.data.activateUrl );
43
+ },
44
+ error: (response) => {
45
+ current.next('span').remove();
46
+ current.after('<span>' + dlm_install_plugins_vars.no_install + ' ' + response.data.errorMessage + '</span>');
47
+ }
48
+ }
49
+
50
+ wp.updates.installPlugin(args);
51
+ } else if ( 'activate' === plugin_action ) {
52
+ current.after('<span class="dlm-install-plugin-actions">' + dlm_install_plugins_vars.activate_plugin + '</span>');
53
+ activatePlugin( activate_url );
54
+ }
55
+
56
+ });
57
+
58
+ $( document ).on( 'wp-plugin-install-success', function( response, data ) {
59
+ if ( 'modula-best-grid-gallery' == data.slug ) {
60
+ event.preventDefault();
61
+ activatePlugin( data.activateUrl );
62
+ }
63
+ } );
64
+ })( window.wp, jQuery );
assets/js/install-plugins.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(s,i){"use strict";function e(a){i.ajax({async:!0,type:"GET",dataType:"html",url:a,success:function(){location.reload()}})}s&&(i("a.dlm-install-plugin-link").on("click",a=>{a.preventDefault();const t=i(a.currentTarget);var a=t.data("slug"),n=t.data("action"),l=(t.parents("tr[data-setting]").attr("data-setting"),t.data("activation_url"));t.attr("disabled",!0),"install"===n?(t.after('<span class="dlm-install-plugin-actions">'+dlm_install_plugins_vars.install_plugin+"</span>"),s.updates.installPlugin({slug:a,success:a=>{t.next("span").remove(),t.after("<span>"+dlm_install_plugins_vars.activate_plugin+"</span>"),e(a.data.activateUrl)},error:a=>{t.next("span").remove(),t.after("<span>"+dlm_install_plugins_vars.no_install+" "+a.data.errorMessage+"</span>")}})):"activate"===n&&(t.after('<span class="dlm-install-plugin-actions">'+dlm_install_plugins_vars.activate_plugin+"</span>"),e(l))}),i(document).on("wp-plugin-install-success",function(a,t){"modula-best-grid-gallery"==t.slug&&(event.preventDefault(),e(t.activateUrl))}))}(window.wp,jQuery);
assets/js/settings.js CHANGED
@@ -1,63 +1,65 @@
1
- jQuery( function ( $ ) {
2
 
3
- $( '#setting-dlm_default_template' ).change( function () {
4
- if ( $( this ).val() === 'custom' ) {
5
- $( '#setting-dlm_custom_template' ).closest( 'tr' ).show();
6
  } else {
7
- $( '#setting-dlm_custom_template' ).closest( 'tr' ).hide();
8
  }
9
- } ).change();
10
 
11
- $( '#setting-dlm_enable_logging' ).change( function () {
12
- if ( $( this ).is( ":checked" ) === true ) {
13
- $( '#setting-dlm_count_unique_ips' ).closest( 'tr' ).show();
14
  } else {
15
- $( '#setting-dlm_count_unique_ips' ).closest( 'tr' ).hide();
16
  }
17
- } ).change();
18
 
19
- $( document ).ready( function () {
20
 
21
  // load lazy-select elements
22
- $.each( $( '.dlm-lazy-select' ), function () {
23
 
24
- var lazy_select_el = $( this );
25
 
26
  // add AJAX loader
27
- $( '<span>' ).addClass( 'dlm-lazy-select-loader' ).append(
28
- $( '<img>' ).attr( 'src', dlm_settings_vars.img_path + 'ajax-loader.gif' )
29
- ).insertAfter( lazy_select_el );
30
 
31
  // load data
32
- $.post( ajaxurl, {
33
  action: 'dlm_settings_lazy_select',
34
  nonce: dlm_settings_vars.lazy_select_nonce,
35
- option: lazy_select_el.attr( 'name' )
36
- }, function ( response ) {
37
 
38
  // remove current option(s)
39
- lazy_select_el.find( 'option' ).remove();
40
 
41
  // set new options
42
- if ( response ) {
43
- var selected = lazy_select_el.data( 'selected' );
44
- for ( var i = 0; i < response.length; i ++ ) {
45
- var opt = $( '<option>' ).attr( 'value', response[i].key ).html( response[i].lbl );
46
- if ( selected === response[i].key ) {
47
- opt.attr( 'selected', 'selected' );
48
  }
49
- lazy_select_el.append( opt );
50
  }
51
  }
52
 
53
  // remove ajax loader
54
- lazy_select_el.parent().find( '.dlm-lazy-select-loader' ).remove();
55
-
56
- } );
57
 
 
 
58
 
 
 
 
 
59
  } );
60
-
61
- } );
62
-
63
- } );
1
+ jQuery(function ($) {
2
 
3
+ $('#setting-dlm_default_template').change(function () {
4
+ if ($(this).val() === 'custom') {
5
+ $('#setting-dlm_custom_template').closest('tr').show();
6
  } else {
7
+ $('#setting-dlm_custom_template').closest('tr').hide();
8
  }
9
+ }).change();
10
 
11
+ $('#setting-dlm_enable_logging').change(function () {
12
+ if ($(this).is(":checked") === true) {
13
+ $('#setting-dlm_count_unique_ips').closest('tr').show();
14
  } else {
15
+ $('#setting-dlm_count_unique_ips').closest('tr').hide();
16
  }
17
+ }).change();
18
 
19
+ $(document).ready(function () {
20
 
21
  // load lazy-select elements
22
+ $.each($('.dlm-lazy-select'), function () {
23
 
24
+ var lazy_select_el = $(this);
25
 
26
  // add AJAX loader
27
+ $('<span>').addClass('dlm-lazy-select-loader').append(
28
+ $('<img>').attr('src', dlm_settings_vars.img_path + 'ajax-loader.gif')
29
+ ).insertAfter(lazy_select_el);
30
 
31
  // load data
32
+ $.post(ajaxurl, {
33
  action: 'dlm_settings_lazy_select',
34
  nonce: dlm_settings_vars.lazy_select_nonce,
35
+ option: lazy_select_el.attr('name')
36
+ }, function (response) {
37
 
38
  // remove current option(s)
39
+ lazy_select_el.find('option').remove();
40
 
41
  // set new options
42
+ if (response) {
43
+ var selected = lazy_select_el.data('selected');
44
+ for (var i = 0; i < response.length; i++) {
45
+ var opt = $('<option>').attr('value', response[i].key).html(response[i].lbl);
46
+ if (selected === response[i].key) {
47
+ opt.attr('selected', 'selected');
48
  }
49
+ lazy_select_el.append(opt);
50
  }
51
  }
52
 
53
  // remove ajax loader
54
+ lazy_select_el.parent().find('.dlm-lazy-select-loader').remove();
 
 
55
 
56
+ });
57
+ });
58
 
59
+ $('tr.dlm_group_setting').on( 'click', '.postbox-header', (event) => {
60
+ event.preventDefault();
61
+ event.stopPropagation();
62
+ $(event.currentTarget).parent().toggleClass('closed');
63
  } );
64
+ });
65
+ });
 
 
assets/js/settings.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){a("#setting-dlm_default_template").change(function(){"custom"===a(this).val()?a("#setting-dlm_custom_template").closest("tr").show():a("#setting-dlm_custom_template").closest("tr").hide()}).change(),a("#setting-dlm_enable_logging").change(function(){!0===a(this).is(":checked")?a("#setting-dlm_count_unique_ips").closest("tr").show():a("#setting-dlm_count_unique_ips").closest("tr").hide()}).change(),a(document).ready(function(){a.each(a(".dlm-lazy-select"),function(){var l=a(this);a("<span>").addClass("dlm-lazy-select-loader").append(a("<img>").attr("src",dlm_settings_vars.img_path+"ajax-loader.gif")).insertAfter(l),a.post(ajaxurl,{action:"dlm_settings_lazy_select",nonce:dlm_settings_vars.lazy_select_nonce,option:l.attr("name")},function(t){if(l.find("option").remove(),t)for(var e=l.data("selected"),n=0;n<t.length;n++){var s=a("<option>").attr("value",t[n].key).html(t[n].lbl);e===t[n].key&&s.attr("selected","selected"),l.append(s)}l.parent().find(".dlm-lazy-select-loader").remove()})})})});
1
+ jQuery(function(l){l("#setting-dlm_default_template").change(function(){"custom"===l(this).val()?l("#setting-dlm_custom_template").closest("tr").show():l("#setting-dlm_custom_template").closest("tr").hide()}).change(),l("#setting-dlm_enable_logging").change(function(){!0===l(this).is(":checked")?l("#setting-dlm_count_unique_ips").closest("tr").show():l("#setting-dlm_count_unique_ips").closest("tr").hide()}).change(),l(document).ready(function(){l.each(l(".dlm-lazy-select"),function(){var a=l(this);l("<span>").addClass("dlm-lazy-select-loader").append(l("<img>").attr("src",dlm_settings_vars.img_path+"ajax-loader.gif")).insertAfter(a),l.post(ajaxurl,{action:"dlm_settings_lazy_select",nonce:dlm_settings_vars.lazy_select_nonce,option:a.attr("name")},function(t){if(a.find("option").remove(),t)for(var e=a.data("selected"),n=0;n<t.length;n++){var s=l("<option>").attr("value",t[n].key).html(t[n].lbl);e===t[n].key&&s.attr("selected","selected"),a.append(s)}a.parent().find(".dlm-lazy-select-loader").remove()})}),l("tr.dlm_group_setting").on("click",".postbox-header",t=>{t.preventDefault(),t.stopPropagation(),l(t.currentTarget).parent().toggleClass("closed")})})});
assets/js/upload-file.js CHANGED
@@ -22,6 +22,7 @@ jQuery(function ($) {
22
 
23
  dlmUploader.uploader.bind('FilesAdded', dlmFileAdded);
24
  dlmUploader.uploader.bind('FileUploaded', dlmAddFileToPath);
 
25
  });
26
 
27
 
@@ -47,6 +48,7 @@ jQuery(function ($) {
47
  dlmUploader = new wp.Uploader(dlmUploaderOptions);
48
  dlmUploader.uploader.bind('FilesAdded', dlmFileAdded);
49
  dlmUploader.uploader.bind('FileUploaded', dlmAddFileToPath);
 
50
  });
51
 
52
  });
@@ -76,4 +78,16 @@ jQuery(function ($) {
76
  const fileURLs = jQuery(up.settings.browse_button).parents('td').find('textarea');
77
  fileURLs.parent().addClass('dlm-blury');
78
  }
 
 
 
 
 
 
 
 
 
 
 
 
79
  });
22
 
23
  dlmUploader.uploader.bind('FilesAdded', dlmFileAdded);
24
  dlmUploader.uploader.bind('FileUploaded', dlmAddFileToPath);
25
+ dlmUploader.uploader.bind('Error', dlmUploadError);
26
  });
27
 
28
 
48
  dlmUploader = new wp.Uploader(dlmUploaderOptions);
49
  dlmUploader.uploader.bind('FilesAdded', dlmFileAdded);
50
  dlmUploader.uploader.bind('FileUploaded', dlmAddFileToPath);
51
+ dlmUploader.uploader.bind('Error', dlmUploadError);
52
  });
53
 
54
  });
78
  const fileURLs = jQuery(up.settings.browse_button).parents('td').find('textarea');
79
  fileURLs.parent().addClass('dlm-blury');
80
  }
81
+
82
+ /**
83
+ * Blur the textarea so the user knows it is loading
84
+ * @param {*} up
85
+ * @param {*} pluploadError
86
+ */
87
+ function dlmUploadError(up, pluploadError) {
88
+ jQuery(up.settings.browse_button).parent().append('<p class="error description" style="color:red;">' + pluploadError.message + '</p>');
89
+ setTimeout(function () {
90
+ jQuery(up.settings.browse_button).parent().find('.error.description').remove();
91
+ }, 3500);
92
+ }
93
  });
assets/js/upload-file.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){let n=[];function o(e,d){d=d.attachment.attributes.url;const l=jQuery(e.settings.browse_button).parents("td").find("textarea");l.parent().removeClass("dlm-blury");let t=l.val();t=t?t+"\n"+d:d,l.val(t)}function r(e,d){const l=jQuery(e.settings.browse_button).parents("td").find("textarea");l.parent().addClass("dlm-blury")}a(".dlm_upload_file").each((e,d)=>{n.push(a(d));const l={browser:a(d),plupload:{multi_selection:!1},params:{type:"dlm_download"}},t=new wp.Uploader(l);t.uploader.bind("FilesAdded",r),t.uploader.bind("FileUploaded",o)}),a(document).on("dlm_new_file_added",()=>{a(".dlm_upload_file").each((e,d)=>{if(n.includes(a(d)))return!0;n.push(a(d));const l={browser:a(d),plupload:{multi_selection:!1},params:{type:"dlm_download"}},t=new wp.Uploader(l);t.uploader.bind("FilesAdded",r),t.uploader.bind("FileUploaded",o)})})});
1
+ jQuery(function(n){let o=[];function l(e,t){t=t.attachment.attributes.url;const d=jQuery(e.settings.browse_button).parents("td").find("textarea");d.parent().removeClass("dlm-blury");let r=d.val();r=r?r+"\n"+t:t,d.val(r)}function a(e,t){const d=jQuery(e.settings.browse_button).parents("td").find("textarea");d.parent().addClass("dlm-blury")}function s(e,t){jQuery(e.settings.browse_button).parent().append('<p class="error description" style="color:red;">'+t.message+"</p>"),setTimeout(function(){jQuery(e.settings.browse_button).parent().find(".error.description").remove()},3500)}n(".dlm_upload_file").each((e,t)=>{o.push(n(t));const d={browser:n(t),plupload:{multi_selection:!1},params:{type:"dlm_download"}},r=new wp.Uploader(d);r.uploader.bind("FilesAdded",a),r.uploader.bind("FileUploaded",l),r.uploader.bind("Error",s)}),n(document).on("dlm_new_file_added",()=>{n(".dlm_upload_file").each((e,t)=>{if(o.includes(n(t)))return!0;o.push(n(t));const d={browser:n(t),plupload:{multi_selection:!1},params:{type:"dlm_download"}},r=new wp.Uploader(d);r.uploader.bind("FilesAdded",a),r.uploader.bind("FileUploaded",l),r.uploader.bind("Error",s)})})});
changelog.txt CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  = 4.5.95 - 25.07.2022 =
2
  Fixed: Warning Undefined array key "icon", "icon-color", "icon-text" if transients are not set. ( https://github.com/WPChill/download-monitor/issues/979 )
3
  Fixed: On Pantheon hosted environments redirect to file doesn't work. ( https://github.com/WPChill/download-monitor/issues/914 )
1
+ = 4.5.96 - 16.08.2022 =
2
+ Changed: Show error on upload if file not OK ( https://github.com/WPChill/download-monitor/issues/995 )
3
+ Added: New settings field types ( https://github.com/WPChill/download-monitor/issues/1005 )
4
+ Fixed: Download link on SiteGround with CDN not working ( https://github.com/WPChill/download-monitor/issues/994 )
5
+ Fixed: Add parameter to filter for 3rd party payment gateway ( https://github.com/WPChill/download-monitor/issues/922 )
6
+
7
  = 4.5.95 - 25.07.2022 =
8
  Fixed: Warning Undefined array key "icon", "icon-color", "icon-text" if transients are not set. ( https://github.com/WPChill/download-monitor/issues/979 )
9
  Fixed: On Pantheon hosted environments redirect to file doesn't work. ( https://github.com/WPChill/download-monitor/issues/914 )
download-monitor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Download Monitor
4
  Plugin URI: https://www.download-monitor.com
5
  Description: A full solution for managing and selling downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 4.5.95
7
  Author: WPChill
8
  Author URI: https://wpchill.com
9
  Requires at least: 5.4
@@ -33,7 +33,7 @@ if ( ! defined( 'ABSPATH' ) ) {
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
- define( 'DLM_VERSION', '4.5.95' );
37
 
38
  // Define DLM FILE
39
  define( 'DLM_PLUGIN_FILE', __FILE__ );
3
  Plugin Name: Download Monitor
4
  Plugin URI: https://www.download-monitor.com
5
  Description: A full solution for managing and selling downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
+ Version: 4.5.96
7
  Author: WPChill
8
  Author URI: https://wpchill.com
9
  Requires at least: 5.4
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
+ define( 'DLM_VERSION', '4.5.96' );
37
 
38
  // Define DLM FILE
39
  define( 'DLM_PLUGIN_FILE', __FILE__ );
includes/admin/lite-vs-pro-page.php CHANGED
@@ -67,7 +67,7 @@ $pro_arguments = array(
67
  ),
68
  );
69
  ?>
70
- <div class="wrap rsvp-lite-vs-premium">
71
  <hr class="wp-header-end" />
72
  <div class="free-vs-premium">
73
  <!-- Table header -->
67
  ),
68
  );
69
  ?>
70
+ <div class="wrap dlm-lite-vs-premium">
71
  <hr class="wp-header-end" />
72
  <div class="free-vs-premium">
73
  <!-- Table header -->
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wpchill, silkalns, barrykooij, mikejolley
3
  Tags: download manager, document management, file manager, digital store, ecommerce, document management plugin, download monitor, download counter, password protection, download protection, password, protect downloads, tracker, sell, shop, ecommerce, paypal
4
  Requires at least: 5.4
5
  Tested up to: 6.0
6
- Stable tag: 4.5.95
7
  License: GPLv3
8
  Text Domain: -
9
  Requires PHP: 5.6
@@ -121,6 +121,12 @@ More documentation can be found in our [Knowledge Base](https://www.download-mon
121
 
122
  == Changelog ==
123
 
 
 
 
 
 
 
124
  = 4.5.95 - 25.07.2022 =
125
  Fixed: Warning Undefined array key "icon", "icon-color", "icon-text" if transients are not set. ( https://github.com/WPChill/download-monitor/issues/979 )
126
  Fixed: On Pantheon hosted environments redirect to file doesn't work. ( https://github.com/WPChill/download-monitor/issues/914 )
3
  Tags: download manager, document management, file manager, digital store, ecommerce, document management plugin, download monitor, download counter, password protection, download protection, password, protect downloads, tracker, sell, shop, ecommerce, paypal
4
  Requires at least: 5.4
5
  Tested up to: 6.0
6
+ Stable tag: 4.5.96
7
  License: GPLv3
8
  Text Domain: -
9
  Requires PHP: 5.6
121
 
122
  == Changelog ==
123
 
124
+ = 4.5.96 - 16.08.2022 =
125
+ Changed: Show error on upload if file not OK ( https://github.com/WPChill/download-monitor/issues/995 )
126
+ Added: New settings field types ( https://github.com/WPChill/download-monitor/issues/1005 )
127
+ Fixed: Download link on SiteGround with CDN not working ( https://github.com/WPChill/download-monitor/issues/994 )
128
+ Fixed: Add parameter to filter for 3rd party payment gateway ( https://github.com/WPChill/download-monitor/issues/922 )
129
+
130
  = 4.5.95 - 25.07.2022 =
131
  Fixed: Warning Undefined array key "icon", "icon-color", "icon-text" if transients are not set. ( https://github.com/WPChill/download-monitor/issues/979 )
132
  Fixed: On Pantheon hosted environments redirect to file doesn't work. ( https://github.com/WPChill/download-monitor/issues/914 )
src/Admin/Admin.php CHANGED
@@ -32,7 +32,8 @@ class DLM_Admin {
32
  add_action( 'init', array( $this, 'required_classes' ), 30 );
33
 
34
  // Remove admin notices from DLM pages
35
- //add_action( 'admin_notices', array( $this, 'remove_admin_notices' ), 9 );
 
36
 
37
  // Admin menus
38
  add_action( 'admin_menu', array( $this, 'admin_menu' ), 20 );
32
  add_action( 'init', array( $this, 'required_classes' ), 30 );
33
 
34
  // Remove admin notices from DLM pages
35
+ //@todo: uncomment this after we release our extensions with the proper modifications
36
+ add_action( 'admin_notices', array( $this, 'remove_admin_notices' ), 9 );
37
 
38
  // Admin menus
39
  add_action( 'admin_menu', array( $this, 'admin_menu' ), 20 );
src/Admin/AdminScripts.php CHANGED
@@ -203,9 +203,25 @@ class DLM_Admin_Scripts {
203
  wp_localize_script( 'dlm_settings', 'dlm_settings_vars', array(
204
  'img_path' => download_monitor()->get_plugin_url() . '/assets/images/',
205
  'lazy_select_nonce' => wp_create_nonce( 'dlm-settings-lazy-select-nonce' ),
206
- 'settings_url' => DLM_Admin_Settings::get_url()
207
  ) );
208
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  }
210
 
211
  // This should handle all extensions activation and deactivation single-handed
203
  wp_localize_script( 'dlm_settings', 'dlm_settings_vars', array(
204
  'img_path' => download_monitor()->get_plugin_url() . '/assets/images/',
205
  'lazy_select_nonce' => wp_create_nonce( 'dlm-settings-lazy-select-nonce' ),
206
+ 'settings_url' => DLM_Admin_Settings::get_url(),
207
  ) );
208
 
209
+ // Script used to install plugins
210
+ wp_enqueue_script( 'dlm_install_plugins', plugins_url( '/assets/js/install-plugins' . ( ( ! SCRIPT_DEBUG ) ? '.min' : '' ) . '.js', $dlm->get_plugin_file() ), array( 'jquery', 'updates' ), null, true );
211
+ wp_localize_script(
212
+ 'dlm_install_plugins',
213
+ 'dlm_install_plugins_vars',
214
+ array(
215
+ 'install_plugin' => esc_html__( 'Installing plugin...', 'dlm-email-lock' ),
216
+ 'activate_plugin' => esc_html__( 'Activating plugin...', 'dlm-email-lock' ),
217
+ 'no_install' => esc_html__( 'Plugin could not be installed.', 'dlm-email-lock' ),
218
+ 'no_activated' => esc_html__( 'Something went wrong, plugin could not be activated.', 'dlm-email-lock' ),
219
+ 'activated_plugin' => esc_html__( 'Plugin activated successfully.', 'dlm-email-lock' ),
220
+ )
221
+ );
222
+
223
+ wp_enqueue_style( 'common');
224
+
225
  }
226
 
227
  // This should handle all extensions activation and deactivation single-handed
src/Admin/Settings/Fields/Accordion.php ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class DLM_Admin_Fields_Field_Accordion extends DLM_Admin_Fields_Field {
4
+
5
+ /** @var Object */
6
+ private $options;
7
+
8
+ /** @var String */
9
+ private $title;
10
+
11
+ /**
12
+ * DLM_Admin_Fields_Field_Accordion constructor.
13
+ *
14
+ * @param String $name Group name
15
+ * @param Array $options Options to be rendered
16
+ * @param String $title Group Title
17
+ */
18
+ public function __construct( $name, $options, $title ) {
19
+ $this->options = $options;
20
+ $this->title = $title;
21
+ parent::__construct( $name, '', '' );
22
+ }
23
+
24
+ /**
25
+ * Renders field
26
+ */
27
+ public function render() {
28
+
29
+ $html = '<div class="meta-box-sortables dlm-accordeon-group dlm-groupped-settings__box">';
30
+ $html .= '<div class="postbox closed">';
31
+ $html .= '<div class="postbox-header">';
32
+ $html .= '<h2 class="hndle">' . esc_html( $this->title ) . '</h2>';
33
+ $html .= '<div class="handle-actions"><button type="button" class="handlediv" aria-expanded="false"><span class="toggle-indicator" aria-hidden="false"></span></button></div>';
34
+ $html .= '</div>';
35
+ $html .= '<div class="inside dlm-accordeon-group__content">';
36
+
37
+ foreach ( $this->options as $option ) {
38
+
39
+ // get value
40
+ $value = get_option( $option['name'], '' );
41
+
42
+ // placeholder
43
+ $placeholder = ( ! empty( $option['placeholder'] ) ) ? $option['placeholder'] : '';
44
+
45
+ switch ( $option['type'] ) {
46
+ case 'text':
47
+ ob_start();
48
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
49
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
50
+ echo '<div class="dlm-accordeon-group__setting-content">';
51
+ $field = new DLM_Admin_Fields_Field_Text( $option['name'], $value, $placeholder );
52
+ $content = $field->render();
53
+ echo $content;
54
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
55
+ echo '</div>'; // .dlm-accordeon-group__setting-content
56
+ echo '</div>'; // .dlm-accordeon-group__setting
57
+ $html .= ob_get_clean();
58
+ break;
59
+ case 'password':
60
+ ob_start();
61
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
62
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
63
+ echo '<div class="dlm-accordeon-group__setting-content">';
64
+ $field = new DLM_Admin_Fields_Field_Password( $option['name'], $value, $placeholder );
65
+ $content = $field->render();
66
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
67
+ echo '</div>'; // .dlm-accordeon-group__setting-content
68
+ echo '</div>'; // .dlm-accordeon-group__setting
69
+ $html .= ob_get_clean();
70
+ break;
71
+ case 'textarea':
72
+ ob_start();
73
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
74
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
75
+ echo '<div class="dlm-accordeon-group__setting-content">';
76
+ $field = new DLM_Admin_Fields_Field_Textarea( $option['name'], $value, $placeholder );
77
+ $content = $field->render();
78
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
79
+ echo '</div>'; // .dlm-accordeon-group__setting-content
80
+ echo '</div>'; // .dlm-accordeon-group__setting
81
+ $html .= ob_get_clean();
82
+ break;
83
+ case 'editor':
84
+ ob_start();
85
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
86
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
87
+ echo '<div class="dlm-accordeon-group__setting-content">';
88
+ $field = new DLM_Admin_Fields_Field_Editor( $option['name'], $value, $placeholder );
89
+ $content = $field->render();
90
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' .wp_kses_post( $option['desc'] ) . '</p>' : '';
91
+ echo '</div>'; // .dlm-accordeon-group__setting-content
92
+ echo '</div>'; // .dlm-accordeon-group__setting
93
+ $html .= ob_get_clean();
94
+ break;
95
+ case 'checkbox':
96
+ ob_start();
97
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
98
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
99
+ echo '<div class="dlm-accordeon-group__setting-content">';
100
+ $field = new DLM_Admin_Fields_Field_Checkbox( $option['name'], $value, $option['cb_label'] );
101
+ $content = $field->render();
102
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
103
+ echo '</div>'; // .dlm-accordeon-group__setting-content
104
+ echo '</div>'; // .dlm-accordeon-group__setting
105
+ $html .= ob_get_clean();
106
+ break;
107
+ case 'radio':
108
+ ob_start();
109
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
110
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
111
+ echo '<div class="dlm-accordeon-group__setting-content">';
112
+ $field = new DLM_Admin_Fields_Field_Radio( $option['name'], $value, $option['options'], $option['std'] );
113
+ $content = $field->render();
114
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
115
+ echo '</div>'; // .dlm-accordeon-group__setting-content
116
+ echo '</div>'; // .dlm-accordeon-group__setting
117
+ $html .= ob_get_clean();
118
+ break;
119
+ case 'enhanced_radio':
120
+ ob_start();
121
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
122
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
123
+ echo '<div class="dlm-accordeon-group__setting-content">';
124
+ $field = new DLM_Admin_Fields_Field_EnhancedRadio( $option['name'], $value, $option['options'], $option['std'] );
125
+ $content = $field->render();
126
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
127
+ echo '</div>'; // .dlm-accordeon-group__setting-content
128
+ echo '</div>'; // .dlm-accordeon-group__setting
129
+ $html .= ob_get_clean();
130
+ break;
131
+ case 'select':
132
+ ob_start();
133
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
134
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
135
+ echo '<div class="dlm-accordeon-group__setting-content">';
136
+ $field = new DLM_Admin_Fields_Field_Select( $option['name'], $value, $option['options'] );
137
+ $content = $field->render();
138
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
139
+ echo '</div>'; // .dlm-accordeon-group__setting-content
140
+ echo '</div>'; // .dlm-accordeon-group__setting
141
+ $html .= ob_get_clean();
142
+ break;
143
+ case 'lazy_select':
144
+
145
+ if ( isset( $option['name'] ) ) {
146
+ $tr_id = 'id="' . $option['name'] . '_wrapp"';
147
+ }else{
148
+ $tr_id = '';
149
+ }
150
+
151
+ ob_start();
152
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix" ' . $tr_id . '>';
153
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
154
+ echo '<div class="dlm-accordeon-group__setting-content">';
155
+ $content = '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['title'] ) . '</div>';
156
+ $content .= '<div class="dlm-accordeon-group__setting-content">';
157
+ $field = new DLM_Admin_Fields_Field_Lazy_Select( $option['name'], $value, $option['options'] );
158
+ $content .= $field->render();
159
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
160
+ echo '</div>'; // .dlm-accordeon-group__setting-content
161
+ echo '</div>'; // .dlm-accordeon-group__setting
162
+ $html .= ob_get_clean();
163
+ break;
164
+ case 'action_button':
165
+ ob_start();
166
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
167
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
168
+ echo '<div class="dlm-accordeon-group__setting-content">';
169
+ $field = new DLM_Admin_Fields_Field_ActionButton( $option['name'], $option['link'], $option['label'] );
170
+ $content = $field->render();
171
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
172
+ echo '</div>'; // .dlm-accordeon-group__setting-content
173
+ echo '</div>'; // .dlm-accordeon-group__setting
174
+ $html .= ob_get_clean();
175
+ break;
176
+ case 'action_button':
177
+ ob_start();
178
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
179
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
180
+ echo '<div class="dlm-accordeon-group__setting-content">';
181
+ $field = new DLM_Admin_Fields_Field_InstallPlugin( $option['name'], $option['link'], $option['label'] );
182
+ $content = $field->render();
183
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
184
+ echo '</div>'; // .dlm-accordeon-group__setting-content
185
+ echo '</div>'; // .dlm-accordeon-group__setting
186
+ $html .= ob_get_clean();
187
+ break;
188
+ case 'action_button':
189
+ ob_start();
190
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
191
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
192
+ echo '<div class="dlm-accordeon-group__setting-content">';
193
+ $field = new DLM_Admin_Fields_Field_InstallPlugin( $option['name'], $option['link'], $option['label'] );
194
+ $content = $field->render();
195
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . $option['desc'] . '</p>' : '';
196
+ echo '</div>'; // .dlm-accordeon-group__setting-content
197
+ echo '</div>'; // .dlm-accordeon-group__setting
198
+ $html .= ob_get_clean();
199
+ break;
200
+ case 'desc':
201
+ ob_start();
202
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
203
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
204
+ echo '<div class="dlm-accordeon-group__setting-content">';
205
+ $field = new DLM_Admin_Fields_Field_Desc( $option['name'], $option['text'], $placeholder );
206
+ $content = $field->render();
207
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
208
+ echo '</div>'; // .dlm-accordeon-group__setting-content
209
+ echo '</div>'; // .dlm-accordeon-group__setting
210
+ $html .= ob_get_clean();
211
+ break;
212
+ case 'title':
213
+ ob_start();
214
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
215
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
216
+ echo '<div class="dlm-accordeon-group__setting-content">';
217
+ $field = new DLM_Admin_Fields_Field_Title( $option['title'] );
218
+ $content = $field->render();
219
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
220
+ echo '</div>'; // .dlm-accordeon-group__setting-content
221
+ echo '</div>'; // .dlm-accordeon-group__setting
222
+ $html .= ob_get_clean();
223
+ break;
224
+ case 'gateway_overview':
225
+ ob_start();
226
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
227
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
228
+ echo '<div class="dlm-accordeon-group__setting-content">';
229
+ $field = new \Never5\DownloadMonitor\Shop\Admin\Fields\GatewayOverview( $option['gateways'] );
230
+ $content = $field->render();
231
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ). '</p>' : '';
232
+ echo '</div>'; // .dlm-accordeon-group__setting-content
233
+ echo '</div>'; // .dlm-accordeon-group__setting
234
+ $html .= ob_get_clean();
235
+ break;
236
+ default:
237
+ ob_start();
238
+ echo '<div class="dlm-accordeon-group__setting wp-clearfix">';
239
+ echo '<div class="dlm-accordeon-group__setting-title">' . esc_html( $option['label'] ) . '</div>';
240
+ echo '<div class="dlm-accordeon-group__setting-content">';
241
+ /**
242
+ * do_filter: dlm_setting_field_$type: (null) $field, (array) $option, (String) $value, (String) $placeholder
243
+ */
244
+ $field = null;
245
+ $field = apply_filters( 'dlm_setting_field_' . $option['type'], $field, $option, $value, $placeholder );
246
+ $content = $field->render();
247
+ echo ( isset( $option['desc'] ) ) ? '<p class="description">' . wp_kses_post( $option['desc'] ) . '</p>' : '';
248
+ echo '</div>'; // .dlm-accordeon-group__setting-content
249
+ echo '</div>'; // .dlm-accordeon-group__setting
250
+ $html .= ob_get_clean();
251
+
252
+ break;
253
+ }
254
+ }
255
+ $html .= '</div>'; // .inside .dlm-accordeon-group__content
256
+ $html .= '</div>'; // .postbox
257
+ $html .= '</div>'; // #poststuff
258
+
259
+ echo $html;
260
+
261
+ }
262
+
263
+ }
src/Admin/Settings/Fields/Checkbox.php CHANGED
@@ -38,10 +38,26 @@ class DLM_Admin_Fields_Field_Checkbox extends DLM_Admin_Fields_Field {
38
  */
39
  public function render() {
40
  ?>
41
- <label><input id="setting-<?php echo esc_attr( $this->get_name() ); ?>"
42
- name="<?php echo esc_attr( $this->get_name() ); ?>" type="checkbox"
43
- value="1" <?php checked( '1', $this->get_value() ); ?> /> <?php echo esc_html( $this->get_cb_label() ); ?>
44
- </label>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <?php
46
  }
47
 
38
  */
39
  public function render() {
40
  ?>
41
+ <div>
42
+ <div class="wpchill-toggle">
43
+ <input class="wpchill-toggle__input" id="setting-<?php echo esc_attr( $this->get_name() ); ?>"
44
+ name="<?php echo esc_attr( $this->get_name() ); ?>" type="checkbox"
45
+ value="1" <?php checked( '1', $this->get_value() ); ?>>
46
+ <div class="wpchill-toggle__items">
47
+ <span class="wpchill-toggle__track"></span>
48
+ <span class="wpchill-toggle__thumb"></span>
49
+ <svg class="wpchill-toggle__off" width="6" height="6" aria-hidden="true" role="img"
50
+ focusable="false" viewBox="0 0 6 6">
51
+ <path d="M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"></path>
52
+ </svg>
53
+ <svg class="wpchill-toggle__on" width="2" height="6" aria-hidden="true" role="img"
54
+ focusable="false" viewBox="0 0 2 6">
55
+ <path d="M0 0h2v6H0z"></path>
56
+ </svg>
57
+ </div>
58
+ </div>
59
+ <label><?php echo esc_html( $this->get_cb_label() ); ?></label>
60
+ </div>
61
  <?php
62
  }
63
 
src/Admin/Settings/Fields/Editor.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class DLM_Admin_Fields_Field_Editor extends DLM_Admin_Fields_Field {
4
+
5
+ /**
6
+ * Renders field
7
+ */
8
+ public function render() {
9
+
10
+ $settings = array(
11
+ 'textarea_name' => $this->get_name(),
12
+ 'wpautop' => true,
13
+ 'media_buttons' => false,
14
+ 'teeny' => true,
15
+ 'tinymce' => true,
16
+ 'quicktags' => false,
17
+ 'textarea_rows' => 10,
18
+ );
19
+ ob_start();
20
+ wp_editor( $this->get_value(), $this->get_name(), $settings );
21
+ $html = ob_get_clean();
22
+ echo $html;
23
+
24
+ }
25
+
26
+ }
src/Admin/Settings/Fields/EnghancedRadio.php ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class DLM_Admin_Fields_Field_EnhancedRadio extends DLM_Admin_Fields_Field {
4
+
5
+ /** @var Array */
6
+ private $options;
7
+ /** @var String */
8
+ private $default;
9
+
10
+ /**
11
+ * DLM_Admin_Fields_Field_Radio constructor.
12
+ *
13
+ * @param String $name Radio name
14
+ * @param String $value Radio current value
15
+ * @param Array $options Radio options
16
+ * @param String $default Radio default value
17
+ */
18
+ public function __construct( $name, $value, $options, $default = '' ) {
19
+ $this->set_options( $options );
20
+ $this->set_default( $default );
21
+ parent::__construct( $name, $value, '' );
22
+ }
23
+
24
+ /**
25
+ * @return string
26
+ */
27
+ public function get_default() {
28
+ return $this->default;
29
+ }
30
+
31
+ /**
32
+ * @return array
33
+ */
34
+ public function set_default( $default ) {
35
+ $this->default = $default;
36
+ }
37
+
38
+ /**
39
+ * @return array
40
+ */
41
+ public function get_options() {
42
+ return $this->options;
43
+ }
44
+
45
+ /**
46
+ * @param array $options
47
+ */
48
+ public function set_options( $options ) {
49
+ $this->options = $options;
50
+ }
51
+
52
+ /**
53
+ * Renders field
54
+ */
55
+ public function render() {
56
+ if ( '' === $this->get_value() ) {
57
+ $this->set_value($this->get_default());
58
+ }
59
+ foreach ( $this->get_options() as $key => $name ) {
60
+ ?>
61
+ <label class="dlm-enhanced-radio-label"><input id="setting-<?php echo esc_attr( $this->get_name() ); ?>"
62
+ name="<?php echo esc_attr( $this->get_name() ); ?>" type="radio"
63
+ value="<?php echo esc_attr( $key ); ?>" <?php checked( $key, $this->get_value() ); ?> /><div class="dlm-radio__selectable-area"></div><span><?php echo esc_html( $name ); ?></span></label>
64
+ <?php
65
+ }
66
+
67
+ }
68
+
69
+ }
src/Admin/Settings/Fields/FieldFactory.php CHANGED
@@ -27,9 +27,18 @@ class DLM_Admin_Fields_Field_Factory {
27
  case 'textarea':
28
  $field = new DLM_Admin_Fields_Field_Textarea( $option['name'], $value, $placeholder );
29
  break;
 
 
 
30
  case 'checkbox':
31
  $field = new DLM_Admin_Fields_Field_Checkbox( $option['name'], $value, $option['cb_label'] );
32
  break;
 
 
 
 
 
 
33
  case 'select':
34
  $field = new DLM_Admin_Fields_Field_Select( $option['name'], $value, $option['options'] );
35
  break;
@@ -39,6 +48,9 @@ class DLM_Admin_Fields_Field_Factory {
39
  case 'action_button':
40
  $field = new DLM_Admin_Fields_Field_ActionButton( $option['name'], $option['link'], $option['label'] );
41
  break;
 
 
 
42
  case 'desc':
43
  $field = new DLM_Admin_Fields_Field_Desc( $option['name'], $option['text'], $placeholder );
44
  break;
@@ -46,17 +58,19 @@ class DLM_Admin_Fields_Field_Factory {
46
  $field = new DLM_Admin_Fields_Field_Title( $option['title'] );
47
  break;
48
  case 'gateway_overview':
49
- $field = new \Never5\DownloadMonitor\Shop\Admin\Fields\GatewayOverview( $option['gateways'] );
50
  break;
51
  case 'htaccess_status':
52
  $field = new DLM_Admin_Fields_Field_HtaccessStatus( $option );
53
  break;
 
 
 
54
  default:
55
  /**
56
  * do_filter: dlm_setting_field_$type: (null) $field, (array) $option, (String) $value, (String) $placeholder
57
  */
58
  $field = apply_filters( 'dlm_setting_field_' . $option['type'], $field, $option, $value, $placeholder );
59
-
60
  break;
61
  }
62
 
27
  case 'textarea':
28
  $field = new DLM_Admin_Fields_Field_Textarea( $option['name'], $value, $placeholder );
29
  break;
30
+ case 'editor':
31
+ $field = new DLM_Admin_Fields_Field_Editor( $option['name'], $value, $placeholder );
32
+ break;
33
  case 'checkbox':
34
  $field = new DLM_Admin_Fields_Field_Checkbox( $option['name'], $value, $option['cb_label'] );
35
  break;
36
+ case 'radio':
37
+ $field = new DLM_Admin_Fields_Field_Radio( $option['name'], $value, $option['options'], $option['std'] );
38
+ break;
39
+ case 'enhanced_raio':
40
+ $field = new DLM_Admin_Fields_Field_EnhancedRadio( $option['name'], $value, $option['options'] );
41
+ break;
42
  case 'select':
43
  $field = new DLM_Admin_Fields_Field_Select( $option['name'], $value, $option['options'] );
44
  break;
48
  case 'action_button':
49
  $field = new DLM_Admin_Fields_Field_ActionButton( $option['name'], $option['link'], $option['label'] );
50
  break;
51
+ case 'install_plugin':
52
+ $field = new DLM_Admin_Fields_Field_InstallPlugin( $option['name'], $option['link'], $option['label'] );
53
+ break;
54
  case 'desc':
55
  $field = new DLM_Admin_Fields_Field_Desc( $option['name'], $option['text'], $placeholder );
56
  break;
58
  $field = new DLM_Admin_Fields_Field_Title( $option['title'] );
59
  break;
60
  case 'gateway_overview':
61
+ $field = new \WPChill\DownloadMonitor\Shop\Admin\Fields\GatewayOverview( $option['gateways'] );
62
  break;
63
  case 'htaccess_status':
64
  $field = new DLM_Admin_Fields_Field_HtaccessStatus( $option );
65
  break;
66
+ case 'group':
67
+ $field = new DLM_Admin_Fields_Field_Accordion( $option['name'], $option['options'], $option['title'] );
68
+ break;
69
  default:
70
  /**
71
  * do_filter: dlm_setting_field_$type: (null) $field, (array) $option, (String) $value, (String) $placeholder
72
  */
73
  $field = apply_filters( 'dlm_setting_field_' . $option['type'], $field, $option, $value, $placeholder );
 
74
  break;
75
  }
76
 
src/Admin/Settings/Fields/InstallPlugin.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class DLM_Admin_Fields_Field_InstallPlugin extends DLM_Admin_Fields_Field {
4
+
5
+ /** @var string */
6
+ private $slug;
7
+
8
+ /** @var string */
9
+ private $plugin_path;
10
+
11
+ /** @var string */
12
+ private $label;
13
+
14
+ /**
15
+ * DLM_Admin_Fields_Field constructor.
16
+ *
17
+ * @param String $name
18
+ * @param String $link
19
+ * @param String $label
20
+ *
21
+ * @since 4.6.0
22
+ */
23
+ public function __construct( $name, $link, $label ) {
24
+
25
+ if ( ! is_array( explode( '/', $link ) ) ) {
26
+ return;
27
+ }
28
+
29
+ $this->plugin_path = $link;
30
+ $slug = explode( '/', $link );
31
+ $this->slug = $slug[0];
32
+ $this->label = $label;
33
+ parent::__construct( $name, '', '' );
34
+ }
35
+
36
+ /**
37
+ * Check for plugin installed
38
+ *
39
+ * @return void
40
+ *
41
+ * @since 4.6.0
42
+ */
43
+ private function check_if_installed() {
44
+
45
+ if ( is_file( WP_PLUGIN_DIR . '/' . $this->plugin_path ) ) {
46
+ return true;
47
+ }
48
+
49
+ return false;
50
+ }
51
+
52
+ /**
53
+ * Check if plugin is active
54
+ *
55
+ * @return void
56
+ *
57
+ * @since 4.6.0
58
+ */
59
+ private function check_if_active() {
60
+
61
+ if ( is_plugin_active( $this->plugin_path ) ) {
62
+ return true;
63
+ }
64
+
65
+ return false;
66
+ }
67
+
68
+ /**
69
+ * Retrieve action link attributes
70
+ * The return array is composed of the following : disabled , action and slug. We need to pass the array like this in order to maintain PHP 5.6 compatibility.
71
+ *
72
+ * @return array
73
+ *
74
+ * @since 4.6.0
75
+ */
76
+ private function get_attributes() {
77
+
78
+ if ( empty( $this->slug ) ) {
79
+
80
+ return array(
81
+ 'disabled',
82
+ '',
83
+ '',
84
+ );
85
+ }
86
+
87
+ if ( ! $this->check_if_installed() ) {
88
+ return array(
89
+ '',
90
+ 'install',
91
+ $this->slug,
92
+ );
93
+ }
94
+
95
+ if ( ! $this->check_if_active() ) {
96
+ return array(
97
+ '',
98
+ 'activate',
99
+ $this->slug,
100
+ );
101
+ }
102
+
103
+ return array(
104
+ 'disabled',
105
+ '',
106
+ $this->slug,
107
+ );
108
+ }
109
+
110
+ /**
111
+ * Renders field
112
+ *
113
+ * The Button is quite an odd 'field'. It's basically just an a tag .
114
+ *
115
+ * @since 4.6.0
116
+ */
117
+ public function render() {
118
+ list( $disabled, $action, $slug ) = $this->get_attributes();
119
+
120
+ $activate_url = add_query_arg(
121
+ array(
122
+ 'action' => 'activate',
123
+ 'plugin' => rawurlencode( $this->plugin_path ),
124
+ 'plugin_status' => 'all',
125
+ 'paged' => '1',
126
+ '_wpnonce' => wp_create_nonce( 'activate-plugin_' . $this->plugin_path ),
127
+ ),
128
+ admin_url( 'plugins.php' )
129
+ );
130
+ ?>
131
+ <a class="button button-primary dlm-install-plugin-link" <?php echo ( 'disabled' === $disabled ) ? 'disabled' : ''; ?> data-action="<?php echo esc_attr( $action ); ?>" data-activation_url="<?php echo esc_url( $activate_url ); ?>" href="#" data-slug="<?php echo esc_attr( $slug ); ?>"><?php echo esc_html__( 'Install' ); ?></a><span class="dlm-install-plugin-actions"><?php echo ( '' === $action ) ? esc_html__( 'Plugin already installed and activated', 'download-monitor' ) : ''; ?></span>
132
+ <?php
133
+ }
134
+ }
src/Admin/Settings/Fields/Radio.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class DLM_Admin_Fields_Field_Radio extends DLM_Admin_Fields_Field {
4
+
5
+ /** @var Array */
6
+ private $options;
7
+ /** @var String */
8
+ private $default;
9
+
10
+ /**
11
+ * DLM_Admin_Fields_Field_Radio constructor.
12
+ *
13
+ * @param String $name Radio name
14
+ * @param String $value Radio current value
15
+ * @param Array $options Radio options
16
+ * @param String $default Radio default value
17
+ */
18
+ public function __construct( $name, $value, $options, $default = '' ) {
19
+ $this->set_options( $options );
20
+ $this->set_default( $default );
21
+ parent::__construct( $name, $value, '' );
22
+ }
23
+
24
+ /**
25
+ * @return array
26
+ */
27
+ public function get_options() {
28
+ return $this->options;
29
+ }
30
+
31
+ /**
32
+ * @return string
33
+ */
34
+ public function get_default() {
35
+ return $this->default;
36
+ }
37
+
38
+ /**
39
+ * @return array
40
+ */
41
+ public function set_default( $default ) {
42
+ $this->default = $default;
43
+ }
44
+
45
+ /**
46
+ * @param array $options Radio options
47
+ */
48
+ public function set_options( $options ) {
49
+ $this->options = $options;
50
+ }
51
+
52
+ /**
53
+ * Renders field
54
+ */
55
+ public function render() {
56
+
57
+ if ( '' === $this->get_value() ) {
58
+ $this->set_value( $this->get_default() );
59
+ }
60
+
61
+ foreach ( $this->get_options() as $key => $name ) {
62
+ ?>
63
+ <label class="dlm-radio-label"><input id="setting-<?php echo esc_attr( $this->get_name() ); ?>"
64
+ name="<?php echo esc_attr( $this->get_name() ); ?>" type="radio"
65
+ value="<?php echo esc_attr( $key ); ?>" <?php checked( $key, $this->get_value() ); ?> /><span><?php echo esc_html( $name ); ?></span></label>
66
+ <?php
67
+ }
68
+
69
+ }
70
+ }
src/Admin/Settings/Page.php CHANGED
@@ -166,76 +166,80 @@ class DLM_Settings_Page {
166
  // loop fields for this tab
167
  if ( isset( $settings[ $tab ] ) ) {
168
 
169
- $active_section = $this->get_active_section( $settings[ $tab ]['sections'] );
170
 
171
- if ( count( $settings[ $tab ]['sections'] ) > 1 ) {
172
 
173
- ?>
174
- <div class="wp-clearfix">
175
- <ul class="subsubsub dlm-settings-sub-nav">
176
  <?php foreach ( $settings[ $tab ]['sections'] as $section_key => $section ) : ?>
177
  <?php echo "<li" . ( ( $active_section == $section_key ) ? " class='active-section'" : "" ) . ">"; ?>
178
- <a href="<?php echo esc_url( add_query_arg( array(
179
- 'tab' => $tab,
180
- 'section' => $section_key
181
- ), DLM_Admin_Settings::get_url() ) ); ?>"><?php echo esc_html( $section['title'] ); ?><?php echo isset( $section['badge'] ) ? '<span class="dlm-upsell-badge">PRO</span>' : ''; ?></a></li>
182
  <?php endforeach; ?>
183
- </ul>
184
- </div><!--.wp-clearfix-->
185
- <h2><?php echo esc_html( $settings[ $tab ]['sections'][ $active_section ]['title'] ); ?></h2>
186
- <?php
187
- }
188
-
189
- //echo '<div id="settings-' . sanitize_title( $key ) . '" class="settings_panel">';
190
- do_action( 'dlm_tab_section_content_' . $active_section, $settings );
191
 
192
- if ( isset( $settings[ $tab ]['sections'][ $active_section ]['fields'] ) && ! empty( $settings[ $tab ]['sections'][ $active_section ]['fields'] ) ) {
 
193
 
194
- // output correct settings_fields
195
- // We change the output location so that it won't interfere with our upsells
196
- $option_name = "dlm_" . $tab . "_" . $active_section;
197
- settings_fields( $option_name );
198
 
199
- echo '<table class="form-table">';
 
 
 
200
 
201
- foreach ( $settings[ $tab ]['sections'][ $active_section ]['fields'] as $option ) {
202
 
203
- $cs = 1;
204
 
205
- echo '<tr valign="top">';
206
- if ( isset( $option['label'] ) && '' !== $option['label'] ) {
207
- echo '<th scope="row"><label for="setting-' . esc_attr( $option['name'] ) . '">' . esc_attr( $option['label'] ) . '</a></th>';
208
- } else {
209
- $cs ++;
210
- }
211
 
 
 
 
212
 
213
- echo '<td colspan="' . esc_attr( $cs ) . '">';
 
 
 
 
 
 
214
 
215
- if ( ! isset( $option['type'] ) ) {
216
- $option['type'] = '';
217
- }
218
 
219
- // make new field object
220
- $field = DLM_Admin_Fields_Field_Factory::make( $option );
221
 
222
- // check if factory made a field
223
- if ( null !== $field ) {
224
- // render field
225
- $field->render();
226
 
227
- if ( isset( $option['desc'] ) && '' !== $option['desc'] ) {
228
- echo ' <p class="dlm-description description">' . wp_kses_post( $option['desc'] ) . '</p>';
229
- }
230
- }
231
 
232
- echo '</td></tr>';
 
 
 
233
 
 
 
 
234
  }
235
 
236
- echo '</table>';
 
237
  }
238
 
 
 
239
 
240
  echo '<div class="wpchill-upsells-wrapper">';
241
 
166
  // loop fields for this tab
167
  if ( isset( $settings[ $tab ] ) ) {
168
 
169
+ $active_section = $this->get_active_section( $settings[ $tab ]['sections'] );
170
 
171
+ if ( count( $settings[ $tab ]['sections'] ) > 1 ) {
172
 
173
+ ?>
174
+ <div class="wp-clearfix">
175
+ <ul class="subsubsub dlm-settings-sub-nav">
176
  <?php foreach ( $settings[ $tab ]['sections'] as $section_key => $section ) : ?>
177
  <?php echo "<li" . ( ( $active_section == $section_key ) ? " class='active-section'" : "" ) . ">"; ?>
178
+ <a href="<?php echo esc_url( add_query_arg( array(
179
+ 'tab' => $tab,
180
+ 'section' => $section_key
181
+ ), DLM_Admin_Settings::get_url() ) ); ?>"><?php echo esc_html( $section['title'] ); ?><?php echo isset( $section['badge'] ) ? '<span class="dlm-upsell-badge">PRO</span>' : ''; ?></a></li>
182
  <?php endforeach; ?>
183
+ </ul>
184
+ </div><!--.wp-clearfix-->
185
+ <h2><?php echo esc_html( $settings[ $tab ]['sections'][ $active_section ]['title'] ); ?></h2>
186
+ <?php
187
+ }
 
 
 
188
 
189
+ //echo '<div id="settings-' . sanitize_title( $key ) . '" class="settings_panel">';
190
+ do_action( 'dlm_tab_section_content_' . $active_section, $settings );
191
 
192
+ if ( isset( $settings[ $tab ]['sections'][ $active_section ]['fields'] ) && ! empty( $settings[ $tab ]['sections'][ $active_section ]['fields'] ) ) {
 
 
 
193
 
194
+ // output correct settings_fields
195
+ // We change the output location so that it won't interfere with our upsells
196
+ $option_name = "dlm_" . $tab . "_" . $active_section;
197
+ settings_fields( $option_name );
198
 
199
+ echo '<table class="form-table">';
200
 
201
+ foreach ( $settings[ $tab ]['sections'][ $active_section ]['fields'] as $option ) {
202
 
203
+ $cs = 1;
 
 
 
 
 
204
 
205
+ if ( ! isset( $option['type'] ) ) {
206
+ $option['type'] = '';
207
+ }
208
 
209
+ $tr_class = 'dlm_settings dlm_' . $option['type'] . '_setting';
210
+ echo '<tr valign="top" data-setting="' . ( isset( $option['name'] ) ? esc_attr( $option['name'] ) : '' ) . '" class="' . esc_attr( $tr_class ) . '">';
211
+ if ( isset( $option['label'] ) && '' !== $option['label'] ) {
212
+ echo '<th scope="row"><label for="setting-' . esc_attr( $option['name'] ) . '">' . esc_attr( $option['label'] ) . '</a></th>';
213
+ } else {
214
+ $cs ++;
215
+ }
216
 
 
 
 
217
 
218
+ echo '<td colspan="' . esc_attr( $cs ) . '">';
 
219
 
220
+ if ( ! isset( $option['type'] ) ) {
221
+ $option['type'] = '';
222
+ }
 
223
 
224
+ // make new field object
225
+ $field = DLM_Admin_Fields_Field_Factory::make( $option );
 
 
226
 
227
+ // check if factory made a field
228
+ if ( null !== $field ) {
229
+ // render field
230
+ $field->render();
231
 
232
+ if ( isset( $option['desc'] ) && '' !== $option['desc'] ) {
233
+ echo ' <p class="dlm-description description">' . wp_kses_post( $option['desc'] ) . '</p>';
234
+ }
235
  }
236
 
237
+ echo '</td></tr>';
238
+
239
  }
240
 
241
+ echo '</table>';
242
+ }
243
 
244
  echo '<div class="wpchill-upsells-wrapper">';
245
 
src/Admin/Settings/Settings.php CHANGED
@@ -32,6 +32,21 @@ class DLM_Admin_Settings {
32
  // Check to see if $section['fields'] is set, we could be using it for upsells
33
  if ( isset( $section['fields'] ) ) {
34
  foreach ( $section['fields'] as $field ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  if ( ! empty( $field['name'] ) && ! in_array( $field['type'], apply_filters( 'dlm_settings_display_only_fields', array( 'action_button' ) ) ) ) {
36
  if ( isset( $field['std'] ) ) {
37
  add_option( $field['name'], $field['std'] );
32
  // Check to see if $section['fields'] is set, we could be using it for upsells
33
  if ( isset( $section['fields'] ) ) {
34
  foreach ( $section['fields'] as $field ) {
35
+
36
+ if( $field['type'] == 'group' ){
37
+ foreach( $field['options'] as $group_field ){
38
+
39
+ if ( ! empty( $group_field['name'] ) ) {
40
+ if ( isset( $group_field['std'] ) ) {
41
+ add_option( $group_field['name'], $group_field['std'] );
42
+ }
43
+ register_setting( $option_group, $group_field['name'] );
44
+ }
45
+
46
+ }
47
+ continue;
48
+ }
49
+
50
  if ( ! empty( $field['name'] ) && ! in_array( $field['type'], apply_filters( 'dlm_settings_display_only_fields', array( 'action_button' ) ) ) ) {
51
  if ( isset( $field['std'] ) ) {
52
  add_option( $field['name'], $field['std'] );
src/DownloadHandler.php CHANGED
@@ -559,17 +559,23 @@ class DLM_Download_Handler {
559
  list( $a, $range ) = explode( "=", $_SERVER['HTTP_RANGE'], 2 );
560
  list( $range ) = explode( ",", $range, 2 );
561
  list( $range, $range_end ) = explode( "-", $range );
562
- $range = intval( $range );
 
563
 
564
- if ( ! $range_end ) {
565
- $range_end = $version->get_filesize() ;
 
566
  } else {
567
  $range_end = intval( $range_end );
568
  }
569
 
570
- //$new_length = $range_end - $range;
571
- $new_length = ($range_end - $range) + 1;
572
- header( "HTTP/1.1 206 Partial Content" );
 
 
 
 
573
  header( "Content-Length: $new_length" );
574
  header( "Content-Range: bytes {$range}-{$range_end}/{$version->get_filesize()}" );
575
 
@@ -578,7 +584,6 @@ class DLM_Download_Handler {
578
  }
579
 
580
  if ( $this->readfile_chunked( $file_path, false, $range ) ) {
581
- //if ( $this->readfile_chunked( $file_path, $range ) ) {
582
 
583
  // Complete!
584
  $this->log( 'download', 'completed', '', $download, $version );
559
  list( $a, $range ) = explode( "=", $_SERVER['HTTP_RANGE'], 2 );
560
  list( $range ) = explode( ",", $range, 2 );
561
  list( $range, $range_end ) = explode( "-", $range );
562
+ $range = intval( $range );
563
+ $range_end_modified = false;
564
 
565
+ if ( ! $range_end || $range_end > $version->get_filesize() ) {
566
+ $range_end = $version->get_filesize() - 1;
567
+ $range_end_modified = true;
568
  } else {
569
  $range_end = intval( $range_end );
570
  }
571
 
572
+ if ( $range_end_modified ) {
573
+ $new_length = ( $range_end - $range ) + 1;
574
+ } else {
575
+ $new_length = $range_end - $range;
576
+ }
577
+
578
+ header( $_SERVER['SERVER_PROTOCOL'] . " 206 Partial Content" );
579
  header( "Content-Length: $new_length" );
580
  header( "Content-Range: bytes {$range}-{$range_end}/{$version->get_filesize()}" );
581
 
584
  }
585
 
586
  if ( $this->readfile_chunked( $file_path, false, $range ) ) {
 
587
 
588
  // Complete!
589
  $this->log( 'download', 'completed', '', $download, $version );
src/TemplateHandler.php CHANGED
@@ -72,7 +72,7 @@ class DLM_Template_Handler {
72
  }
73
 
74
  // Allow 3rd party plugin filter template file from their plugin
75
- $template = apply_filters( 'dlm_get_template_part', $template, $slug, $name );
76
 
77
  // Allow 3rd party plugin filter template arguments from their plugin
78
  $args = apply_filters( 'dlm_get_template_part_args', $args, $template, $slug, $name );
72
  }
73
 
74
  // Allow 3rd party plugin filter template file from their plugin
75
+ $template = apply_filters( 'dlm_get_template_part', $template, $slug, $name, $args );
76
 
77
  // Allow 3rd party plugin filter template arguments from their plugin
78
  $args = apply_filters( 'dlm_get_template_part_args', $args, $template, $slug, $name );
vendor/autoload.php CHANGED
@@ -2,6 +2,11 @@
2
 
3
  // autoload.php @generated by Composer
4
 
 
 
 
 
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
  return ComposerAutoloaderInit80ce4473100edd20fd6c17775a76ce9a::getLoader();
2
 
3
  // autoload.php @generated by Composer
4
 
5
+ if (PHP_VERSION_ID < 50600) {
6
+ echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
7
+ exit(1);
8
+ }
9
+
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
  return ComposerAutoloaderInit80ce4473100edd20fd6c17775a76ce9a::getLoader();
vendor/composer/ClassLoader.php CHANGED
@@ -149,7 +149,7 @@ class ClassLoader
149
 
150
  /**
151
  * @return string[] Array of classname => path
152
- * @psalm-var array<string, string>
153
  */
154
  public function getClassMap()
155
  {
149
 
150
  /**
151
  * @return string[] Array of classname => path
152
+ * @psalm-return array<string, string>
153
  */
154
  public function getClassMap()
155
  {
vendor/composer/autoload_classmap.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_classmap.php @generated by Composer
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
@@ -11,13 +11,18 @@ return array(
11
  'DLM_Admin_Dashboard' => $baseDir . '/src/Admin/Dashboard.php',
12
  'DLM_Admin_Extensions' => $baseDir . '/src/Admin/Extensions.php',
13
  'DLM_Admin_Fields_Field' => $baseDir . '/src/Admin/Settings/Fields/Field.php',
 
14
  'DLM_Admin_Fields_Field_ActionButton' => $baseDir . '/src/Admin/Settings/Fields/ActionButton.php',
15
  'DLM_Admin_Fields_Field_Checkbox' => $baseDir . '/src/Admin/Settings/Fields/Checkbox.php',
16
  'DLM_Admin_Fields_Field_Desc' => $baseDir . '/src/Admin/Settings/Fields/Desc.php',
 
 
17
  'DLM_Admin_Fields_Field_Factory' => $baseDir . '/src/Admin/Settings/Fields/FieldFactory.php',
18
  'DLM_Admin_Fields_Field_HtaccessStatus' => $baseDir . '/src/Admin/Settings/Fields/HtaccessStatus.php',
 
19
  'DLM_Admin_Fields_Field_Lazy_Select' => $baseDir . '/src/Admin/Settings/Fields/LazySelect.php',
20
  'DLM_Admin_Fields_Field_Password' => $baseDir . '/src/Admin/Settings/Fields/Password.php',
 
21
  'DLM_Admin_Fields_Field_Select' => $baseDir . '/src/Admin/Settings/Fields/Select.php',
22
  'DLM_Admin_Fields_Field_Text' => $baseDir . '/src/Admin/Settings/Fields/Text.php',
23
  'DLM_Admin_Fields_Field_Textarea' => $baseDir . '/src/Admin/Settings/Fields/Textarea.php',
@@ -35,6 +40,7 @@ return array(
35
  'DLM_Ajax_GetVersions' => $baseDir . '/src/Ajax/GetVersions.php',
36
  'DLM_Ajax_Handler' => $baseDir . '/src/AjaxHandler.php',
37
  'DLM_Ajax_Manager' => $baseDir . '/src/Ajax/Manager.php',
 
38
  'DLM_Category_Walker' => $baseDir . '/src/Admin/CategoryWalker.php',
39
  'DLM_Constants' => $baseDir . '/src/Constants.php',
40
  'DLM_Cookie_Manager' => $baseDir . '/src/CookieManager.php',
2
 
3
  // autoload_classmap.php @generated by Composer
4
 
5
+ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
11
  'DLM_Admin_Dashboard' => $baseDir . '/src/Admin/Dashboard.php',
12
  'DLM_Admin_Extensions' => $baseDir . '/src/Admin/Extensions.php',
13
  'DLM_Admin_Fields_Field' => $baseDir . '/src/Admin/Settings/Fields/Field.php',
14
+ 'DLM_Admin_Fields_Field_Accordion' => $baseDir . '/src/Admin/Settings/Fields/Accordion.php',
15
  'DLM_Admin_Fields_Field_ActionButton' => $baseDir . '/src/Admin/Settings/Fields/ActionButton.php',
16
  'DLM_Admin_Fields_Field_Checkbox' => $baseDir . '/src/Admin/Settings/Fields/Checkbox.php',
17
  'DLM_Admin_Fields_Field_Desc' => $baseDir . '/src/Admin/Settings/Fields/Desc.php',
18
+ 'DLM_Admin_Fields_Field_Editor' => $baseDir . '/src/Admin/Settings/Fields/Editor.php',
19
+ 'DLM_Admin_Fields_Field_EnhancedRadio' => $baseDir . '/src/Admin/Settings/Fields/EnghancedRadio.php',
20
  'DLM_Admin_Fields_Field_Factory' => $baseDir . '/src/Admin/Settings/Fields/FieldFactory.php',
21
  'DLM_Admin_Fields_Field_HtaccessStatus' => $baseDir . '/src/Admin/Settings/Fields/HtaccessStatus.php',
22
+ 'DLM_Admin_Fields_Field_InstallPlugin' => $baseDir . '/src/Admin/Settings/Fields/InstallPlugin.php',
23
  'DLM_Admin_Fields_Field_Lazy_Select' => $baseDir . '/src/Admin/Settings/Fields/LazySelect.php',
24
  'DLM_Admin_Fields_Field_Password' => $baseDir . '/src/Admin/Settings/Fields/Password.php',
25
+ 'DLM_Admin_Fields_Field_Radio' => $baseDir . '/src/Admin/Settings/Fields/Radio.php',
26
  'DLM_Admin_Fields_Field_Select' => $baseDir . '/src/Admin/Settings/Fields/Select.php',
27
  'DLM_Admin_Fields_Field_Text' => $baseDir . '/src/Admin/Settings/Fields/Text.php',
28
  'DLM_Admin_Fields_Field_Textarea' => $baseDir . '/src/Admin/Settings/Fields/Textarea.php',
40
  'DLM_Ajax_GetVersions' => $baseDir . '/src/Ajax/GetVersions.php',
41
  'DLM_Ajax_Handler' => $baseDir . '/src/AjaxHandler.php',
42
  'DLM_Ajax_Manager' => $baseDir . '/src/Ajax/Manager.php',
43
+ 'DLM_Beta_Testers' => $baseDir . '/includes/admin/class-dlm-beta-testers.php',
44
  'DLM_Category_Walker' => $baseDir . '/src/Admin/CategoryWalker.php',
45
  'DLM_Constants' => $baseDir . '/src/Constants.php',
46
  'DLM_Cookie_Manager' => $baseDir . '/src/CookieManager.php',
vendor/composer/autoload_namespaces.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_namespaces.php @generated by Composer
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
2
 
3
  // autoload_namespaces.php @generated by Composer
4
 
5
+ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
vendor/composer/autoload_psr4.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_psr4.php @generated by Composer
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
2
 
3
  // autoload_psr4.php @generated by Composer
4
 
5
+ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
vendor/composer/autoload_real.php CHANGED
@@ -23,30 +23,11 @@ class ComposerAutoloaderInit80ce4473100edd20fd6c17775a76ce9a
23
  }
24
 
25
  spl_autoload_register(array('ComposerAutoloaderInit80ce4473100edd20fd6c17775a76ce9a', 'loadClassLoader'), true, true);
26
- self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
27
  spl_autoload_unregister(array('ComposerAutoloaderInit80ce4473100edd20fd6c17775a76ce9a', 'loadClassLoader'));
28
 
29
- $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
- if ($useStaticLoader) {
31
- require __DIR__ . '/autoload_static.php';
32
-
33
- call_user_func(\Composer\Autoload\ComposerStaticInit80ce4473100edd20fd6c17775a76ce9a::getInitializer($loader));
34
- } else {
35
- $map = require __DIR__ . '/autoload_namespaces.php';
36
- foreach ($map as $namespace => $path) {
37
- $loader->set($namespace, $path);
38
- }
39
-
40
- $map = require __DIR__ . '/autoload_psr4.php';
41
- foreach ($map as $namespace => $path) {
42
- $loader->setPsr4($namespace, $path);
43
- }
44
-
45
- $classMap = require __DIR__ . '/autoload_classmap.php';
46
- if ($classMap) {
47
- $loader->addClassMap($classMap);
48
- }
49
- }
50
 
51
  $loader->register(true);
52
 
23
  }
24
 
25
  spl_autoload_register(array('ComposerAutoloaderInit80ce4473100edd20fd6c17775a76ce9a', 'loadClassLoader'), true, true);
26
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
  spl_autoload_unregister(array('ComposerAutoloaderInit80ce4473100edd20fd6c17775a76ce9a', 'loadClassLoader'));
28
 
29
+ require __DIR__ . '/autoload_static.php';
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit80ce4473100edd20fd6c17775a76ce9a::getInitializer($loader));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  $loader->register(true);
33
 
vendor/composer/autoload_static.php CHANGED
@@ -26,13 +26,18 @@ class ComposerStaticInit80ce4473100edd20fd6c17775a76ce9a
26
  'DLM_Admin_Dashboard' => __DIR__ . '/../..' . '/src/Admin/Dashboard.php',
27
  'DLM_Admin_Extensions' => __DIR__ . '/../..' . '/src/Admin/Extensions.php',
28
  'DLM_Admin_Fields_Field' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Field.php',
 
29
  'DLM_Admin_Fields_Field_ActionButton' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/ActionButton.php',
30
  'DLM_Admin_Fields_Field_Checkbox' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Checkbox.php',
31
  'DLM_Admin_Fields_Field_Desc' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Desc.php',
 
 
32
  'DLM_Admin_Fields_Field_Factory' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/FieldFactory.php',
33
  'DLM_Admin_Fields_Field_HtaccessStatus' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/HtaccessStatus.php',
 
34
  'DLM_Admin_Fields_Field_Lazy_Select' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/LazySelect.php',
35
  'DLM_Admin_Fields_Field_Password' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Password.php',
 
36
  'DLM_Admin_Fields_Field_Select' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Select.php',
37
  'DLM_Admin_Fields_Field_Text' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Text.php',
38
  'DLM_Admin_Fields_Field_Textarea' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Textarea.php',
@@ -50,6 +55,7 @@ class ComposerStaticInit80ce4473100edd20fd6c17775a76ce9a
50
  'DLM_Ajax_GetVersions' => __DIR__ . '/../..' . '/src/Ajax/GetVersions.php',
51
  'DLM_Ajax_Handler' => __DIR__ . '/../..' . '/src/AjaxHandler.php',
52
  'DLM_Ajax_Manager' => __DIR__ . '/../..' . '/src/Ajax/Manager.php',
 
53
  'DLM_Category_Walker' => __DIR__ . '/../..' . '/src/Admin/CategoryWalker.php',
54
  'DLM_Constants' => __DIR__ . '/../..' . '/src/Constants.php',
55
  'DLM_Cookie_Manager' => __DIR__ . '/../..' . '/src/CookieManager.php',
26
  'DLM_Admin_Dashboard' => __DIR__ . '/../..' . '/src/Admin/Dashboard.php',
27
  'DLM_Admin_Extensions' => __DIR__ . '/../..' . '/src/Admin/Extensions.php',
28
  'DLM_Admin_Fields_Field' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Field.php',
29
+ 'DLM_Admin_Fields_Field_Accordion' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Accordion.php',
30
  'DLM_Admin_Fields_Field_ActionButton' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/ActionButton.php',
31
  'DLM_Admin_Fields_Field_Checkbox' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Checkbox.php',
32
  'DLM_Admin_Fields_Field_Desc' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Desc.php',
33
+ 'DLM_Admin_Fields_Field_Editor' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Editor.php',
34
+ 'DLM_Admin_Fields_Field_EnhancedRadio' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/EnghancedRadio.php',
35
  'DLM_Admin_Fields_Field_Factory' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/FieldFactory.php',
36
  'DLM_Admin_Fields_Field_HtaccessStatus' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/HtaccessStatus.php',
37
+ 'DLM_Admin_Fields_Field_InstallPlugin' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/InstallPlugin.php',
38
  'DLM_Admin_Fields_Field_Lazy_Select' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/LazySelect.php',
39
  'DLM_Admin_Fields_Field_Password' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Password.php',
40
+ 'DLM_Admin_Fields_Field_Radio' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Radio.php',
41
  'DLM_Admin_Fields_Field_Select' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Select.php',
42
  'DLM_Admin_Fields_Field_Text' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Text.php',
43
  'DLM_Admin_Fields_Field_Textarea' => __DIR__ . '/../..' . '/src/Admin/Settings/Fields/Textarea.php',
55
  'DLM_Ajax_GetVersions' => __DIR__ . '/../..' . '/src/Ajax/GetVersions.php',
56
  'DLM_Ajax_Handler' => __DIR__ . '/../..' . '/src/AjaxHandler.php',
57
  'DLM_Ajax_Manager' => __DIR__ . '/../..' . '/src/Ajax/Manager.php',
58
+ 'DLM_Beta_Testers' => __DIR__ . '/../..' . '/includes/admin/class-dlm-beta-testers.php',
59
  'DLM_Category_Walker' => __DIR__ . '/../..' . '/src/Admin/CategoryWalker.php',
60
  'DLM_Constants' => __DIR__ . '/../..' . '/src/Constants.php',
61
  'DLM_Cookie_Manager' => __DIR__ . '/../..' . '/src/CookieManager.php',