Download Monitor - Version 1.9.8

Version Description

Download this release

Release Info

Developer barrykooij
Plugin Icon 128x128 Download Monitor
Version 1.9.8
Comparing to
See all releases

Code changes from version 1.9.7 to 1.9.8

Files changed (70) hide show
  1. assets/css/admin.css +1 -1
  2. assets/css/admin.less +14 -0
  3. assets/css/dashboard.css +1 -1
  4. assets/css/dashboard.less +1 -1
  5. assets/images/protected-file-thumbnail.png +0 -0
  6. assets/js/blockui.min.js +1 -1
  7. assets/js/edit-download.min.js +1 -1
  8. assets/js/insert-download.min.js +1 -1
  9. assets/js/notices.min.js +1 -1
  10. assets/js/settings.js +42 -0
  11. assets/js/settings.min.js +1 -1
  12. download-monitor.php +3 -3
  13. includes/admin/class-dlm-admin-scripts.php +2 -0
  14. includes/admin/class-dlm-admin.php +72 -4
  15. includes/class-dlm-ajax-handler.php +33 -2
  16. includes/class-dlm-download.php +9 -9
  17. includes/class-dlm-utils.php +1 -1
  18. languages/download-monitor-ar.mo +0 -0
  19. languages/download-monitor-ar.po +1 -1
  20. languages/download-monitor-be_BY.mo +0 -0
  21. languages/download-monitor-be_BY.po +1 -1
  22. languages/download-monitor-ca_ES.mo +0 -0
  23. languages/download-monitor-ca_ES.po +1 -1
  24. languages/download-monitor-cs_CZ.mo +0 -0
  25. languages/download-monitor-cs_CZ.po +1 -1
  26. languages/download-monitor-da_DK.mo +0 -0
  27. languages/download-monitor-da_DK.po +1 -1
  28. languages/download-monitor-de_DE.mo +0 -0
  29. languages/download-monitor-de_DE.po +1 -1
  30. languages/download-monitor-es_ES.mo +0 -0
  31. languages/download-monitor-es_ES.po +1 -1
  32. languages/download-monitor-fa_IR.mo +0 -0
  33. languages/download-monitor-fa_IR.po +1 -1
  34. languages/download-monitor-fr_FR.mo +0 -0
  35. languages/download-monitor-fr_FR.po +1 -1
  36. languages/download-monitor-hr_HR.mo +0 -0
  37. languages/download-monitor-hr_HR.po +1 -1
  38. languages/download-monitor-hu_HU.mo +0 -0
  39. languages/download-monitor-hu_HU.po +1 -1
  40. languages/download-monitor-it_IT.mo +0 -0
  41. languages/download-monitor-it_IT.po +1 -1
  42. languages/download-monitor-ja.mo +0 -0
  43. languages/download-monitor-ja.po +1 -1
  44. languages/download-monitor-ku.mo +0 -0
  45. languages/download-monitor-ku.po +1 -1
  46. languages/download-monitor-nl_NL.mo +0 -0
  47. languages/download-monitor-nl_NL.po +1 -1
  48. languages/download-monitor-pl_PL.mo +0 -0
  49. languages/download-monitor-pl_PL.po +2 -2
  50. languages/download-monitor-pt_BR.mo +0 -0
  51. languages/download-monitor-pt_BR.po +1 -1
  52. languages/download-monitor-pt_PT.mo +0 -0
  53. languages/download-monitor-pt_PT.po +1 -1
  54. languages/download-monitor-ru_RU.mo +0 -0
  55. languages/download-monitor-ru_RU.po +1 -1
  56. languages/download-monitor-sk_SK.mo +0 -0
  57. languages/download-monitor-sk_SK.po +1 -1
  58. languages/download-monitor-sr_RS.mo +0 -0
  59. languages/download-monitor-sr_RS.po +1 -1
  60. languages/download-monitor-sv_SE.mo +0 -0
  61. languages/download-monitor-sv_SE.po +1 -1
  62. languages/download-monitor-tr_TR.mo +0 -0
  63. languages/download-monitor-tr_TR.po +1 -1
  64. languages/download-monitor-uk_UA.mo +0 -0
  65. languages/download-monitor-uk_UA.po +1 -1
  66. languages/download-monitor-zh_CN.mo +0 -0
  67. languages/download-monitor-zh_CN.po +1 -1
  68. languages/download-monitor-zh_TW.mo +0 -0
  69. languages/download-monitor-zh_TW.po +1 -1
  70. readme.txt +8 -2
assets/css/admin.css CHANGED
@@ -1 +1 @@
1
- #dlm_logs td{padding:7px;vertical-align:middle}#dlm_logs .check-column{width:1.5em;padding:0;vertical-align:middle}#dlm_logs .column-status{width:2em}#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}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;-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;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}#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{font-weight:400;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;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;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:#EAF2FA;background-image:linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-o-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-moz-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-ms-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#dae6f2),color-stop(1,#eaf2fa));border-color:#d3deea;color:#21759B}#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 p{overflow:hidden}#download-monitor-information p label{width:100%;font-weight:700;box-sizing:border-box;line-height:28px;float:left}#download-monitor-information p label input{width:65%;padding:5px;font-size:11px;font-weight:400;background:#eaeaea;border:0;box-shadow:none;box-sizing:border-box;float:right}#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;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: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}#insert-download{padding:20px}#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;display:block;font-size:1.1em}#insert-download span.description{display:block}#insert-download input.input{margin:0 0 .25em;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_extensions_wrap h2 a.dlm-reload-button{float:right}.dlm_extensions_wrap .dlm_extensions{padding:15px 0;overflow:hidden}.dlm_extensions_wrap .dlm_extensions div.dlm_extension{cursor:auto!important}.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 p.extension-desc{min-height:85px;padding:0 20px}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .product_footer{padding:0 20px 15px}.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 .loop_more{color:#459ac9;text-decoration:none;font-weight:700;float:right}.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}
1
+ #dlm_logs td{padding:7px;vertical-align:middle}#dlm_logs .check-column{width:1.5em;padding:0;vertical-align:middle}#dlm_logs .column-status{width:2em}#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}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;-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;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}#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{font-weight:400;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;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;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:#EAF2FA;background-image:linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-o-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-moz-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-ms-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#dae6f2),color-stop(1,#eaf2fa));border-color:#d3deea;color:#21759B}#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 p{overflow:hidden}#download-monitor-information p label{width:100%;font-weight:700;box-sizing:border-box;line-height:28px;float:left}#download-monitor-information p label input{width:65%;padding:5px;font-size:11px;font-weight:400;background:#eaeaea;border:0;box-shadow:none;box-sizing:border-box;float:right}#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;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: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}#insert-download{padding:20px}#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;display:block;font-size:1.1em}#insert-download span.description{display:block}#insert-download input.input{margin:0 0 .25em;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}.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_extensions_wrap h2 a.dlm-reload-button{float:right}.dlm_extensions_wrap .dlm_extensions{padding:15px 0;overflow:hidden}.dlm_extensions_wrap .dlm_extensions div.dlm_extension{cursor:auto!important}.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 p.extension-desc{min-height:85px;padding:0 20px}.dlm_extensions_wrap .dlm_extensions div.dlm_extension .product_footer{padding:0 20px 15px}.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 .loop_more{color:#459ac9;text-decoration:none;font-weight:700;float:right}.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}
assets/css/admin.less CHANGED
@@ -594,6 +594,20 @@ table.wp-list-table {
594
  }
595
  }
596
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
597
  /* Extensions */
598
  .dlm_extensions_wrap {
599
  h2 {
594
  }
595
  }
596
 
597
+ .settings_panel {
598
+ .dlm-lazy-select-loader {
599
+ display: inline-block;
600
+ vertical-align: middle;
601
+ padding: 0 0 0 3px;
602
+ img {
603
+ display: inline-block;
604
+ height: 25px;
605
+ width: 25px;
606
+ margin-top: 1px;
607
+ }
608
+ }
609
+ }
610
+
611
  /* Extensions */
612
  .dlm_extensions_wrap {
613
  h2 {
assets/css/dashboard.css CHANGED
@@ -1 +1 @@
1
- table.download_chart{width:100%}table.download_chart thead{display:none}table.download_chart td,table.download_chart th{padding:5px;vertical-align:middle;line-height:1.5em}table.download_chart th{text-align:left;font-weight:400;padding-left:0}table.download_chart td:last-child{padding-right:0}table.download_chart tr:first-child td,table.download_chart tr:first-child th{padding-top:0}table.download_chart tr:last-child td,table.download_chart tr:last-child th{border-bottom:0;padding-bottom:0}table.download_chart span.bar{padding:0 0 0 1px;height:1.5em;float:left;margin-right:5px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;bprder:1px solid # #6e6e6e;background:#6e6e6e;background-image:-webkit-gradient(linear,left bottom,left top,from(#747474),to(#6e6e6e));background-image:-webkit-linear-gradient(bottom,#747474,#6e6e6e);background-image:-moz-linear-gradient(bottom,#747474,#6e6e6e);background-image:-o-linear-gradient(bottom,#747474,#6e6e6e);background-image:linear-gradient(to top,#747474,#6e6e6e)}
1
+ table.download_chart{width:100%}table.download_chart thead{display:none}table.download_chart td,table.download_chart th{padding:5px;vertical-align:middle;line-height:1.5em}table.download_chart th{text-align:left;font-weight:400;padding-left:0}table.download_chart td:last-child{padding-right:0}table.download_chart tr:first-child td,table.download_chart tr:first-child th{padding-top:0}table.download_chart tr:last-child td,table.download_chart tr:last-child th{border-bottom:0;padding-bottom:0}table.download_chart span.bar{padding:0 0 0 1px;height:1.5em;float:left;margin-right:5px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;bprder:1px solid #6e6e6e;background:#6e6e6e;background-image:-webkit-gradient(linear,left bottom,left top,from(#747474),to(#6e6e6e));background-image:-webkit-linear-gradient(bottom,#747474,#6e6e6e);background-image:-moz-linear-gradient(bottom,#747474,#6e6e6e);background-image:-o-linear-gradient(bottom,#747474,#6e6e6e);background-image:linear-gradient(to top,#747474,#6e6e6e)}
assets/css/dashboard.less CHANGED
@@ -39,7 +39,7 @@ table.download_chart {
39
  -moz-border-radius: 2px;
40
  -webkit-border-radius: 2px;
41
  border-radius: 2px;
42
- bprder: 1px solid # #6e6e6e;
43
  background: #6e6e6e;
44
  background-image: -webkit-gradient(linear, left bottom, left top, from(#747474), to(#6e6e6e));
45
  background-image: -webkit-linear-gradient(bottom, #747474, #6e6e6e);
39
  -moz-border-radius: 2px;
40
  -webkit-border-radius: 2px;
41
  border-radius: 2px;
42
+ bprder: 1px solid #6e6e6e;
43
  background: #6e6e6e;
44
  background-image: -webkit-gradient(linear, left bottom, left top, from(#747474), to(#6e6e6e));
45
  background-image: -webkit-linear-gradient(bottom, #747474, #6e6e6e);
assets/images/protected-file-thumbnail.png ADDED
Binary file
assets/js/blockui.min.js CHANGED
@@ -11,4 +11,4 @@
11
  *
12
  * Thanks to Amir-Hossein Sobhi for some excellent contributions!
13
  */
14
- !function(){"use strict";function a(a){function b(b,d){var f,p,q=b==window,r=d&&void 0!==d.message?d.message:void 0;if(d=a.extend({},a.blockUI.defaults,d||{}),!d.ignoreIfBlocked||!a(b).data("blockUI.isBlocked")){if(d.overlayCSS=a.extend({},a.blockUI.defaults.overlayCSS,d.overlayCSS||{}),f=a.extend({},a.blockUI.defaults.css,d.css||{}),d.onOverlayClick&&(d.overlayCSS.cursor="pointer"),p=a.extend({},a.blockUI.defaults.themedCSS,d.themedCSS||{}),r=void 0===r?d.message:r,q&&n&&c(window,{fadeOut:0}),r&&"string"!=typeof r&&(r.parentNode||r.jquery)){var s=r.jquery?r[0]:r,t={};a(b).data("blockUI.history",t),t.el=s,t.parent=s.parentNode,t.display=s.style.display,t.position=s.style.position,t.parent&&t.parent.removeChild(s)}a(b).data("blockUI.onUnblock",d.onUnblock);var u,v,w,x,y=d.baseZ;u=a(k||d.forceIframe?'<iframe class="blockUI" style="z-index:'+y++ +';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+d.iframeSrc+'"></iframe>':'<div class="blockUI" style="display:none"></div>'),v=a(d.theme?'<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+y++ +';display:none"></div>':'<div class="blockUI blockOverlay" style="z-index:'+y++ +';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),d.theme&&q?(x='<div class="blockUI '+d.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(y+10)+';display:none;position:fixed">',d.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(d.title||"&nbsp;")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):d.theme?(x='<div class="blockUI '+d.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(y+10)+';display:none;position:absolute">',d.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(d.title||"&nbsp;")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):x=q?'<div class="blockUI '+d.blockMsgClass+' blockPage" style="z-index:'+(y+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+d.blockMsgClass+' blockElement" style="z-index:'+(y+10)+';display:none;position:absolute"></div>',w=a(x),r&&(d.theme?(w.css(p),w.addClass("ui-widget-content")):w.css(f)),d.theme||v.css(d.overlayCSS),v.css("position",q?"fixed":"absolute"),(k||d.forceIframe)&&u.css("opacity",0);var z=[u,v,w],A=a(q?"body":b);a.each(z,function(){this.appendTo(A)}),d.theme&&d.draggable&&a.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var B=m&&(!a.support.boxModel||a("object,embed",q?null:b).length>0);if(l||B){if(q&&d.allowBodyStretch&&a.support.boxModel&&a("html,body").css("height","100%"),(l||!a.support.boxModel)&&!q)var C=i(b,"borderTopWidth"),D=i(b,"borderLeftWidth"),E=C?"(0 - "+C+")":0,F=D?"(0 - "+D+")":0;a.each(z,function(a,b){var c=b[0].style;if(c.position="absolute",2>a)q?c.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+d.quirksmodeOffsetHack+') + "px"'):c.setExpression("height",'this.parentNode.offsetHeight + "px"'),q?c.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):c.setExpression("width",'this.parentNode.offsetWidth + "px"'),F&&c.setExpression("left",F),E&&c.setExpression("top",E);else if(d.centerY)q&&c.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),c.marginTop=0;else if(!d.centerY&&q){var e=d.css&&d.css.top?parseInt(d.css.top,10):0,f="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+e+') + "px"';c.setExpression("top",f)}})}if(r&&(d.theme?w.find(".ui-widget-content").append(r):w.append(r),(r.jquery||r.nodeType)&&a(r).show()),(k||d.forceIframe)&&d.showOverlay&&u.show(),d.fadeIn){var G=d.onBlock?d.onBlock:j,H=d.showOverlay&&!r?G:j,I=r?G:j;d.showOverlay&&v._fadeIn(d.fadeIn,H),r&&w._fadeIn(d.fadeIn,I)}else d.showOverlay&&v.show(),r&&w.show(),d.onBlock&&d.onBlock();if(e(1,b,d),q?(n=w[0],o=a(d.focusableElements,n),d.focusInput&&setTimeout(g,20)):h(w[0],d.centerX,d.centerY),d.timeout){var J=setTimeout(function(){q?a.unblockUI(d):a(b).unblock(d)},d.timeout);a(b).data("blockUI.timeout",J)}}}function c(b,c){var f,g=b==window,h=a(b),i=h.data("blockUI.history"),j=h.data("blockUI.timeout");j&&(clearTimeout(j),h.removeData("blockUI.timeout")),c=a.extend({},a.blockUI.defaults,c||{}),e(0,b,c),null===c.onUnblock&&(c.onUnblock=h.data("blockUI.onUnblock"),h.removeData("blockUI.onUnblock"));var k;k=g?a("body").children().filter(".blockUI").add("body > .blockUI"):h.find(">.blockUI"),c.cursorReset&&(k.length>1&&(k[1].style.cursor=c.cursorReset),k.length>2&&(k[2].style.cursor=c.cursorReset)),g&&(n=o=null),c.fadeOut?(f=k.length,k.fadeOut(c.fadeOut,function(){0===--f&&d(k,i,c,b)})):d(k,i,c,b)}function d(b,c,d,e){var f=a(e);b.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),c&&c.el&&(c.el.style.display=c.display,c.el.style.position=c.position,c.parent&&c.parent.appendChild(c.el),f.removeData("blockUI.history")),f.data("blockUI.static")&&f.css("position","static"),"function"==typeof d.onUnblock&&d.onUnblock(e,d);var g=a(document.body),h=g.width(),i=g[0].style.width;g.width(h-1).width(h),g[0].style.width=i}function e(b,c,d){var e=c==window,g=a(c);if((b||(!e||n)&&(e||g.data("blockUI.isBlocked")))&&(g.data("blockUI.isBlocked",b),e&&d.bindEvents&&(!b||d.showOverlay))){var h="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";b?a(document).bind(h,d,f):a(document).unbind(h,f)}}function f(b){if(b.keyCode&&9==b.keyCode&&n&&b.data.constrainTabKey){var c=o,d=!b.shiftKey&&b.target===c[c.length-1],e=b.shiftKey&&b.target===c[0];if(d||e)return setTimeout(function(){g(e)},10),!1}var f=b.data,h=a(b.target);return h.hasClass("blockOverlay")&&f.onOverlayClick&&f.onOverlayClick(),h.parents("div."+f.blockMsgClass).length>0?!0:0===h.parents().children().filter("div.blockUI").length}function g(a){if(o){var b=o[a===!0?o.length-1:0];b&&b.focus()}}function h(a,b,c){var d=a.parentNode,e=a.style,f=(d.offsetWidth-a.offsetWidth)/2-i(d,"borderLeftWidth"),g=(d.offsetHeight-a.offsetHeight)/2-i(d,"borderTopWidth");b&&(e.left=f>0?f+"px":"0"),c&&(e.top=g>0?g+"px":"0")}function i(b,c){return parseInt(a.css(b,c),10)||0}a.fn._fadeIn=a.fn.fadeIn;var j=a.noop||function(){},k=/MSIE/.test(navigator.userAgent),l=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),m=(document.documentMode||0,a.isFunction(document.createElement("div").style.setExpression));a.blockUI=function(a){b(window,a)},a.unblockUI=function(a){c(window,a)},a.growlUI=function(b,c,d,e){var f=a('<div class="growlUI"></div>');b&&f.append("<h1>"+b+"</h1>"),c&&f.append("<h2>"+c+"</h2>"),void 0===d&&(d=3e3);var g=function(b){b=b||{},a.blockUI({message:f,fadeIn:"undefined"!=typeof b.fadeIn?b.fadeIn:700,fadeOut:"undefined"!=typeof b.fadeOut?b.fadeOut:1e3,timeout:"undefined"!=typeof b.timeout?b.timeout:d,centerY:!1,showOverlay:!1,onUnblock:e,css:a.blockUI.defaults.growlCSS})};g();f.css("opacity");f.mouseover(function(){g({fadeIn:0,timeout:3e4});var b=a(".blockMsg");b.stop(),b.fadeTo(300,1)}).mouseout(function(){a(".blockMsg").fadeOut(1e3)})},a.fn.block=function(c){if(this[0]===window)return a.blockUI(c),this;var d=a.extend({},a.blockUI.defaults,c||{});return this.each(function(){var b=a(this);d.ignoreIfBlocked&&b.data("blockUI.isBlocked")||b.unblock({fadeOut:0})}),this.each(function(){"static"==a.css(this,"position")&&(this.style.position="relative",a(this).data("blockUI.static",!0)),this.style.zoom=1,b(this,c)})},a.fn.unblock=function(b){return this[0]===window?(a.unblockUI(b),this):this.each(function(){c(this,b)})},a.blockUI.version=2.6,a.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 n=null,o=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],a):a(jQuery)}();
11
  *
12
  * Thanks to Amir-Hossein Sobhi for some excellent contributions!
13
  */
14
+ !function(){"use strict";function a(a){function b(b,d){var f,p,q=b==window,r=d&&void 0!==d.message?d.message:void 0;if(d=a.extend({},a.blockUI.defaults,d||{}),!d.ignoreIfBlocked||!a(b).data("blockUI.isBlocked")){if(d.overlayCSS=a.extend({},a.blockUI.defaults.overlayCSS,d.overlayCSS||{}),f=a.extend({},a.blockUI.defaults.css,d.css||{}),d.onOverlayClick&&(d.overlayCSS.cursor="pointer"),p=a.extend({},a.blockUI.defaults.themedCSS,d.themedCSS||{}),r=void 0===r?d.message:r,q&&n&&c(window,{fadeOut:0}),r&&"string"!=typeof r&&(r.parentNode||r.jquery)){var s=r.jquery?r[0]:r,t={};a(b).data("blockUI.history",t),t.el=s,t.parent=s.parentNode,t.display=s.style.display,t.position=s.style.position,t.parent&&t.parent.removeChild(s)}a(b).data("blockUI.onUnblock",d.onUnblock);var u,v,w,x,y=d.baseZ;u=a(k||d.forceIframe?'<iframe class="blockUI" style="z-index:'+y+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+d.iframeSrc+'"></iframe>':'<div class="blockUI" style="display:none"></div>'),v=a(d.theme?'<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+y+++';display:none"></div>':'<div class="blockUI blockOverlay" style="z-index:'+y+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),d.theme&&q?(x='<div class="blockUI '+d.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(y+10)+';display:none;position:fixed">',d.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(d.title||"&nbsp;")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):d.theme?(x='<div class="blockUI '+d.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(y+10)+';display:none;position:absolute">',d.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(d.title||"&nbsp;")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):x=q?'<div class="blockUI '+d.blockMsgClass+' blockPage" style="z-index:'+(y+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+d.blockMsgClass+' blockElement" style="z-index:'+(y+10)+';display:none;position:absolute"></div>',w=a(x),r&&(d.theme?(w.css(p),w.addClass("ui-widget-content")):w.css(f)),d.theme||v.css(d.overlayCSS),v.css("position",q?"fixed":"absolute"),(k||d.forceIframe)&&u.css("opacity",0);var z=[u,v,w],A=a(q?"body":b);a.each(z,function(){this.appendTo(A)}),d.theme&&d.draggable&&a.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var B=m&&(!a.support.boxModel||a("object,embed",q?null:b).length>0);if(l||B){if(q&&d.allowBodyStretch&&a.support.boxModel&&a("html,body").css("height","100%"),(l||!a.support.boxModel)&&!q)var C=i(b,"borderTopWidth"),D=i(b,"borderLeftWidth"),E=C?"(0 - "+C+")":0,F=D?"(0 - "+D+")":0;a.each(z,function(a,b){var c=b[0].style;if(c.position="absolute",a<2)q?c.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+d.quirksmodeOffsetHack+') + "px"'):c.setExpression("height",'this.parentNode.offsetHeight + "px"'),q?c.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):c.setExpression("width",'this.parentNode.offsetWidth + "px"'),F&&c.setExpression("left",F),E&&c.setExpression("top",E);else if(d.centerY)q&&c.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),c.marginTop=0;else if(!d.centerY&&q){var e=d.css&&d.css.top?parseInt(d.css.top,10):0,f="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+e+') + "px"';c.setExpression("top",f)}})}if(r&&(d.theme?w.find(".ui-widget-content").append(r):w.append(r),(r.jquery||r.nodeType)&&a(r).show()),(k||d.forceIframe)&&d.showOverlay&&u.show(),d.fadeIn){var G=d.onBlock?d.onBlock:j,H=d.showOverlay&&!r?G:j,I=r?G:j;d.showOverlay&&v._fadeIn(d.fadeIn,H),r&&w._fadeIn(d.fadeIn,I)}else d.showOverlay&&v.show(),r&&w.show(),d.onBlock&&d.onBlock();if(e(1,b,d),q?(n=w[0],o=a(d.focusableElements,n),d.focusInput&&setTimeout(g,20)):h(w[0],d.centerX,d.centerY),d.timeout){var J=setTimeout(function(){q?a.unblockUI(d):a(b).unblock(d)},d.timeout);a(b).data("blockUI.timeout",J)}}}function c(b,c){var f,g=b==window,h=a(b),i=h.data("blockUI.history"),j=h.data("blockUI.timeout");j&&(clearTimeout(j),h.removeData("blockUI.timeout")),c=a.extend({},a.blockUI.defaults,c||{}),e(0,b,c),null===c.onUnblock&&(c.onUnblock=h.data("blockUI.onUnblock"),h.removeData("blockUI.onUnblock"));var k;k=g?a("body").children().filter(".blockUI").add("body > .blockUI"):h.find(">.blockUI"),c.cursorReset&&(k.length>1&&(k[1].style.cursor=c.cursorReset),k.length>2&&(k[2].style.cursor=c.cursorReset)),g&&(n=o=null),c.fadeOut?(f=k.length,k.fadeOut(c.fadeOut,function(){0==--f&&d(k,i,c,b)})):d(k,i,c,b)}function d(b,c,d,e){var f=a(e);b.each(function(a,b){this.parentNode&&this.parentNode.removeChild(this)}),c&&c.el&&(c.el.style.display=c.display,c.el.style.position=c.position,c.parent&&c.parent.appendChild(c.el),f.removeData("blockUI.history")),f.data("blockUI.static")&&f.css("position","static"),"function"==typeof d.onUnblock&&d.onUnblock(e,d);var g=a(document.body),h=g.width(),i=g[0].style.width;g.width(h-1).width(h),g[0].style.width=i}function e(b,c,d){var e=c==window,g=a(c);if((b||(!e||n)&&(e||g.data("blockUI.isBlocked")))&&(g.data("blockUI.isBlocked",b),e&&d.bindEvents&&(!b||d.showOverlay))){var h="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";b?a(document).bind(h,d,f):a(document).unbind(h,f)}}function f(b){if(b.keyCode&&9==b.keyCode&&n&&b.data.constrainTabKey){var c=o,d=!b.shiftKey&&b.target===c[c.length-1],e=b.shiftKey&&b.target===c[0];if(d||e)return setTimeout(function(){g(e)},10),!1}var f=b.data,h=a(b.target);return h.hasClass("blockOverlay")&&f.onOverlayClick&&f.onOverlayClick(),h.parents("div."+f.blockMsgClass).length>0||0===h.parents().children().filter("div.blockUI").length}function g(a){if(o){var b=o[!0===a?o.length-1:0];b&&b.focus()}}function h(a,b,c){var d=a.parentNode,e=a.style,f=(d.offsetWidth-a.offsetWidth)/2-i(d,"borderLeftWidth"),g=(d.offsetHeight-a.offsetHeight)/2-i(d,"borderTopWidth");b&&(e.left=f>0?f+"px":"0"),c&&(e.top=g>0?g+"px":"0")}function i(b,c){return parseInt(a.css(b,c),10)||0}a.fn._fadeIn=a.fn.fadeIn;var j=a.noop||function(){},k=/MSIE/.test(navigator.userAgent),l=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),m=(document.documentMode,a.isFunction(document.createElement("div").style.setExpression));a.blockUI=function(a){b(window,a)},a.unblockUI=function(a){c(window,a)},a.growlUI=function(b,c,d,e){var f=a('<div class="growlUI"></div>');b&&f.append("<h1>"+b+"</h1>"),c&&f.append("<h2>"+c+"</h2>"),void 0===d&&(d=3e3);var g=function(b){b=b||{},a.blockUI({message:f,fadeIn:void 0!==b.fadeIn?b.fadeIn:700,fadeOut:void 0!==b.fadeOut?b.fadeOut:1e3,timeout:void 0!==b.timeout?b.timeout:d,centerY:!1,showOverlay:!1,onUnblock:e,css:a.blockUI.defaults.growlCSS})};g();f.css("opacity");f.mouseover(function(){g({fadeIn:0,timeout:3e4});var b=a(".blockMsg");b.stop(),b.fadeTo(300,1)}).mouseout(function(){a(".blockMsg").fadeOut(1e3)})},a.fn.block=function(c){if(this[0]===window)return a.blockUI(c),this;var d=a.extend({},a.blockUI.defaults,c||{});return this.each(function(){var b=a(this);d.ignoreIfBlocked&&b.data("blockUI.isBlocked")||b.unblock({fadeOut:0})}),this.each(function(){"static"==a.css(this,"position")&&(this.style.position="relative",a(this).data("blockUI.static",!0)),this.style.zoom=1,b(this,c)})},a.fn.unblock=function(b){return this[0]===window?(a.unblockUI(b),this):this.each(function(){c(this,b)})},a.blockUI.version=2.6,a.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 n=null,o=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],a):a(jQuery)}();
assets/js/edit-download.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){function b(){jQuery(".downloadable_files .downloadable_file").each(function(a,b){jQuery(".file_menu_order",b).val(parseInt(jQuery(b).index(".downloadable_files .downloadable_file")))})}jQuery(".expand_all").click(function(){return jQuery(this).closest(".dlm-metaboxes-wrapper").find(".dlm-metabox table").show(),!1}),jQuery(".close_all").click(function(){return jQuery(this).closest(".dlm-metaboxes-wrapper").find(".dlm-metabox table").hide(),!1}),jQuery(".dlm-metaboxes-wrapper").on("click",".dlm-metabox h3",function(a){jQuery(a.target).filter(":input, option").length||jQuery(this).next(".dlm-metabox-content").toggle()}),jQuery(".dlm-metabox.closed").each(function(){jQuery(this).find(".dlm-metabox-content").hide()}),jQuery(".date-picker-field").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0}),jQuery(".downloadable_files").sortable({items:".downloadable_file",cursor:"move",axis:"y",handle:"h3",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",opacity:.65,placeholder:"dlm-metabox-sortable-placeholder",start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,c){c.item.removeAttr("style"),b()}}),jQuery(".download_monitor_files").on("click","a.add_file",function(){jQuery(".download_monitor_files").block({message:null,overlayCSS:{background:"#fff url("+a("#dlm-plugin-url").val()+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var c=jQuery(".downloadable_files .downloadable_file").size(),d={action:"download_monitor_add_file",post_id:a("#dlm-post-id").val(),size:c,security:a("#dlm-ajax-nonce-add-file").val()};return jQuery.post(ajaxurl,d,function(a){jQuery(".downloadable_files").prepend(a),b(),jQuery(".download_monitor_files").unblock(),jQuery(".date-picker-field").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0})}),!1}),jQuery(".download_monitor_files").on("click","button.remove_file",function(b){b.preventDefault();var c=confirm(dlm_ed_strings.confirm_delete);if(c){var d=jQuery(this).closest(".downloadable_file"),e=d.attr("data-file");if(e>0){jQuery(d).block({message:null,overlayCSS:{background:"#fff url("+a("#dlm-plugin-url").val()+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var f={action:"download_monitor_remove_file",file_id:e,download_id:a("#dlm-post-id").val(),security:a("#dlm-ajax-nonce-remove-file").val()};jQuery.post(ajaxurl,f,function(){jQuery(d).fadeOut("300").remove()})}else jQuery(d).fadeOut("300").remove()}return!1}),jQuery(".download_monitor_files").on("click","a.dlm_browse_for_file",function(){return downloadable_files_field=jQuery(this).closest(".downloadable_file").find('textarea[name^="downloadable_file_urls"]'),window.send_to_editor=window.send_to_browse_file_url,tb_show(dlm_ed_strings.browse_file,"media-upload.php?post_id="+a("#dlm-post-id").val()+"&amp;type=downloadable_file_browser&amp;from=wpdlm01&amp;TB_iframe=true"),!1}),window.send_to_browse_file_url=function(a){a&&(old=jQuery.trim(jQuery(downloadable_files_field).val()),old&&(old+="\n"),jQuery(downloadable_files_field).val(old+a)),tb_remove(),window.send_to_editor=window.send_to_editor_default};var c;jQuery(document).on("click",".dlm_upload_file",function(b){var d=a(this),e=d.parent().parent().find(".downloadable_file_urls"),f=e.val();b.preventDefault(),c&&c.close();var g=[new wp.media.controller.Library({library:wp.media.query(),multiple:!0,title:d.data("choose"),priority:20,filterable:"uploaded"})];c=wp.media.frames.downloadable_file=wp.media({title:d.data("choose"),library:{type:""},button:{text:d.data("update")},multiple:!0,states:g}),c.on("select",function(){var a=c.state().get("selection");a.map(function(a){a=a.toJSON(),a.url&&(f=f?f+"\n"+a.url:a.url)}),e.val(f)}),c.on("ready",function(){c.uploader.options.uploader.params={type:"dlm_download"}}),c.open()})});
1
+ jQuery(function(a){function b(){jQuery(".downloadable_files .downloadable_file").each(function(a,b){jQuery(".file_menu_order",b).val(parseInt(jQuery(b).index(".downloadable_files .downloadable_file")))})}jQuery(".expand_all").click(function(){return jQuery(this).closest(".dlm-metaboxes-wrapper").find(".dlm-metabox table").show(),!1}),jQuery(".close_all").click(function(){return jQuery(this).closest(".dlm-metaboxes-wrapper").find(".dlm-metabox table").hide(),!1}),jQuery(".dlm-metaboxes-wrapper").on("click",".dlm-metabox h3",function(a){jQuery(a.target).filter(":input, option").length||jQuery(this).next(".dlm-metabox-content").toggle()}),jQuery(".dlm-metabox.closed").each(function(){jQuery(this).find(".dlm-metabox-content").hide()}),jQuery(".date-picker-field").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0}),jQuery(".downloadable_files").sortable({items:".downloadable_file",cursor:"move",axis:"y",handle:"h3",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",opacity:.65,placeholder:"dlm-metabox-sortable-placeholder",start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,c){c.item.removeAttr("style"),b()}}),jQuery(".download_monitor_files").on("click","a.add_file",function(){jQuery(".download_monitor_files").block({message:null,overlayCSS:{background:"#fff url("+a("#dlm-plugin-url").val()+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var c=jQuery(".downloadable_files .downloadable_file").size(),d={action:"download_monitor_add_file",post_id:a("#dlm-post-id").val(),size:c,security:a("#dlm-ajax-nonce-add-file").val()};return jQuery.post(ajaxurl,d,function(a){jQuery(".downloadable_files").prepend(a),b(),jQuery(".download_monitor_files").unblock(),jQuery(".date-picker-field").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0})}),!1}),jQuery(".download_monitor_files").on("click","button.remove_file",function(b){if(b.preventDefault(),confirm(dlm_ed_strings.confirm_delete)){var c=jQuery(this).closest(".downloadable_file"),d=c.attr("data-file");if(d>0){jQuery(c).block({message:null,overlayCSS:{background:"#fff url("+a("#dlm-plugin-url").val()+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var e={action:"download_monitor_remove_file",file_id:d,download_id:a("#dlm-post-id").val(),security:a("#dlm-ajax-nonce-remove-file").val()};jQuery.post(ajaxurl,e,function(a){jQuery(c).fadeOut("300").remove()})}else jQuery(c).fadeOut("300").remove()}return!1}),jQuery(".download_monitor_files").on("click","a.dlm_browse_for_file",function(b){return downloadable_files_field=jQuery(this).closest(".downloadable_file").find('textarea[name^="downloadable_file_urls"]'),window.send_to_editor=window.send_to_browse_file_url,tb_show(dlm_ed_strings.browse_file,"media-upload.php?post_id="+a("#dlm-post-id").val()+"&amp;type=downloadable_file_browser&amp;from=wpdlm01&amp;TB_iframe=true"),!1}),window.send_to_browse_file_url=function(a){a&&(old=jQuery.trim(jQuery(downloadable_files_field).val()),old&&(old+="\n"),jQuery(downloadable_files_field).val(old+a)),tb_remove(),window.send_to_editor=window.send_to_editor_default};var c;jQuery(document).on("click",".dlm_upload_file",function(b){var d=a(this),e=d.parent().parent().find(".downloadable_file_urls"),f=e.val();b.preventDefault(),c&&c.close();var g=[new wp.media.controller.Library({library:wp.media.query(),multiple:!0,title:d.data("choose"),priority:20,filterable:"uploaded"})];c=wp.media.frames.downloadable_file=wp.media({title:d.data("choose"),library:{type:""},button:{text:d.data("update")},multiple:!0,states:g}),c.on("select",function(){c.state().get("selection").map(function(a){a=a.toJSON(),a.url&&(f=f?f+"\n"+a.url:a.url)}),e.val(f)}),c.on("ready",function(){c.uploader.options.uploader.params={type:"dlm_download"}}),c.open()})});
assets/js/insert-download.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(){jQuery("body").on("click","a.dlm_insert_download",function(){return tb_show(dlm_id_strings.insert_download,"media-upload.php?type=add_download&amp;from=wpdlm01&amp;TB_iframe=true&amp;height=200"),!1})});
1
+ jQuery(function(a){jQuery("body").on("click","a.dlm_insert_download",function(){return tb_show(dlm_id_strings.insert_download,"media-upload.php?type=add_download&amp;from=wpdlm01&amp;TB_iframe=true&amp;height=200"),!1})});
assets/js/notices.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){a(".dlm-notice.is-dismissible").on("click",".notice-dismiss",function(){var b=a(this).closest(".dlm-notice"),c=b.attr("id"),d=b.attr("data-nonce");a.post(ajaxurl,{action:"dlm_dismiss_notice",nonce:d,notice:c},function(){})})});
1
+ jQuery(function(a){a(".dlm-notice.is-dismissible").on("click",".notice-dismiss",function(b){var c=a(this).closest(".dlm-notice"),d=c.attr("id"),e=c.attr("data-nonce");a.post(ajaxurl,{action:"dlm_dismiss_notice",nonce:e,notice:d},function(a){})})});
assets/js/settings.js CHANGED
@@ -48,6 +48,7 @@ jQuery( function ( $ ) {
48
  } );
49
 
50
  $( document ).ready( function () {
 
51
  // dlm_last_settings_tab is only set when settings are saved and the page is reloaded
52
  if ( typeof dlm_settings_tab_saved !== 'undefined' ) {
53
  var elm = $( '.nav-tab-wrapper a[href="#settings-' + dlm_settings_tab_saved + '"]' );
@@ -55,6 +56,47 @@ jQuery( function ( $ ) {
55
  dlm_set_active_tab( elm );
56
  }
57
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  } );
59
 
60
  } );
48
  } );
49
 
50
  $( document ).ready( function () {
51
+
52
  // dlm_last_settings_tab is only set when settings are saved and the page is reloaded
53
  if ( typeof dlm_settings_tab_saved !== 'undefined' ) {
54
  var elm = $( '.nav-tab-wrapper a[href="#settings-' + dlm_settings_tab_saved + '"]' );
56
  dlm_set_active_tab( elm );
57
  }
58
  }
59
+
60
+ // load lazy-select elements
61
+ $.each( $( '.dlm-lazy-select' ), function () {
62
+
63
+ var lazy_select_el = $( this );
64
+
65
+ // add AJAX loader
66
+ $( '<span>' ).addClass( 'dlm-lazy-select-loader' ).append(
67
+ $( '<img>' ).attr( 'src', dlm_settings_vars.img_path + 'ajax-loader.gif' )
68
+ ).insertAfter( lazy_select_el );
69
+
70
+ // load data
71
+ $.post( ajaxurl, {
72
+ action: 'dlm_settings_lazy_select',
73
+ nonce: dlm_settings_vars.lazy_select_nonce,
74
+ option: lazy_select_el.attr( 'name' )
75
+ }, function ( response ) {
76
+
77
+ // remove current option(s)
78
+ lazy_select_el.find( 'option' ).remove();
79
+
80
+ // set new options
81
+ if ( response ) {
82
+ var selected = lazy_select_el.data( 'selected' );
83
+ for ( var i = 0; i < response.length; i ++ ) {
84
+ var opt = $( '<option>' ).attr( 'value', response[i].key ).html( response[i].lbl );
85
+ if ( selected === response[i].key ) {
86
+ opt.attr( 'selected', 'selected' );
87
+ }
88
+ lazy_select_el.append( opt );
89
+ }
90
+ }
91
+
92
+ // remove ajax loader
93
+ lazy_select_el.parent().find( '.dlm-lazy-select-loader' ).remove();
94
+
95
+ } );
96
+
97
+
98
+ } );
99
+
100
  } );
101
 
102
  } );
assets/js/settings.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){function b(b){return a(b).hasClass("nav-tab-active")?!1:(a(".settings_panel").hide(),a(".nav-tab-active").removeClass("nav-tab-active"),a(a(b).attr("href")).show(),a(b).addClass("nav-tab-active"),a("#setting-dlm_settings_tab_saved").val(a(b).attr("href").replace("#settings-","")),!0)}if(a(".nav-tab-wrapper a").click(function(){return b(a(this))}),a("#setting-dlm_default_template").change(function(){"custom"==a(this).val()?a("#setting-dlm_custom_template").closest("tr").show():a("#setting-dlm_custom_template").closest("tr").hide()}).change(),a("#setting-dlm_enable_logging").change(function(){a(this).is(":checked")===!0?a("#setting-dlm_count_unique_ips").closest("tr").show():a("#setting-dlm_count_unique_ips").closest("tr").hide()}).change(),window.location.hash){var c=window.location.hash.replace("#","");a(".nav-tab-wrapper a#dlm-tab-"+c).click()}else a(".nav-tab-wrapper a:first").click();a(window).bind("hashchange",function(){var b=window.location.hash.replace("#","");a(".nav-tab-wrapper a#dlm-tab-"+b).click()}),a(document).ready(function(){if("undefined"!=typeof dlm_settings_tab_saved){var c=a('.nav-tab-wrapper a[href="#settings-'+dlm_settings_tab_saved+'"]');"undefined"!=typeof c&&b(c)}})});
1
+ jQuery(function(a){function b(b){return!a(b).hasClass("nav-tab-active")&&(a(".settings_panel").hide(),a(".nav-tab-active").removeClass("nav-tab-active"),a(a(b).attr("href")).show(),a(b).addClass("nav-tab-active"),a("#setting-dlm_settings_tab_saved").val(a(b).attr("href").replace("#settings-","")),!0)}if(a(".nav-tab-wrapper a").click(function(){return b(a(this))}),a("#setting-dlm_default_template").change(function(){"custom"==a(this).val()?a("#setting-dlm_custom_template").closest("tr").show():a("#setting-dlm_custom_template").closest("tr").hide()}).change(),a("#setting-dlm_enable_logging").change(function(){!0===a(this).is(":checked")?a("#setting-dlm_count_unique_ips").closest("tr").show():a("#setting-dlm_count_unique_ips").closest("tr").hide()}).change(),window.location.hash){var c=window.location.hash.replace("#","");a(".nav-tab-wrapper a#dlm-tab-"+c).click()}else a(".nav-tab-wrapper a:first").click();a(window).bind("hashchange",function(b){var c=window.location.hash.replace("#","");a(".nav-tab-wrapper a#dlm-tab-"+c).click()}),a(document).ready(function(){if("undefined"!=typeof dlm_settings_tab_saved){var c=a('.nav-tab-wrapper a[href="#settings-'+dlm_settings_tab_saved+'"]');void 0!==c&&b(c)}a.each(a(".dlm-lazy-select"),function(){var b=a(this);a("<span>").addClass("dlm-lazy-select-loader").append(a("<img>").attr("src",dlm_settings_vars.img_path+"ajax-loader.gif")).insertAfter(b),a.post(ajaxurl,{action:"dlm_settings_lazy_select",nonce:dlm_settings_vars.lazy_select_nonce,option:b.attr("name")},function(c){if(b.find("option").remove(),c)for(var d=b.data("selected"),e=0;e<c.length;e++){var f=a("<option>").attr("val",c[e].key).html(c[e].lbl);d==c[e].key&&f.attr("selected","selected"),b.append(f)}b.parent().find(".dlm-lazy-select-loader").remove()})})})});
download-monitor.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Download Monitor
4
  Plugin URI: https://www.download-monitor.com
5
  Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 1.9.7
7
  Author: Never5
8
  Author URI: https://www.never5.com
9
  Requires at least: 3.8
10
- Tested up to: 4.7.4
11
  Text Domain: download-monitor
12
 
13
  License: GPL v3
@@ -33,7 +33,7 @@ if ( ! defined( 'ABSPATH' ) ) {
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
- define( 'DLM_VERSION', '1.9.7' );
37
 
38
  function __download_monitor_main() {
39
 
3
  Plugin Name: Download Monitor
4
  Plugin URI: https://www.download-monitor.com
5
  Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
+ Version: 1.9.8
7
  Author: Never5
8
  Author URI: https://www.never5.com
9
  Requires at least: 3.8
10
+ Tested up to: 4.8.2
11
  Text Domain: download-monitor
12
 
13
  License: GPL v3
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
+ define( 'DLM_VERSION', '1.9.8' );
37
 
38
  function __download_monitor_main() {
39
 
includes/admin/class-dlm-admin-scripts.php CHANGED
@@ -81,6 +81,8 @@ class DLM_Admin_Scripts {
81
  DLM_VERSION
82
  );
83
 
 
 
84
 
85
  if ( 'dlm-extensions' === $_GET['page'] ) {
86
  // Enqueue Extesions JS
81
  DLM_VERSION
82
  );
83
 
84
+ wp_localize_script( 'dlm_settings', 'dlm_settings_vars', array( 'img_path' => WP_DLM::get_plugin_url() . '/assets/images/', 'lazy_select_nonce' => wp_create_nonce( 'dlm-settings-lazy-select-nonce' ) ) );
85
+
86
 
87
  if ( 'dlm-extensions' === $_GET['page'] ) {
88
  // Enqueue Extesions JS
includes/admin/class-dlm-admin.php CHANGED
@@ -35,6 +35,7 @@ class DLM_Admin {
35
 
36
  // Settings
37
  add_action( 'admin_init', array( $this, 'register_settings' ) );
 
38
 
39
  // Logs
40
  add_action( 'admin_init', array( $this, 'export_logs' ) );
@@ -48,6 +49,9 @@ class DLM_Admin {
48
 
49
  // flush rewrite rules on shutdown
50
  add_action( 'shutdown', array( $this, 'maybe_flush_rewrites' ) );
 
 
 
51
  }
52
 
53
  /**
@@ -103,14 +107,41 @@ class DLM_Admin {
103
  return $pathdata;
104
  }
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  /**
107
  * Return pages with ID => Page title format
108
  *
109
  * @return array
110
  */
111
  private function get_pages() {
 
112
  // pages
113
- $pages = array( 0 => __( 'Select Page', 'download-monitor' ) );
114
 
115
  // get pages from db
116
  $db_pages = get_pages();
@@ -118,7 +149,7 @@ class DLM_Admin {
118
  // check and loop
119
  if ( count( $db_pages ) > 0 ) {
120
  foreach ( $db_pages as $db_page ) {
121
- $pages[ $db_page->ID ] = $db_page->post_title;
122
  }
123
  }
124
 
@@ -177,6 +208,14 @@ class DLM_Admin {
177
  'desc' => __( 'If enabled, the download handler will check the PHP referer to see if it originated from your site and if not, redirect them to the homepage.', 'download-monitor' ),
178
  'type' => 'checkbox'
179
  ),
 
 
 
 
 
 
 
 
180
  ),
181
  ),
182
  'endpoints' => array(
@@ -260,8 +299,8 @@ class DLM_Admin {
260
  'std' => '',
261
  'label' => __( 'No Access Page', 'download-monitor' ),
262
  'desc' => __( "Choose what page is displayed when the user has no access to a file. Don't forget to add the <code>[dlm_no_access]</code> shortcode to the page.", 'download-monitor' ),
263
- 'type' => 'select',
264
- 'options' => $this->get_pages()
265
  ),
266
  array(
267
  'name' => 'dlm_no_access_error',
@@ -318,6 +357,24 @@ class DLM_Admin {
318
 
319
  }
320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  /**
322
  * admin_enqueue_scripts function.
323
  *
@@ -527,6 +584,17 @@ class DLM_Admin {
527
  echo ' <p class="dlm-description">' . $option['desc'] . '</p>';
528
  }
529
 
 
 
 
 
 
 
 
 
 
 
 
530
  break;
531
  default :
532
 
35
 
36
  // Settings
37
  add_action( 'admin_init', array( $this, 'register_settings' ) );
38
+ $this->register_lazy_select_filters();
39
 
40
  // Logs
41
  add_action( 'admin_init', array( $this, 'export_logs' ) );
49
 
50
  // flush rewrite rules on shutdown
51
  add_action( 'shutdown', array( $this, 'maybe_flush_rewrites' ) );
52
+
53
+ // filter attachment thumbnails in media library for files in dlm_uploads
54
+ add_filter( 'wp_prepare_attachment_for_js', array( $this, 'filter_thumbnails_protected_files' ), 10, 1 );
55
  }
56
 
57
  /**
107
  return $pathdata;
108
  }
109
 
110
+ /**
111
+ * filter attachment thumbnails in media library for files in dlm_uploads
112
+ *
113
+ * @param array $response
114
+ *
115
+ * @return array
116
+ */
117
+ public function filter_thumbnails_protected_files( $response ) {
118
+
119
+ if ( apply_filters( 'dlm_filter_thumbnails_protected_files', true ) ) {
120
+ $upload_dir = wp_upload_dir();
121
+
122
+ if ( strpos( $response['url'], $upload_dir['baseurl'] . '/dlm_uploads' ) !== false ) {
123
+ if ( ! empty( $response['sizes'] ) ) {
124
+ $dlm_protected_thumb = WP_DLM::get_plugin_url() . '/assets/images/protected-file-thumbnail.png';
125
+ foreach ( $response['sizes'] as $rs_key => $rs_val ) {
126
+ $rs_val['url'] = $dlm_protected_thumb;
127
+ $response['sizes'][ $rs_key ] = $rs_val;
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ return $response;
134
+ }
135
+
136
  /**
137
  * Return pages with ID => Page title format
138
  *
139
  * @return array
140
  */
141
  private function get_pages() {
142
+
143
  // pages
144
+ $pages = array( array( 'key' => 0, 'lbl' => __( 'Select Page', 'download-monitor' ) ) );
145
 
146
  // get pages from db
147
  $db_pages = get_pages();
149
  // check and loop
150
  if ( count( $db_pages ) > 0 ) {
151
  foreach ( $db_pages as $db_page ) {
152
+ $pages[] = array( 'key' => $db_page->ID, 'lbl' => $db_page->post_title );
153
  }
154
  }
155
 
208
  'desc' => __( 'If enabled, the download handler will check the PHP referer to see if it originated from your site and if not, redirect them to the homepage.', 'download-monitor' ),
209
  'type' => 'checkbox'
210
  ),
211
+ array(
212
+ 'name' => 'dlm_allow_x_forwarded_for',
213
+ 'std' => '0',
214
+ 'label' => __( 'Allow Proxy IP Override', 'download-monitor' ),
215
+ 'cb_label' => __( 'Enable', 'download-monitor' ),
216
+ 'desc' => __( 'If enabled, Download Monitor will use the X_FORWARDED_FOR HTTP header set by proxies as the IP address. Note that anyone can set this header, making it less secure.', 'download-monitor' ),
217
+ 'type' => 'checkbox'
218
+ ),
219
  ),
220
  ),
221
  'endpoints' => array(
299
  'std' => '',
300
  'label' => __( 'No Access Page', 'download-monitor' ),
301
  'desc' => __( "Choose what page is displayed when the user has no access to a file. Don't forget to add the <code>[dlm_no_access]</code> shortcode to the page.", 'download-monitor' ),
302
+ 'type' => 'lazy_select',
303
+ 'options' => array()
304
  ),
305
  array(
306
  'name' => 'dlm_no_access_error',
357
 
358
  }
359
 
360
+ /**
361
+ * Register the filters used by lazy select fields
362
+ */
363
+ private function register_lazy_select_filters() {
364
+ add_filter( 'dlm_settings_lazy_select_dlm_no_access_page', array( $this, 'lazy_select_dlm_no_access_page' ) );
365
+ }
366
+
367
+ /**
368
+ * Fetch and returns pages on lazy select for dlm_no_access_page option
369
+ *
370
+ * @param array $options
371
+ *
372
+ * @return array
373
+ */
374
+ public function lazy_select_dlm_no_access_page( $options ) {
375
+ return $this->get_pages();
376
+ }
377
+
378
  /**
379
  * admin_enqueue_scripts function.
380
  *
584
  echo ' <p class="dlm-description">' . $option['desc'] . '</p>';
585
  }
586
 
587
+ break;
588
+ case "lazy_select" :
589
+ ?><select id="setting-<?php echo $option['name']; ?>" class="regular-text dlm-lazy-select"
590
+ name="<?php echo $option['name']; ?>" data-selected="<?php echo esc_attr( $value ); ?>">
591
+ <option value="0"><?php _e( 'Loading', 'download-monitor'); ?>...</option>
592
+ </select><?php
593
+
594
+ if ( $option['desc'] ) {
595
+ echo ' <p class="dlm-description">' . $option['desc'] . '</p>';
596
+ }
597
+
598
  break;
599
  default :
600
 
includes/class-dlm-ajax-handler.php CHANGED
@@ -19,6 +19,7 @@ class DLM_Ajax_Handler {
19
  add_action( 'wp_ajax_download_monitor_add_file', array( $this, 'add_file' ) );
20
  add_action( 'wp_ajax_download_monitor_list_files', array( $this, 'list_files' ) );
21
  add_action( 'wp_ajax_download_monitor_insert_panel_upload', array( $this, 'insert_panel_upload' ) );
 
22
  add_action( 'wp_ajax_dlm_extension', array( $this, 'handle_extensions' ) );
23
  add_action( 'wp_ajax_dlm_dismiss_notice', array( $this, 'dismiss_notice' ) );
24
  }
@@ -33,9 +34,19 @@ class DLM_Ajax_Handler {
33
 
34
  check_ajax_referer( 'file-upload' );
35
 
36
- $status = wp_handle_upload( $_FILES['async-upload'], array( 'test_form' => false ) );
 
 
37
 
38
- echo $status['url'];
 
 
 
 
 
 
 
 
39
 
40
  die();
41
  }
@@ -176,6 +187,26 @@ class DLM_Ajax_Handler {
176
  wp_send_json( array( 'response' => 'success' ) );
177
  }
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  /**
180
  * Handle extensions AJAX
181
  */
19
  add_action( 'wp_ajax_download_monitor_add_file', array( $this, 'add_file' ) );
20
  add_action( 'wp_ajax_download_monitor_list_files', array( $this, 'list_files' ) );
21
  add_action( 'wp_ajax_download_monitor_insert_panel_upload', array( $this, 'insert_panel_upload' ) );
22
+ add_action( 'wp_ajax_dlm_settings_lazy_select', array( $this, 'handle_settings_lazy_select' ) );
23
  add_action( 'wp_ajax_dlm_extension', array( $this, 'handle_extensions' ) );
24
  add_action( 'wp_ajax_dlm_dismiss_notice', array( $this, 'dismiss_notice' ) );
25
  }
34
 
35
  check_ajax_referer( 'file-upload' );
36
 
37
+ require_once( ABSPATH . 'wp-admin/includes/image.php' );
38
+ require_once( ABSPATH . 'wp-admin/includes/file.php' );
39
+ require_once( ABSPATH . 'wp-admin/includes/media.php' );
40
 
41
+ $attachment_id = media_handle_upload( 'async-upload', 0 );
42
+
43
+ if ( ! is_wp_error( $attachment_id ) ) {
44
+ $attachment_url = wp_get_attachment_url( $attachment_id );
45
+
46
+ if ( false !== $attachment_url ) {
47
+ echo $attachment_url;
48
+ }
49
+ }
50
 
51
  die();
52
  }
187
  wp_send_json( array( 'response' => 'success' ) );
188
  }
189
 
190
+ /**
191
+ * Handle lazy select AJAX calls
192
+ */
193
+ public function handle_settings_lazy_select() {
194
+
195
+ // check nonce
196
+ check_ajax_referer( 'dlm-settings-lazy-select-nonce', 'nonce' );
197
+
198
+ // settings key
199
+ $option_key = sanitize_text_field( $_POST['option'] );
200
+
201
+ // get options
202
+ $options = apply_filters( 'dlm_settings_lazy_select_'.$option_key, array() );
203
+
204
+ // send options
205
+ wp_send_json( $options );
206
+ exit;
207
+
208
+ }
209
+
210
  /**
211
  * Handle extensions AJAX
212
  */
includes/class-dlm-download.php CHANGED
@@ -118,7 +118,7 @@ class DLM_Download {
118
  * get_title function.
119
  *
120
  * @access public
121
- * @return void
122
  */
123
  public function get_the_title() {
124
  return $this->post->post_title;
@@ -138,7 +138,7 @@ class DLM_Download {
138
  * get_the_short_description function.
139
  *
140
  * @access public
141
- * @return void
142
  */
143
  public function get_the_short_description() {
144
  return wpautop( do_shortcode( $this->post->post_excerpt ) );
@@ -161,7 +161,7 @@ class DLM_Download {
161
  *
162
  * @param string $size (default: 'full')
163
  *
164
- * @return void
165
  */
166
  public function get_the_image( $size = 'full' ) {
167
  if ( has_post_thumbnail( $this->id ) ) {
@@ -188,7 +188,7 @@ class DLM_Download {
188
  * get_author function.
189
  *
190
  * @access public
191
- * @return void
192
  */
193
  public function get_the_author() {
194
  $author_id = $this->post->post_author;
@@ -284,7 +284,7 @@ class DLM_Download {
284
  * has_version_number function.
285
  *
286
  * @access public
287
- * @return void
288
  */
289
  public function has_version_number() {
290
  return ! empty( $this->get_file_version()->version );
@@ -320,7 +320,7 @@ class DLM_Download {
320
  * get_the_filename function.
321
  *
322
  * @access public
323
- * @return void
324
  */
325
  public function get_the_filename() {
326
  return $this->get_file_version()->filename;
@@ -400,7 +400,7 @@ class DLM_Download {
400
  * get_the_filetype function.
401
  *
402
  * @access public
403
- * @return void
404
  */
405
  public function get_the_filetype() {
406
  return $this->get_file_version()->filetype;
@@ -459,7 +459,7 @@ class DLM_Download {
459
  * Get a version ID from a version string.
460
  *
461
  * @access public
462
- * @return void
463
  */
464
  public function get_version_id( $version_string = '' ) {
465
  $versions = $this->get_file_versions();
@@ -543,4 +543,4 @@ class DLM_Download {
543
 
544
  return $this->files;
545
  }
546
- }
118
  * get_title function.
119
  *
120
  * @access public
121
+ * @return string
122
  */
123
  public function get_the_title() {
124
  return $this->post->post_title;
138
  * get_the_short_description function.
139
  *
140
  * @access public
141
+ * @return string
142
  */
143
  public function get_the_short_description() {
144
  return wpautop( do_shortcode( $this->post->post_excerpt ) );
161
  *
162
  * @param string $size (default: 'full')
163
  *
164
+ * @return string
165
  */
166
  public function get_the_image( $size = 'full' ) {
167
  if ( has_post_thumbnail( $this->id ) ) {
188
  * get_author function.
189
  *
190
  * @access public
191
+ * @return void|string
192
  */
193
  public function get_the_author() {
194
  $author_id = $this->post->post_author;
284
  * has_version_number function.
285
  *
286
  * @access public
287
+ * @return bool
288
  */
289
  public function has_version_number() {
290
  return ! empty( $this->get_file_version()->version );
320
  * get_the_filename function.
321
  *
322
  * @access public
323
+ * @return string
324
  */
325
  public function get_the_filename() {
326
  return $this->get_file_version()->filename;
400
  * get_the_filetype function.
401
  *
402
  * @access public
403
+ * @return string
404
  */
405
  public function get_the_filetype() {
406
  return $this->get_file_version()->filetype;
459
  * Get a version ID from a version string.
460
  *
461
  * @access public
462
+ * @return void|int
463
  */
464
  public function get_version_id( $version_string = '' ) {
465
  $versions = $this->get_file_versions();
543
 
544
  return $this->files;
545
  }
546
+ }
includes/class-dlm-utils.php CHANGED
@@ -8,7 +8,7 @@ abstract class DLM_Utils {
8
  * @return string
9
  */
10
  public static function get_visitor_ip() {
11
- return sanitize_text_field( ! empty( $_SERVER['HTTP_X_FORWARD_FOR'] ) ? $_SERVER['HTTP_X_FORWARD_FOR'] : $_SERVER['REMOTE_ADDR'] );
12
  }
13
 
14
  /**
8
  * @return string
9
  */
10
  public static function get_visitor_ip() {
11
+ return sanitize_text_field( ( ( '1' == get_option( 'dlm_allow_x_forwarded_for', 0 ) ) && ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) ? trim( array_shift( explode( ",", $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) ) : $_SERVER['REMOTE_ADDR'] );
12
  }
13
 
14
  /**
languages/download-monitor-ar.mo CHANGED
Binary file
languages/download-monitor-ar.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Arabic (http://www.transifex.com/barrykooijplugins/download-monitor/language/ar/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-20 14:06+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Arabic (http://www.transifex.com/barrykooijplugins/download-monitor/language/ar/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-be_BY.mo CHANGED
Binary file
languages/download-monitor-be_BY.po CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Belarusian (Belarus) (http://www.transifex.com/barrykooijplugins/download-monitor/language/be_BY/)\n"
12
  "MIME-Version: 1.0\n"
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
+ "PO-Revision-Date: 2017-08-03 15:31+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Belarusian (Belarus) (http://www.transifex.com/barrykooijplugins/download-monitor/language/be_BY/)\n"
12
  "MIME-Version: 1.0\n"
languages/download-monitor-ca_ES.mo CHANGED
Binary file
languages/download-monitor-ca_ES.po CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Catalan (Spain) (http://www.transifex.com/barrykooijplugins/download-monitor/language/ca_ES/)\n"
13
  "MIME-Version: 1.0\n"
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
+ "PO-Revision-Date: 2017-09-23 00:12+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Catalan (Spain) (http://www.transifex.com/barrykooijplugins/download-monitor/language/ca_ES/)\n"
13
  "MIME-Version: 1.0\n"
languages/download-monitor-cs_CZ.mo CHANGED
Binary file
languages/download-monitor-cs_CZ.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Czech (Czech Republic) (http://www.transifex.com/barrykooijplugins/download-monitor/language/cs_CZ/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-20 07:03+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Czech (Czech Republic) (http://www.transifex.com/barrykooijplugins/download-monitor/language/cs_CZ/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-da_DK.mo CHANGED
Binary file
languages/download-monitor-da_DK.po CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Danish (Denmark) (http://www.transifex.com/barrykooijplugins/download-monitor/language/da_DK/)\n"
12
  "MIME-Version: 1.0\n"
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
+ "PO-Revision-Date: 2017-09-22 06:50+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Danish (Denmark) (http://www.transifex.com/barrykooijplugins/download-monitor/language/da_DK/)\n"
12
  "MIME-Version: 1.0\n"
languages/download-monitor-de_DE.mo CHANGED
Binary file
languages/download-monitor-de_DE.po CHANGED
@@ -11,7 +11,7 @@ msgstr ""
11
  "Project-Id-Version: Download Monitor\n"
12
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
13
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
14
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
15
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
16
  "Language-Team: German (Germany) (http://www.transifex.com/barrykooijplugins/download-monitor/language/de_DE/)\n"
17
  "MIME-Version: 1.0\n"
11
  "Project-Id-Version: Download Monitor\n"
12
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
13
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
14
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
15
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
16
  "Language-Team: German (Germany) (http://www.transifex.com/barrykooijplugins/download-monitor/language/de_DE/)\n"
17
  "MIME-Version: 1.0\n"
languages/download-monitor-es_ES.mo CHANGED
Binary file
languages/download-monitor-es_ES.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Spanish (Spain) (http://www.transifex.com/barrykooijplugins/download-monitor/language/es_ES/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-23 20:00+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Spanish (Spain) (http://www.transifex.com/barrykooijplugins/download-monitor/language/es_ES/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-fa_IR.mo CHANGED
Binary file
languages/download-monitor-fa_IR.po CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Persian (Iran) (http://www.transifex.com/barrykooijplugins/download-monitor/language/fa_IR/)\n"
13
  "MIME-Version: 1.0\n"
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Persian (Iran) (http://www.transifex.com/barrykooijplugins/download-monitor/language/fa_IR/)\n"
13
  "MIME-Version: 1.0\n"
languages/download-monitor-fr_FR.mo CHANGED
Binary file
languages/download-monitor-fr_FR.po CHANGED
@@ -9,7 +9,7 @@ msgstr ""
9
  "Project-Id-Version: Download Monitor\n"
10
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
11
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
12
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
13
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
14
  "Language-Team: French (France) (http://www.transifex.com/barrykooijplugins/download-monitor/language/fr_FR/)\n"
15
  "MIME-Version: 1.0\n"
9
  "Project-Id-Version: Download Monitor\n"
10
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
11
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
12
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
13
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
14
  "Language-Team: French (France) (http://www.transifex.com/barrykooijplugins/download-monitor/language/fr_FR/)\n"
15
  "MIME-Version: 1.0\n"
languages/download-monitor-hr_HR.mo CHANGED
Binary file
languages/download-monitor-hr_HR.po CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Croatian (Croatia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/hr_HR/)\n"
13
  "MIME-Version: 1.0\n"
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
+ "PO-Revision-Date: 2017-09-22 18:14+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Croatian (Croatia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/hr_HR/)\n"
13
  "MIME-Version: 1.0\n"
languages/download-monitor-hu_HU.mo CHANGED
Binary file
languages/download-monitor-hu_HU.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Hungarian (Hungary) (http://www.transifex.com/barrykooijplugins/download-monitor/language/hu_HU/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Hungarian (Hungary) (http://www.transifex.com/barrykooijplugins/download-monitor/language/hu_HU/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-it_IT.mo CHANGED
Binary file
languages/download-monitor-it_IT.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Italian (Italy) (http://www.transifex.com/barrykooijplugins/download-monitor/language/it_IT/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-23 20:00+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Italian (Italy) (http://www.transifex.com/barrykooijplugins/download-monitor/language/it_IT/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-ja.mo CHANGED
Binary file
languages/download-monitor-ja.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Japanese (http://www.transifex.com/barrykooijplugins/download-monitor/language/ja/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Japanese (http://www.transifex.com/barrykooijplugins/download-monitor/language/ja/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-ku.mo CHANGED
Binary file
languages/download-monitor-ku.po CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Kurdish (http://www.transifex.com/barrykooijplugins/download-monitor/language/ku/)\n"
12
  "MIME-Version: 1.0\n"
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
+ "PO-Revision-Date: 2017-08-03 15:31+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Kurdish (http://www.transifex.com/barrykooijplugins/download-monitor/language/ku/)\n"
12
  "MIME-Version: 1.0\n"
languages/download-monitor-nl_NL.mo CHANGED
Binary file
languages/download-monitor-nl_NL.po CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Dutch (Netherlands) (http://www.transifex.com/barrykooijplugins/download-monitor/language/nl_NL/)\n"
13
  "MIME-Version: 1.0\n"
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
+ "PO-Revision-Date: 2017-09-22 02:36+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Dutch (Netherlands) (http://www.transifex.com/barrykooijplugins/download-monitor/language/nl_NL/)\n"
13
  "MIME-Version: 1.0\n"
languages/download-monitor-pl_PL.mo CHANGED
Binary file
languages/download-monitor-pl_PL.po CHANGED
@@ -8,14 +8,14 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Polish (Poland) (http://www.transifex.com/barrykooijplugins/download-monitor/language/pl_PL/)\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: pl_PL\n"
18
- "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
19
  "X-Generator: grunt-wp-i18n 0.4.9\n"
20
 
21
  #: includes/admin/class-dlm-admin-cpt.php:79
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Polish (Poland) (http://www.transifex.com/barrykooijplugins/download-monitor/language/pl_PL/)\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: pl_PL\n"
18
+ "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
19
  "X-Generator: grunt-wp-i18n 0.4.9\n"
20
 
21
  #: includes/admin/class-dlm-admin-cpt.php:79
languages/download-monitor-pt_BR.mo CHANGED
Binary file
languages/download-monitor-pt_BR.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/barrykooijplugins/download-monitor/language/pt_BR/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-23 20:00+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/barrykooijplugins/download-monitor/language/pt_BR/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-pt_PT.mo CHANGED
Binary file
languages/download-monitor-pt_PT.po CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
- "PO-Revision-Date: 2017-02-28 12:26+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Portuguese (Portugal) (http://www.transifex.com/barrykooijplugins/download-monitor/language/pt_PT/)\n"
12
  "MIME-Version: 1.0\n"
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
+ "PO-Revision-Date: 2017-09-23 13:30+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Portuguese (Portugal) (http://www.transifex.com/barrykooijplugins/download-monitor/language/pt_PT/)\n"
12
  "MIME-Version: 1.0\n"
languages/download-monitor-ru_RU.mo CHANGED
Binary file
languages/download-monitor-ru_RU.po CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Russian (Russia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/ru_RU/)\n"
12
  "MIME-Version: 1.0\n"
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
+ "PO-Revision-Date: 2017-08-03 15:31+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Russian (Russia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/ru_RU/)\n"
12
  "MIME-Version: 1.0\n"
languages/download-monitor-sk_SK.mo CHANGED
Binary file
languages/download-monitor-sk_SK.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Slovak (Slovakia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/sk_SK/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-22 02:31+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Slovak (Slovakia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/sk_SK/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-sr_RS.mo CHANGED
Binary file
languages/download-monitor-sr_RS.po CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Serbian (Serbia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/sr_RS/)\n"
13
  "MIME-Version: 1.0\n"
7
  "Project-Id-Version: Download Monitor\n"
8
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
9
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
10
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
11
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
12
  "Language-Team: Serbian (Serbia) (http://www.transifex.com/barrykooijplugins/download-monitor/language/sr_RS/)\n"
13
  "MIME-Version: 1.0\n"
languages/download-monitor-sv_SE.mo CHANGED
Binary file
languages/download-monitor-sv_SE.po CHANGED
@@ -9,7 +9,7 @@ msgstr ""
9
  "Project-Id-Version: Download Monitor\n"
10
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
11
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
12
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
13
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
14
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/barrykooijplugins/download-monitor/language/sv_SE/)\n"
15
  "MIME-Version: 1.0\n"
9
  "Project-Id-Version: Download Monitor\n"
10
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
11
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
12
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
13
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
14
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/barrykooijplugins/download-monitor/language/sv_SE/)\n"
15
  "MIME-Version: 1.0\n"
languages/download-monitor-tr_TR.mo CHANGED
Binary file
languages/download-monitor-tr_TR.po CHANGED
@@ -9,7 +9,7 @@ msgstr ""
9
  "Project-Id-Version: Download Monitor\n"
10
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
11
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
12
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
13
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
14
  "Language-Team: Turkish (Turkey) (http://www.transifex.com/barrykooijplugins/download-monitor/language/tr_TR/)\n"
15
  "MIME-Version: 1.0\n"
9
  "Project-Id-Version: Download Monitor\n"
10
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
11
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
12
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
13
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
14
  "Language-Team: Turkish (Turkey) (http://www.transifex.com/barrykooijplugins/download-monitor/language/tr_TR/)\n"
15
  "MIME-Version: 1.0\n"
languages/download-monitor-uk_UA.mo CHANGED
Binary file
languages/download-monitor-uk_UA.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/barrykooijplugins/download-monitor/language/uk_UA/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-22 18:14+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/barrykooijplugins/download-monitor/language/uk_UA/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-zh_CN.mo CHANGED
Binary file
languages/download-monitor-zh_CN.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Chinese (China) (http://www.transifex.com/barrykooijplugins/download-monitor/language/zh_CN/)\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: Download Monitor\n"
9
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
10
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
11
+ "PO-Revision-Date: 2017-09-20 06:22+0000\n"
12
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
13
  "Language-Team: Chinese (China) (http://www.transifex.com/barrykooijplugins/download-monitor/language/zh_CN/)\n"
14
  "MIME-Version: 1.0\n"
languages/download-monitor-zh_TW.mo CHANGED
Binary file
languages/download-monitor-zh_TW.po CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
- "PO-Revision-Date: 2016-08-23 12:20+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/barrykooijplugins/download-monitor/language/zh_TW/)\n"
12
  "MIME-Version: 1.0\n"
6
  "Project-Id-Version: Download Monitor\n"
7
  "Report-Msgid-Bugs-To: https://github.com/download-monitor/download-monitor/issues\n"
8
  "POT-Creation-Date: 2016-08-23 11:36:35+00:00\n"
9
+ "PO-Revision-Date: 2017-08-03 15:31+0000\n"
10
  "Last-Translator: Barry Kooij <mail@barrykooij.nl>\n"
11
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/barrykooijplugins/download-monitor/language/zh_TW/)\n"
12
  "MIME-Version: 1.0\n"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: never5, barrykooij, mikejolley, hchouhan
3
  Donate link: http://www.barrykooij.com/donate/
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging, AJAX, digital, documents, download category, download manager, download template, downloadmanager, file manager, file tree, grid, hits, ip-address, manager, media, monitor, password, protect downloads, tracker
5
  Requires at least: 3.8
6
- Tested up to: 4.7.4
7
- Stable tag: 1.9.7
8
  License: GPLv3
9
  Text Domain: -
10
 
@@ -119,6 +119,12 @@ More documentation can be found in our [Knowledge Base](https://www.download-mon
119
 
120
  == Changelog ==
121
 
 
 
 
 
 
 
122
  = 1.9.7: May 5, 2017 =
123
  * Tweak: Added capability checks to log export and delete functionality. Props [Pritect](http://www.pritect.net/).
124
  * Tweak: We're now redirecting users to home on empty download request. Behavior can be changed via filters. See https://www.download-monitor.com/kb/empty-download-request-redirection/
3
  Donate link: http://www.barrykooij.com/donate/
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging, AJAX, digital, documents, download category, download manager, download template, downloadmanager, file manager, file tree, grid, hits, ip-address, manager, media, monitor, password, protect downloads, tracker
5
  Requires at least: 3.8
6
+ Tested up to: 4.9
7
+ Stable tag: 1.9.8
8
  License: GPLv3
9
  Text Domain: -
10
 
119
 
120
  == Changelog ==
121
 
122
+ = 1.9.8: October 6, 2017 =
123
+ * Tweak: Add option to allow HTTP header X_FORWARD_FOR. Allowing Download Monitor to use the X_FORWARDED_FOR HTTP header set by proxies as the IP address.
124
+ * Tweak: Download files that are added via 'Quick-add download' are now properly added to WP media library.
125
+ * Tweak: Introduced 'lazy select' option for Download Monitor settings. Options of these select elements are only loaded on setting pages, increasing overall plugin performance.
126
+ * Tweak: We're now filtering attachment thumbnails in media library for files in dlm_uploads. This solves 403 errors on thumbnails in the protected folder.
127
+
128
  = 1.9.7: May 5, 2017 =
129
  * Tweak: Added capability checks to log export and delete functionality. Props [Pritect](http://www.pritect.net/).
130
  * Tweak: We're now redirecting users to home on empty download request. Behavior can be changed via filters. See https://www.download-monitor.com/kb/empty-download-request-redirection/