Download Monitor - Version 4.5.2

Version Description

Download this release

Release Info

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

Code changes from version 4.5.1 to 4.5.2

Files changed (39) hide show
  1. assets/css/admin.css +1 -1
  2. assets/css/admin.less +13 -2
  3. assets/css/dlm-uninstall.css +1 -151
  4. assets/images/filetypes/document-code.png +0 -0
  5. assets/images/filetypes/document-excel.png +0 -0
  6. assets/images/filetypes/document-film.png +0 -0
  7. assets/images/filetypes/document-flash-movie.png +0 -0
  8. assets/images/filetypes/document-illustrator.png +0 -0
  9. assets/images/filetypes/document-image.png +0 -0
  10. assets/images/filetypes/document-music.png +0 -0
  11. assets/images/filetypes/document-pdf.png +0 -0
  12. assets/images/filetypes/document-photoshop.png +0 -0
  13. assets/images/filetypes/document-powerpoint.png +0 -0
  14. assets/images/filetypes/document-text-image.png +0 -0
  15. assets/images/filetypes/document-text.png +0 -0
  16. assets/images/filetypes/document-word-text.png +0 -0
  17. assets/images/filetypes/document-zipper.png +0 -0
  18. assets/images/filetypes/document.png +0 -0
  19. assets/images/filetypes/readme.txt +0 -0
  20. assets/js/blockui.min.js +1 -1
  21. assets/js/chosen/chosen-sprite.png +0 -0
  22. assets/js/chosen/chosen-sprite@2x.png +0 -0
  23. assets/js/chosen/chosen.css +0 -0
  24. assets/js/chosen/chosen.jquery.js +0 -0
  25. assets/js/chosen/chosen.jquery.min.js +0 -0
  26. assets/js/dlm-uninstall.min.js +1 -1
  27. assets/js/legacy-upgrader/src/index.js +0 -0
  28. assets/js/legacy-upgrader/src/style/index.less +0 -0
  29. assets/js/notices.min.js +1 -1
  30. assets/js/overview-download.min.js +1 -1
  31. assets/js/reports/charts-date-range-selector.js +10 -5
  32. assets/js/reports/charts-date-range-selector.min.js +1 -1
  33. assets/js/reports/reports.min.js +1 -1
  34. assets/js/shop/admin-order-details.min.js +1 -1
  35. assets/js/shop/checkout.min.js +1 -1
  36. changelog.txt +4 -0
  37. download-monitor.php +2 -2
  38. readme.txt +1 -1
  39. src/Admin/Extensions.php +490 -490
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}.post-type-dlm_download .dlm-page-header .dlm-header-logo img{max-height:35px}#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-members_only 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-members_only .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-members_only{width:3.5em}table.wp-list-table th.column-members_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:"\f338";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-members_only,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-members_only 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-members_only 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-members_only 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-members_only 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 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_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-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:680px}.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 h1 a.dlm-reload-button{float:right}.dlm_extensions_wrap .dlm_extensions{padding:15px 0;overflow:hidden}.dlm_extensions_wrap .dlm_extensions div.dlm_extension a{color:#444;text-decoration:none}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .dlm_extension_img_wrapper{width:100%;background:#419ccb;text-align:center}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .dlm_extension_img_wrapper img{max-width:100%;margin:0 auto}.dlm_extensions_wrap .dlm_extensions div.dlm_extension h3{padding:0 20px}.dlm_extensions_wrap .dlm_extensions div.dlm_extension div.extension-desc{min-height:85px;padding:0 20px}.dlm_extensions_wrap .dlm_extensions div.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 div.dlm_extension .product_footer .loop_price{font-weight:700}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .product_footer .loop_price.sale{color:green}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .product_footer .loop_price.sale strike{color:#444}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .product_footer .button .dashicons{vertical-align:middle;font-size:16px}.dlm_extensions_wrap .dlm_extensions div.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 div.dlm_extension .extension_license div.dlm_license_error{padding:.5em;margin-bottom:15px;background:#ffffe0}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .extension_license div.dlm_license_error a{color:#00f;text-decoration:underline}.dlm_extensions_wrap .dlm_extensions div.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 div.dlm_extension .extension_license p.license-status.active{background:green}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .extension_license input{width:100%;margin:7px 0;padding:7px}.dlm_extensions_wrap .dlm_extensions div.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-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 .dlm-upsell-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:10px;border-radius:10px}#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}
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}.post-type-dlm_download .dlm-page-header .dlm-header-logo img{max-height:35px}#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-members_only 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-members_only .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-members_only{width:3.5em}table.wp-list-table th.column-members_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:"\f338";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-members_only,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-members_only 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-members_only 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-members_only 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-members_only 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 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_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-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:680px}.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 h1 a.dlm-reload-button{float:right}.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-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 .dlm-upsell-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:10px;border-radius:10px}#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}
assets/css/admin.less CHANGED
@@ -1425,7 +1425,18 @@ table.wp-list-table {
1425
  .dlm_extensions {
1426
  padding: 15px 0;
1427
  overflow: hidden;
1428
- div.dlm_extension {
 
 
 
 
 
 
 
 
 
 
 
1429
  a {
1430
  color: #444;
1431
  text-decoration: none;
@@ -1444,7 +1455,7 @@ table.wp-list-table {
1444
 
1445
  }
1446
  div.extension-desc {
1447
- min-height: 85px;
1448
  padding: 0 20px;
1449
  }
1450
  .product_footer {
1425
  .dlm_extensions {
1426
  padding: 15px 0;
1427
  overflow: hidden;
1428
+
1429
+ .dlm_extension {
1430
+ background-color: #FFF;
1431
+ width: calc( 20% - 15px);
1432
+ margin: 0 15px 15px 0;
1433
+ display: inline-block;
1434
+ vertical-align: top;
1435
+
1436
+ p {
1437
+ margin: 0;
1438
+ }
1439
+
1440
  a {
1441
  color: #444;
1442
  text-decoration: none;
1455
 
1456
  }
1457
  div.extension-desc {
1458
+ min-height: 120px;
1459
  padding: 0 20px;
1460
  }
1461
  .product_footer {
assets/css/dlm-uninstall.css CHANGED
@@ -1,151 +1 @@
1
- .dlm-uninstall-form-active .dlm-uninstall-form-bg {
2
- background: rgba(0, 0, 0, .5);
3
- position: fixed;
4
- top: 0;
5
- left: 0;
6
- width: 100%;
7
- height: 100%
8
- }
9
-
10
- .dlm-uninstall-form-wrapper {
11
- position: fixed;
12
- z-index: 999;
13
- display: none;
14
- width: 100%;
15
- height: 100%;
16
- top: 0;
17
- left: 0;
18
- right: 0;
19
- bottom: 0;
20
- margin: 0 auto
21
- }
22
-
23
- .dlm-uninstall-form-wrapper .uninstall {
24
- text-align: center
25
- }
26
-
27
- .dlm-uninstall-form-active .dlm-uninstall-form-wrapper {
28
- display: block;
29
- z-index: 999
30
- }
31
-
32
- .dlm-uninstall-form {
33
- display: none
34
- }
35
-
36
- .dlm-uninstall-form-active .dlm-uninstall-form {
37
- position: absolute;
38
- left: 0;
39
- right: 0;
40
- margin: 0 auto;
41
- top: 50%;
42
- transform: translateY(-50%);
43
- max-width: 600px;
44
- background: #fff;
45
- white-space: normal
46
- }
47
-
48
- .dlm-uninstall-form-head {
49
- background: #774cce;
50
- padding: 8px 18px;
51
- position: relative
52
- }
53
-
54
- .dlm-uninstall-form-head h3 {
55
- color: #fff
56
- }
57
-
58
- .dlm-uninstall-form-body {
59
- padding: 8px 18px;
60
- color: #444
61
- }
62
-
63
- .deactivating-spinner {
64
- display: none
65
- }
66
-
67
- .deactivating-spinner .spinner {
68
- float: none;
69
- margin: 4px 4px 0 18px;
70
- vertical-align: bottom;
71
- visibility: visible
72
- }
73
-
74
- .toggle-spinner .deactivating-spinner {
75
- display: block !important
76
- }
77
-
78
- .dlm-uninstall-form-footer p {
79
- display: flex;
80
- align-items: center;
81
- justify-content: space-between
82
- }
83
-
84
- .dlm-uninstall-form.process-response .dlm-uninstall-form-body {
85
- position: relative
86
- }
87
-
88
- .dlm-uninstall-form.process-response .dlm-uninstall-form-body:after {
89
- content: "";
90
- display: block;
91
- position: absolute;
92
- top: 0;
93
- left: 0;
94
- width: 100%;
95
- height: 100%;
96
- background-color: rgba(255, 255, 255, .5)
97
- }
98
-
99
- .dlm-uninstall-form-head .close-uninstall-form {
100
- position: absolute;
101
- right: 15px;
102
- color: #fff;
103
- font-family: Arial;
104
- font-size: 14px;
105
- display: inline-block;
106
- top: 50%;
107
- transform: translateY(-50%);
108
- cursor: pointer
109
- }
110
-
111
- .dlm-red-text,
112
- .dlm-red-text:hover {
113
- color: red;
114
- font-weight: 700
115
- }
116
-
117
- /* Plugins page */
118
- .dlm-plugin-inline-notice {
119
- padding: 5px 15px;
120
- background: lightYellow;
121
- margin-bottom: 1px;
122
- }
123
-
124
- .dlm-plugin-inline-notice .dlm-plugin-inline-notice__row,
125
- .dlm-plugin-inline-notice .dlm-plugin-inline-notice__header {
126
- display: flex;
127
- flex-direction: row;
128
- justify-content: space-around;
129
- width: 100%;
130
- text-align: left;
131
- }
132
-
133
- .dlm-plugin-inline-notice .dlm-plugin-inline-notice__header .dlm-plugin-inline-notice__line,
134
- .dlm-plugin-inline-notice .dlm-plugin-inline-notice__row .dlm-plugin-inline-notice__line {
135
- text-align: left;
136
- width: 100%;
137
- margin: 5px 0;
138
- padding: 10px 0;
139
- }
140
-
141
- .dlm-plugin-inline-notice .dlm-plugin-inline-notice__row .dlm-plugin-inline-notice__line {
142
- border-top: 1px solid #ccc;
143
- }
144
-
145
- .dlm-plugin-inline-notice .dlm-plugin-inline-notice__strong {
146
- font-weight: bold;
147
- }
148
-
149
- .dlm-plugin-inline-notice .dlm-plugin-inline-notice__required-version {
150
- color: red;
151
- }
1
+ .dlm-uninstall-form-active .dlm-uninstall-form-bg{background:rgba(0,0,0,.5);position:fixed;top:0;left:0;width:100%;height:100%}.dlm-uninstall-form-wrapper{position:fixed;z-index:999;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;margin:0 auto}.dlm-uninstall-form-wrapper .uninstall{text-align:center}.dlm-uninstall-form-active .dlm-uninstall-form-wrapper{display:block;z-index:999}.dlm-uninstall-form{display:none}.dlm-uninstall-form-active .dlm-uninstall-form{position:absolute;left:0;right:0;margin:0 auto;top:50%;transform:translateY(-50%);max-width:600px;background:#fff;white-space:normal}.dlm-uninstall-form-head{background:#774cce;padding:8px 18px;position:relative}.dlm-uninstall-form-head h3{color:#fff}.dlm-uninstall-form-body{padding:8px 18px;color:#444}.deactivating-spinner{display:none}.deactivating-spinner .spinner{float:none;margin:4px 4px 0 18px;vertical-align:bottom;visibility:visible}.toggle-spinner .deactivating-spinner{display:block!important}.dlm-uninstall-form-footer p{display:flex;align-items:center;justify-content:space-between}.dlm-uninstall-form.process-response .dlm-uninstall-form-body{position:relative}.dlm-uninstall-form.process-response .dlm-uninstall-form-body:after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(255,255,255,.5)}.dlm-uninstall-form-head .close-uninstall-form{position:absolute;right:15px;color:#fff;font-family:Arial;font-size:14px;display:inline-block;top:50%;transform:translateY(-50%);cursor:pointer}.dlm-red-text,.dlm-red-text:hover{color:red;font-weight:700}.dlm-plugin-inline-notice{padding:5px 15px;background:#ffffe0;margin-bottom:1px}.dlm-plugin-inline-notice .dlm-plugin-inline-notice__header,.dlm-plugin-inline-notice .dlm-plugin-inline-notice__row{display:flex;flex-direction:row;justify-content:space-around;width:100%;text-align:left}.dlm-plugin-inline-notice .dlm-plugin-inline-notice__header .dlm-plugin-inline-notice__line,.dlm-plugin-inline-notice .dlm-plugin-inline-notice__row .dlm-plugin-inline-notice__line{text-align:left;width:100%;margin:5px 0;padding:10px 0}.dlm-plugin-inline-notice .dlm-plugin-inline-notice__row .dlm-plugin-inline-notice__line{border-top:1px solid #ccc}.dlm-plugin-inline-notice .dlm-plugin-inline-notice__strong{font-weight:700}.dlm-plugin-inline-notice .dlm-plugin-inline-notice__required-version{color:red}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/filetypes/document-code.png CHANGED
File without changes
assets/images/filetypes/document-excel.png CHANGED
File without changes
assets/images/filetypes/document-film.png CHANGED
File without changes
assets/images/filetypes/document-flash-movie.png CHANGED
File without changes
assets/images/filetypes/document-illustrator.png CHANGED
File without changes
assets/images/filetypes/document-image.png CHANGED
File without changes
assets/images/filetypes/document-music.png CHANGED
File without changes
assets/images/filetypes/document-pdf.png CHANGED
File without changes
assets/images/filetypes/document-photoshop.png CHANGED
File without changes
assets/images/filetypes/document-powerpoint.png CHANGED
File without changes
assets/images/filetypes/document-text-image.png CHANGED
File without changes
assets/images/filetypes/document-text.png CHANGED
File without changes
assets/images/filetypes/document-word-text.png CHANGED
File without changes
assets/images/filetypes/document-zipper.png CHANGED
File without changes
assets/images/filetypes/document.png CHANGED
File without changes
assets/images/filetypes/readme.txt CHANGED
File without changes
assets/js/blockui.min.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";function e(x){x.fn._fadeIn=x.fn.fadeIn;var C=x.noop||function(){},S=/MSIE/.test(navigator.userAgent),O=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),E=(document.documentMode,x.isFunction(document.createElement("div").style.setExpression));x.blockUI=function(e){t(window,e)},x.unblockUI=function(e){B(window,e)},x.growlUI=function(e,o,t,i){var n=x('<div class="growlUI"></div>');e&&n.append("<h1>"+e+"</h1>"),o&&n.append("<h2>"+o+"</h2>"),void 0===t&&(t=3e3);var s=function(e){e=e||{},x.blockUI({message:n,fadeIn:void 0!==e.fadeIn?e.fadeIn:700,fadeOut:void 0!==e.fadeOut?e.fadeOut:1e3,timeout:void 0!==e.timeout?e.timeout:t,centerY:!1,showOverlay:!1,onUnblock:i,css:x.blockUI.defaults.growlCSS})};s();n.css("opacity");n.mouseover(function(){s({fadeIn:0,timeout:3e4});var e=x(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){x(".blockMsg").fadeOut(1e3)})},x.fn.block=function(e){if(this[0]===window)return x.blockUI(e),this;var o=x.extend({},x.blockUI.defaults,e||{});return this.each(function(){var e=x(this);o.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==x.css(this,"position")&&(this.style.position="relative",x(this).data("blockUI.static",!0)),this.style.zoom=1,t(this,e)})},x.fn.unblock=function(e){return this[0]===window?(x.unblockUI(e),this):this.each(function(){B(this,e)})},x.blockUI.version=2.6,x.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var T=null,M=[];function t(e,n){var o,t,s=e==window,i=n&&void 0!==n.message?n.message:void 0;if(!(n=x.extend({},x.blockUI.defaults,n||{})).ignoreIfBlocked||!x(e).data("blockUI.isBlocked")){if(n.overlayCSS=x.extend({},x.blockUI.defaults.overlayCSS,n.overlayCSS||{}),o=x.extend({},x.blockUI.defaults.css,n.css||{}),n.onOverlayClick&&(n.overlayCSS.cursor="pointer"),t=x.extend({},x.blockUI.defaults.themedCSS,n.themedCSS||{}),i=void 0===i?n.message:i,s&&T&&B(window,{fadeOut:0}),i&&"string"!=typeof i&&(i.parentNode||i.jquery)){var l=i.jquery?i[0]:i,a={};x(e).data("blockUI.history",a),a.el=l,a.parent=l.parentNode,a.display=l.style.display,a.position=l.style.position,a.parent&&a.parent.removeChild(l)}x(e).data("blockUI.onUnblock",n.onUnblock);var d,c,r,u,f=n.baseZ;d=S||n.forceIframe?x('<iframe class="blockUI" style="z-index:'+f+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+n.iframeSrc+'"></iframe>'):x('<div class="blockUI" style="display:none"></div>'),c=n.theme?x('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+f+++';display:none"></div>'):x('<div class="blockUI blockOverlay" style="z-index:'+f+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),n.theme&&s?(u='<div class="blockUI '+n.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(f+10)+';display:none;position:fixed">',n.title&&(u+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||"&nbsp;")+"</div>"),u+='<div class="ui-widget-content ui-dialog-content"></div>',u+="</div>"):n.theme?(u='<div class="blockUI '+n.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(f+10)+';display:none;position:absolute">',n.title&&(u+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||"&nbsp;")+"</div>"),u+='<div class="ui-widget-content ui-dialog-content"></div>',u+="</div>"):u=s?'<div class="blockUI '+n.blockMsgClass+' blockPage" style="z-index:'+(f+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+n.blockMsgClass+' blockElement" style="z-index:'+(f+10)+';display:none;position:absolute"></div>',r=x(u),i&&(n.theme?(r.css(t),r.addClass("ui-widget-content")):r.css(o)),n.theme||c.css(n.overlayCSS),c.css("position",s?"fixed":"absolute"),(S||n.forceIframe)&&d.css("opacity",0);var b=[d,c,r],p=x(s?"body":e);x.each(b,function(){this.appendTo(p)}),n.theme&&n.draggable&&x.fn.draggable&&r.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var h=E&&(!x.support.boxModel||0<x("object,embed",s?null:e).length);if(O||h){if(s&&n.allowBodyStretch&&x.support.boxModel&&x("html,body").css("height","100%"),(O||!x.support.boxModel)&&!s)var k=z(e,"borderTopWidth"),v=z(e,"borderLeftWidth"),m=k?"(0 - "+k+")":0,y=v?"(0 - "+v+")":0;x.each(b,function(e,o){var t=o[0].style;if(t.position="absolute",e<2)s?t.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+n.quirksmodeOffsetHack+') + "px"'):t.setExpression("height",'this.parentNode.offsetHeight + "px"'),s?t.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):t.setExpression("width",'this.parentNode.offsetWidth + "px"'),y&&t.setExpression("left",y),m&&t.setExpression("top",m);else if(n.centerY)s&&t.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),t.marginTop=0;else if(!n.centerY&&s){var i="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(n.css&&n.css.top?parseInt(n.css.top,10):0)+') + "px"';t.setExpression("top",i)}})}if(i&&(n.theme?r.find(".ui-widget-content").append(i):r.append(i),(i.jquery||i.nodeType)&&x(i).show()),(S||n.forceIframe)&&n.showOverlay&&d.show(),n.fadeIn){var g=n.onBlock?n.onBlock:C,I=n.showOverlay&&!i?g:C,w=i?g:C;n.showOverlay&&c._fadeIn(n.fadeIn,I),i&&r._fadeIn(n.fadeIn,w)}else n.showOverlay&&c.show(),i&&r.show(),n.onBlock&&n.onBlock();if(j(1,e,n),s?(T=r[0],M=x(n.focusableElements,T),n.focusInput&&setTimeout(H,20)):function(e,o,t){var i=e.parentNode,n=e.style,s=(i.offsetWidth-e.offsetWidth)/2-z(i,"borderLeftWidth"),l=(i.offsetHeight-e.offsetHeight)/2-z(i,"borderTopWidth");o&&(n.left=0<s?s+"px":"0");t&&(n.top=0<l?l+"px":"0")}(r[0],n.centerX,n.centerY),n.timeout){var U=setTimeout(function(){s?x.unblockUI(n):x(e).unblock(n)},n.timeout);x(e).data("blockUI.timeout",U)}}}function B(e,o){var t,i,n=e==window,s=x(e),l=s.data("blockUI.history"),a=s.data("blockUI.timeout");a&&(clearTimeout(a),s.removeData("blockUI.timeout")),o=x.extend({},x.blockUI.defaults,o||{}),j(0,e,o),null===o.onUnblock&&(o.onUnblock=s.data("blockUI.onUnblock"),s.removeData("blockUI.onUnblock")),i=n?x("body").children().filter(".blockUI").add("body > .blockUI"):s.find(">.blockUI"),o.cursorReset&&(1<i.length&&(i[1].style.cursor=o.cursorReset),2<i.length&&(i[2].style.cursor=o.cursorReset)),n&&(T=M=null),o.fadeOut?(t=i.length,i.fadeOut(o.fadeOut,function(){0==--t&&d(i,l,o,e)})):d(i,l,o,e)}function d(e,o,t,i){var n=x(i);e.each(function(e,o){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.parent&&o.parent.appendChild(o.el),n.removeData("blockUI.history")),n.data("blockUI.static")&&n.css("position","static"),"function"==typeof t.onUnblock&&t.onUnblock(i,t);var s=x(document.body),l=s.width(),a=s[0].style.width;s.width(l-1).width(l),s[0].style.width=a}function j(e,o,t){var i=o==window,n=x(o);if((e||(!i||T)&&(i||n.data("blockUI.isBlocked")))&&(n.data("blockUI.isBlocked",e),i&&t.bindEvents&&(!e||t.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";e?x(document).bind(s,t,l):x(document).unbind(s,l)}}function l(e){if(e.keyCode&&9==e.keyCode&&T&&e.data.constrainTabKey){var o=M,t=!e.shiftKey&&e.target===o[o.length-1],i=e.shiftKey&&e.target===o[0];if(t||i)return setTimeout(function(){H(i)},10),!1}var n=e.data,s=x(e.target);return s.hasClass("blockOverlay")&&n.onOverlayClick&&n.onOverlayClick(),0<s.parents("div."+n.blockMsgClass).length||0===s.parents().children().filter("div.blockUI").length}function H(e){if(M){var o=M[!0===e?M.length-1:0];o&&o.focus()}}function z(e,o){return parseInt(x.css(e,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();
1
+ !function(){"use strict";function e(b){b.fn._fadeIn=b.fn.fadeIn;var p=b.noop||function(){},h=/MSIE/.test(navigator.userAgent),k=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),m=(document.documentMode,b.isFunction(document.createElement("div").style.setExpression));b.blockUI=function(e){o(window,e)},b.unblockUI=function(e){v(window,e)},b.growlUI=function(e,t,o,n){var i=b('<div class="growlUI"></div>');e&&i.append("<h1>"+e+"</h1>"),t&&i.append("<h2>"+t+"</h2>"),void 0===o&&(o=3e3);function s(e){b.blockUI({message:i,fadeIn:void 0!==(e=e||{}).fadeIn?e.fadeIn:700,fadeOut:void 0!==e.fadeOut?e.fadeOut:1e3,timeout:void 0!==e.timeout?e.timeout:o,centerY:!1,showOverlay:!1,onUnblock:n,css:b.blockUI.defaults.growlCSS})}s();i.css("opacity");i.mouseover(function(){s({fadeIn:0,timeout:3e4});var e=b(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){b(".blockMsg").fadeOut(1e3)})},b.fn.block=function(e){if(this[0]===window)return b.blockUI(e),this;var t=b.extend({},b.blockUI.defaults,e||{});return this.each(function(){var e=b(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==b.css(this,"position")&&(this.style.position="relative",b(this).data("blockUI.static",!0)),this.style.zoom=1,o(this,e)})},b.fn.unblock=function(e){return this[0]===window?(b.unblockUI(e),this):this.each(function(){v(this,e)})},b.blockUI.version=2.6,b.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var y=null,g=[];function o(e,o){var t,n,i,s,l,d,a,c,r,u=e==window,f=o&&void 0!==o.message?o.message:void 0;(o=b.extend({},b.blockUI.defaults,o||{})).ignoreIfBlocked&&b(e).data("blockUI.isBlocked")||(o.overlayCSS=b.extend({},b.blockUI.defaults.overlayCSS,o.overlayCSS||{}),i=b.extend({},b.blockUI.defaults.css,o.css||{}),o.onOverlayClick&&(o.overlayCSS.cursor="pointer"),s=b.extend({},b.blockUI.defaults.themedCSS,o.themedCSS||{}),f=void 0===f?o.message:f,u&&y&&v(window,{fadeOut:0}),f&&"string"!=typeof f&&(f.parentNode||f.jquery)&&(t=f.jquery?f[0]:f,a={},b(e).data("blockUI.history",a),a.el=t,a.parent=t.parentNode,a.display=t.style.display,a.position=t.style.position,a.parent&&a.parent.removeChild(t)),b(e).data("blockUI.onUnblock",o.onUnblock),r=o.baseZ,a=h||o.forceIframe?b('<iframe class="blockUI" style="z-index:'+r+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+o.iframeSrc+'"></iframe>'):b('<div class="blockUI" style="display:none"></div>'),t=o.theme?b('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+r+++';display:none"></div>'):b('<div class="blockUI blockOverlay" style="z-index:'+r+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),o.theme&&u?(c='<div class="blockUI '+o.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(r+10)+';display:none;position:fixed">',o.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div>',c+="</div>"):o.theme?(c='<div class="blockUI '+o.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(r+10)+';display:none;position:absolute">',o.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div>',c+="</div>"):c=u?'<div class="blockUI '+o.blockMsgClass+' blockPage" style="z-index:'+(r+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+o.blockMsgClass+' blockElement" style="z-index:'+(r+10)+';display:none;position:absolute"></div>',r=b(c),f&&(o.theme?(r.css(s),r.addClass("ui-widget-content")):r.css(i)),o.theme||t.css(o.overlayCSS),t.css("position",u?"fixed":"absolute"),(h||o.forceIframe)&&a.css("opacity",0),c=[a,t,r],n=b(u?"body":e),b.each(c,function(){this.appendTo(n)}),o.theme&&o.draggable&&b.fn.draggable&&r.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),s=m&&(!b.support.boxModel||0<b("object,embed",u?null:e).length),(k||s)&&(u&&o.allowBodyStretch&&b.support.boxModel&&b("html,body").css("height","100%"),!k&&b.support.boxModel||u||(i=U(e,"borderTopWidth"),s=U(e,"borderLeftWidth"),l=i?"(0 - "+i+")":0,d=s?"(0 - "+s+")":0),b.each(c,function(e,t){t=t[0].style;t.position="absolute",e<2?(u?t.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+o.quirksmodeOffsetHack+') + "px"'):t.setExpression("height",'this.parentNode.offsetHeight + "px"'),u?t.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):t.setExpression("width",'this.parentNode.offsetWidth + "px"'),d&&t.setExpression("left",d),l&&t.setExpression("top",l)):o.centerY?(u&&t.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),t.marginTop=0):!o.centerY&&u&&(e=o.css&&o.css.top?parseInt(o.css.top,10):0,t.setExpression("top","((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+e+') + "px"'))})),f&&((o.theme?r.find(".ui-widget-content"):r).append(f),(f.jquery||f.nodeType)&&b(f).show()),(h||o.forceIframe)&&o.showOverlay&&a.show(),o.fadeIn?(c=o.onBlock||p,a=o.showOverlay&&!f?c:p,c=f?c:p,o.showOverlay&&t._fadeIn(o.fadeIn,a),f&&r._fadeIn(o.fadeIn,c)):(o.showOverlay&&t.show(),f&&r.show(),o.onBlock&&o.onBlock()),I(1,e,o),u?(y=r[0],g=b(o.focusableElements,y),o.focusInput&&setTimeout(w,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-U(n,"borderLeftWidth"),n=(n.offsetHeight-e.offsetHeight)/2-U(n,"borderTopWidth");t&&(i.left=0<s?s+"px":"0");o&&(i.top=0<n?n+"px":"0")}(r[0],o.centerX,o.centerY),o.timeout&&(r=setTimeout(function(){u?b.unblockUI(o):b(e).unblock(o)},o.timeout),b(e).data("blockUI.timeout",r)))}function v(e,t){var o,n,i=e==window,s=b(e),l=s.data("blockUI.history"),d=s.data("blockUI.timeout");d&&(clearTimeout(d),s.removeData("blockUI.timeout")),t=b.extend({},b.blockUI.defaults,t||{}),I(0,e,t),null===t.onUnblock&&(t.onUnblock=s.data("blockUI.onUnblock"),s.removeData("blockUI.onUnblock")),n=i?b("body").children().filter(".blockUI").add("body > .blockUI"):s.find(">.blockUI"),t.cursorReset&&(1<n.length&&(n[1].style.cursor=t.cursorReset),2<n.length&&(n[2].style.cursor=t.cursorReset)),i&&(y=g=null),t.fadeOut?(o=n.length,n.fadeOut(t.fadeOut,function(){0==--o&&a(n,l,t,e)})):a(n,l,t,e)}function a(e,t,o,n){var i=b(n);e.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),t&&t.el&&(t.el.style.display=t.display,t.el.style.position=t.position,t.parent&&t.parent.appendChild(t.el),i.removeData("blockUI.history")),i.data("blockUI.static")&&i.css("position","static"),"function"==typeof o.onUnblock&&o.onUnblock(n,o);i=b(document.body),n=i.width(),o=i[0].style.width;i.width(n-1).width(n),i[0].style.width=o}function I(e,t,o){var n=t==window,t=b(t);!e&&(n&&!y||!n&&!t.data("blockUI.isBlocked"))||(t.data("blockUI.isBlocked",e),n&&o.bindEvents&&(!e||o.showOverlay)&&(n="mousedown mouseup keydown keypress keyup touchstart touchend touchmove",e?b(document).bind(n,o,i):b(document).unbind(n,i)))}function i(e){if(e.keyCode&&9==e.keyCode&&y&&e.data.constrainTabKey){var t=g,o=!e.shiftKey&&e.target===t[t.length-1],n=e.shiftKey&&e.target===t[0];if(o||n)return setTimeout(function(){w(n)},10),!1}o=e.data,e=b(e.target);return e.hasClass("blockOverlay")&&o.onOverlayClick&&o.onOverlayClick(),0<e.parents("div."+o.blockMsgClass).length||0===e.parents().children().filter("div.blockUI").length}function w(e){!g||(e=g[!0===e?g.length-1:0])&&e.focus()}function U(e,t){return parseInt(b.css(e,t),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();
assets/js/chosen/chosen-sprite.png CHANGED
File without changes
assets/js/chosen/chosen-sprite@2x.png CHANGED
File without changes
assets/js/chosen/chosen.css CHANGED
File without changes
assets/js/chosen/chosen.jquery.js CHANGED
File without changes
assets/js/chosen/chosen.jquery.min.js CHANGED
File without changes
assets/js/dlm-uninstall.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(n){var e=n("a.uninstall-dlm"),o=n("#dlm-uninstall-form");o.on("click","#delete_all",function(){n("#delete_all").is(":checked")?(n("#delete_options").prop("checked",!0),n("#delete_transients").prop("checked",!0),n("#delete_cpt").prop("checked",!0),n("#delete_set_tables").prop("checked",!0)):(n("#delete_options").prop("checked",!1),n("#delete_transients").prop("checked",!1),n("#delete_cpt").prop("checked",!1),n("#delete_set_tables").prop("checked",!1))}),n(e).on("click",function(){n("body").toggleClass("dlm-uninstall-form-active"),o.fadeIn(),o.on("click","#dlm-uninstall-submit-form",function(e){o.addClass("toggle-spinner");var t={delete_options:n("#delete_options").is(":checked")?1:0,delete_transients:n("#delete_transients").is(":checked")?1:0,delete_cpt:n("#delete_cpt").is(":checked")?1:0,delete_set_tables:n("#delete_set_tables").is(":checked")?1:0},l={action:"dlm_uninstall_plugin",security:wpDLMUninstall.nonce,dataType:"json",options:t};n.post(ajaxurl,l,function(e){window.location.href=wpDLMUninstall.redirect_url})}),o.on("click",function(e){e.stopPropagation()}),n(".dlm-uninstall-form-wrapper, .close-uninstall-form").on("click",function(e){e.stopPropagation(),o.fadeOut(),n("body").removeClass("dlm-uninstall-form-active")}),n(document).on("keyup",function(e){"Escape"===e.key&&(o.fadeOut(),n("body").removeClass("dlm-uninstall-form-active"))})})});
1
+ jQuery(document).ready(function(l){var e=l("a.uninstall-dlm"),n=l("#dlm-uninstall-form");n.on("click","#delete_all",function(){l("#delete_all").is(":checked")?(l("#delete_options").prop("checked",!0),l("#delete_transients").prop("checked",!0),l("#delete_cpt").prop("checked",!0),l("#delete_set_tables").prop("checked",!0)):(l("#delete_options").prop("checked",!1),l("#delete_transients").prop("checked",!1),l("#delete_cpt").prop("checked",!1),l("#delete_set_tables").prop("checked",!1))}),l(e).on("click",function(){l("body").toggleClass("dlm-uninstall-form-active"),n.fadeIn(),n.on("click","#dlm-uninstall-submit-form",function(e){n.addClass("toggle-spinner");var t={delete_options:l("#delete_options").is(":checked")?1:0,delete_transients:l("#delete_transients").is(":checked")?1:0,delete_cpt:l("#delete_cpt").is(":checked")?1:0,delete_set_tables:l("#delete_set_tables").is(":checked")?1:0},t={action:"dlm_uninstall_plugin",security:wpDLMUninstall.nonce,dataType:"json",options:t};l.post(ajaxurl,t,function(e){window.location.href=wpDLMUninstall.redirect_url})}),n.on("click",function(e){e.stopPropagation()}),l(".dlm-uninstall-form-wrapper, .close-uninstall-form").on("click",function(e){e.stopPropagation(),n.fadeOut(),l("body").removeClass("dlm-uninstall-form-active")}),l(document).on("keyup",function(e){"Escape"===e.key&&(n.fadeOut(),l("body").removeClass("dlm-uninstall-form-active"))})})});
assets/js/legacy-upgrader/src/index.js CHANGED
File without changes
assets/js/legacy-upgrader/src/style/index.less CHANGED
File without changes
assets/js/notices.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(o){o(".dlm-notice.is-dismissible").on("click",".notice-dismiss",function(i){var n=o(this).closest(".dlm-notice"),t=n.attr("id"),c=n.attr("data-nonce");o.post(ajaxurl,{action:"dlm_dismiss_notice",nonce:c,notice:t},function(i){})})});
1
+ jQuery(function(c){c(".dlm-notice.is-dismissible").on("click",".notice-dismiss",function(i){var n=c(this).closest(".dlm-notice"),t=n.attr("id"),n=n.attr("data-nonce");c.post(ajaxurl,{action:"dlm_dismiss_notice",nonce:n,notice:t},function(i){})})});
assets/js/overview-download.min.js CHANGED
@@ -1 +1 @@
1
- !function(p){var d=inlineEditPost.edit;inlineEditPost.edit=function(e){d.apply(this,arguments);var t=0;if("object"==typeof e&&(t=parseInt(this.getId(e))),0<t){var n=p("#edit-"+t),i=p("#post-"+t),o="Yes"==p(".column-featured",i).text(),r="Yes"==p(".column-members_only",i).text(),c="Yes"==p(".column-redirect_only",i).text();p(':input[name="_featured"]',n).prop("checked",o),p(':input[name="_members_only"]',n).prop("checked",r),p(':input[name="_redirect_only"]',n).prop("checked",c)}}}(jQuery);
1
+ !function(r){var c=inlineEditPost.edit;inlineEditPost.edit=function(e){c.apply(this,arguments);var t,n,i,o=0;0<(o="object"==typeof e?parseInt(this.getId(e)):o)&&(t=r("#edit-"+o),i=r("#post-"+o),n="Yes"==r(".column-featured",i).text(),o="Yes"==r(".column-members_only",i).text(),i="Yes"==r(".column-redirect_only",i).text(),r(':input[name="_featured"]',t).prop("checked",n),r(':input[name="_members_only"]',t).prop("checked",o),r(':input[name="_redirect_only"]',t).prop("checked",i))}}(jQuery);
assets/js/reports/charts-date-range-selector.js CHANGED
@@ -55,12 +55,17 @@ DLM_Reports_Date_Range_Selector.prototype.hide = function () {
55
 
56
  DLM_Reports_Date_Range_Selector.prototype.apply = function () {
57
 
58
- var sd = new Date( this.startDateInput.val() + "T00:00:00" );
59
- var ed = new Date( this.endDateInput.val() + "T00:00:00" );
60
- var sds = sd.getFullYear()+ "-"+(sd.getMonth()+1)+"-"+sd.getDate();
61
- var eds = ed.getFullYear()+ "-"+(ed.getMonth()+1)+"-"+ed.getDate();
 
 
 
 
 
62
  this.hide();
63
- window.location.replace( this.url + "&date_from=" + sds + "&date_to=" + eds );
64
  };
65
 
66
  DLM_Reports_Date_Range_Selector.prototype.createElement = function () {
55
 
56
  DLM_Reports_Date_Range_Selector.prototype.apply = function () {
57
 
58
+ var sd = ( this.startDateInput.val().length ) ? new Date( this.startDateInput.val() + "T00:00:00" ) : false ;
59
+ var ed = ( this.endDateInput.val().length ) ? new Date( this.endDateInput.val() + "T00:00:00" ) : false;
60
+ var url = this.url;
61
+ if (sd) {
62
+ url += "&date_from=" + sd.getFullYear()+ "-"+(sd.getMonth()+1)+"-"+sd.getDate();
63
+ }
64
+ if (ed) {
65
+ url += "&date_to=" + ed.getFullYear()+ "-"+(ed.getMonth()+1)+"-"+ed.getDate();
66
+ }
67
  this.hide();
68
+ window.location.replace( url );
69
  };
70
 
71
  DLM_Reports_Date_Range_Selector.prototype.createElement = function () {
assets/js/reports/charts-date-range-selector.min.js CHANGED
@@ -1 +1 @@
1
- jQuery.fn.extend({dlm_reports_date_range:function(t,e,a){return new DLM_Reports_Date_Range_Selector(this,t,e,a),this}});var DLM_Reports_Date_Range_Selector=function(t,e,a,n){this.container=t,this.startDate=new Date(e),this.endDate=new Date(a),this.url=n.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(e)}),this.el=null,this.opened=!1,this.startDateInput=null,this.endDateInput=null,this.setup=function(){var t=this;this.container.click(function(){return t.toggleDisplay(),!1})},this.setup()};DLM_Reports_Date_Range_Selector.prototype.toggleDisplay=function(){this.opened?this.hide():this.display()},DLM_Reports_Date_Range_Selector.prototype.display=function(){this.opened||(this.opened=!0,this.el=this.createElement(),this.container.append(this.el))},DLM_Reports_Date_Range_Selector.prototype.hide=function(){this.opened=!1,this.el.remove()},DLM_Reports_Date_Range_Selector.prototype.apply=function(){var t=new Date(this.startDateInput.val()+"T00:00:00"),e=new Date(this.endDateInput.val()+"T00:00:00"),a=t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate(),n=e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate();this.hide(),window.location.replace(this.url+"&date_from="+a+"&date_to="+n)},DLM_Reports_Date_Range_Selector.prototype.createElement=function(){var t=this,e=jQuery("<div>").addClass("dlm_rdrs_overlay"),a=jQuery("<div>").addClass("dlm_rdrs_date").attr("id","dlm_rdrs_date_start"),n=jQuery("<div>").addClass("dlm_rdrs_date").attr("id","dlm_rdrs_date_end");this.startDateInput=jQuery("<input>").attr("type","hidden"),this.endDateInput=jQuery("<input>").attr("type","hidden");var r=jQuery("<div>").addClass("dlm_rdrs_actions"),i=jQuery("<a>").addClass("button").html("Apply").click(function(){return t.apply(),!1});return r.append(i),e.append(a).append(n).append(r).append(this.startDateInput).append(this.endDateInput),a.datepicker({inline:!0,altField:this.startDateInput,dateFormat:"yy-mm-dd",defaultDate:this.startDate}),n.datepicker({inline:!0,altField:this.endDateInput,dateFormat:"yy-mm-dd",defaultDate:this.endDate}),e.click(function(){return!1}),e};
1
+ jQuery.fn.extend({dlm_reports_date_range:function(t,e,a){return new DLM_Reports_Date_Range_Selector(this,t,e,a),this}});var DLM_Reports_Date_Range_Selector=function(t,e,a,n){this.container=t,this.startDate=new Date(e),this.endDate=new Date(a),this.url=n.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(e)}),this.el=null,this.opened=!1,this.startDateInput=null,this.endDateInput=null,this.setup=function(){var t=this;this.container.click(function(){return t.toggleDisplay(),!1})},this.setup()};DLM_Reports_Date_Range_Selector.prototype.toggleDisplay=function(){this.opened?this.hide():this.display()},DLM_Reports_Date_Range_Selector.prototype.display=function(){this.opened||(this.opened=!0,this.el=this.createElement(),this.container.append(this.el))},DLM_Reports_Date_Range_Selector.prototype.hide=function(){this.opened=!1,this.el.remove()},DLM_Reports_Date_Range_Selector.prototype.apply=function(){var t=!!this.startDateInput.val().length&&new Date(this.startDateInput.val()+"T00:00:00"),e=!!this.endDateInput.val().length&&new Date(this.endDateInput.val()+"T00:00:00"),a=this.url;t&&(a+="&date_from="+t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()),e&&(a+="&date_to="+e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()),this.hide(),window.location.replace(a)},DLM_Reports_Date_Range_Selector.prototype.createElement=function(){var t=this,e=jQuery("<div>").addClass("dlm_rdrs_overlay"),a=jQuery("<div>").addClass("dlm_rdrs_date").attr("id","dlm_rdrs_date_start"),n=jQuery("<div>").addClass("dlm_rdrs_date").attr("id","dlm_rdrs_date_end");this.startDateInput=jQuery("<input>").attr("type","hidden"),this.endDateInput=jQuery("<input>").attr("type","hidden");var r=jQuery("<div>").addClass("dlm_rdrs_actions"),i=jQuery("<a>").addClass("button").html("Apply").click(function(){return t.apply(),!1});return r.append(i),e.append(a).append(n).append(r).append(this.startDateInput).append(this.endDateInput),a.datepicker({inline:!0,altField:this.startDateInput,dateFormat:"yy-mm-dd",defaultDate:this.startDate}),n.datepicker({inline:!0,altField:this.endDateInput,dateFormat:"yy-mm-dd",defaultDate:this.endDate}),e.click(function(){return!1}),e};
assets/js/reports/reports.min.js CHANGED
@@ -1 +1 @@
1
- function DLM_createLoaderObj(){var t=document.createElement("div");(t=jQuery(t)).addClass("dlm_reports_loader");var e=document.createElement("img");return(e=jQuery(e)).attr("src",dlm_rs.img_path+"ajax-loader.gif"),t.append(e),t}jQuery(function(t){t.each(t(".dlm-reports-block-chart"),function(t,e){new DLM_Reports_Block_Chart(e)}),t.each(t(".dlm-reports-block-summary"),function(t,e){new DLM_Reports_Block_Summary(e)}),t.each(t(".dlm-reports-block-table"),function(t,e){new DLM_Reports_Block_Table(e)})});var DLM_Reports_Data=function(t){this.type=null,this.from=null,this.to=null,this.period=null,this.init=function(t){this.type=jQuery(t).data("type"),this.to=jQuery(t).data("to"),this.from=jQuery(t).data("from"),this.period=jQuery(t).data("period")},this.init(t)},DLM_Reports_Data_Fetch=function(t,e,a){this.id=t,this.data=e,this.cb=a,this.fetch()};DLM_Reports_Data_Fetch.prototype.fetch=function(){var t=this.id,e=this.cb,a=this.data.from,r=this.data.to,i=this.data.period;jQuery.get(ajaxurl,{action:"dlm_reports_data",nonce:dlm_rs.ajax_nonce,id:t,from:a,to:r,period:i},function(t){e(t)})};var DLM_Reports_Block_Chart=function(t){this.container=t,this.id=null,this.queryData=null,this.data=null,this.chart=null,this.setup=function(){this.id=jQuery(this.container).attr("id"),this.queryData=new DLM_Reports_Data(this.container),this.displayLoader(),this.fetch()},this.setup()};DLM_Reports_Block_Chart.prototype.displayLoader=function(){jQuery(this.container).append(DLM_createLoaderObj())},DLM_Reports_Block_Chart.prototype.hideLoader=function(){jQuery(this.container).find(".dlm_reports_loader").remove()},DLM_Reports_Block_Chart.prototype.fetch=function(){var e=this;new DLM_Reports_Data_Fetch(this.id,this.queryData,function(t){e.data=t,e.hideLoader(),e.render()})},DLM_Reports_Block_Chart.prototype.render=function(){null!==this.data&&(this.chart=new Chart({parent:this.container,title:"",data:this.data,type:this.queryData.type,height:250,show_dots:0,x_axis_mode:"tick",y_axis_mode:"span",is_series:1,format_tooltip_x:function(t){return(t+"").toUpperCase()},format_tooltip_y:function(t){return t+" downloads"}}))};var DLM_Reports_Block_Summary=function(t){this.container=t,this.id=null,this.data=null,this.data=null,this.chart=null,this.setup=function(){this.id=jQuery(this.container).attr("id"),this.data=new DLM_Reports_Data(this.container),this.displayLoader(),this.fetch()},this.setup()};DLM_Reports_Block_Summary.prototype.displayLoader=function(){jQuery(this.container).append(DLM_createLoaderObj())},DLM_Reports_Block_Summary.prototype.hideLoader=function(){jQuery(this.container).find(".dlm_reports_loader").remove()},DLM_Reports_Block_Summary.prototype.fetch=function(){var e=this;new DLM_Reports_Data_Fetch(this.id,this.data,function(t){e.data=t,e.hideLoader(),e.render()})},DLM_Reports_Block_Summary.prototype.render=function(){if(null!==this.data){var a=this;jQuery.each(this.data,function(t,e){jQuery(a.container).find("#"+t)&&jQuery(a.container).find("#"+t).find("span:first").html(e)})}};var DLM_Reports_Block_Table=function(t){this.container=t,this.id=null,this.data=null,this.data=null,this.chart=null,this.setup=function(){this.id=jQuery(this.container).attr("id"),this.data=new DLM_Reports_Data(this.container),this.displayLoader(),this.fetch()},this.setup()};DLM_Reports_Block_Table.prototype.displayLoader=function(){jQuery(this.container).append(DLM_createLoaderObj())},DLM_Reports_Block_Table.prototype.hideLoader=function(){jQuery(this.container).find(".dlm_reports_loader").remove()},DLM_Reports_Block_Table.prototype.fetch=function(){var e=this;new DLM_Reports_Data_Fetch(this.id,this.data,function(t){e.data=t,e.hideLoader(),e.render()})},DLM_Reports_Block_Table.prototype.render=function(){if(!(null===this.data||this.data.length<2)){var t=jQuery(document.createElement("table"));t.attr("cellspacing",0).attr("cellpadding",0).attr("border",0);for(var e=document.createElement("tr"),a=0;a<this.data[0].length;a++){var r=document.createElement("th");r.innerHTML=this.data[0][a],e.appendChild(r)}t.append(e);for(a=1;a<this.data.length;a++){for(var i=document.createElement("tr"),o=0;o<this.data[a].length;o++){var n=document.createElement("td");n.innerHTML=this.data[a][o],i.appendChild(n)}t.append(i)}jQuery(this.container).html("").append(t)}};
1
+ function DLM_createLoaderObj(){var t=document.createElement("div");(t=jQuery(t)).addClass("dlm_reports_loader");var e=document.createElement("img");return(e=jQuery(e)).attr("src",dlm_rs.img_path+"ajax-loader.gif"),t.append(e),t}jQuery(function(e){e.each(e(".dlm-reports-block-chart"),function(t,e){new DLM_Reports_Block_Chart(e)}),e.each(e(".dlm-reports-block-summary"),function(t,e){new DLM_Reports_Block_Summary(e)}),e.each(e(".dlm-reports-block-table"),function(t,e){new DLM_Reports_Block_Table(e)}),e("#total_downloads_browser_table").on("click","a",function(t){t.preventDefault();t=e(this).attr("href");e(this).addClass("nav-tab-active"),e("#total_downloads_browser_table").find("a").not(e(this)).removeClass("nav-tab-active"),e(t).removeClass("hidden"),e("#total_downloads_browser_table").find("table").not(e(t)).addClass("hidden")})});var DLM_Reports_Data=function(t){this.type=null,this.from=null,this.to=null,this.period=null,this.init=function(t){this.type=jQuery(t).data("type"),this.to=jQuery(t).data("to"),this.from=jQuery(t).data("from"),this.period=jQuery(t).data("period")},this.init(t)},DLM_Reports_Data_Fetch=function(t,e,a){this.id=t,this.data=e,this.cb=a,this.fetch()};DLM_Reports_Data_Fetch.prototype.fetch=function(){var t=this.id,e=this.cb,a=this.data.from,r=this.data.to,n=this.data.period;jQuery.get(ajaxurl,{action:"dlm_reports_data",nonce:dlm_rs.ajax_nonce,id:t,from:a,to:r,period:n},function(t){e(t)})};var DLM_Reports_Block_Chart=function(t){this.container=t,this.id=null,this.queryData=null,this.data=null,this.chart=null,this.setup=function(){this.id=jQuery(this.container).attr("id"),this.queryData=new DLM_Reports_Data(this.container),this.displayLoader(),this.fetch()},this.setup()};DLM_Reports_Block_Chart.prototype.displayLoader=function(){jQuery(this.container).append(DLM_createLoaderObj())},DLM_Reports_Block_Chart.prototype.hideLoader=function(){jQuery(this.container).find(".dlm_reports_loader").remove()},DLM_Reports_Block_Chart.prototype.fetch=function(){var e=this;new DLM_Reports_Data_Fetch(this.id,this.queryData,function(t){e.data=t,e.hideLoader(),e.render()})},DLM_Reports_Block_Chart.prototype.render=function(){var t;null!==this.data&&(t=document.getElementById("total_downloads_chart"),this.chart=new Chart(t,{title:"",data:this.data,type:this.queryData.type,height:250,show_dots:0,x_axis_mode:"tick",y_axis_mode:"span",is_series:1}))};var DLM_Reports_Block_Summary=function(t){this.container=t,this.id=null,this.data=null,this.data=null,this.chart=null,this.setup=function(){this.id=jQuery(this.container).attr("id"),this.data=new DLM_Reports_Data(this.container),this.displayLoader(),this.fetch()},this.setup()};DLM_Reports_Block_Summary.prototype.displayLoader=function(){jQuery(this.container).append(DLM_createLoaderObj())},DLM_Reports_Block_Summary.prototype.hideLoader=function(){jQuery(this.container).find(".dlm_reports_loader").remove()},DLM_Reports_Block_Summary.prototype.fetch=function(){var e=this;new DLM_Reports_Data_Fetch(this.id,this.data,function(t){e.data=t,e.hideLoader(),e.render()})},DLM_Reports_Block_Summary.prototype.render=function(){var a;null!==this.data&&(a=this,jQuery.each(this.data,function(t,e){jQuery(a.container).find("#"+t)&&jQuery(a.container).find("#"+t).find("span:first").html(e)}))};var DLM_Reports_Block_Table=function(t){this.container=t,this.id=null,this.data=null,this.data=null,this.chart=null,this.setup=function(){this.id=jQuery(this.container).attr("id"),this.data=new DLM_Reports_Data(this.container),this.displayLoader(),this.fetch()},this.setup()};DLM_Reports_Block_Table.prototype.displayLoader=function(){jQuery(this.container).append(DLM_createLoaderObj())},DLM_Reports_Block_Table.prototype.hideLoader=function(){jQuery(this.container).find(".dlm_reports_loader").remove()},DLM_Reports_Block_Table.prototype.fetch=function(){var e=this;new DLM_Reports_Data_Fetch(this.id,this.data,function(t){e.data=t,e.hideLoader(),e.render()})},DLM_Reports_Block_Table.prototype.render=function(){if(!(null===this.data||this.data.length<2&&void 0===this.data.total_downloads_browser_table))if(void 0!==this.data.total_downloads_browser_table){var l=this.data.total_downloads_browser_table,c='<h2 class="dlm-reports-tab-navigation nav-tab-wrapper">';jQuery(this.container).html(""),jQuery(this.container).append('<div class="">'),Object.keys(l).forEach(t=>{var e=jQuery(document.createElement("table")),a="hidden",r="";"desktop"==t&&(a="",r="nav-tab-active"),c+='<a href="#'+t+'" class="nav-tab '+r+'">'+t+"</a>",e.attr("cellspacing",0).attr("cellpadding",0).attr("border",0).attr("id",t).attr("class",a);for(var n=document.createElement("tr"),o=0;o<l[t][0].length;o++){var i=document.createElement("th");i.innerHTML=l[t][0][o],n.appendChild(i)}e.append(n);for(o=1;o<l[t].length;o++){for(var s=document.createElement("tr"),d=0;d<l[t][o].length;d++){var h=document.createElement("td");h.innerHTML=l[t][o][d],s.appendChild(h)}e.append(s)}jQuery(this.container).append(e)}),c+="</div>",jQuery(this.container).prepend(c)}else{var t=jQuery(document.createElement("table"));t.attr("cellspacing",0).attr("cellpadding",0).attr("border",0);for(var e=document.createElement("tr"),a=0;a<this.data[0].length;a++){var r=document.createElement("th");r.innerHTML=this.data[0][a],e.appendChild(r)}t.append(e);for(a=1;a<this.data.length;a++){for(var n=document.createElement("tr"),o=0;o<this.data[a].length;o++){var i=document.createElement("td");i.innerHTML=this.data[a][o],n.appendChild(i)}t.append(n)}jQuery(this.container).html("").append(t)}};
assets/js/shop/admin-order-details.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){var s,l,n,r;s=e("#dlm-order-details-button-change-state"),l=s.html(),n=!1,r=null,s.click(function(){if(!n){n=!0,s.html("...");var t=e("#dlm-order-details-current-state").val();e.post(dlm_strings.ajax_url_change_order_status,{status:t,order_id:dlm_strings.order_id},function(t){!0===t.success&&(s.html(l),n=!1,null===r&&(r=e("<span>").addClass("dlm-order-details-update-successful").html("✓"),s.parent().append(r),setTimeout(function(){r.fadeOut(300,function(){r.remove(),r=null})},300)))})}})});
1
+ jQuery(function(e){var s,l,n,r;s=e("#dlm-order-details-button-change-state"),l=s.html(),n=!1,r=null,s.click(function(){var t;n||(n=!0,s.html("..."),t=e("#dlm-order-details-current-state").val(),e.post(dlm_strings.ajax_url_change_order_status,{status:t,order_id:dlm_strings.order_id},function(t){!0===t.success&&(s.html(l),n=!1,null===r&&(r=e("<span>").addClass("dlm-order-details-update-successful").html("✓"),s.parent().append(r),setTimeout(function(){r.fadeOut(300,function(){r.remove(),r=null})},300)))}))})});
assets/js/shop/checkout.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(o){function s(d,r){var e=o("<div>").addClass("dlm-checkout-error");e.append(o("<img>").attr("src",dlm_strings.icon_error).attr("alt","Checkout error").addClass("dlm-checkout-error-icon")),e.append(o("<p>").html(r)),d.prepend(e)}function n(d){var r=o(".dlm-checkout-overlay:first"),e=o(".dlm-checkout-overlay-bg:first");r.fadeOut(300,function(){r.remove()}),e.fadeOut(300,function(){e.remove(),o(d).find("#dlm_checkout_submit").attr("disabled",!1)})}o("#dlm-form-checkout").submit(function(d){var r=o(this);o(r).find(".dlm-checkout-field-error").removeClass("dlm-checkout-field-error"),r.find(".dlm-checkout-error").remove(),function(d){o(d).find("#dlm_checkout_submit").attr("disabled",!0);var r=o("<div>").addClass("dlm-checkout-overlay-bg"),e=o("<div>").addClass("dlm-checkout-overlay");e.append(o("<h2>").html(dlm_strings.overlay_title)),e.append(o("<span>").html(dlm_strings.overlay_body)),e.append(o("<img>").attr("src",dlm_strings.overlay_img_src)),o("body").append(r),o("body").append(e),r.fadeIn(300,function(){e.css("display","block").css("top","47%"),e.animate({top:"+=3%"},300)})}(r);var e={first_name:r.find("#dlm_first_name").val(),last_name:r.find("#dlm_last_name").val(),company:r.find("#dlm_company").val(),email:r.find("#dlm_email").val(),address_1:r.find("#dlm_address_1").val(),postcode:r.find("#dlm_postcode").val(),city:r.find("#dlm_city").val(),country:r.find("#dlm_country").val()},a={payment_gateway:o("input[name=dlm_gateway]:checked",o(this)).val(),customer:e};void 0!==r.data("order_id")&&(a.order_id=r.data("order_id")),void 0!==r.data("order_hash")&&(a.order_hash=r.data("order_hash"));for(var t=[],i=!0,l=0;l<dlm_strings.required_fields.length;l++)""===e[dlm_strings.required_fields[l]]&&(i=!1,t.push(dlm_strings.required_fields[l]));return!1===i?(function(d,r){for(var e=0;e<r.length;e++)o(d).find("#dlm_"+r[e]).addClass("dlm-checkout-field-error")}(r,t),s(r,dlm_strings.error_message_required_fields),n(r)):o.post(dlm_strings.ajax_url_place_order,a,function(d){if(!0===d.success&&void 0!==d.redirect)return window.location.replace(d.redirect),!1;!1===d.success&&""!==d.error&&s(r,d.error),n(r)}),!1})});
1
+ jQuery(function(l){function s(d,r){var e=l("<div>").addClass("dlm-checkout-error");e.append(l("<img>").attr("src",dlm_strings.icon_error).attr("alt","Checkout error").addClass("dlm-checkout-error-icon")),e.append(l("<p>").html(r)),d.prepend(e)}function n(d){var r=l(".dlm-checkout-overlay:first"),e=l(".dlm-checkout-overlay-bg:first");r.fadeOut(300,function(){r.remove()}),e.fadeOut(300,function(){e.remove(),l(d).find("#dlm_checkout_submit").attr("disabled",!1)})}l("#dlm-form-checkout").submit(function(d){var r=l(this);l(r).find(".dlm-checkout-field-error").removeClass("dlm-checkout-field-error"),r.find(".dlm-checkout-error").remove(),function(d){l(d).find("#dlm_checkout_submit").attr("disabled",!0);var d=l("<div>").addClass("dlm-checkout-overlay-bg"),r=l("<div>").addClass("dlm-checkout-overlay");r.append(l("<h2>").html(dlm_strings.overlay_title)),r.append(l("<span>").html(dlm_strings.overlay_body)),r.append(l("<img>").attr("src",dlm_strings.overlay_img_src)),l("body").append(d),l("body").append(r),d.fadeIn(300,function(){r.css("display","block").css("top","47%"),r.animate({top:"+=3%"},300)})}(r);var e={first_name:r.find("#dlm_first_name").val(),last_name:r.find("#dlm_last_name").val(),company:r.find("#dlm_company").val(),email:r.find("#dlm_email").val(),address_1:r.find("#dlm_address_1").val(),postcode:r.find("#dlm_postcode").val(),city:r.find("#dlm_city").val(),country:r.find("#dlm_country").val()},a={payment_gateway:l("input[name=dlm_gateway]:checked",l(this)).val(),customer:e};void 0!==r.data("order_id")&&(a.order_id=r.data("order_id")),void 0!==r.data("order_hash")&&(a.order_hash=r.data("order_hash"));for(var t=[],i=!0,o=0;o<dlm_strings.required_fields.length;o++)""===e[dlm_strings.required_fields[o]]&&(i=!1,t.push(dlm_strings.required_fields[o]));return!1===i?(function(d,r){for(var e=0;e<r.length;e++)l(d).find("#dlm_"+r[e]).addClass("dlm-checkout-field-error")}(r,t),s(r,dlm_strings.error_message_required_fields),n(r)):l.post(dlm_strings.ajax_url_place_order,a,function(d){return!0===d.success&&void 0!==d.redirect?(window.location.replace(d.redirect),!1):(!1===d.success&&""!==d.error&&s(r,d.error),void n(r))}),!1})});
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 4.5.1 - 31.01.2022 =
2
  Removed: Removed plugin updater from lite.
3
 
1
+ = 4.5.2 - 16.02.2022 =
2
+ Fixed: Reports date selection bug - ( https://github.com/WPChill/download-monitor/issues/823 )
3
+ Fixed: Extensions page view on Safari
4
+
5
  = 4.5.1 - 31.01.2022 =
6
  Removed: Removed plugin updater from lite.
7
 
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.1
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.1' );
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.2
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.2' );
37
 
38
  // Define DLM FILE
39
  define( 'DLM_PLUGIN_FILE', __FILE__ );
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: 5.9
6
- Stable tag: 4.5.1
7
  License: GPLv3
8
  Text Domain: -
9
  Requires PHP: 5.6
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: 5.9
6
+ Stable tag: 4.5.2
7
  License: GPLv3
8
  Text Domain: -
9
  Requires PHP: 5.6
src/Admin/Extensions.php CHANGED
@@ -1,491 +1,491 @@
1
- <?php
2
- /**
3
- * Extensions Page
4
- */
5
-
6
- if ( ! defined( 'ABSPATH' ) ) {
7
- exit;
8
- } // Exit if accessed directly
9
-
10
- use \Never5\DownloadMonitor\Util;
11
-
12
- /**
13
- * DLM_Admin_Extensions Class
14
- */
15
- class DLM_Admin_Extensions {
16
-
17
- /**
18
- * Holds the class object.
19
- *
20
- * @since 4.4.5
21
- *
22
- * @var object
23
- */
24
- public static $instance;
25
-
26
- /**
27
- * Json response
28
- *
29
- * @var
30
- *
31
- * @since 4.4.5
32
- */
33
- private $response;
34
-
35
- /**
36
- * DLM's extensions
37
- *
38
- * @var array
39
- *
40
- * @since 4.4.5
41
- */
42
- private $extensions = array();
43
-
44
- /**
45
- * DLM's extensions tabs
46
- *
47
- * @var array
48
- *
49
- * @since 4.4.5
50
- */
51
- private $tabs = array();
52
-
53
- /**
54
- * DLM's installed extensions
55
- *
56
- * @var array
57
- *
58
- * @since 4.4.5
59
- */
60
- private $installed_extensions = array();
61
-
62
- /**
63
- * Json
64
- *
65
- * @var mixed|string
66
- *
67
- * @since 4.4.5
68
- */
69
- private $json;
70
-
71
- /**
72
- * Our Products
73
- *
74
- * @var
75
- *
76
- * @since 4.4.5
77
- */
78
- private $products;
79
-
80
-
81
- public function __construct() {
82
-
83
- // Add the extensions menu links
84
- add_filter( 'dlm_admin_menu_links', array( $this, 'extensions_pages' ), 30 );
85
-
86
- // Remove not needed menu link from appearing in dashboard
87
- add_filter( 'submenu_file', array( $this, 'remove_submenu_item' ) );
88
-
89
- // Load our required data
90
- add_action( 'admin_init', array( $this, 'load_data' ), 15 );
91
-
92
- add_filter( 'dlm_add_edit_tabs', array( $this, 'dlm_cpt_tabs' ) );
93
-
94
- add_filter( 'dlm_settings', array( $this, 'remove_pro_badge' ), 99 );
95
-
96
-
97
- }
98
-
99
- /**
100
- * Add the installed extensions tab to DLM CPT
101
- *
102
- * @param $tabs
103
- *
104
- * @since 4.4.5
105
- */
106
- public function dlm_cpt_tabs( $tabs ) {
107
-
108
- if ( count( $this->installed_extensions ) > 0 ) {
109
-
110
- $tabs['dlm-installed-extensions'] = array(
111
- 'name' => esc_html__( 'Installed Extensions', 'download-monitor' ),
112
- 'url' => admin_url( 'edit.php?post_type=dlm_download&page=dlm-installed-extensions' ),
113
- 'target' => '',
114
- 'priority' => '20',
115
- );
116
- }
117
-
118
- return $tabs;
119
- }
120
-
121
-
122
- /**
123
- * Loads required data and sets tabs
124
- *
125
- * @since 4.4.5
126
- */
127
- public function load_data() {
128
-
129
- $loader = new Util\ExtensionLoader();
130
- $this->json = $loader->fetch();
131
-
132
- $this->products = DLM_Product_Manager::get()->get_products();
133
-
134
- // Set the extensions
135
- $this->set_response();
136
-
137
- $this->set_tabs();
138
-
139
- }
140
-
141
- /**
142
- * Returns the singleton instance of the class.
143
- *
144
- * @return object The DLM_Admin_Extensions object.
145
- * @since 4.4.5
146
- *
147
- */
148
- public static function get_instance() {
149
-
150
- if ( ! isset( self::$instance ) && ! ( self::$instance instanceof DLM_Admin_Extensions ) ) {
151
- self::$instance = new DLM_Admin_Extensions();
152
- }
153
-
154
- return self::$instance;
155
-
156
- }
157
-
158
- /**
159
- * Add extensions menu links
160
- *
161
- * @param $links
162
- *
163
- * @return mixed
164
- */
165
- public function extensions_pages( $links ) {
166
-
167
- $links[] = array(
168
- 'page_title' => __( 'Download Monitor Extensions', 'download-monitor' ),
169
- 'menu_title' => '<span style="color:#419CCB;font-weight:bold;">' . __( 'Extensions', 'download-monitor' ) . '</span>',
170
- 'capability' => 'manage_options',
171
- 'menu_slug' => 'dlm-extensions',
172
- 'function' => array( $this, 'available_extensions' ),
173
- 'priority' => 50,
174
- );
175
-
176
- $links[] = array(
177
- 'page_title' => __( 'Download Monitor Installed Extensions', 'download-monitor' ),
178
- 'menu_title' => __( 'Installed Extensions', 'download-monitor' ),
179
- 'capability' => 'manage_options',
180
- 'menu_slug' => 'dlm-installed-extensions',
181
- 'function' => array( $this, 'installed_extensions_page' ),
182
- 'priority' => 65,
183
- );
184
-
185
- return $links;
186
- }
187
-
188
- /**
189
- * Remove the submenus we don't want to show
190
- *
191
- * @param $submenu_file
192
- *
193
- * @return mixed
194
- *
195
- * @since 4.4.5
196
- */
197
- public function remove_submenu_item( $submenu_file ) {
198
-
199
- remove_submenu_page( 'edit.php?post_type=dlm_download', 'dlm-installed-extensions' );
200
-
201
- return $submenu_file;
202
- }
203
-
204
-
205
- /**
206
- * Set DLM's extensions
207
- *
208
- * @since 4.4.5
209
- */
210
- public function set_response() {
211
-
212
- $this->response = json_decode( $this->json );
213
-
214
- if ( ! isset( $this->response ) ) {
215
- return;
216
- }
217
-
218
- // Get all extensions
219
- $this->extensions = $this->response->extensions;
220
-
221
- // Loop through extensions
222
- foreach ( $this->extensions as $extension_key => $extension ) {
223
- if ( isset( $this->products[ $extension->product_id ] ) ) {
224
- $this->installed_extensions[] = $extension;
225
- unset( $this->extensions[ $extension_key ] );
226
- }
227
- }
228
-
229
- }
230
-
231
-
232
- /**
233
- * Output DLM's extensions page
234
- *
235
- * @since 4.4.5
236
- */
237
- public function available_extensions() {
238
-
239
- // Allow user to reload extensions
240
- if ( isset( $_GET['dlm-force-recheck'] ) ) {
241
- delete_transient( 'dlm_extension_json' );
242
- }
243
-
244
- ?>
245
- <div class="wrap dlm_extensions_wrap">
246
- <div class="icon32 icon32-posts-dlm_download" id="icon-edit"><br/></div>
247
- <h1>
248
- <?php echo esc_html__( 'Download Monitor Extensions', 'download-monitor' ); ?>
249
- <a href="<?php echo esc_url( add_query_arg( 'dlm-force-recheck', '1', admin_url( 'edit.php?post_type=dlm_download&page=dlm-extensions' ) ) ); ?>"
250
- class="button dlm-reload-button">
251
- <?php esc_html_e( 'Reload Extensions', 'download-monitor' ); ?>
252
- </a>
253
- </h1>
254
- <?php
255
-
256
- if ( false !== $this->json ) {
257
-
258
- // Display message if it's there
259
- if ( isset( $this->response->message ) && '' !== $this->response->message ) {
260
- echo '<div id="message" class="updated">' . esc_html( $this->response->message ) . '</div>';
261
- }
262
-
263
- // Extensions
264
-
265
- echo '<p>' . sprintf( esc_html__( 'Extend Download Monitor with its powerful free and paid extensions. %sClick here to browse all extensions%s', 'download-monitor' ), '<a href="https://www.download-monitor.com/extensions/?utm_source=plugin&utm_medium=link&utm_campaign=extensions-top" target="_blank">', '</a>' ) . '</p>';
266
-
267
- $active_tab = 'dlm-extensions';
268
-
269
- if ( isset( $_GET['page'] ) && isset( $tabs[ $_GET['page'] ] ) ) {
270
- $active_tab = sanitize_text_field( wp_unslash( $_GET['page'] ) );
271
- }
272
-
273
- ?>
274
- <h2 class="nav-tab-wrapper">
275
- <?php DLM_Admin_Helper::dlm_tab_navigation( $this->tabs, $active_tab ); ?>
276
- </h2>
277
- <?php
278
-
279
- // Available Extensions
280
- if ( count( $this->extensions ) > 0 ) {
281
-
282
- echo '<div id="available-extensions" class="settings_panel">';
283
- echo '<div class="theme-browser dlm_extensions">';
284
-
285
- foreach ( $this->extensions as $extension ) {
286
-
287
- $sale = false;
288
-
289
- if ( $extension->price > 0 ) {
290
-
291
- $price_display = '$' . $extension->price;
292
-
293
- if ( '' != $extension->sale_price && $extension->sale_price > 0 ) {
294
-
295
- $price_display = '<strike>$' . $extension->price . '</strike> $' . $extension->sale_price;
296
- $sale = true;
297
- }
298
- } else {
299
-
300
- $price_display = __( 'FREE', 'download-monitor' );
301
- }
302
-
303
- echo '<div class="theme dlm_extension">';
304
- echo '<a href="' . esc_url( $extension->url ) . '?utm_source=plugin&utm_medium=extension-block&utm_campaign=' . esc_attr( $extension->name ) . '" target="_blank">';
305
- echo '<div class="dlm_extension_img_wrapper"><img src="' . esc_url( $extension->image ) . '" alt="' . esc_attr( $extension->name ) . '" /></div>';
306
- echo '<h3>' . esc_html( $extension->name ) . '</h3>';
307
- echo '<div class="extension-desc">' . wp_kses_post( $extension->desc ) . '</div>';
308
- echo '<div class="product_footer">';
309
- echo '<div class="button button-secondary loop_more">' . esc_html__( 'View Extension', 'download-monitor' ) . '<span class="dashicons dashicons-external"></span></div>';
310
- echo '</div>';
311
- echo '</a>';
312
- echo '</div>';
313
- }
314
-
315
- echo '</div>';
316
- echo '</div>';
317
-
318
- } else if ( count( $this->installed_extensions ) > 0 ) {
319
- echo '<p>' . esc_html__( 'Wow, looks like you installed all our extensions. Thanks, you rock!', 'download-monitor' ) . '</p>';
320
- }
321
-
322
- } else {
323
- echo '<p>' . esc_html__( 'Couldn\'t load extensions, please try again later.', 'download-monitor' ) . '</p>';
324
- }
325
- ?>
326
- </div>
327
- <?php
328
- }
329
-
330
- /**
331
- * Output installed extensions page
332
- *
333
- * @since 4.4.5
334
- */
335
- public function installed_extensions_page() {
336
-
337
- // Allow user to reload extensions
338
- if ( isset( $_GET['dlm-force-recheck'] ) ) {
339
- delete_transient( 'dlm_extension_json' );
340
- }
341
-
342
- ?>
343
- <div class="wrap dlm_extensions_wrap">
344
- <div class="icon32 icon32-posts-dlm_download" id="icon-edit"><br/></div>
345
- <h1>
346
- <?php esc_html_e( 'Download Monitor Installed Extensions', 'download-monitor' ); ?>
347
- <a href="<?php echo esc_url( add_query_arg( 'dlm-force-recheck', '1', admin_url( 'edit.php?post_type=dlm_download&page=dlm-extensions' ) ) ); ?>"
348
- class="button dlm-reload-button">
349
- <?php esc_html_e( 'Reload Extensions', 'download-monitor' ); ?>
350
- </a>
351
- </h1>
352
- <?php
353
-
354
- $active_tab = 'dlm-installed-extensions';
355
-
356
- if ( isset( $_GET['page'] ) && isset( $this->tabs[ $_GET['page'] ] ) ) {
357
- $active_tab = sanitize_text_field( wp_unslash( $_GET['page'] ) );
358
- }
359
-
360
- echo '<h2 class="nav-tab-wrapper">';
361
-
362
- DLM_Admin_Helper::dlm_tab_navigation( $this->tabs, $active_tab );
363
-
364
- echo '</h2>';
365
-
366
- // Installed Extensions
367
- if ( count( $this->installed_extensions ) > 0 ) {
368
-
369
- echo '<div id="installed-extensions" class="settings_panel">';
370
-
371
- echo '<div class="theme-browser dlm_extensions">';
372
-
373
- foreach ( $this->installed_extensions as $extension ) {
374
-
375
- // Get the product
376
- $license = $this->products[ $extension->product_id ]->get_license();
377
-
378
- echo '<div class="theme dlm_extension">';
379
-
380
- echo '<div class="dlm_extension_img_wrapper"><img src="' . esc_url( $extension->image ) . '" alt="' . esc_attr( $extension->name ) . '" /></div>';
381
- echo '<h3>' . esc_html( $extension->name ) . '</h3>';
382
-
383
- echo '<div class="extension_license">';
384
- echo '<p class="license-status' . ( ( $license->is_active() ) ? ' active' : '' ) . '">' . esc_html( strtoupper( $license->get_status() ) ) . '</p>';
385
- echo '<input type="hidden" id="dlm-ajax-nonce" value="' . esc_attr( wp_create_nonce( 'dlm-ajax-nonce' ) ) . '" />';
386
- echo '<input type="hidden" id="status" value="' . esc_attr( $license->get_status() ) . '" />';
387
- echo '<input type="hidden" id="product_id" value="' . esc_attr( $extension->product_id ) . '" />';
388
- echo '<input type="text" name="key" id="key" value="' . esc_attr( $license->get_key() ) . '" placeholder="License Key"' . ( ( $license->is_active() ) ? ' disabled="disabled"' : '' ) . ' />';
389
- echo '<input type="text" name="email" id="email" value="' . esc_attr( $license->get_email() ) . '" placeholder="License Email"' . ( ( $license->is_active() ) ? ' disabled="disabled"' : '' ) . ' />';
390
- echo '<a href="javascript:;" class="button button-primary">' . ( ( $license->is_active() ) ? 'Deactivate' : 'Activate' ) . '</a>';
391
- echo '</div>';
392
-
393
- echo '</div>';
394
- }
395
-
396
- echo '</div>';
397
- echo '</div>';
398
-
399
- }
400
-
401
- echo '</div>';
402
- }
403
-
404
- /**
405
- * Set DLM's extensions tabs
406
- *
407
- * @since 4.4.5
408
- */
409
- public function set_tabs() {
410
-
411
- $tabs = array(
412
- 'dlm_downloads' => array(
413
- 'name' => esc_html__( 'Downloads', 'download-monitor' ),
414
- 'url' => admin_url( 'edit.php?post_type=dlm_download' ),
415
- 'target' => '',
416
- 'priority' => '1',
417
- ),
418
- 'dlm-extensions' => array(
419
- 'name' => esc_html__( 'Extensions', 'download-monitor' ),
420
- 'url' => admin_url( 'edit.php?post_type=dlm_download&page=dlm-extensions' ),
421
- 'target' => '',
422
- 'priority' => '10',
423
- ),
424
- 'suggest_feature' => array(
425
- 'name' => esc_html__( 'Suggest a feature', 'download-monitor' ),
426
- 'url' => 'https://forms.gle/3igARBBzrbp6M8Fc7',
427
- 'icon' => 'dashicons dashicons-external',
428
- 'target' => '_blank',
429
- 'priority' => '90',
430
- )
431
- );
432
-
433
- if ( count( $this->installed_extensions ) > 0 ) {
434
-
435
- $tabs['dlm-installed-extensions'] = array(
436
- 'name' => esc_html__( 'Installed Extensions', 'download-monitor' ),
437
- 'url' => admin_url( 'edit.php?post_type=dlm_download&page=dlm-installed-extensions' ),
438
- 'target' => '',
439
- 'priority' => '20',
440
- );
441
- }
442
-
443
- /**
444
- * Hook for Extension tabs
445
- */
446
- $this->tabs = apply_filters( 'dlm_settings_tabs', $tabs );
447
-
448
- // Sort tabs based on priority.
449
- uasort( $this->tabs, array( 'DLM_Admin_Helper', 'sort_data_by_priority' ) );
450
- }
451
-
452
- /**
453
- * Get DLM's extensions tabs
454
- *
455
- * @return array
456
- *
457
- * @since 4.4.5
458
- */
459
- public function get_tabs() {
460
-
461
- return $this->tabs;
462
- }
463
-
464
- /**
465
- * Get extensions
466
- *
467
- * @return array
468
- *
469
- * @since 4.4.5
470
- */
471
- public function get_extensions(){
472
- return $this->installed_extensions;
473
- }
474
-
475
- /**
476
- * Removes pro badge if the section has any extension installed
477
- *
478
- * @return array
479
- *
480
- * @since 4.4.14
481
- */
482
- public function remove_pro_badge( $settings ){
483
-
484
- foreach($settings as $key => $setting){
485
- if( !empty( $setting['sections'] ) && isset( $setting['badge'] ) ){
486
- $settings[$key]['badge'] = false;
487
- }
488
- }
489
- return $settings;
490
- }
491
  }
1
+ <?php
2
+ /**
3
+ * Extensions Page
4
+ */
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit;
8
+ } // Exit if accessed directly
9
+
10
+ use \Never5\DownloadMonitor\Util;
11
+
12
+ /**
13
+ * DLM_Admin_Extensions Class
14
+ */
15
+ class DLM_Admin_Extensions {
16
+
17
+ /**
18
+ * Holds the class object.
19
+ *
20
+ * @since 4.4.5
21
+ *
22
+ * @var object
23
+ */
24
+ public static $instance;
25
+
26
+ /**
27
+ * Json response
28
+ *
29
+ * @var
30
+ *
31
+ * @since 4.4.5
32
+ */
33
+ private $response;
34
+
35
+ /**
36
+ * DLM's extensions
37
+ *
38
+ * @var array
39
+ *
40
+ * @since 4.4.5
41
+ */
42
+ private $extensions = array();
43
+
44
+ /**
45
+ * DLM's extensions tabs
46
+ *
47
+ * @var array
48
+ *
49
+ * @since 4.4.5
50
+ */
51
+ private $tabs = array();
52
+
53
+ /**
54
+ * DLM's installed extensions
55
+ *
56
+ * @var array
57
+ *
58
+ * @since 4.4.5
59
+ */
60
+ private $installed_extensions = array();
61
+
62
+ /**
63
+ * Json
64
+ *
65
+ * @var mixed|string
66
+ *
67
+ * @since 4.4.5
68
+ */
69
+ private $json;
70
+
71
+ /**
72
+ * Our Products
73
+ *
74
+ * @var
75
+ *
76
+ * @since 4.4.5
77
+ */
78
+ private $products;
79
+
80
+
81
+ public function __construct() {
82
+
83
+ // Add the extensions menu links
84
+ add_filter( 'dlm_admin_menu_links', array( $this, 'extensions_pages' ), 30 );
85
+
86
+ // Remove not needed menu link from appearing in dashboard
87
+ add_filter( 'submenu_file', array( $this, 'remove_submenu_item' ) );
88
+
89
+ // Load our required data
90
+ add_action( 'admin_init', array( $this, 'load_data' ), 15 );
91
+
92
+ add_filter( 'dlm_add_edit_tabs', array( $this, 'dlm_cpt_tabs' ) );
93
+
94
+ add_filter( 'dlm_settings', array( $this, 'remove_pro_badge' ), 99 );
95
+
96
+
97
+ }
98
+
99
+ /**
100
+ * Add the installed extensions tab to DLM CPT
101
+ *
102
+ * @param $tabs
103
+ *
104
+ * @since 4.4.5
105
+ */
106
+ public function dlm_cpt_tabs( $tabs ) {
107
+
108
+ if ( count( $this->installed_extensions ) > 0 ) {
109
+
110
+ $tabs['dlm-installed-extensions'] = array(
111
+ 'name' => esc_html__( 'Installed Extensions', 'download-monitor' ),
112
+ 'url' => admin_url( 'edit.php?post_type=dlm_download&page=dlm-installed-extensions' ),
113
+ 'target' => '',
114
+ 'priority' => '20',
115
+ );
116
+ }
117
+
118
+ return $tabs;
119
+ }
120
+
121
+
122
+ /**
123
+ * Loads required data and sets tabs
124
+ *
125
+ * @since 4.4.5
126
+ */
127
+ public function load_data() {
128
+
129
+ $loader = new Util\ExtensionLoader();
130
+ $this->json = $loader->fetch();
131
+
132
+ $this->products = DLM_Product_Manager::get()->get_products();
133
+
134
+ // Set the extensions
135
+ $this->set_response();
136
+
137
+ $this->set_tabs();
138
+
139
+ }
140
+
141
+ /**
142
+ * Returns the singleton instance of the class.
143
+ *
144
+ * @return object The DLM_Admin_Extensions object.
145
+ * @since 4.4.5
146
+ *
147
+ */
148
+ public static function get_instance() {
149
+
150
+ if ( ! isset( self::$instance ) && ! ( self::$instance instanceof DLM_Admin_Extensions ) ) {
151
+ self::$instance = new DLM_Admin_Extensions();
152
+ }
153
+
154
+ return self::$instance;
155
+
156
+ }
157
+
158
+ /**
159
+ * Add extensions menu links
160
+ *
161
+ * @param $links
162
+ *
163
+ * @return mixed
164
+ */
165
+ public function extensions_pages( $links ) {
166
+
167
+ $links[] = array(
168
+ 'page_title' => __( 'Download Monitor Extensions', 'download-monitor' ),
169
+ 'menu_title' => '<span style="color:#419CCB;font-weight:bold;">' . __( 'Extensions', 'download-monitor' ) . '</span>',
170
+ 'capability' => 'manage_options',
171
+ 'menu_slug' => 'dlm-extensions',
172
+ 'function' => array( $this, 'available_extensions' ),
173
+ 'priority' => 50,
174
+ );
175
+
176
+ $links[] = array(
177
+ 'page_title' => __( 'Download Monitor Installed Extensions', 'download-monitor' ),
178
+ 'menu_title' => __( 'Installed Extensions', 'download-monitor' ),
179
+ 'capability' => 'manage_options',
180
+ 'menu_slug' => 'dlm-installed-extensions',
181
+ 'function' => array( $this, 'installed_extensions_page' ),
182
+ 'priority' => 65,
183
+ );
184
+
185
+ return $links;
186
+ }
187
+
188
+ /**
189
+ * Remove the submenus we don't want to show
190
+ *
191
+ * @param $submenu_file
192
+ *
193
+ * @return mixed
194
+ *
195
+ * @since 4.4.5
196
+ */
197
+ public function remove_submenu_item( $submenu_file ) {
198
+
199
+ remove_submenu_page( 'edit.php?post_type=dlm_download', 'dlm-installed-extensions' );
200
+
201
+ return $submenu_file;
202
+ }
203
+
204
+
205
+ /**
206
+ * Set DLM's extensions
207
+ *
208
+ * @since 4.4.5
209
+ */
210
+ public function set_response() {
211
+
212
+ $this->response = json_decode( $this->json );
213
+
214
+ if ( ! isset( $this->response ) ) {
215
+ return;
216
+ }
217
+
218
+ // Get all extensions
219
+ $this->extensions = $this->response->extensions;
220
+
221
+ // Loop through extensions
222
+ foreach ( $this->extensions as $extension_key => $extension ) {
223
+ if ( isset( $this->products[ $extension->product_id ] ) ) {
224
+ $this->installed_extensions[] = $extension;
225
+ unset( $this->extensions[ $extension_key ] );
226
+ }
227
+ }
228
+
229
+ }
230
+
231
+
232
+ /**
233
+ * Output DLM's extensions page
234
+ *
235
+ * @since 4.4.5
236
+ */
237
+ public function available_extensions() {
238
+
239
+ // Allow user to reload extensions
240
+ if ( isset( $_GET['dlm-force-recheck'] ) ) {
241
+ delete_transient( 'dlm_extension_json' );
242
+ }
243
+
244
+ ?>
245
+ <div class="wrap dlm_extensions_wrap">
246
+ <div class="icon32 icon32-posts-dlm_download" id="icon-edit"><br/></div>
247
+ <h1>
248
+ <?php echo esc_html__( 'Download Monitor Extensions', 'download-monitor' ); ?>
249
+ <a href="<?php echo esc_url( add_query_arg( 'dlm-force-recheck', '1', admin_url( 'edit.php?post_type=dlm_download&page=dlm-extensions' ) ) ); ?>"
250
+ class="button dlm-reload-button">
251
+ <?php esc_html_e( 'Reload Extensions', 'download-monitor' ); ?>
252
+ </a>
253
+ </h1>
254
+ <?php
255
+
256
+ if ( false !== $this->json ) {
257
+
258
+ // Display message if it's there
259
+ if ( isset( $this->response->message ) && '' !== $this->response->message ) {
260
+ echo '<div id="message" class="updated">' . esc_html( $this->response->message ) . '</div>';
261
+ }
262
+
263
+ // Extensions
264
+
265
+ echo '<p>' . sprintf( esc_html__( 'Extend Download Monitor with its powerful free and paid extensions. %sClick here to browse all extensions%s', 'download-monitor' ), '<a href="https://www.download-monitor.com/extensions/?utm_source=plugin&utm_medium=link&utm_campaign=extensions-top" target="_blank">', '</a>' ) . '</p>';
266
+
267
+ $active_tab = 'dlm-extensions';
268
+
269
+ if ( isset( $_GET['page'] ) && isset( $tabs[ $_GET['page'] ] ) ) {
270
+ $active_tab = sanitize_text_field( wp_unslash( $_GET['page'] ) );
271
+ }
272
+
273
+ ?>
274
+ <h2 class="nav-tab-wrapper">
275
+ <?php DLM_Admin_Helper::dlm_tab_navigation( $this->tabs, $active_tab ); ?>
276
+ </h2>
277
+ <?php
278
+
279
+ // Available Extensions
280
+ if ( count( $this->extensions ) > 0 ) {
281
+
282
+ echo '<div id="available-extensions" class="settings_panel">';
283
+ echo '<div class="dlm_extensions">';
284
+
285
+ foreach ( $this->extensions as $extension ) {
286
+
287
+ $sale = false;
288
+
289
+ if ( $extension->price > 0 ) {
290
+
291
+ $price_display = '$' . $extension->price;
292
+
293
+ if ( '' != $extension->sale_price && $extension->sale_price > 0 ) {
294
+
295
+ $price_display = '<strike>$' . $extension->price . '</strike> $' . $extension->sale_price;
296
+ $sale = true;
297
+ }
298
+ } else {
299
+
300
+ $price_display = __( 'FREE', 'download-monitor' );
301
+ }
302
+
303
+ echo '<div class="dlm_extension">';
304
+ echo '<a href="' . esc_url( $extension->url ) . '?utm_source=plugin&utm_medium=extension-block&utm_campaign=' . esc_attr( $extension->name ) . '" target="_blank">';
305
+ echo '<div class="dlm_extension_img_wrapper"><img src="' . esc_url( $extension->image ) . '" alt="' . esc_attr( $extension->name ) . '" /></div>';
306
+ echo '<h3>' . esc_html( $extension->name ) . '</h3>';
307
+ echo '<div class="extension-desc">' . wp_kses_post( $extension->desc ) . '</div>';
308
+ echo '<div class="product_footer">';
309
+ echo '<div class="button button-secondary loop_more">' . esc_html__( 'View Extension', 'download-monitor' ) . '<span class="dashicons dashicons-external"></span></div>';
310
+ echo '</div>';
311
+ echo '</a>';
312
+ echo '</div>';
313
+ }
314
+
315
+ echo '</div>';
316
+ echo '</div>';
317
+
318
+ } else if ( count( $this->installed_extensions ) > 0 ) {
319
+ echo '<p>' . esc_html__( 'Wow, looks like you installed all our extensions. Thanks, you rock!', 'download-monitor' ) . '</p>';
320
+ }
321
+
322
+ } else {
323
+ echo '<p>' . esc_html__( 'Couldn\'t load extensions, please try again later.', 'download-monitor' ) . '</p>';
324
+ }
325
+ ?>
326
+ </div>
327
+ <?php
328
+ }
329
+
330
+ /**
331
+ * Output installed extensions page
332
+ *
333
+ * @since 4.4.5
334
+ */
335
+ public function installed_extensions_page() {
336
+
337
+ // Allow user to reload extensions
338
+ if ( isset( $_GET['dlm-force-recheck'] ) ) {
339
+ delete_transient( 'dlm_extension_json' );
340
+ }
341
+
342
+ ?>
343
+ <div class="wrap dlm_extensions_wrap">
344
+ <div class="icon32 icon32-posts-dlm_download" id="icon-edit"><br/></div>
345
+ <h1>
346
+ <?php esc_html_e( 'Download Monitor Installed Extensions', 'download-monitor' ); ?>
347
+ <a href="<?php echo esc_url( add_query_arg( 'dlm-force-recheck', '1', admin_url( 'edit.php?post_type=dlm_download&page=dlm-extensions' ) ) ); ?>"
348
+ class="button dlm-reload-button">
349
+ <?php esc_html_e( 'Reload Extensions', 'download-monitor' ); ?>
350
+ </a>
351
+ </h1>
352
+ <?php
353
+
354
+ $active_tab = 'dlm-installed-extensions';
355
+
356
+ if ( isset( $_GET['page'] ) && isset( $this->tabs[ $_GET['page'] ] ) ) {
357
+ $active_tab = sanitize_text_field( wp_unslash( $_GET['page'] ) );
358
+ }
359
+
360
+ echo '<h2 class="nav-tab-wrapper">';
361
+
362
+ DLM_Admin_Helper::dlm_tab_navigation( $this->tabs, $active_tab );
363
+
364
+ echo '</h2>';
365
+
366
+ // Installed Extensions
367
+ if ( count( $this->installed_extensions ) > 0 ) {
368
+
369
+ echo '<div id="installed-extensions" class="settings_panel">';
370
+
371
+ echo '<div class="dlm_extensions">';
372
+
373
+ foreach ( $this->installed_extensions as $extension ) {
374
+
375
+ // Get the product
376
+ $license = $this->products[ $extension->product_id ]->get_license();
377
+
378
+ echo '<div class="dlm_extension">';
379
+
380
+ echo '<div class="dlm_extension_img_wrapper"><img src="' . esc_url( $extension->image ) . '" alt="' . esc_attr( $extension->name ) . '" /></div>';
381
+ echo '<h3>' . esc_html( $extension->name ) . '</h3>';
382
+
383
+ echo '<div class="extension_license">';
384
+ echo '<p class="license-status' . ( ( $license->is_active() ) ? ' active' : '' ) . '">' . esc_html( strtoupper( $license->get_status() ) ) . '</p>';
385
+ echo '<input type="hidden" id="dlm-ajax-nonce" value="' . esc_attr( wp_create_nonce( 'dlm-ajax-nonce' ) ) . '" />';
386
+ echo '<input type="hidden" id="status" value="' . esc_attr( $license->get_status() ) . '" />';
387
+ echo '<input type="hidden" id="product_id" value="' . esc_attr( $extension->product_id ) . '" />';
388
+ echo '<input type="text" name="key" id="key" value="' . esc_attr( $license->get_key() ) . '" placeholder="License Key"' . ( ( $license->is_active() ) ? ' disabled="disabled"' : '' ) . ' />';
389
+ echo '<input type="text" name="email" id="email" value="' . esc_attr( $license->get_email() ) . '" placeholder="License Email"' . ( ( $license->is_active() ) ? ' disabled="disabled"' : '' ) . ' />';
390
+ echo '<a href="javascript:;" class="button button-primary">' . ( ( $license->is_active() ) ? 'Deactivate' : 'Activate' ) . '</a>';
391
+ echo '</div>';
392
+
393
+ echo '</div>';
394
+ }
395
+
396
+ echo '</div>';
397
+ echo '</div>';
398
+
399
+ }
400
+
401
+ echo '</div>';
402
+ }
403
+
404
+ /**
405
+ * Set DLM's extensions tabs
406
+ *
407
+ * @since 4.4.5
408
+ */
409
+ public function set_tabs() {
410
+
411
+ $tabs = array(
412
+ 'dlm_downloads' => array(
413
+ 'name' => esc_html__( 'Downloads', 'download-monitor' ),
414
+ 'url' => admin_url( 'edit.php?post_type=dlm_download' ),
415
+ 'target' => '',
416
+ 'priority' => '1',
417
+ ),
418
+ 'dlm-extensions' => array(
419
+ 'name' => esc_html__( 'Extensions', 'download-monitor' ),
420
+ 'url' => admin_url( 'edit.php?post_type=dlm_download&page=dlm-extensions' ),
421
+ 'target' => '',
422
+ 'priority' => '10',
423
+ ),
424
+ 'suggest_feature' => array(
425
+ 'name' => esc_html__( 'Suggest a feature', 'download-monitor' ),
426
+ 'url' => 'https://forms.gle/3igARBBzrbp6M8Fc7',
427
+ 'icon' => 'dashicons dashicons-external',
428
+ 'target' => '_blank',
429
+ 'priority' => '90',
430
+ )
431
+ );
432
+
433
+ if ( count( $this->installed_extensions ) > 0 ) {
434
+
435
+ $tabs['dlm-installed-extensions'] = array(
436
+ 'name' => esc_html__( 'Installed Extensions', 'download-monitor' ),
437
+ 'url' => admin_url( 'edit.php?post_type=dlm_download&page=dlm-installed-extensions' ),
438
+ 'target' => '',
439
+ 'priority' => '20',
440
+ );
441
+ }
442
+
443
+ /**
444
+ * Hook for Extension tabs
445
+ */
446
+ $this->tabs = apply_filters( 'dlm_settings_tabs', $tabs );
447
+
448
+ // Sort tabs based on priority.
449
+ uasort( $this->tabs, array( 'DLM_Admin_Helper', 'sort_data_by_priority' ) );
450
+ }
451
+
452
+ /**
453
+ * Get DLM's extensions tabs
454
+ *
455
+ * @return array
456
+ *
457
+ * @since 4.4.5
458
+ */
459
+ public function get_tabs() {
460
+
461
+ return $this->tabs;
462
+ }
463
+
464
+ /**
465
+ * Get extensions
466
+ *
467
+ * @return array
468
+ *
469
+ * @since 4.4.5
470
+ */
471
+ public function get_extensions(){
472
+ return $this->installed_extensions;
473
+ }
474
+
475
+ /**
476
+ * Removes pro badge if the section has any extension installed
477
+ *
478
+ * @return array
479
+ *
480
+ * @since 4.4.14
481
+ */
482
+ public function remove_pro_badge( $settings ){
483
+
484
+ foreach($settings as $key => $setting){
485
+ if( !empty( $setting['sections'] ) && isset( $setting['badge'] ) ){
486
+ $settings[$key]['badge'] = false;
487
+ }
488
+ }
489
+ return $settings;
490
+ }
491
  }