cdn
2 years ago
buttons.html
2 years ago
cache_path.php
2 years ago
clearing_specific_pages.php
2 years ago
cloudflare_warning.html
6 years ago
disable_wp_cron.php
6 years ago
download.html
6 years ago
exclude.php
2 years ago
htaccess.html
6 years ago
lazy_load.php
6 years ago
newpost.php
5 years ago
nginx_gzip.php
6 years ago
permission_error.html
6 years ago
preload.php
2 years ago
sample_img_list.html
6 years ago
timeout.php
6 years ago
toolbar_settings.php
5 years ago
update_error.html
6 years ago
update_now.php
6 years ago
update_success.html
6 years ago
update_success.php
6 years ago
updatepost.php
5 years ago
varnish.php
2 years ago
lazy_load.php
89 lines
| 1 | <div template-id="wpfc-modal-lazyload" style="top: 10.5px; left: 226px; position: absolute; padding: 6px; height: auto; width: 560px; z-index: 10001;display:none;"> |
| 2 | <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;"> |
| 3 | </div> |
| 4 | <div style="z-index: 600; border-radius: 3px;"> |
| 5 | <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;"> |
| 6 | <table width="100%" height="100%"> |
| 7 | <tbody> |
| 8 | <tr> |
| 9 | <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;"><?php _e("Lazy Load Settings", "wp-fastest-cache"); ?></td> |
| 10 | <td width="20" align="center" style="vertical-align: middle;"></td> |
| 11 | <td width="20" align="center" style="vertical-align: middle; font-family: Arial,Helvetica,sans-serif; color: rgb(170, 170, 170); cursor: default;"> |
| 12 | <div title="Close Window" class="close-wiz"></div> |
| 13 | </td> |
| 14 | </tr> |
| 15 | </tbody> |
| 16 | </table> |
| 17 | </div> |
| 18 | <div class="window-content-wrapper" style="padding: 8px;"> |
| 19 | <div style="z-index: 1000; height: auto; position: relative; display: inline-block; width: 100%;" class="window-content"> |
| 20 | |
| 21 | <?php |
| 22 | $wpFastestCacheLazyLoad_type_exceptcontent = ""; |
| 23 | $wpFastestCacheLazyLoad_type_all = ""; |
| 24 | |
| 25 | if(isset($this->options->wpFastestCacheLazyLoad_type)){ |
| 26 | if($this->options->wpFastestCacheLazyLoad_type == "exceptcontent"){ |
| 27 | $wpFastestCacheLazyLoad_type_exceptcontent = 'checked="checked"'; |
| 28 | }else if($this->options->wpFastestCacheLazyLoad_type == "all"){ |
| 29 | $wpFastestCacheLazyLoad_type_all = 'checked="checked"'; |
| 30 | } |
| 31 | }else{ |
| 32 | $wpFastestCacheLazyLoad_type_exceptcontent = 'checked="checked"'; |
| 33 | } |
| 34 | ?> |
| 35 | <div class="wpfc-cdn-pages-container"> |
| 36 | <div wpfc-cdn-page="1" class="wiz-cont" style=""> |
| 37 | <h1>Choose Images</h1> |
| 38 | <p>Please choose which images are loaded via Lazy Load.</p> |
| 39 | |
| 40 | |
| 41 | <div class="wiz-input-cont"> |
| 42 | <label class="mc-input-label" style="margin-right: 5px;"><input type="radio" <?php echo $wpFastestCacheLazyLoad_type_all; ?> action-id="wpFastestCacheLazyLoad_type_all" id="wpFastestCacheLazyLoad_type_all" name="wpFastestCacheLazyLoad_type" value="all"></label> |
| 43 | <label for="wpFastestCacheLazyLoad_type_all">All Images</label> |
| 44 | </div> |
| 45 | |
| 46 | <div class="wiz-input-cont" style="margin-top:10px !important;"> |
| 47 | <label class="mc-input-label" style="margin-right: 5px;"><input type="radio" <?php echo $wpFastestCacheLazyLoad_type_exceptcontent; ?> action-id="wpFastestCacheLazyLoad_type_exceptcontent" id="wpFastestCacheLazyLoad_type_exceptcontent" name="wpFastestCacheLazyLoad_type" value="exceptcontent"></label> |
| 48 | <label for="wpFastestCacheLazyLoad_type_exceptcontent">All Images except images in content</label> |
| 49 | </div> |
| 50 | |
| 51 | |
| 52 | |
| 53 | </div> |
| 54 | </div> |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | </div> |
| 61 | </div> |
| 62 | <?php include WPFC_MAIN_PATH."templates/buttons.html"; ?> |
| 63 | </div> |
| 64 | </div> |
| 65 | <script type="text/javascript"> |
| 66 | jQuery("#wpFastestCacheLazyLoad").click(function(){ |
| 67 | if(jQuery(this).is(':checked')){ |
| 68 | if(jQuery("div[id^='wpfc-modal-lazyload-']").length === 0){ |
| 69 | Wpfc_New_Dialog.dialog("wpfc-modal-lazyload", {close: function(){ |
| 70 | Wpfc_New_Dialog.clone.find("div.window-content input").each(function(){ |
| 71 | if(jQuery(this).attr("checked")){ |
| 72 | var id = jQuery(this).attr("action-id"); |
| 73 | jQuery("div.tab1 div[template-id='wpfc-modal-lazyload'] div.window-content input#" + id).attr("checked", true); |
| 74 | } |
| 75 | |
| 76 | //.attr("checked" |
| 77 | }); |
| 78 | |
| 79 | Wpfc_New_Dialog.clone.remove(); |
| 80 | }}); |
| 81 | |
| 82 | Wpfc_New_Dialog.show_button("close"); |
| 83 | } |
| 84 | } |
| 85 | }); |
| 86 | </script> |
| 87 | |
| 88 | |
| 89 |