Version Description
*Added the possibility to choose a start and end date from where to regenerate the thumbnails from * Added new style * Added datepickers
=
Download this release
Release Info
Developer | turcuciprian |
Plugin | reGenerate Thumbnails Advanced |
Version | 0.8.2.6 |
Comparing to | |
See all releases |
Code changes from version 0.8.2.4 to 0.8.2.6
- images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- images/ui-bg_flat_10_000000_40x100.png +0 -0
- images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- images/ui-bg_glass_20_555555_1x400.png +0 -0
- images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- images/{ui-icons_228ef1_256x240.png → ui-icons_4b8e0b_256x240.png} +0 -0
- images/{ui-icons_ef8c08_256x240.png → ui-icons_a83300_256x240.png} +0 -0
- images/ui-icons_cccccc_256x240.png +0 -0
- images/ui-icons_ffd27a_256x240.png +0 -0
- jquery-ui.min.css +4 -4
- readme.txt +19 -3
- regenerate-thumbnails-advanced.php +116 -81
- screenshot-1.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- script.js +52 -9
images/ui-bg_diagonals-thick_18_b81900_40x40.png
DELETED
Binary file
|
images/ui-bg_diagonals-thick_20_666666_40x40.png
DELETED
Binary file
|
images/ui-bg_flat_10_000000_40x100.png
DELETED
Binary file
|
images/ui-bg_flat_30_cccccc_40x100.png
ADDED
Binary file
|
images/ui-bg_flat_50_5c5c5c_40x100.png
ADDED
Binary file
|
images/ui-bg_glass_100_f6f6f6_1x400.png
DELETED
Binary file
|
images/ui-bg_glass_100_fdf5ce_1x400.png
DELETED
Binary file
|
images/ui-bg_glass_20_555555_1x400.png
ADDED
Binary file
|
images/ui-bg_glass_40_0078a3_1x400.png
ADDED
Binary file
|
images/ui-bg_glass_40_ffc73d_1x400.png
ADDED
Binary file
|
images/ui-bg_glass_65_ffffff_1x400.png
DELETED
Binary file
|
images/ui-bg_gloss-wave_25_333333_500x100.png
ADDED
Binary file
|
images/ui-bg_gloss-wave_35_f6a828_500x100.png
DELETED
Binary file
|
images/ui-bg_highlight-soft_100_eeeeee_1x100.png
DELETED
Binary file
|
images/ui-bg_highlight-soft_75_ffe45c_1x100.png
DELETED
Binary file
|
images/ui-bg_highlight-soft_80_eeeeee_1x100.png
ADDED
Binary file
|
images/ui-bg_inset-soft_25_000000_1x100.png
ADDED
Binary file
|
images/ui-bg_inset-soft_30_f58400_1x100.png
ADDED
Binary file
|
images/{ui-icons_228ef1_256x240.png → ui-icons_4b8e0b_256x240.png}
RENAMED
Binary file
|
images/{ui-icons_ef8c08_256x240.png → ui-icons_a83300_256x240.png}
RENAMED
Binary file
|
images/ui-icons_cccccc_256x240.png
ADDED
Binary file
|
images/ui-icons_ffd27a_256x240.png
DELETED
Binary file
|
jquery-ui.min.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
/*! jQuery UI - v1.11.4 - 2015-
|
2 |
* http://jqueryui.com
|
3 |
-
* Includes: core.css, progressbar.css, theme.css
|
4 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=
|
5 |
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
|
6 |
|
7 |
-
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,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");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #fbcb09;background:#fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#c77405}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:#ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;color:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
|
1 |
+
/*! jQuery UI - v1.11.4 - 2015-09-15
|
2 |
* http://jqueryui.com
|
3 |
+
* Includes: core.css, datepicker.css, progressbar.css, theme.css
|
4 |
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=333333&bgTextureHeader=gloss_wave&bgImgOpacityHeader=25&borderColorHeader=333333&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=000000&bgTextureContent=inset_soft&bgImgOpacityContent=25&borderColorContent=666666&fcContent=ffffff&iconColorContent=cccccc&bgColorDefault=555555&bgTextureDefault=glass&bgImgOpacityDefault=20&borderColorDefault=666666&fcDefault=eeeeee&iconColorDefault=cccccc&bgColorHover=0078a3&bgTextureHover=glass&bgImgOpacityHover=40&borderColorHover=59b4d4&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=f58400&bgTextureActive=inset_soft&bgImgOpacityActive=30&borderColorActive=ffaf0f&fcActive=ffffff&iconColorActive=222222&bgColorHighlight=eeeeee&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=80&borderColorHighlight=cccccc&fcHighlight=2e7db2&iconColorHighlight=4b8e0b&bgColorError=ffc73d&bgTextureError=glass&bgImgOpacityError=40&borderColorError=ffb73d&fcError=111111&iconColorError=a83300&bgColorOverlay=5c5c5c&bgTextureOverlay=flat&bgImgOpacityOverlay=50&opacityOverlay=80&bgColorShadow=cccccc&bgTextureShadow=flat&bgImgOpacityShadow=30&opacityShadow=60&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px
|
5 |
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
|
6 |
|
7 |
+
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,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");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-widget{font-family:Segoe UI,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Segoe UI,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #666;background:#000 url("images/ui-bg_inset-soft_25_000000_1x100.png") 50% bottom repeat-x;color:#fff}.ui-widget-content a{color:#fff}.ui-widget-header{border:1px solid #333;background:#333 url("images/ui-bg_gloss-wave_25_333333_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #666;background:#555 url("images/ui-bg_glass_20_555555_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eee}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#eee;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #59b4d4;background:#0078a3 url("images/ui-bg_glass_40_0078a3_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#fff;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #ffaf0f;background:#f58400 url("images/ui-bg_inset-soft_30_f58400_1x100.png") 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #ccc;background:#eee url("images/ui-bg_highlight-soft_80_eeeeee_1x100.png") 50% top repeat-x;color:#2e7db2}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#2e7db2}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #ffb73d;background:#ffc73d url("images/ui-bg_glass_40_ffc73d_1x400.png") 50% 50% repeat-x;color:#111}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#111}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#111}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_cccccc_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_cccccc_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_4b8e0b_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_a83300_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:6px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:6px}.ui-widget-overlay{background:#5c5c5c url("images/ui-bg_flat_50_5c5c5c_40x100.png") 50% 50% repeat-x;opacity:.8;filter:Alpha(Opacity=80)}.ui-widget-shadow{margin:-7px 0 0 -7px;padding:7px;background:#ccc url("images/ui-bg_flat_30_cccccc_40x100.png") 50% 50% repeat-x;opacity:.6;filter:Alpha(Opacity=60);border-radius:8px}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: turcuciprian
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MU4RJNNF74QKY
|
4 |
Tags: regenerate, thumbnails, advanced, easy, day, weeek, month
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.3
|
7 |
-
Stable tag: 0.8.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -48,6 +48,7 @@ The script stops, it does not run in the background
|
|
48 |
1. The plugin page where it all happens
|
49 |
2. View of the dropdown options
|
50 |
3. Where you find everything
|
|
|
51 |
|
52 |
== Changelog ==
|
53 |
|
@@ -82,6 +83,15 @@ The script stops, it does not run in the background
|
|
82 |
*Added time (in seconds) to each processed image - You can see how long each image took
|
83 |
*Error log status changes at the end from Processing to "No errors" if there are no errors.
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
== Upgrade Notice ==
|
86 |
|
87 |
= 0.7 =
|
@@ -106,4 +116,10 @@ No issuse with this version that require attention. Small update change. It's ba
|
|
106 |
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
107 |
|
108 |
= 0.8.2.4 =
|
109 |
-
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MU4RJNNF74QKY
|
4 |
Tags: regenerate, thumbnails, advanced, easy, day, weeek, month
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.3.1
|
7 |
+
Stable tag: 0.8.2.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
48 |
1. The plugin page where it all happens
|
49 |
2. View of the dropdown options
|
50 |
3. Where you find everything
|
51 |
+
4. From - To (between dates) Option
|
52 |
|
53 |
== Changelog ==
|
54 |
|
83 |
*Added time (in seconds) to each processed image - You can see how long each image took
|
84 |
*Error log status changes at the end from Processing to "No errors" if there are no errors.
|
85 |
|
86 |
+
= 0.8.2.5 =
|
87 |
+
*Added Settings link in plugins info page
|
88 |
+
*Renamed submenu page to Regenerate Thumbnails under Settings
|
89 |
+
|
90 |
+
= 0.8.2.6 =
|
91 |
+
*Added the possibility to choose a start and end date from where to regenerate the thumbnails from
|
92 |
+
* Added new style
|
93 |
+
* Added datepickers
|
94 |
+
|
95 |
== Upgrade Notice ==
|
96 |
|
97 |
= 0.7 =
|
116 |
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
117 |
|
118 |
= 0.8.2.4 =
|
119 |
+
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
120 |
+
|
121 |
+
= 0.8.2.5 =
|
122 |
+
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
123 |
+
|
124 |
+
= 0.8.2.6 =
|
125 |
+
This version changes the style and adds a bit of functionality to the general settings (a date start-end option to choose from)
|
regenerate-thumbnails-advanced.php
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/*
|
4 |
Plugin Name: reGenerate Thumbnails - advanced
|
5 |
Plugin URI: http://turcuciprian.com
|
6 |
Description: A plugin that makes regenerating thumbnails even easier than before and more flexible.
|
7 |
-
Version: 0.8.2.
|
8 |
Author: turcuciprian
|
9 |
Author URI: http://turcuciprian.com
|
10 |
License: GPLv2 or later
|
@@ -19,6 +18,7 @@ class cc {
|
|
19 |
public function start() {
|
20 |
//create admin menu page and content
|
21 |
add_action('admin_menu', array($this, 'create_menu'));
|
|
|
22 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin'));
|
23 |
//ajax callback for button click
|
24 |
add_action('wp_ajax_rta_ajax', array($this, 'ajax_callback'));
|
@@ -54,17 +54,24 @@ class cc {
|
|
54 |
case '3':
|
55 |
$date = '-1 month';
|
56 |
break;
|
|
|
|
|
|
|
57 |
}
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
}
|
70 |
$the_query = new WP_Query($args);
|
@@ -72,12 +79,17 @@ class cc {
|
|
72 |
if ($the_query->have_posts()) {
|
73 |
$post_count = $the_query->post_count;
|
74 |
}
|
75 |
-
|
|
|
|
|
|
|
76 |
// return the total number of results
|
|
|
|
|
77 |
echo json_encode($return_arr);
|
78 |
break;
|
79 |
case 'submit':
|
80 |
-
$logstatus = '';
|
81 |
$error = array();
|
82 |
if (isset($_POST['offset'])) {
|
83 |
$offset = $_POST['offset'];
|
@@ -93,6 +105,7 @@ class cc {
|
|
93 |
'orderby' => 'ID',
|
94 |
'order' => 'DESC'
|
95 |
);
|
|
|
96 |
switch ($period) {
|
97 |
case '0':
|
98 |
break;
|
@@ -102,22 +115,15 @@ class cc {
|
|
102 |
break;
|
103 |
case '2':
|
104 |
$date = '-1 week';
|
105 |
-
|
106 |
break;
|
107 |
case '3':
|
108 |
$date = '-1 month';
|
|
|
|
|
109 |
|
|
|
110 |
break;
|
111 |
}
|
112 |
-
if ($period !== 0 && isset($date)) {
|
113 |
-
$period_arr = array(
|
114 |
-
'date_query' => array(
|
115 |
-
array(
|
116 |
-
'after' => $date,
|
117 |
-
)
|
118 |
-
));
|
119 |
-
$args = array_merge($args, $period_arr);
|
120 |
-
}
|
121 |
}
|
122 |
|
123 |
$args = array(
|
@@ -125,9 +131,27 @@ class cc {
|
|
125 |
'post_status' => 'any',
|
126 |
'posts_per_page' => 1,
|
127 |
'offset' => $offset,
|
128 |
-
'orderby' => 'ID',
|
129 |
-
'order' => 'DESC'
|
130 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
$the_query = new WP_Query($args);
|
132 |
if ($the_query->have_posts()) {
|
133 |
while ($the_query->have_posts()) {
|
@@ -167,20 +191,21 @@ class cc {
|
|
167 |
} else {
|
168 |
$error[] = "No pictures uploaded";
|
169 |
}
|
170 |
-
|
171 |
-
|
172 |
-
//
|
173 |
if (!extension_loaded('gd') && !function_exists('gd_info')) {
|
174 |
$error[] = "<b>PHP GD library is not installed</b> on your web server. Please install in order to have the ability to resize and crop images";
|
175 |
}
|
176 |
//increment offset
|
177 |
$result = $offset + 1;
|
178 |
-
|
|
|
|
|
179 |
break;
|
180 |
}
|
181 |
/* Restore original Post Data */
|
|
|
182 |
wp_reset_postdata();
|
183 |
|
|
|
184 |
wp_die();
|
185 |
}
|
186 |
|
@@ -189,7 +214,7 @@ class cc {
|
|
189 |
global $cc_args;
|
190 |
$args = $cc_args;
|
191 |
// Add a new submenu under Tools:
|
192 |
-
add_options_page(__('reGenerate Thumbnails Advanced', 'rta_id'), __('
|
193 |
return true;
|
194 |
}
|
195 |
|
@@ -200,6 +225,7 @@ class cc {
|
|
200 |
}
|
201 |
}
|
202 |
wp_enqueue_script('jquery-ui-progressbar');
|
|
|
203 |
wp_enqueue_style('rta-jquery-ui', plugin_dir_url(__FILE__) . 'jquery-ui.min.css');
|
204 |
wp_enqueue_style('rta', plugin_dir_url(__FILE__) . 'style.css');
|
205 |
wp_enqueue_script('rta', plugin_dir_url(__FILE__) . 'script.js');
|
@@ -209,57 +235,66 @@ class cc {
|
|
209 |
public function create_page_callback() {
|
210 |
$total = 1;
|
211 |
$offset = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
. '</div>'
|
219 |
-
. '<div id="js-works" class="hidden">');
|
220 |
-
$content .= sprintf("<h2>%s</h2>", 'reGenerate Thumbnails Advanced');
|
221 |
-
// Progress bar
|
222 |
-
$content .= sprintf('<div id="progressbar">'
|
223 |
-
. '<div class="progress-label">0%</div>'
|
224 |
-
. '</div>');
|
225 |
-
// Information section
|
226 |
-
$content .= sprintf('<div class="info">'
|
227 |
-
. 'Total number of images: <span class="total">0</span><br/>'
|
228 |
-
. 'Images processed: <span class="processed">0</span><br/>'
|
229 |
-
// . 'Could not process: <span class="errors">0</span> Images<br/>'
|
230 |
-
. '</div>');
|
231 |
-
// Dropdown
|
232 |
-
$content .= sprintf('<h3>Select a period</h3>');
|
233 |
-
$content .= sprintf('<select name="period" id="rta_period">');
|
234 |
-
//get all the images in the database
|
235 |
-
$content .= sprintf('<option value="0">All</option>');
|
236 |
-
//
|
237 |
-
$content .= sprintf('<option value="1">past day</option>');
|
238 |
-
$content .= sprintf('<option value="2">past week</option>');
|
239 |
-
$content .= sprintf('<option value="3">past Month</option>');
|
240 |
-
$content .= sprintf('</select>');
|
241 |
-
$content .= sprintf('<p class="submit">'
|
242 |
-
. '<button class="button button-primary RTA">Regenerate Thumbnails</button>'
|
243 |
-
. '<div class="wrap">'
|
244 |
-
. '<h3>Progress</h3>'
|
245 |
-
. '<div class="logstatus ui-widget-content">'
|
246 |
-
. 'Nothing processed yet'
|
247 |
-
. '</div>'
|
248 |
-
. '</div>'//where the errors show
|
249 |
-
. '<div class="wrap">'
|
250 |
-
. '<h3> Errors</h3>'
|
251 |
-
. '<div class="errors ui-widget-content">'
|
252 |
-
. 'No errors to display yet.'
|
253 |
-
. '</div>'//where the errors show
|
254 |
-
. '</p>');
|
255 |
-
|
256 |
-
$content .= sprintf('</div>'
|
257 |
-
. '</div>'
|
258 |
-
. '</div>'
|
259 |
-
. '<!-- Js Works End -->'
|
260 |
-
. '<!--GTA wrap END -->');
|
261 |
-
|
262 |
-
echo $content;
|
263 |
}
|
264 |
|
265 |
}
|
1 |
<?php
|
|
|
2 |
/*
|
3 |
Plugin Name: reGenerate Thumbnails - advanced
|
4 |
Plugin URI: http://turcuciprian.com
|
5 |
Description: A plugin that makes regenerating thumbnails even easier than before and more flexible.
|
6 |
+
Version: 0.8.2.6
|
7 |
Author: turcuciprian
|
8 |
Author URI: http://turcuciprian.com
|
9 |
License: GPLv2 or later
|
18 |
public function start() {
|
19 |
//create admin menu page and content
|
20 |
add_action('admin_menu', array($this, 'create_menu'));
|
21 |
+
add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'add_settings_link'));
|
22 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin'));
|
23 |
//ajax callback for button click
|
24 |
add_action('wp_ajax_rta_ajax', array($this, 'ajax_callback'));
|
54 |
case '3':
|
55 |
$date = '-1 month';
|
56 |
break;
|
57 |
+
case '4':
|
58 |
+
$date = $_POST['fromTo'];
|
59 |
+
break;
|
60 |
}
|
61 |
+
}
|
62 |
+
if (!empty($date)) {
|
63 |
+
$fromTo = explode('-', $date);
|
64 |
+
$startDate = date("m/d/Y", strtotime($fromTo[0] . " -1 day"));
|
65 |
+
$endDate = date("m/d/Y", strtotime($fromTo[1] . " +1 day"));
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
if (!empty($startDate) && empty($endDate)) {
|
70 |
+
$args['date_query'] = array('after' => $startDate);
|
71 |
+
} elseif (!empty($endDate) && empty($startDate)) {
|
72 |
+
$args['date_query'] = array('before' => $endDate);
|
73 |
+
} elseif (!empty($startDate) && !empty($endDate)) {
|
74 |
+
$args['date_query'] = array('after' => $startDate, 'before' => $endDate);
|
75 |
}
|
76 |
}
|
77 |
$the_query = new WP_Query($args);
|
79 |
if ($the_query->have_posts()) {
|
80 |
$post_count = $the_query->post_count;
|
81 |
}
|
82 |
+
wp_reset_query();
|
83 |
+
wp_reset_postdata();
|
84 |
+
// $logstatus .= "<pre>" . print_r($the_query, true) . "</pre>";
|
85 |
+
$return_arr = array('pCount' => $post_count, 'fromTo' => $date, 'type' => $_POST['type'], 'period' => $period);
|
86 |
// return the total number of results
|
87 |
+
|
88 |
+
|
89 |
echo json_encode($return_arr);
|
90 |
break;
|
91 |
case 'submit':
|
92 |
+
// $logstatus = '';
|
93 |
$error = array();
|
94 |
if (isset($_POST['offset'])) {
|
95 |
$offset = $_POST['offset'];
|
105 |
'orderby' => 'ID',
|
106 |
'order' => 'DESC'
|
107 |
);
|
108 |
+
|
109 |
switch ($period) {
|
110 |
case '0':
|
111 |
break;
|
115 |
break;
|
116 |
case '2':
|
117 |
$date = '-1 week';
|
|
|
118 |
break;
|
119 |
case '3':
|
120 |
$date = '-1 month';
|
121 |
+
break;
|
122 |
+
case '4':
|
123 |
|
124 |
+
$date = $_POST['fromTo'];
|
125 |
break;
|
126 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
}
|
128 |
|
129 |
$args = array(
|
131 |
'post_status' => 'any',
|
132 |
'posts_per_page' => 1,
|
133 |
'offset' => $offset,
|
|
|
|
|
134 |
);
|
135 |
+
|
136 |
+
if ($period != 0 && isset($date)) {
|
137 |
+
|
138 |
+
if (!empty($date)) {
|
139 |
+
$fromTo = explode('-', $date);
|
140 |
+
$startDate = date("m/d/Y", strtotime($fromTo[0]));
|
141 |
+
$endDate = date("m/d/Y", strtotime($fromTo[1] . " +1 day"));
|
142 |
+
|
143 |
+
|
144 |
+
|
145 |
+
if (!empty($startDate) && empty($endDate)) {
|
146 |
+
$args['date_query'] = array('after' => $startDate);
|
147 |
+
} elseif (!empty($endDate) && empty($startDate)) {
|
148 |
+
$args['date_query'] = array('before' => $endDate);
|
149 |
+
} elseif (!empty($startDate) && !empty($endDate)) {
|
150 |
+
$args['date_query'] = array('after' => $startDate, 'before' => $endDate);
|
151 |
+
}
|
152 |
+
}
|
153 |
+
// $args = array_merge($args, $period_arr);
|
154 |
+
}
|
155 |
$the_query = new WP_Query($args);
|
156 |
if ($the_query->have_posts()) {
|
157 |
while ($the_query->have_posts()) {
|
191 |
} else {
|
192 |
$error[] = "No pictures uploaded";
|
193 |
}
|
|
|
|
|
|
|
194 |
if (!extension_loaded('gd') && !function_exists('gd_info')) {
|
195 |
$error[] = "<b>PHP GD library is not installed</b> on your web server. Please install in order to have the ability to resize and crop images";
|
196 |
}
|
197 |
//increment offset
|
198 |
$result = $offset + 1;
|
199 |
+
// $logstatus .= "<br/>".$the_query->post->ID;
|
200 |
+
// $logstatus .= "<br/><pre>" . print_r($args, true) . "</pre>";
|
201 |
+
echo json_encode(array('offset' => ($offset + 1), 'error' => $error, 'logstatus' => $logstatus, 'startTime' => $_POST['startTime'], 'fromTo' => $_POST['fromTo'], 'type' => $_POST['type'], 'period' => $period));
|
202 |
break;
|
203 |
}
|
204 |
/* Restore original Post Data */
|
205 |
+
wp_reset_query();
|
206 |
wp_reset_postdata();
|
207 |
|
208 |
+
|
209 |
wp_die();
|
210 |
}
|
211 |
|
214 |
global $cc_args;
|
215 |
$args = $cc_args;
|
216 |
// Add a new submenu under Tools:
|
217 |
+
add_options_page(__('reGenerate Thumbnails Advanced', 'rta_id'), __('Regenerate Thumbnails', 'rta_id'), 'administrator', 'regenerate_thumbnails_advanced', array($this, 'create_page_callback'));
|
218 |
return true;
|
219 |
}
|
220 |
|
225 |
}
|
226 |
}
|
227 |
wp_enqueue_script('jquery-ui-progressbar');
|
228 |
+
wp_enqueue_script('jquery-ui-datepicker');
|
229 |
wp_enqueue_style('rta-jquery-ui', plugin_dir_url(__FILE__) . 'jquery-ui.min.css');
|
230 |
wp_enqueue_style('rta', plugin_dir_url(__FILE__) . 'style.css');
|
231 |
wp_enqueue_script('rta', plugin_dir_url(__FILE__) . 'script.js');
|
235 |
public function create_page_callback() {
|
236 |
$total = 1;
|
237 |
$offset = 0;
|
238 |
+
?>
|
239 |
+
<!--GTA wrap START -->
|
240 |
+
<div id="rta">
|
241 |
+
<div id="no-js">
|
242 |
+
<h1>Javascript is not enabled or it has a error!</h1>
|
243 |
+
<p>If there is a error in the page (most likely caused by another plugin or even the theme, the regenerate thumbnails advanced plugin will not work properly. Please fix this issue and come back here. YOU WILL NOT SEE THIS WARNING IF EVERYTHING IS WORKING FINE</p>
|
244 |
+
</div>
|
245 |
+
<div id="js-works" class="hidden">
|
246 |
+
<h2>reGenerate Thumbnails Advanced</h2>
|
247 |
+
<!--Progress bar-->
|
248 |
+
<div id="progressbar">
|
249 |
+
<div class="progress-label">0%</div>
|
250 |
+
</div>
|
251 |
+
<!--Information section-->
|
252 |
+
<div class="info">
|
253 |
+
Total number of images: <span class="total">0</span><br/>
|
254 |
+
Images processed: <span class="processed">0</span><br/>
|
255 |
+
<!--Could not process: <span class="errors">0</span> Images<br/>-->
|
256 |
+
</div>
|
257 |
+
<!--Dropdown-->
|
258 |
+
<h3>Select a period</h3>
|
259 |
+
<select name="period" id="rta_period">
|
260 |
+
<!--get all the images in the database-->
|
261 |
+
<option value="0">All</option>
|
262 |
+
<option value="1">Past Day</option>
|
263 |
+
<option value="2">Past Week</option>
|
264 |
+
<option value="3">Past Month</option>
|
265 |
+
<option value="4">Between Dates</option>
|
266 |
+
</select>
|
267 |
+
<div class="fromTo hidden">
|
268 |
+
<p><span>Start Date(including):<br/><input type="text" class="datepicker start" readonly /></span></p>
|
269 |
+
<p><span>End Date(including):<br/><input type="text" class="datepicker end" readonly /></span></p>
|
270 |
+
</div>
|
271 |
+
<p class="submit">
|
272 |
+
<button class="button button-primary RTA">Regenerate Thumbnails</button>
|
273 |
+
<div class="wrap">
|
274 |
+
<h3>Progress</h3>
|
275 |
+
<div class="logstatus ui-widget-content">
|
276 |
+
Nothing processed yet
|
277 |
+
</div>
|
278 |
+
</div><!--where the errors show -->
|
279 |
+
<div class="wrap">
|
280 |
+
<h3> Errors</h3>
|
281 |
+
<div class="errors ui-widget-content">
|
282 |
+
No errors to display yet
|
283 |
+
</div><!-- where the errors show -->
|
284 |
+
</p>
|
285 |
+
</div>
|
286 |
+
</div>
|
287 |
+
</div>
|
288 |
+
<!-- Js Works End -->
|
289 |
+
<!--GTA wrap END -->
|
290 |
+
<?php
|
291 |
+
}
|
292 |
|
293 |
+
public function add_settings_link($links) {
|
294 |
+
$mylinks = array(
|
295 |
+
'<a href="' . admin_url('options-general.php?page=regenerate_thumbnails_advanced') . '">Settings</a>',
|
296 |
+
);
|
297 |
+
return array_merge($links, $mylinks);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
}
|
299 |
|
300 |
}
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
screenshot-4.png
ADDED
Binary file
|
script.js
CHANGED
@@ -16,6 +16,34 @@ jQuery(document).ready(function ($) {
|
|
16 |
});
|
17 |
}
|
18 |
var rta_butt = $('.button.RTA');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
if (rta_butt[0]) {
|
20 |
var logstatus = $('#rta .logstatus');
|
21 |
var errstatus = $('#rta .errors');
|
@@ -31,8 +59,15 @@ jQuery(document).ready(function ($) {
|
|
31 |
var period = $('#rta_period');
|
32 |
var startTime = new Date().getTime();
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
// First Time Request
|
35 |
-
loop_ajax_request('general', 0, -1, period.val(), startTime);
|
36 |
|
37 |
|
38 |
}
|
@@ -41,7 +76,7 @@ jQuery(document).ready(function ($) {
|
|
41 |
// Main ajax call
|
42 |
//
|
43 |
//
|
44 |
-
function loop_ajax_request(type, offset, tCount, period, startTime) {
|
45 |
|
46 |
//tha ajax data
|
47 |
var data = {
|
@@ -49,7 +84,8 @@ jQuery(document).ready(function ($) {
|
|
49 |
'type': type,
|
50 |
'startTime': startTime,
|
51 |
'period': period,
|
52 |
-
'offset': offset
|
|
|
53 |
};
|
54 |
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
55 |
$.post(ajaxurl, data, function (response) {
|
@@ -57,12 +93,13 @@ jQuery(document).ready(function ($) {
|
|
57 |
//var err_arr = new Array();
|
58 |
//json response
|
59 |
var json = JSON.parse(response);
|
|
|
60 |
var startTime = json.startTime;
|
61 |
var offset = 0;
|
62 |
var tCount = 0;
|
63 |
var rta_total = $('#rta .info .total');
|
|
|
64 |
|
65 |
-
// console.log(response);
|
66 |
switch (type) {
|
67 |
case 'general':
|
68 |
var period = $('#rta_period');
|
@@ -78,7 +115,8 @@ jQuery(document).ready(function ($) {
|
|
78 |
tCount = rta_total.html();
|
79 |
}
|
80 |
var startTime = new Date().getTime();
|
81 |
-
|
|
|
82 |
|
83 |
break;
|
84 |
case 'submit':
|
@@ -95,7 +133,6 @@ jQuery(document).ready(function ($) {
|
|
95 |
response = parseInt(json.offset);
|
96 |
if (tCount >= response) {
|
97 |
offset = response;
|
98 |
-
|
99 |
var lPercentage = offset / tCount * 100;
|
100 |
if (pbar[0]) {
|
101 |
if (progressbar_percentage[0]) {
|
@@ -110,18 +147,24 @@ jQuery(document).ready(function ($) {
|
|
110 |
var processTime = new Date().getTime() - startTime;
|
111 |
processTime = processTime / 1000;
|
112 |
//Add to log
|
113 |
-
|
|
|
|
|
|
|
114 |
//call function again
|
115 |
if (tCount > response) {
|
116 |
//append unique errors
|
117 |
unique_arr_append(json.error);
|
118 |
//make a new request to the ajax call
|
119 |
var startTime = new Date().getTime();
|
120 |
-
|
|
|
121 |
} else {
|
122 |
console.log('Processing Completed!');
|
123 |
var errStatus = $('#rta .errors');
|
124 |
-
|
|
|
|
|
125 |
errStatus.html('No Errors.');
|
126 |
}
|
127 |
//the loop ended show errors and messages
|
16 |
});
|
17 |
}
|
18 |
var rta_butt = $('.button.RTA');
|
19 |
+
|
20 |
+
var period = $('#rta_period');
|
21 |
+
var fromTo = $('.fromTo');
|
22 |
+
if (period[0] && fromTo[0]) {
|
23 |
+
var datepickerInputs = $('.datepicker');
|
24 |
+
if (datepickerInputs[0]) {
|
25 |
+
datepickerInputs.datepicker({
|
26 |
+
onSelect: function (valTo) {//min/max dates set
|
27 |
+
var dateStart = $('.datepicker.start');
|
28 |
+
var dateEnd = $('.datepicker.end');
|
29 |
+
if ($(this).hasClass('start')) {
|
30 |
+
dateEnd.datepicker("change", {minDate: valTo});
|
31 |
+
} else {
|
32 |
+
dateStart.datepicker("change", {maxDate: valTo});
|
33 |
+
}
|
34 |
+
}
|
35 |
+
});
|
36 |
+
}
|
37 |
+
period.change(function (value) {
|
38 |
+
//if the date from-to option is selected
|
39 |
+
if (parseInt($(this).val()) === 4) {
|
40 |
+
fromTo.removeClass('hidden');//show the fields
|
41 |
+
} else {
|
42 |
+
fromTo.addClass('hidden');//Hide fields / keep the fields hidden
|
43 |
+
}
|
44 |
+
});
|
45 |
+
}
|
46 |
+
|
47 |
if (rta_butt[0]) {
|
48 |
var logstatus = $('#rta .logstatus');
|
49 |
var errstatus = $('#rta .errors');
|
59 |
var period = $('#rta_period');
|
60 |
var startTime = new Date().getTime();
|
61 |
|
62 |
+
var dateStart = $('.datepicker.start');
|
63 |
+
var dateEnd = $('.datepicker.end');
|
64 |
+
var fromTo = '';
|
65 |
+
if (dateStart.val() !== '' || dateEnd.val() !== '') {
|
66 |
+
fromTo = dateStart.val() + '-' + dateEnd.val();
|
67 |
+
}
|
68 |
+
|
69 |
// First Time Request
|
70 |
+
loop_ajax_request('general', 0, -1, period.val(), startTime, fromTo);
|
71 |
|
72 |
|
73 |
}
|
76 |
// Main ajax call
|
77 |
//
|
78 |
//
|
79 |
+
function loop_ajax_request(type, offset, tCount, period, startTime, fromTo) {
|
80 |
|
81 |
//tha ajax data
|
82 |
var data = {
|
84 |
'type': type,
|
85 |
'startTime': startTime,
|
86 |
'period': period,
|
87 |
+
'offset': offset,
|
88 |
+
'fromTo': fromTo
|
89 |
};
|
90 |
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
91 |
$.post(ajaxurl, data, function (response) {
|
93 |
//var err_arr = new Array();
|
94 |
//json response
|
95 |
var json = JSON.parse(response);
|
96 |
+
// console.log(json);
|
97 |
var startTime = json.startTime;
|
98 |
var offset = 0;
|
99 |
var tCount = 0;
|
100 |
var rta_total = $('#rta .info .total');
|
101 |
+
var type = json.type;
|
102 |
|
|
|
103 |
switch (type) {
|
104 |
case 'general':
|
105 |
var period = $('#rta_period');
|
115 |
tCount = rta_total.html();
|
116 |
}
|
117 |
var startTime = new Date().getTime();
|
118 |
+
var fromTo = json.fromTo;
|
119 |
+
loop_ajax_request('submit', offset, tCount, json.period, startTime, fromTo);
|
120 |
|
121 |
break;
|
122 |
case 'submit':
|
133 |
response = parseInt(json.offset);
|
134 |
if (tCount >= response) {
|
135 |
offset = response;
|
|
|
136 |
var lPercentage = offset / tCount * 100;
|
137 |
if (pbar[0]) {
|
138 |
if (progressbar_percentage[0]) {
|
147 |
var processTime = new Date().getTime() - startTime;
|
148 |
processTime = processTime / 1000;
|
149 |
//Add to log
|
150 |
+
var logstatus = $('#rta .logstatus');
|
151 |
+
if (json.logstatus !== null && logstatus[0]) {
|
152 |
+
logstatus.append(json.logstatus + ' - in ' + processTime + ' seconds');
|
153 |
+
}
|
154 |
//call function again
|
155 |
if (tCount > response) {
|
156 |
//append unique errors
|
157 |
unique_arr_append(json.error);
|
158 |
//make a new request to the ajax call
|
159 |
var startTime = new Date().getTime();
|
160 |
+
fromTo = json.fromTo;
|
161 |
+
loop_ajax_request(type, offset, tCount, json.period, startTime, fromTo);
|
162 |
} else {
|
163 |
console.log('Processing Completed!');
|
164 |
var errStatus = $('#rta .errors');
|
165 |
+
var logstatus = $('#rta .logstatus');
|
166 |
+
logstatus.append('<br/>Completed !')
|
167 |
+
if (errStatus.html() == "Processing...") {
|
168 |
errStatus.html('No Errors.');
|
169 |
}
|
170 |
//the loop ended show errors and messages
|