cdn
7 years ago
buttons.html
11 years ago
cloudflare_warning.html
6 years ago
disable_wp_cron.php
7 years ago
download.html
10 years ago
exclude.php
7 years ago
htaccess.html
9 years ago
lazy_load.php
6 years ago
newpost.php
6 years ago
nginx_gzip.php
9 years ago
permission_error.html
10 years ago
preload.php
6 years ago
sample_img_list.html
7 years ago
timeout.php
7 years ago
update_error.html
10 years ago
update_now.php
9 years ago
update_success.html
10 years ago
update_success.php
10 years ago
updatepost.php
6 years ago
updatepost.php
91 lines
| 1 | <style type="text/css"> |
| 2 | div[id^="wpfc-modal-updatepost"] .wiz-input-cont{ |
| 3 | margin-top: 0 !important; |
| 4 | margin-bottom: 5px !important; |
| 5 | } |
| 6 | .wiz-input-cont label{ |
| 7 | margin-right: 0 !important; |
| 8 | } |
| 9 | </style> |
| 10 | <div template-id="wpfc-modal-updatepost" style="display:none;top: 10.5px; left: 226px; position: absolute; padding: 6px; height: auto; width: 330px; z-index: 10001;"> |
| 11 | <div style="height: 100%; width: 100%; background: none repeat scroll 0% 0% rgb(0, 0, 0); position: absolute; top: 0px; left: 0px; z-index: -1; opacity: 0.5; border-radius: 8px;"> |
| 12 | </div> |
| 13 | <div style="z-index: 600; border-radius: 3px;"> |
| 14 | <div style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;background: none repeat scroll 0px 0px rgb(255, 161, 0); z-index: 1000; position: relative; padding: 2px; border-bottom: 1px solid rgb(194, 122, 0); height: 35px; border-radius: 3px 3px 0px 0px;"> |
| 15 | <table width="100%" height="100%"> |
| 16 | <tbody> |
| 17 | <tr> |
| 18 | <td valign="middle" style="vertical-align: middle; font-weight: bold; color: rgb(255, 255, 255); text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); padding-left: 10px; font-size: 13px; cursor: move;">Update Post</td> |
| 19 | <td width="20" align="center" style="vertical-align: middle;"></td> |
| 20 | <td width="20" align="center" style="vertical-align: middle; font-family: Arial,Helvetica,sans-serif; color: rgb(170, 170, 170); cursor: default;"> |
| 21 | <div title="Close Window" class="close-wiz"></div> |
| 22 | </td> |
| 23 | </tr> |
| 24 | </tbody> |
| 25 | </table> |
| 26 | </div> |
| 27 | <div class="window-content-wrapper" style="padding: 15px;"> |
| 28 | <div class="window-content" style="z-index: 1000; height: auto; position: relative; display: inline-block; width: 100%;"> |
| 29 | <p style="color:#666;margin-top:0 !important;">What do you want to happen after update a post or a page?</p> |
| 30 | |
| 31 | <?php |
| 32 | $wpFastestCacheUpdatePost_type_post = ""; |
| 33 | $wpFastestCacheUpdatePost_type_all = ""; |
| 34 | |
| 35 | if(isset($this->options->wpFastestCacheUpdatePost_type)){ |
| 36 | if($this->options->wpFastestCacheUpdatePost_type == "post"){ |
| 37 | $wpFastestCacheUpdatePost_type_post = 'checked="checked"'; |
| 38 | }else if($this->options->wpFastestCacheUpdatePost_type == "all"){ |
| 39 | $wpFastestCacheUpdatePost_type_all = 'checked="checked"'; |
| 40 | } |
| 41 | }else{ |
| 42 | $wpFastestCacheUpdatePost_type_post = 'checked="checked"'; |
| 43 | } |
| 44 | ?> |
| 45 | |
| 46 | |
| 47 | <div class="wiz-input-cont"> |
| 48 | <label class="mc-input-label" style="margin-right: 5px;"><input type="radio" <?php echo $wpFastestCacheUpdatePost_type_all; ?> action-id="wpFastestCacheUpdatePost_type_all" id="wpFastestCacheUpdatePost_type_all" name="wpFastestCacheUpdatePost_type" value="all"></label> |
| 49 | <label for="wpFastestCacheUpdatePost_type_all">Clear All Cache</label> |
| 50 | </div> |
| 51 | <div class="wiz-input-cont"> |
| 52 | <label class="mc-input-label" style="margin-right: 5px;"><input type="radio" <?php echo $wpFastestCacheUpdatePost_type_post; ?> action-id="wpFastestCacheUpdatePost_type_post" id="wpFastestCacheUpdatePost_type_post" name="wpFastestCacheUpdatePost_type" value="post"></label> |
| 53 | <label for="wpFastestCacheUpdatePost_type_post">Clear Cache of Post / Page</label><br> |
| 54 | <label style="margin-left:24px;" for="wpFastestCacheUpdatePost_type_post">Clear Cache of Post Categories</label><br> |
| 55 | <label style="margin-left:24px;" for="wpFastestCacheUpdatePost_type_post">Clear Cache of Post Tags</label><br> |
| 56 | <label style="margin-left:24px;" for="wpFastestCacheUpdatePost_type_post">Clear Cache of Homepage</label> |
| 57 | </div> |
| 58 | |
| 59 | </div> |
| 60 | </div> |
| 61 | <div class="window-buttons-wrapper" style="padding: 0px; display: inline-block; width: 100%; border-top: 1px solid rgb(255, 255, 255); background: none repeat scroll 0px 0px rgb(222, 222, 222); z-index: 999; position: relative; text-align: right; border-radius: 0px 0px 3px 3px;"> |
| 62 | <div style="padding: 12px; height: 23px;text-align: center;"> |
| 63 | <button class="wpfc-dialog-buttons buttons" type="button" action="close"> |
| 64 | <span>OK</span> |
| 65 | </button> |
| 66 | </div> |
| 67 | </div> |
| 68 | </div> |
| 69 | </div> |
| 70 | <script type="text/javascript"> |
| 71 | jQuery("#wpFastestCacheUpdatePost").click(function(){ |
| 72 | if(jQuery(this).is(':checked')){ |
| 73 | if(jQuery("div[id^='wpfc-modal-updatepost-']").length === 0){ |
| 74 | Wpfc_New_Dialog.dialog("wpfc-modal-updatepost", {close: function(){ |
| 75 | Wpfc_New_Dialog.clone.find("div.window-content input").each(function(){ |
| 76 | if(jQuery(this).attr("checked")){ |
| 77 | var id = jQuery(this).attr("action-id"); |
| 78 | jQuery("div.tab1 div[template-id='wpfc-modal-updatepost'] div.window-content input#" + id).attr("checked", true); |
| 79 | } |
| 80 | |
| 81 | //.attr("checked" |
| 82 | }); |
| 83 | |
| 84 | Wpfc_New_Dialog.clone.remove(); |
| 85 | }}); |
| 86 | |
| 87 | Wpfc_New_Dialog.show_button("close"); |
| 88 | } |
| 89 | } |
| 90 | }); |
| 91 | </script> |