/*Bolt Icon*/ .ampforwp-blurb-add:hover{ cursor: pointer; } .ampforwp-blurb-add.button { margin-bottom: 10px; } .ampforwp-blurb-additional .preview-image { max-width:100%; width : 70px; height : 70px; } #toplevel_page_amp_options a .wp-menu-image:before{display: none} body #toplevel_page_amp_options .wp-menu-image{ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjMxNHB4IiBoZWlnaHQ9IjMxNXB4IiB2aWV3Qm94PSIwIDAgMzE0IDMxNSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNDEgKDM1MzI2KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5TaGFwZTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIyNjA3MSIgZmlsbD0iI0ZGNEM0QyI+CiAgICAgICAgICAgIDxnIGlkPSJDYXBhXzEiPgogICAgICAgICAgICAgICAgPGcgaWQ9Il94MzJfNDAuX1Bvd2VyIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTU3LjAwNywwIEM3MC4yOTIsMCAwLDcwLjI5MiAwLDE1Ny4wMDcgQzAsMjQzLjcxNSA3MC4yOTIsMzE0LjAxNCAxNTcuMDA3LDM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0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) !important; background-repeat: no-repeat; background-position: center; -webkit-background-size: 20px auto; background-size: 20px auto; } .ampforwp_new_features .redux-group-tab-link-a span:after { content: "NEW"; color: #fff; font-size: 10px; background: #4452a7; padding: 4px 7px; border-radius: 30px; font-weight: normal; position: relative; top: -1px; left: 5px; } .redux-container #redux-header .display_header h2{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAqFBMVEUAAADuHSTwHib5JCv/TEzuHCTuHSXuHCTuHSX/JzbuHCTuHCTyICjuHCTuHSTuHCTvHSbzHyfuHCXuHCT/KirtHSTuHSTtHCTuHCTvHSXuHSXwHyfuHST0IinxHiXuHSXyHybuHCTyIynuHCTtHCTwHSXwHiXwHibvHybuHSXvHCXvHSXuHSXuHCTuHSXvHSXuHSTuHCXvHSb1HyruHibvHCTuHCTtHCRUu4DRAAAAN3RSTlMA7jEOA/L5650Jz9Ukt47ATRv7sAbmhPapXFYgaBY3cSjFEtrJUURALndsYt6iiXuSlkcYO3/h34n5UgAADa5JREFUeNrs22lz2jAQBuDXN74wl8EBQrihQAoBkv3//6x3M50iy9cKp9PncyaZ1yOt1isH//2nlqGvxsfmc7j0D7Fj2WRbWvy28MLk9LobTh7x73L1fbPraZRu4Ien8dXAv8VYHxO/Qzm8dfurf2Q1tIcnr0OFLBr7KT603rnpUzlxY/hR90N7Fw6oCp3Z8eMthMsuoir5rx/pGRjjiKrnfWrjQ7g2BsSjE7ZM1Nz8ySdOcX+EGgtOA2KXTFBTky6pMVvVcSecZ6TOYl+3R7CZkVqLhzo9gmtE6vlD1MQ0pPvwNqgBo2nT3XTvfiiaY4fuye4buCfdo3uLV7gbt9mhGui2cR/rA9WDNsYdGA2qj2gE1bY+ldNxFr43i8JotvT82KZytBbU2g+oGNsPT0+rSTDHn4yR3to1u55FBTV7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at: no-repeat; padding-left: 26px; background-position: 0px 0; color: #000; } .amp-update-notice .notice-dismiss{ display: none } /* Mobile preview button and preview Iframe Styling #1082 */ .col-sm-12 { width: 100%; } .margin-top-bottom { margin-top: 9px; margin-bottom: 10px; } .text-center { text-align: center; } #ampforwp-preview-format { margin-bottom: 0px; line-height: 0.5em; } .ampforwp-preview-phone-frame-wrapper { width:110%; display:inline-block; position: relative; max-width: 300px; text-align: center; margin-left: -12px; } .ampforwp-preview-phone-frame-wrapper:after { padding-top: 180%; display:block; content: ''; } .ampforwp-preview-phone-frame { position: absolute; top: 0; bottom: 0; right: 0; left: 0; border: 1px solid #e5e5e5; border-radius: 40px; padding-top:50px; padding-bottom: 35px; background: #f1f1f1; } .ampforwp-preview-container { height: 100%; position: relative; width: 100%; border: 1px solid #e5e5e5; overflow: hidden; } .ampforwp-preview-container > iframe { height: 100%; width: 100%; transform: scale(1, 1); transform-origin: top left; } #TB_window #TB_ajaxContent{ width: 100%; height: 100%; } .ampforwp-preview-button-container{ float: right; margin-top: 0px; } .meta-radio-two{margin-right: 8px; top: 3px; position: relative;} #wp-admin-bar-ampforwp-view-amp a, #wp-admin-bar-ampforwp-view-amp:hover a{ background-size: 18px !important;background-repeat: no-repeat !important;background-position: 4px 7px !important;text-indent: -99999px;width: 12px; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjMxNHB4IiBoZWlnaHQ9IjMxNXB4IiB2aWV3Qm94PSIwIDAgMzE0IDMxNSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNDEgKDM1MzI2KSAtIGh0dHA6Ly93d3cuYm9oZW1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TA5IEMyMDguMTI2LDYwLjg0MSAyMDYuOTg0LDU5LjkyMiAyMDAuODYxLDY2LjA1MyBMMTA1LjMwNSwxNjEuNiBDOTkuMTcyLDE2Ny43MzIgMTAxLjIzMiwxNzIuNjc2IDEwOS45MDYsMTcyLjY0MSBMMTQyLjY3OSwxNzIuNTA4IEMxNTEuMzQ3LDE3Mi40NzIgMTU0LjU1MiwxNzguMzM1IDE0OS44MjQsMTg1LjYwNSBMMTA2LjMzNCwyNTIuNDc3IEMxMDMuOTcyLDI1Ni4xMTIgMTA0LjU0MiwyNTYuNTgxIDEwNy42MiwyNTMuNTI3IEwxNzUuOTE1LDE4NS43MTcgQzE3OC45ODgsMTgyLjY1OSAxODMuOTUsMTc3LjY4NiAxODYuOTgzLDE3NC41OTYgTDIwOC43ODgsMTUyLjQ4NSBDMjE0Ljg3NSwxNDYuMzE3IDIxMi43NzUsMTQxLjMzIDIwNC4xMTEsMTQxLjM2OCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat 4px 7px; } .amp-theme-selector-img a{ background: rgba(0, 0, 0, 0.7); text-decoration: none; padding: 3px 8px 4px 7px; bottom: 16px; font-size: 12px; border-radius: 100px; color: #fff; position: relative; right: 62px; } .amp-theme-selector-img:hover a { background: #4452a7; } .amp-theme-selector-img img{ position: relative; visibility: visible; cursor:pointer; } .hidetab{ display: none !important; } .activetab{ display: block !important; } #wpbody-content .wrap .amp-update-notice{ display: table; position: relative; height: 70px; padding: 0; border: 0; overflow: hidden; margin-bottom: 10px; } .amp-update-notice-text-box{ padding: 15px 15px 10px 15px; display: inline-block; } .amp-update-notice-text-box img{ width: 40px; display: inline; height: 40px; } .amp-update-notice-text{ display: inline; position: relative; margin-left: 5px; font-weight: 300; top: -14px; font-size: 20px; } .amp-update-notice-text-box a{ position: relative; top: -17px; background: #ECEFF1; text-decoration: none; color: #111; font-size: 10px; padding: 4px 6px 5px 5px; border-radius: 4px; margin-left: 5px; text-transform: uppercase; border: 1px solid rgba(207, 216, 220, 0.9); } .amp-update-notice-dismiss{ display:inline-block;float:right;height: 70px;background: #333;width: 50px;text-align: center; } .amp-update-notice-dismiss a{ color: #fff; text-decoration: none; top: 26px; position: relative; padding: 24px 18px; font-size: 17px; font-weight: 300; background: #333; z-index: 100; } .amp-update-notice-review-box{ float: right;display: inline-block;/* height: 55px; */background: #4CAF50;padding: 12px 20px 11px 60px;background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIuMDAxIDUxMi4wMDEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMi4wMDEgNTEyLjAwMTsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxMjhweCIgaGVpZ2h0PSIxMjhweCI+CjxnPgoJPGc+CgkJPGc+CgkJCTxwYXRoIGQ9Ik0zNjYuOTA1LDM2NS4wNzFsODcuOTAyLTg1LjY4M2M2LjA4Ny01LjkzNSw4LjIzNi0xNC42NDMsNS42MS0yMi43MjljLTIuNjI5LTguMDg1LTkuNDg2LTEzLjg2Ni0xNy44OTgtMTUuMDg3ICAgICBsLTU1Ljg3OS04LjEyYy00LjQxMy0wLjY0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zMjYtMTAuNTI0LDQuNDY1Yy0xLjY3NCw0LjE0LDAuMzI1LDguODUyLDQuNDY0LDEwLjUyNGwxNC45MzgsNi4wNCAgICAgYzAuOTkzLDAuNCwyLjAxOSwwLjU5MiwzLjAyNywwLjU5MmMzLjE5NiwwLDYuMjI2LTEuOTEsNy40OTctNS4wNTdDNDQzLjA4Myw0MjYuNjY5LDQ0MS4wODUsNDIxLjk1Nyw0MzYuOTQ1LDQyMC4yODR6IiBmaWxsPSIjY2NjY2NjIi8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=);background-size: 34px;background-repeat: no-repeat;text-align: right;background-position: 16px 17px; } .amp-update-notice-review-box a{ color: #fff; text-decoration: none; font-size: 16px; line-height: 23px; font-weight: 300; } .amp-update-notice-review-box span{ font-size: 11px;text-transform: uppercase; } li.first{ position: relative; } .active.valid:before{ content: "✓"; display: inline-block; position: absolute; color: #fff; left: 20px; background: green; top: 15px; padding: 4px 7px; border-radius: 100%; } .not-active.invalid:before{ content: "X"; display: inline-block; position: absolute; color: #fff; left: 20px; background: #f32a56; top: 15px; padding: 4px 7px; border-radius: 100%; } .a-f-wp-help-message { width: 0em; position: fixed; right:0; z-index: 99999; border: 0; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); transform: translateX(-50%); padding: 0; color: #333; opacity: 0; -webkit-transition: 0.5s; -moz-transition: 0.5s; transition: 0.5s; bottom: 85px; } .a-f-wp-help-message img{ width: 250px; } .a-f-wp-help-message:focus { outline: none; } .a-f-wp-help-message.active { opacity: 1; -webkit-transition: 1s; -moz-transition: 1s; transition: 1s; width: 170px; } .a-f-wp-help-container { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 9999; bottom: 0px; right: 0pc; } .dashicons-admin-comments:before, .dashicons-no-alt{ font-family: dashicons; font-style: normal; } .a-f-wp-help-container .a-f-wp-help-tear { width: 4em; height: 4em; right: 26px; bottom: 27px; border-radius: 0 50% 50% 50%; border-radius: 50%; cursor: pointer; transform: rotate(0deg); -webkit-transition: 0.5s; -moz-transition: 0.5s; transition: 0.5s; background: dodgerblue; box-shadow: 4px 4px 10px #b3b3b3; position: relative; } .a-f-wp-help-container .a-f-wp-help-tear.active { border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: black; } .a-f-wp-help-container .a-f-wp-help-tear.active span { position: absolute; left: 12px; top: 17px; font-size: 2em; color: white; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } .a-f-wp-help-container span { position: absolute; left: 26px; top: 29px; -webkit-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); -o-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); font-size: 2em; color: white; } .amp_layout_upcomming .amppb-layout-button .button{ background: #455A64; color: #fff; width: 100%; text-align: center; padding: 5px 3px; height: 37px; border-radius: 0; color: #fff; border: 0; } #redux_builder_amp-ampforwp_layouts_core { position: relative } #redux_builder_amp-ampforwp_layouts_core .redux_field_th{ text-transform: uppercase; line-height: 0; border-bottom: 1px solid #E7E7E7; margin-bottom: 30px; padding-bottom: 15px !important; } /*** Layout Screenshot-Image CSS ***/ #redux_builder_amp-ampforwp_layouts_core .amppb_ad-layout-layout { margin-bottom: 30px; } /*** Layout Screenshot-Image CSS End ***/ .amp-layouts-desc{ position: absolute; font-size: 13px; right: 22px; text-transform: none; top: -6px; text-decoration: none; } .ampforwp-new-element .form-table tr{ border-top: 0px; } .amp-design-selector th, .amp-design-selector td { padding-top: 40px; } .amppb_ad-layout-layout .amppb_ad-layout-wrapper{ padding: 0px; background: #F7F7F7; position: relative; -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out; } .amppb_ad-layout-library-wrapper .amppb_ad-layout-layout:hover .amppb_ad-layout-title{ color:#000; } .amppb_ad-layout-layout .amppb_ad-layout-wrapper .amppb_ad-layout-screenshot{ background: #ffffff; } .amppb_ad-layout-screenshot img{ display: block; width: 100%; height: auto; cursor:pointer; } .amppb_ad-layout-bottom{ position: relative; margin: 10px 0px 0px 0px; text-align: center } .amppb_ad-layout-button .button { width: 100%; text-align: center; padding: 5px 3px; height: 37px; border-radius: 0; background: #455A64; color: #fff; border: 0; } .amppb_ad-layout-title { margin: 0; padding: 10px 0px 10px 0px; text-align: center; border-bottom: 1px solid #eee; font-size: 16px; background: #fcfcfc; } .amppb_ad-layout-button{ z-index: 2; top: 0; bottom: 0; right: 0; height: 100%; visibility: visible; -ms-box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0; background: #f6f6f6; -webkit-box-shadow: -1px 0 1px rgba(0, 0, 0, 0.05); -moz-box-shadow: -1px 0 1px rgba(0, 0, 0, 0.05); box-shadow: -1px 0 1px rgba(0, 0, 0, 0.05); } .amppb_ad-layout-wrapper:hover{ box-shadow: 0 0px 30px 0px rgba(0, 0, 0, 0.30); } .amppb_ad-layout-layout .amppb_ad-layout-button .button:hover{ background: #455A64; color:#fff; } .amppb_ad-layout-layout { -ms-box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; float: left; padding: 0; width: 30%; margin-right: 30px; } .layouts_pro_lbl, .amppb_ad-layout_pro a{ position: absolute; right: -3px; color: #fff; text-decoration: none; text-align: center; font-size: 12px; font-weight: normal; background: #43A047; border-radius: 40px; top: 28px; line-height: 3.3; height: 40px; width: 40px; } .extension-menu-call .dashicons-admin-generic:before{ font-size: 18px; } /* Accordion */ .afw-accordion-header > h3{ border-radius: 3px 3px 0px 0px; padding-top: 0px; margin-top: 20px; font-size: 13px; text-transform: none; padding: 0 16px; background: #f9f9f9 !important; border-width: 1px 1px 0 1px !important; padding: 5px 16px; border: solid #e5e5e5; font-weight: 600; color: #333; border-bottom: 1px solid #eee !important; } .afw-accordion-header{ position: relative; background: #fff; width: 100%; margin-top: 20px;} .afw-accordion-header:hover .redux_field_th{ color: red } .afw-accordion-header:hover{ cursor: pointer; } .afw-accordion-header:hover .afw-accordion-tab-open:after{ content: "\f142"; color: #222; } .afw-accordion-tab-open:after{ right: 12px; color: #72777c; top: 12px; border-radius: 1000px; position: absolute; content: "\f142"; transform: rotate(0deg); display: inline-block; font: 400 16px/1 dashicons; z-index: 30; } .afw-accordion-tab-close:after{ right: 8px; color: #333; top: 10px; border-radius: 1000px; position: absolute; transform: rotate(180deg); content: "\f142"; display: inline-block; font: 400 20px/1 dashicons; z-index: 30; } .afw-accordion-tab-close:before { content: ""; border: 1px solid #eee; width: 99%; display: inline-block; height: 10px; border-radius: 2px; left: -1px; transition: 0.4s; z-index: 4; left: 0.5%; top: 30px; position: absolute; } .afw-accordion-tab-close:hover:before{ top: 36px; } /*TOOltip*/ .afw-tooltip { position: relative; display: inline !important; margin-left: 5px; color: #d8d8d8 !important; } .redux-main .afw-tooltip .afw-help-subtitle { visibility: hidden; max-width: 250px; width: max-content; background-color: #333; box-shadow: 0px 0px 10px 0px #999; color: #fff; line-height: 1.45; text-align: center; border-radius: 3px; padding: 8px 10px; position: absolute; z-index: 100; bottom: 100%; right: -26px; margin-bottom: 6px !important; opacity: 0; transition: opacity 0.3s;} .afw-tooltip .afw-help-subtitle::after { content: ""; position: absolute; top: 100%; right: 28px; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #111 transparent transparent transparent; } .afw-tooltip:hover .afw-help-subtitle { visibility: visible; opacity: 1; } .afw-tooltip .afw-help-subtitle .afw-tootip-bottom{ position: absolute; bottom: 3px; border-top: 1px solid #fff; left: 0px; right: 0px; top: auto; padding: 3px 0px 0px; } .afw-tooltip .afw-help-subtitle .afw-tootip-bottom .help-wrap{ width: 49%; float: left; border-right: 1px solid #fff; color:#fff; } .afw-tooltip .afw-help-subtitle .afw-tootip-bottom .help-wrap:last-child{ border:none; } .afw-tootip-bottom i:before{ font-size: 15px; } .redux-main .child_opt .afw-tooltip{ margin-top: -8px; } .redux-main .child_opt .redux_field_th{ background: #f9f9f9;padding:23px 10px 23px 20px; margin-right: -16px;} .child_opt_last fieldset { margin-bottom: 15px; } .child_opt_arrow .redux_field_th:before{ position: absolute; content: "\f142"; transform: rotate(0deg); display: inline-block; font: 400 40px/1 dashicons; color: #f9f9f9; margin-top: -48px; margin-left: -10px } .redux-main .child_opt fieldset{ background: #f9f9f9; min-height: 30px; right: 20px; position: relative; padding: 8px 10px 8px 20px; } .redux-main .child_opt .redux-container-textarea{ padding-top: 40px; } .redux-main .form-table tr:hover .afw-tooltip{color: #666 !important;} /**Option panel css For extension**/ .backtoextensionlist{ cursor: pointer; } .redux-main #redux-sticky{display: none} #info-ampforwp-beta-mode-notice{color: #263238; margin: 20px; background: #FFF9C4;border-color: #908204;} .redux-container #redux-intro-text .dashicons-admin-generic:before, .activated-plugins { color: #666 } /*** RTL CSS ***/ .rtl .redux_field_th span:first-child { right: auto; left: 2%; } .rtl .redux-main .redux-field-container{ margin-left: 50px; width: 90%; } .rtl .redux-main .button.remove-image{ margin-right: 10px; } .rtl .redux-sidebar .redux-group-tab-link-a i { right: auto; left: 10px; } .rtl .redux-main .child_opt .redux_field_th { margin-right: 10px; } .rtl .redux_field_th { padding: 20px 20px 20px 10px !important; } .rtl .redux-container #redux-header .display_header{ float: right; } .rtl .redux-container #redux-intro-text { left: 5px; right: auto; } .rtl .redux-amp-search-icon .dashicons-before:before{ vertical-align:middle; } .rtl .redux-container-switch .switch-options{ text-align:right; } .rtl .redux-main .child_opt fieldset { padding: 8px 25px 8px 10px; } .rtl .redux-main .child_opt th, .rtl .redux-main .child_opt td { padding: 0px 0px 0px 0px !important; } .rtl .redux-main .child_opt fieldset { right: 0; } .rtl .redux-main .redux-field-container { padding: 18px 15px 18px 0; } .rtl .redux-main .afw-tooltip .afw-help-subtitle{ left: -16px; } .rtl .afw-tooltip .afw-help-subtitle::after{ display: none } /*** Free Vs Pro CSS ***/ .rtl .fr h1, .rtl .pr h1{ padding: 0px 35px 20px 0px; } .rtl .ext{ padding: 45px 50px 45px 0px; } .rtl .fe-t h4{ padding:0px 8px 0px 0px; } .rtl .lt { padding-right: 50px; padding-left:0; } #redux_builder_amp-hide-amp-categories .inner-child span:before{ content: "- " } span.switch-text { margin-left: 5px; } #redux_builder_amp-ampforwp_pwa_module .redux_field_th{ padding: 0px 20% 0px 10px !important; float: left; top: 5px; position: relative; } .ampforwp-st-data-update{ color: #000; font-size: 16px; } .ampforwp-st-data-update .row{width: 100%; font-size: 12px;} .ampforwp-st-data-update .col-3{ width: 45%; float: left; font-size: 14px; color: #333;} .ampforwp-st-data-update .col-1{width: 30%;float: left;} .ampforwp-st-data-update .col-3 li:before { content: "\f147"; font-family: dashicons; position: relative; top: 1px; left: -2px; color: #4CAF50; } .ampforwp-recommendation-btn{ color: #555; border-color: #ccc; background: #f7f7f7; box-shadow: 0 1px 0 #ccc; vertical-align: top; display: inline-block; text-decoration: none; font-size: 13px; line-height: 26px; height: 32px; margin: 0; padding: 1px 12px 1px 8px; cursor: pointer; border-width: 1px; border-style: solid; -webkit-appearance: none; border-radius: 3px; white-space: nowrap; box-sizing: border-box; } .ampforwp-recommendation-btn .update-message p:before{ position: absolute; top: 5px; font-size: 18px; } .ampforwp-recommendation-btn p:before{ margin-right: 4px; content: "\f463" } .ampforwp-recommendation-btn.updated-message p:before{ color:#79ba49; content: '\f147'; left: -3px; position: relative; font-size: 26px; top: -1px; } .ampforwp-recommendation-btn .button-link{ padding-left:6px; top: 0; text-decoration: none; font-size: 14px; top: 4px; letter-spacing: 0px; color: #2c2c2c; } .ampforwp-recommendation-btn a{ text-decoration: none; color: #333; } .ampforwp-recommendation-btn:active{ background: #eee; border-color: #999; box-shadow: inset 0 2px 5px -3px rgba(0,0,0,.5); -webkit-transform: translateY(1px); transform: translateY(1px); } #section-ampforwp-sd_modules_section h3{ background:#FFF9C4 !important } .amp_recommend_learnmore { position: relative; font-size: 14px; top: 7px; left: 12px; } #finalized-import-structure-data-from-amp{ margin-left:8px;vertical-align: baseline }PNG  IHDR-$RQIDATXء 1é i*xҀwL[dv-o BCCCCCCCCCCCCCCCCCCC\}SIENDB`orizontal_type = ( isset( $options['floating_horizontal'] ) && 'none' != $options['floating_horizontal'] ) ? $options['floating_horizontal'] : false; // If vertical bar is enabled if ( $vertical_type && // and respsonsiveness is enabled ( ! isset( $options['floating_vertical_responsive'] ) || '-1' != $options['floating_vertical_responsive'] ) ) { // Get min-width for media query $vertical_max_width = ( isset( $options['floating_vertical_responsive_max_width'] ) && is_numeric( $options['floating_vertical_responsive_max_width'] ) ) ? $options['floating_vertical_responsive_max_width'] : '980'; // Set media query $inline_css .= '@media screen and (max-width:' . $vertical_max_width . 'px){' . "\n" . '.a2a_floating_style.a2a_vertical_style{display:none;}' . "\n" . '}'; } // If horizontal bar is enabled if ( $horizontal_type && // and respsonsiveness is enabled ( ! isset( $options['floating_horizontal_responsive'] ) || '-1' != $options['floating_horizontal_responsive'] ) ) { // Get max-width for media query $horizontal_min_width = ( isset( $options['floating_horizontal_responsive_min_width'] ) && is_numeric( $options['floating_horizontal_responsive_min_width'] ) ) ? $options['floating_horizontal_responsive_min_width'] : '981'; // Insert newline if there is inline CSS already $inline_css = 0 < strlen( $inline_css ) ? $inline_css . "\n" : $inline_css; // Set media query $inline_css .= '@media screen and (min-width:' . $horizontal_min_width . 'px){' . "\n" . '.a2a_floating_style.a2a_default_style{display:none;}' . "\n" . '}'; } // If additional CSS (custom CSS for AddToAny) is set if ( ! empty( $options['additional_css'] ) ) { $custom_css = stripslashes( $options['additional_css'] ); // Insert newline if there is inline CSS already $inline_css = 0 < strlen( $inline_css ) ? $inline_css . "\n" : $inline_css; $inline_css .= $custom_css; } // If there is inline CSS if ( 0 < strlen( $inline_css ) ) { // Insert inline CSS wp_add_inline_style( 'addtoany', $inline_css ); } } } add_action( 'wp_enqueue_scripts', 'A2A_SHARE_SAVE_stylesheet', 20 ); function A2A_SHARE_SAVE_enqueue_script() { if ( wp_script_is( 'jquery', 'registered' ) ) { wp_enqueue_script( 'addtoany', plugins_url('/addtoany.min.js', __FILE__ ), array( 'jquery' ), '1.1' ); } } add_action( 'wp_enqueue_scripts', 'A2A_SHARE_SAVE_enqueue_script' ); /** * Cache AddToAny */ function A2A_SHARE_SAVE_refresh_cache() { $contents = wp_remote_fopen( 'https://www.addtoany.com/ext/updater/files_list/' ); $file_urls = explode( "\n", $contents, 20 ); $upload_dir = wp_upload_dir(); // Try to create directory if it doesn't already exist if ( ! wp_mkdir_p( dirname( $upload_dir['basedir'] . '/addtoany/foo' ) ) ) { // Handle directory creation issue // Revert cache option A2A_SHARE_SAVE_revert_cache(); } if ( count( $file_urls ) > 0 ) { for ( $i = 0; $i < count( $file_urls ); $i++ ) { // Download files $file_url = trim( $file_urls[ $i ] ); $file_name = substr( strrchr( $file_url, '/' ), 1, 99 ); // Place files in uploads/addtoany directory $response = wp_remote_get( $file_url, array( 'filename' => $upload_dir['basedir'] . '/addtoany/' . $file_name, 'stream' => true, // Required to use `filename` arg ) ); // Handle error if ( is_wp_error( $response ) ) { // Revert cache option A2A_SHARE_SAVE_revert_cache(); } } } } add_action( 'addtoany_refresh_cache', 'A2A_SHARE_SAVE_refresh_cache' ); function A2A_SHARE_SAVE_schedule_cache() { // Unschedule if already scheduled A2A_SHARE_SAVE_unschedule_cache(); // Try to schedule daily cache refreshes, running once now $result = wp_schedule_event( time(), 'daily', 'addtoany_refresh_cache' ); // Revert cache option if the event didn't get scheduled if ( false === $result ) { A2A_SHARE_SAVE_revert_cache(); } } function A2A_SHARE_SAVE_unschedule_cache() { // Unschedule if scheduled wp_clear_scheduled_hook( 'addtoany_refresh_cache' ); } function A2A_SHARE_SAVE_revert_cache() { // Unschedule A2A_SHARE_SAVE_unschedule_cache(); // Get all existing AddToAny options $options = get_option( 'addtoany_options', array() ); // Revert cache option $options['cache'] = '-1'; update_option( 'addtoany_options', $options ); } /** * Activation hook */ function addtoany_activation() { // Get all existing AddToAny options $options = get_option( 'addtoany_options', array() ); // If the local cache option is enabled if ( isset( $options['cache'] ) && $options['cache'] == '1' ) { // Schedule and run the local cache refresh A2A_SHARE_SAVE_schedule_cache(); } } register_activation_hook( __FILE__, 'addtoany_activation' ); /** * Deactivation hook */ function addtoany_deactivation() { // Unschedule if scheduled A2A_SHARE_SAVE_unschedule_cache(); } register_deactivation_hook( __FILE__, 'addtoany_deactivation' ); /** * Admin Options */ if ( is_admin() ) { include_once $A2A_SHARE_SAVE_plugin_dir . '/addtoany.admin.php'; } function A2A_SHARE_SAVE_add_menu_link() { $page = add_options_page( __( 'AddToAny Share Settings', 'add-to-any' ), __( 'AddToAny', 'add-to-any' ), 'manage_options', 'addtoany', 'A2A_SHARE_SAVE_options_page' ); } add_filter( 'admin_menu', 'A2A_SHARE_SAVE_add_menu_link' ); function A2A_SHARE_SAVE_widgets_init() { global $A2A_SHARE_SAVE_plugin_dir; include_once $A2A_SHARE_SAVE_plugin_dir . '/addtoany.widgets.php'; register_widget( 'A2A_SHARE_SAVE_Widget' ); register_widget( 'A2A_Follow_Widget' ); } add_action( 'widgets_init', 'A2A_SHARE_SAVE_widgets_init' ); // Place in Option List on Settings > Plugins page function A2A_SHARE_SAVE_actlinks( $links, $file ) { // Static so we don't call plugin_basename on every plugin row. static $this_plugin; if ( ! $this_plugin ) { $this_plugin = plugin_basename( __FILE__ ); } if ( $file == $this_plugin ) { $settings_link = '' . __( 'Settings' ) . ''; array_unshift( $links, $settings_link ); // before other links } return $links; } add_filter( 'plugin_action_links', 'A2A_SHARE_SAVE_actlinks', 10, 2 ); /** * Redux Checkbox * Dependencies : jquery * Feature added by : Dovy Paukstys * Date : 17 June 2014 */ /*global redux_change, wp, redux*/ (function( $ ) { "use strict"; redux.field_objects = redux.field_objects || {}; redux.field_objects.checkbox_hierarchy = redux.field_objects.checkbox_hierarchy || {}; $( document ).ready( function() { redux.field_objects.checkbox_hierarchy.init(); } ); redux.field_objects.checkbox_hierarchy.init = function( selector ) { if ( !selector ) { selector = $( document ).find( ".redux-group-tab:visible" ).find( '.redux-container-checkbox_hierarchy:visible' ); } $( selector ).each( function() { var el = $( this ); var parent = el; if ( !el.hasClass( 'redux-field-container' ) ) { parent = el.parents( '.redux-field-container:first' ); } if ( parent.is( ":hidden" ) ) { // Skip hidden fields return; } if ( parent.hasClass( 'redux-field-init' ) ) { parent.removeClass( 'redux-field-init' ); } else { return; } el.find( '.checkbox' ).on( 'click', function( e ) { var val = 0; if ( $( this ).is( ':checked' ) ) { val = $( this ).parent().find( '.checkbox-check' ).attr( 'data-val' ); } $( this ).parent().find( '.checkbox-check' ).val( val ); redux_change( $( this ) ); } ); } ); }; })( jQuery );/* Black Studio TinyMCE Widget */ var bstw;!function(a){bstw=function(b){var c=null;return"string"==typeof b?c=b:"object"==typeof b&&b instanceof jQuery&&(c=a("textarea[id^=widget-black-studio-tinymce][id$=text]",b.closest(bstw_data.container_selectors)).attr("id")),{activate:function(b){if(b="undefined"!=typeof b?b:!0,!a("#"+c).hasClass("active")){if(a("#"+c).hasClass("activating")||a("#"+c).addClass("activating"),this.is_quicktags_configured()||(tinyMCEPreInit.qtInit[c]=tinyMCEPreInit.qtInit["black-studio-tinymce-widget"],tinyMCEPreInit.qtInit[c].id=c),!this.is_quicktags_active()){var d,e;d=QTags.instances,QTags.instances=[],quicktags(tinyMCEPreInit.qtInit[c]),QTags._buttonsInit(),e=QTags.instances[c],QTags.instances=d,QTags.instances[c]=e}this.is_tinymce_configured()||(tinyMCEPreInit.mceInit[c]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[c].selector="#"+c),!this.is_tinymce_active()&&"visual"===this.get_mode()&&a("#"+c).is(":visible")?(tinyMCEPreInit.mceInit[c].setup=function(b){b.on("keyup change",function(){"visual"===bstw(c).get_mode()&&bstw(c).update_content(),a("#"+c).change()}),a("#"+c).addClass("active").removeClass("activating")},b?tinymce.init(tinyMCEPreInit.mceInit[c]):this.go()):this.is_tinymce_active()||"visual"!==this.get_mode()?a("#"+c).addClass("active").removeClass("activating"):setTimeout(function(){bstw(c).activate(b)},500)}return this},deactivate:function(){return a("#"+c).hasClass("activating")||(this.is_tinymce_active()&&tinymce.get(c).remove(),this.is_tinymce_configured()&&delete tinyMCEPreInit.mceInit[c],this.is_quicktags_active()&&(a(".quicktags-toolbar",this.get_widget_inside()).remove(),delete QTags.instances[c]),this.is_quicktags_configured()&&delete tinyMCEPreInit.qtInit[c],a("#"+c).removeClass("active")),this},update_content:function(){var a;return"visual"===this.get_mode()?(a=tinymce.get(c).save(),tinyMCEPreInit.mceInit[c].wpautop&&(a=window.switchEditors.pre_wpautop(a)),this.get_textarea().val(a)):this.is_tinymce_active()&&(a=this.get_textarea().val(),tinyMCEPreInit.mceInit[c].wpautop&&(a=window.switchEditors.wpautop(a)),tinymce.get(c).setContent(a)),this},go:function(a){return"undefined"==typeof a&&(a=this.get_mode()),window.switchEditors.go(c,"visual"===a?"tmce":"html"),this},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val()},set_mode:function(b){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val(b),this},get_container:function(){return a("#"+c).closest(bstw_data.container_selectors)},get_widget:function(){return a("#"+c).closest("div.widget")},get_widget_inside:function(){return a("#"+c).closest("div.widget-inside")},get_textarea:function(){return a("#"+c)},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(c)&&null!==tinymce.get(c)},is_tinymce_configured:function(){return"undefined"!=typeof tinyMCEPreInit.mceInit[c]},is_quicktags_active:function(){return"object"==typeof QTags.instances[c]},is_quicktags_configured:function(){return"object"==typeof tinyMCEPreInit.qtInit[c]},prepare:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('
'+bstw_data.error_duplicate_id+"
"),this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},responsive:function(){if(this.get_widget_inside().is(":visible")){var b,c=parseInt(a("input[name=widget-width]",this.get_widget()).val(),10),d=a(window).width(),e=this.get_widget().parent().width(),f=parseInt(a("#wpcontent").css("margin-left"),10),g=!("undefined"==typeof isRtl||!isRtl);c+f+30>d&&(b=this.get_widget().closest("div.widget-liquid-right").length?g?"margin-right":"margin-left":g?"margin-left":"margin-right",this.get_widget().css(b,e-(d-30-f)+"px"))}return this}}},a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] .widget-title-action",function(){a(this).parents("#available-widgets").length||(bstw(a(this)).prepare().responsive().activate(!1),a("input[name=savewidget]",bstw(a(this)).get_widget()).on("click",function(){var b=a(this).closest(".widget").find(".wp-editor-wrap").height();a(this).closest(".widget").find(".wp-editor-wrap").height(b).append('
'),a(this).closest(".widget").find(".bstw-loading").height(b).show(),bstw(a(this)).update_content()}))}),a(document).on("widget-added",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).activate())}),a(document).on("widget-updated",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).deactivate().activate())}),a(document).on("widget-synced",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),"visual"===bstw(b).get_mode()&&bstw(b).update_content())}),a(document).on("click","[id^=widget-black-studio-tinymce][id$=tmce]",function(){bstw(a(this)).set_mode("visual")}),a(document).on("click","[id^=widget-black-studio-tinymce][id$=html]",function(){bstw(a(this)).set_mode("html")}),a(document).on("click.wp-editor",".wp-editor-wrap",function(){this.id&&(window.wpActiveEditor=this.id.slice(3,-5))}),a(document).on("sortstart",function(b,c){if((a(c.item).is(".widget")||a(c.item).is(".customize-control"))&&!a(c.item).is(".ui-draggable")){var d=["body.wp-customizer .expanded > div[id*=black-studio-tinymce].widget",".widget-liquid-right div[id*=black-studio-tinymce].widget.open"];a(d.join(", ")).filter(":has(.widget-inside:visible)").each(function(){a(".widget-title",this).trigger("click"),bstw(a(this)).deactivate()}),c.item.is("[id*=black-studio-tinymce]")&&bstw(c.item.find("textarea[id^=widget-black-studio-tinymce]")).deactivate()}}),a(document).on("sortupdate",function(b,c){(null===b||a(c.item).is(".widget")&&!a(c.item).is(".ui-draggable"))&&(a("body").addClass("wait"),setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),a("body").removeClass("wait")},1e3))}),a(document).on("click","body.wp-customizer div[id*=black-studio-tinymce].widget .move-widget-btn",function(){a("body").addClass("wait");var b=a(this);setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),bstw(b).activate(),a("body").removeClass("wait")},1e3)}),"object"==typeof bstw_data.activate_events&&bstw_data.activate_events.length>0&&a(document).on(bstw_data.activate_events.join(" "),function(b){bstw(a(b.target)).activate()}),"object"==typeof bstw_data.deactivate_events&&bstw_data.deactivate_events.length>0&&a(document).on(bstw_data.deactivate_events.join(" "),function(b){bstw(a(b.target)).deactivate()}),a(window).resize(function(){a("textarea[id^=widget-black-studio-tinymce]").each(function(){bstw(a(this)).responsive()})}),a("#qt_widget-black-studio-tinymce-__i__-text_toolbar").remove(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);y plugins for WordPress" alt="dFactory - Quality plugins for WordPress" />

'; settings_fields( 'cookie_notice_options' ); do_settings_sections( 'cookie_notice_options' ); echo '

'; submit_button( '', 'primary', 'save_cookie_notice_options', false ); echo ' '; submit_button( __( 'Reset to defaults', 'cookie-notice' ), 'secondary', 'reset_cookie_notice_options', false ); echo '

'; } /** * Regiseter plugin settings. */ public function register_settings() { register_setting( 'cookie_notice_options', 'cookie_notice_options', array( $this, 'validate_options' ) ); // configuration add_settings_section( 'cookie_notice_configuration', __( 'Configuration', 'cookie-notice' ), array( $this, 'cn_section_configuration' ), 'cookie_notice_options' ); add_settings_field( 'cn_message_text', __( 'Message', 'cookie-notice' ), array( $this, 'cn_message_text' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_accept_text', __( 'Button text', 'cookie-notice' ), array( $this, 'cn_accept_text' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_see_more', __( 'Privacy policy', 'cookie-notice' ), array( $this, 'cn_see_more' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_link_target', __( 'Link target', 'cookie-notice' ), array( $this, 'cn_link_target' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_refuse_opt', __( 'Refuse cookies', 'cookie-notice' ), array( $this, 'cn_refuse_opt' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_revoke_opt', __( 'Revoke cookies', 'cookie-notice' ), array( $this, 'cn_revoke_opt' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_refuse_code', __( 'Script blocking', 'cookie-notice' ), array( $this, 'cn_refuse_code' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_redirection', __( 'Reloading', 'cookie-notice' ), array( $this, 'cn_redirection' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_on_scroll', __( 'On scroll', 'cookie-notice' ), array( $this, 'cn_on_scroll' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_time', __( 'Cookie expiry', 'cookie-notice' ), array( $this, 'cn_time' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_script_placement', __( 'Script placement', 'cookie-notice' ), array( $this, 'cn_script_placement' ), 'cookie_notice_options', 'cookie_notice_configuration' ); add_settings_field( 'cn_deactivation_delete', __( 'Deactivation', 'cookie-notice' ), array( $this, 'cn_deactivation_delete' ), 'cookie_notice_options', 'cookie_notice_configuration' ); // design add_settings_section( 'cookie_notice_design', __( 'Design', 'cookie-notice' ), array( $this, 'cn_section_design' ), 'cookie_notice_options' ); add_settings_field( 'cn_position', __( 'Position', 'cookie-notice' ), array( $this, 'cn_position' ), 'cookie_notice_options', 'cookie_notice_design' ); add_settings_field( 'cn_hide_effect', __( 'Animation', 'cookie-notice' ), array( $this, 'cn_hide_effect' ), 'cookie_notice_options', 'cookie_notice_design' ); add_settings_field( 'cn_css_style', __( 'Button style', 'cookie-notice' ), array( $this, 'cn_css_style' ), 'cookie_notice_options', 'cookie_notice_design' ); add_settings_field( 'cn_css_class', __( 'Button class', 'cookie-notice' ), array( $this, 'cn_css_class' ), 'cookie_notice_options', 'cookie_notice_design' ); add_settings_field( 'cn_colors', __( 'Colors', 'cookie-notice' ), array( $this, 'cn_colors' ), 'cookie_notice_options', 'cookie_notice_design' ); } /** * Section callback: fix for WP < 3.3 */ public function cn_section_configuration() {} public function cn_section_design() {} /** * Delete plugin data on deactivation. */ public function cn_deactivation_delete() { echo '
'; } /** * Cookie message option. */ public function cn_message_text() { echo '

' . __( 'Enter the cookie notice message.', 'cookie-notice' ) . '

'; } /** * Accept cookie label option. */ public function cn_accept_text() { echo '

' . __( 'The text of the option to accept the usage of the cookies and make the notification disappear.', 'cookie-notice' ) . '

'; } /** * Enable/Disable third party non functional cookies option. */ public function cn_refuse_opt() { echo '
options['general']['refuse_opt'] === 'no' ? ' style="display: none;"' : '' ) . '>

' . __( 'The text of the button to refuse the usage of the cookies.', 'cookie-notice' ) . '

'; } /** * Non functional cookies code. */ public function cn_refuse_code() { $allowed_html = $this->get_allowed_html(); $active = ! empty( $this->options['general']['refuse_code'] ) && empty( $this->options['general']['refuse_code_head'] ) ? 'body' : 'head'; echo '

' . __( 'The code to be used in your site header, before the closing head tag.', 'cookie-notice' ) . '

' . __( 'The code to be used in your site footer, before the closing body tag.', 'cookie-notice' ) . '

' . __( 'Enter non functional cookies Javascript code here (for e.g. Google Analitycs) to be used after cookies are accepted.', 'cookie-notice' ) . '
' . __( 'To get the cookie notice status use cn_cookies_accepted() function.', 'cookie-notice' ) . '

'; } /** * Revoke cookies option. */ public function cn_revoke_opt() { echo '
options['general']['revoke_cookies'] ? '' : ' style="display: none;"' ) . '>

' . __( 'The text of the button to revoke the cookie consent.', 'cookie-notice' ) . '

'; foreach ( $this->revoke_opts as $value => $label ) { echo ' '; } echo '

' . __( 'Select the method for displaying the revoke button - automatic (in the Cookie Notice container) or manual using [cookies_revoke] shortcode.', 'cookie-notice' ) . '

'; } /** * Redirection on cookie accept. */ public function cn_redirection() { echo '
'; } /** * Privacy policy link option. */ public function cn_see_more() { $pages = get_pages( array( 'sort_order' => 'ASC', 'sort_column' => 'post_title', 'hierarchical' => 0, 'child_of' => 0, 'parent' => -1, 'offset' => 0, 'post_type' => 'page', 'post_status' => 'publish' ) ); echo '

' . sprintf( __( 'Need a Cookie Policy? Generate one with iubenda.', 'cookie-notice' ), 'http://iubenda.refr.cc/MXRWXMP' ) . '

options['general']['see_more'] === 'no' ? ' style="display: none;"' : '') . '>

' . __( 'The text of the privacy policy button.', 'cookie-notice' ) . '

' . __( 'Select where to redirect user for more information about cookies.', 'cookie-notice' ) . '

options['general']['see_more_opt']['link_type'] === 'custom' ? ' style="display: none;"' : '') . '>

' . __( 'Select from one of your site\'s pages.', 'cookie-notice' ) . '

'; global $wp_version; if ( version_compare( $wp_version, '4.9.6', '>=' ) ) { echo ' '; } echo '
'; } /** * Link target option. */ public function cn_link_target() { echo '
'; } /** * Expiration time option. */ public function cn_time() { echo '

' . __( 'The amount of time that cookie should be stored for.', 'cookie-notice' ) . '

'; } /** * Script placement option. */ public function cn_script_placement() { echo '
'; foreach ( $this->script_placements as $value => $label ) { echo ' '; } echo '

' . __( 'Select where all the plugin scripts should be placed.', 'cookie-notice' ) . '

'; } /** * Position option. */ public function cn_position() { echo '
'; foreach ( $this->positions as $value => $label ) { $value = esc_attr( $value ); echo ' '; } echo '

' . __( 'Select location for your cookie notice.', 'cookie-notice' ) . '

'; } /** * Animation effect option. */ public function cn_hide_effect() { echo '
'; foreach ( $this->effects as $value => $label ) { $value = esc_attr( $value ); echo ' '; } echo '

' . __( 'Cookie notice acceptance animation.', 'cookie-notice' ) . '

'; } /** * On scroll option. */ public function cn_on_scroll() { echo '
options['general']['on_scroll'] === 'no' || $this->options['general']['on_scroll'] == false ? ' style="display: none;"' : '' ) . '> px

' . __( 'Number of pixels user has to scroll to accept the usage of the cookies and make the notification disappear.', 'cookie-notice' ) . '

'; } /** * CSS style option. */ public function cn_css_style() { echo '
'; foreach ( $this->styles as $value => $label ) { $value = esc_attr( $value ); echo ' '; } echo '

' . __( 'Choose buttons style.', 'cookie-notice' ) . '

'; } /** * CSS style option. */ public function cn_css_class() { echo '

' . __( 'Enter additional button CSS classes separated by spaces.', 'cookie-notice' ) . '

'; } /** * Colors option. */ public function cn_colors() { echo '
'; foreach ( $this->colors as $value => $label ) { $value = esc_attr( $value ); echo '

' . '
'; } echo '
'; } /** * Validate options. * * @param array $input * @return array */ public function validate_options( $input ) { if ( ! check_admin_referer( 'cookie_notice_options-options') ) return $input; if ( ! current_user_can( apply_filters( 'cn_manage_cookie_notice_cap', 'manage_options' ) ) ) return $input; if ( isset( $_POST['save_cookie_notice_options'] ) ) { // position $input['position'] = sanitize_text_field( isset( $input['position'] ) && in_array( $input['position'], array_keys( $this->positions ) ) ? $input['position'] : $this->defaults['general']['position'] ); // colors $input['colors']['text'] = sanitize_text_field( isset( $input['colors']['text'] ) && $input['colors']['text'] !== '' && preg_match( '/^#[a-f0-9]{6}$/', $input['colors']['text'] ) === 1 ? $input['colors']['text'] : $this->defaults['general']['colors']['text'] ); $input['colors']['bar'] = sanitize_text_field( isset( $input['colors']['bar'] ) && $input['colors']['bar'] !== '' && preg_match( '/^#[a-f0-9]{6}$/', $input['colors']['bar'] ) === 1 ? $input['colors']['bar'] : $this->defaults['general']['colors']['bar'] ); // texts $input['message_text'] = wp_kses_post( isset( $input['message_text'] ) && $input['message_text'] !== '' ? $input['message_text'] : $this->defaults['general']['message_text'] ); $input['accept_text'] = sanitize_text_field( isset( $input['accept_text'] ) && $input['accept_text'] !== '' ? $input['accept_text'] : $this->defaults['general']['accept_text'] ); $input['refuse_text'] = sanitize_text_field( isset( $input['refuse_text'] ) && $input['refuse_text'] !== '' ? $input['refuse_text'] : $this->defaults['general']['refuse_text'] ); $input['revoke_text'] = sanitize_text_field( isset( $input['revoke_text'] ) && $input['revoke_text'] !== '' ? $input['revoke_text'] : $this->defaults['general']['revoke_text'] ); $input['refuse_opt'] = (bool) isset( $input['refuse_opt'] ) ? 'yes' : 'no'; $input['revoke_cookies'] = isset( $input['revoke_cookies'] ); $input['revoke_cookies_opt'] = isset( $input['revoke_cookies_opt'] ) && array_key_exists( $input['revoke_cookies_opt'], $this->revoke_opts ) ? $input['revoke_cookies_opt'] : $this->defaults['general']['revoke_cookies_opt']; // get allowed HTML $allowed_html = $this->get_allowed_html(); // body refuse code $input['refuse_code'] = wp_kses( isset( $input['refuse_code'] ) && $input['refuse_code'] !== '' ? $input['refuse_code'] : $this->defaults['general']['refuse_code'], $allowed_html ); // head refuse code $input['refuse_code_head'] = wp_kses( isset( $input['refuse_code_head'] ) && $input['refuse_code_head'] !== '' ? $input['refuse_code_head'] : $this->defaults['general']['refuse_code_head'], $allowed_html ); // css button style $input['css_style'] = sanitize_text_field( isset( $input['css_style'] ) && in_array( $input['css_style'], array_keys( $this->styles ) ) ? $input['css_style'] : $this->defaults['general']['css_style'] ); // css button class $input['css_class'] = sanitize_text_field( isset( $input['css_class'] ) ? $input['css_class'] : $this->defaults['general']['css_class'] ); // link target $input['link_target'] = sanitize_text_field( isset( $input['link_target'] ) && in_array( $input['link_target'], array_keys( $this->link_target ) ) ? $input['link_target'] : $this->defaults['general']['link_target'] ); // time $input['time'] = sanitize_text_field( isset( $input['time'] ) && in_array( $input['time'], array_keys( $this->times ) ) ? $input['time'] : $this->defaults['general']['time'] ); // script placement $input['script_placement'] = sanitize_text_field( isset( $input['script_placement'] ) && in_array( $input['script_placement'], array_keys( $this->script_placements ) ) ? $input['script_placement'] : $this->defaults['general']['script_placement'] ); // hide effect $input['hide_effect'] = sanitize_text_field( isset( $input['hide_effect'] ) && in_array( $input['hide_effect'], array_keys( $this->effects ) ) ? $input['hide_effect'] : $this->defaults['general']['hide_effect'] ); // on scroll $input['on_scroll'] = (bool) isset( $input['on_scroll'] ) ? 'yes' : 'no'; // on scroll $input['redirection'] = isset( $input['redirection'] ); // on scroll offset $input['on_scroll_offset'] = absint( isset( $input['on_scroll_offset'] ) && $input['on_scroll_offset'] !== '' ? $input['on_scroll_offset'] : $this->defaults['general']['on_scroll_offset'] ); // deactivation $input['deactivation_delete'] = (bool) isset( $input['deactivation_delete'] ) ? 'yes' : 'no'; // privacy policy $input['see_more'] = (bool) isset( $input['see_more'] ) ? 'yes' : 'no'; $input['see_more_opt']['text'] = sanitize_text_field( isset( $input['see_more_opt']['text'] ) && $input['see_more_opt']['text'] !== '' ? $input['see_more_opt']['text'] : $this->defaults['general']['see_more_opt']['text'] ); $input['see_more_opt']['link_type'] = sanitize_text_field( isset( $input['see_more_opt']['link_type'] ) && in_array( $input['see_more_opt']['link_type'], array_keys( $this->links ) ) ? $input['see_more_opt']['link_type'] : $this->defaults['general']['see_more_opt']['link_type'] ); if ( $input['see_more_opt']['link_type'] === 'custom' ) $input['see_more_opt']['link'] = esc_url( $input['see_more'] === 'yes' ? $input['see_more_opt']['link'] : 'empty' ); elseif ( $input['see_more_opt']['link_type'] === 'page' ) { $input['see_more_opt']['id'] = ( $input['see_more'] === 'yes' ? (int) $input['see_more_opt']['id'] : 'empty' ); $input['see_more_opt']['sync'] = isset( $input['see_more_opt']['sync'] ); if ( $input['see_more_opt']['sync'] ) update_option( 'wp_page_for_privacy_policy', $input['see_more_opt']['id'] ); } $input['translate'] = false; // WPML >= 3.2 if ( defined( 'ICL_SITEPRESS_VERSION' ) && version_compare( ICL_SITEPRESS_VERSION, '3.2', '>=' ) ) { do_action( 'wpml_register_single_string', 'Cookie Notice', 'Message in the notice', $input['message_text'] ); do_action( 'wpml_register_single_string', 'Cookie Notice', 'Button text', $input['accept_text'] ); do_action( 'wpml_register_single_string', 'Cookie Notice', 'Refuse button text', $input['refuse_text'] ); do_action( 'wpml_register_single_string', 'Cookie Notice', 'Revoke button text', $input['revoke_text'] ); do_action( 'wpml_register_single_string', 'Cookie Notice', 'Privacy policy text', $input['see_more_opt']['text'] ); if ( $input['see_more_opt']['link_type'] === 'custom' ) do_action( 'wpml_register_single_string', 'Cookie Notice', 'Custom link', $input['see_more_opt']['link'] ); } } elseif ( isset( $_POST['reset_cookie_notice_options'] ) ) { $input = $this->defaults['general']; add_settings_error( 'reset_cookie_notice_options', 'reset_cookie_notice_options', __( 'Settings restored to defaults.', 'cookie-notice' ), 'updated' ); } return $input; } /** * Cookie notice output. * * @return mixed */ public function add_cookie_notice() { if ( ! $this->cookies_set() || $this->options['general']['refuse_opt'] === 'yes' ) { // WPML >= 3.2 if ( defined( 'ICL_SITEPRESS_VERSION' ) && version_compare( ICL_SITEPRESS_VERSION, '3.2', '>=' ) ) { $this->options['general']['message_text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['message_text'], 'Cookie Notice', 'Message in the notice' ); $this->options['general']['accept_text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['accept_text'], 'Cookie Notice', 'Button text' ); $this->options['general']['refuse_text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['refuse_text'], 'Cookie Notice', 'Refuse button text' ); $this->options['general']['revoke_text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['revoke_text'], 'Cookie Notice', 'Revoke button text' ); $this->options['general']['see_more_opt']['text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['see_more_opt']['text'], 'Cookie Notice', 'Privacy policy text' ); $this->options['general']['see_more_opt']['link'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['see_more_opt']['link'], 'Cookie Notice', 'Custom link' ); // WPML and Polylang compatibility } elseif ( function_exists( 'icl_t' ) ) { $this->options['general']['message_text'] = icl_t( 'Cookie Notice', 'Message in the notice', $this->options['general']['message_text'] ); $this->options['general']['accept_text'] = icl_t( 'Cookie Notice', 'Button text', $this->options['general']['accept_text'] ); $this->options['general']['refuse_text'] = icl_t( 'Cookie Notice', 'Refuse button text', $this->options['general']['refuse_text'] ); $this->options['general']['revoke_text'] = icl_t( 'Cookie Notice', 'Revoke button text', $this->options['general']['revoke_text'] ); $this->options['general']['see_more_opt']['text'] = icl_t( 'Cookie Notice', 'Privacy policy text', $this->options['general']['see_more_opt']['text'] ); $this->options['general']['see_more_opt']['link'] = icl_t( 'Cookie Notice', 'Custom link', $this->options['general']['see_more_opt']['link'] ); } if ( function_exists( 'icl_object_id' ) ) $this->options['general']['see_more_opt']['id'] = icl_object_id( $this->options['general']['see_more_opt']['id'], 'page', true ); // get cookie container args $options = apply_filters( 'cn_cookie_notice_args', array( 'position' => $this->options['general']['position'], 'css_style' => $this->options['general']['css_style'], 'css_class' => $this->options['general']['css_class'], 'button_class' => 'cn-button', 'colors' => $this->options['general']['colors'], 'message_text' => $this->options['general']['message_text'], 'accept_text' => $this->options['general']['accept_text'], 'refuse_text' => $this->options['general']['refuse_text'], 'revoke_text' => $this->options['general']['revoke_text'], 'refuse_opt' => $this->options['general']['refuse_opt'], 'see_more' => $this->options['general']['see_more'], 'see_more_opt' => $this->options['general']['see_more_opt'], 'link_target' => $this->options['general']['link_target'], ) ); $options['css_class'] = esc_attr( $options['css_class'] ); // message output $output = ' '; echo apply_filters( 'cn_cookie_notice_output', $output, $options ); } } /** * Check if cookies are accepted. * * @return bool */ public static function cookies_accepted() { return apply_filters( 'cn_is_cookie_accepted', isset( $_COOKIE['cookie_notice_accepted'] ) && $_COOKIE['cookie_notice_accepted'] === 'true' ); } /** * Check if cookies are set. * * @return boolean Whether cookies are set */ public function cookies_set() { return apply_filters( 'cn_is_cookie_set', isset( $_COOKIE['cookie_notice_accepted'] ) ); } /** * Get default settings. */ public function get_defaults() { return $this->defaults; } /** * Add links to support forum. * * @param array $links * @param string $file * @return array */ public function plugin_row_meta( $links, $file ) { if ( ! current_user_can( apply_filters( 'cn_manage_cookie_notice_cap', 'manage_options' ) ) ) return $links; if ( $file == plugin_basename( __FILE__ ) ) return array_merge( $links, array( sprintf( '%s', __( 'Support', 'cookie-notice' ) ) ) ); return $links; } /** * Add links to settings page. * * @param array $links * @param string $file * @return array */ public function plugin_action_links( $links, $file ) { if ( ! current_user_can( apply_filters( 'cn_manage_cookie_notice_cap', 'manage_options' ) ) ) return $links; if ( $file == plugin_basename( __FILE__ ) ) array_unshift( $links, sprintf( '%s', admin_url( 'options-general.php?page=cookie-notice' ), __( 'Settings', 'cookie-notice' ) ) ); return $links; } /** * Activate the plugin. */ public function activation() { add_option( 'cookie_notice_options', $this->defaults['general'], '', 'no' ); add_option( 'cookie_notice_version', $this->defaults['version'], '', 'no' ); } /** * Deactivate the plugin. */ public function deactivation() { if ( $this->options['general']['deactivation_delete'] === 'yes' ) delete_option( 'cookie_notice_options' ); } /** * Get allowed script blocking HTML. * * @return array */ public function get_allowed_html() { return apply_filters( 'cn_refuse_code_allowed_html', array_merge( wp_kses_allowed_html( 'post' ), array( 'script' => array( 'type' => array(), 'src' => array(), 'charset' => array(), 'async' => array() ), 'noscript' => array(), 'style' => array( 'type' => array() ), 'iframe' => array( 'src' => array(), 'height' => array(), 'width' => array(), 'frameborder' => array(), 'allowfullscreen' => array() ) ) ) ); } /** * Load scripts and styles - admin. */ public function admin_enqueue_scripts( $page ) { if ( $page !== 'settings_page_cookie-notice' ) return; wp_enqueue_script( 'cookie-notice-admin', plugins_url( 'js/admin' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.js', __FILE__ ), array( 'jquery', 'wp-color-picker' ), $this->defaults['version'] ); wp_localize_script( 'cookie-notice-admin', 'cnArgs', array( 'resetToDefaults' => __( 'Are you sure you want to reset these settings to defaults?', 'cookie-notice' ) ) ); wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_style( 'cookie-notice-admin', plugins_url( 'css/admin' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.css', __FILE__ ) ); } /** * Load scripts and styles - frontend. */ public function wp_enqueue_scripts() { wp_enqueue_script( 'cookie-notice-front', plugins_url( 'js/front' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], isset( $this->options['general']['script_placement'] ) && $this->options['general']['script_placement'] === 'footer' ? true : false ); wp_localize_script( 'cookie-notice-front', 'cnArgs', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'hideEffect' => $this->options['general']['hide_effect'], 'onScroll' => $this->options['general']['on_scroll'], 'onScrollOffset' => $this->options['general']['on_scroll_offset'], 'cookieName' => 'cookie_notice_accepted', 'cookieValue' => 'true', 'cookieTime' => $this->times[$this->options['general']['time']][1], 'cookiePath' => ( defined( 'COOKIEPATH' ) ? COOKIEPATH : '' ), 'cookieDomain' => ( defined( 'COOKIE_DOMAIN' ) ? COOKIE_DOMAIN : '' ), 'redirection' => $this->options['general']['redirection'], 'cache' => defined( 'WP_CACHE' ) && WP_CACHE, 'refuse' => $this->options['general']['refuse_opt'], 'revoke_cookies' => (int) $this->options['general']['revoke_cookies'], 'revoke_cookies_opt' => $this->options['general']['revoke_cookies_opt'], 'secure' => (int) is_ssl() ) ); wp_enqueue_style( 'cookie-notice-front', plugins_url( 'css/front' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.css', __FILE__ ) ); } /** * Print non functional JavaScript in body. * * @return mixed */ public function wp_print_footer_scripts() { if ( $this->cookies_accepted() ) { $scripts = apply_filters( 'cn_refuse_code_scripts_html', html_entity_decode( trim( wp_kses( $this->options['general']['refuse_code'], $this->get_allowed_html() ) ) ) ); if ( ! empty( $scripts ) ) echo $scripts; } } /** * Print non functional JavaScript in header. * * @return mixed */ public function wp_print_header_scripts() { if ( $this->cookies_accepted() ) { $scripts = apply_filters( 'cn_refuse_code_scripts_html', html_entity_decode( trim( wp_kses( $this->options['general']['refuse_code_head'], $this->get_allowed_html() ) ) ) ); if ( ! empty( $scripts ) ) echo $scripts; } } }eset options * Arg(0): null * Return: void */ public function options_reset() { $this->options_page('reset'); } /** function/method * Usage: show info options * Arg(0): null * Return: void */ public function options_info() { $this->options_page('info'); } public function kksr_admin_reset_ajax() { header('content-type: application/json; charset=utf-8'); check_ajax_referer($this->id); $Reset = $_POST['kksr_reset']; if(is_array($Reset)) { foreach($Reset as $id => $val) { if($val=='1') { delete_post_meta($id, '_kksr_ratings'); delete_post_meta($id, '_kksr_casts'); delete_post_meta($id, '_kksr_ips'); delete_post_meta($id, '_kksr_avg'); } } } $Response = array(); $Response['success'] = 'true'; echo json_encode($Response); die(); } public function extract_ratings($id) { $best = (int) parent::get_options('kksr_stars'); $score = get_post_meta($id, '_kksr_ratings', true) ? ((int) get_post_meta($id, '_kksr_ratings', true)) : 0; $votes = get_post_meta($id, '_kksr_casts', true) ? ((int) get_post_meta($id, '_kksr_casts', true)) : 0; $avg = $score && $votes ? round((float)(($score/$votes)*($best/5)), 1) : 0; $per = $score && $votes ? round((float)((($score/$votes)/5)*100), 2) : 0; return compact('best', 'score', 'votes', 'avg', 'per'); } public function ratings_as_legend($id, $ratings = null) { $ratings = $ratings ? $ratings : $this->extract_ratings($id); return apply_filters( 'kksr_legend', parent::get_options('kksr_legend'), $id, $ratings['best'], $ratings['score'], $ratings['votes'], $ratings['avg'], $ratings['per'] ); } public function kksr_ajax() { header('Content-type: application/json; charset=utf-8'); check_ajax_referer($this->id); $Response = array(); $total_stars = is_numeric(parent::get_options('kksr_stars')) ? parent::get_options('kksr_stars') : 5; $stars = is_numeric($_POST['stars']) && ((int)$_POST['stars']>0) && ((int)$_POST['stars']<=$total_stars) ? $_POST['stars']: 0; $ip = $_SERVER['REMOTE_ADDR']; $Ids = explode(',', $_POST['id']); foreach($Ids as $pid) : $ratings = get_post_meta($pid, '_kksr_ratings', true) ? get_post_meta($pid, '_kksr_ratings', true) : 0; $casts = get_post_meta($pid, '_kksr_casts', true) ? get_post_meta($pid, '_kksr_casts', true) : 0; if($stars==0 && $ratings==0) { $Response[$pid]['legend'] = parent::get_options('kksr_init_msg'); $Response[$pid]['disable'] = 'false'; $Response[$pid]['fuel'] = '0'; do_action('kksr_init', $pid, false, false); } else { $nratings = $ratings + ($stars/($total_stars/5)); $ncasts = $casts + ($stars>0); $avg = $nratings && $ncasts ? number_format((float)($nratings/$ncasts), 2, '.', '') : 0; $per = $nratings && $ncasts ? number_format((float)((($nratings/$ncasts)/5)*100), 2, '.', '') : 0; $Response[$pid]['disable'] = 'false'; if($stars) { $Ips = get_post_meta($pid, '_kksr_ips', true) ? unserialize(base64_decode(get_post_meta($pid, '_kksr_ips', true))) : array(); if(!in_array($ip, $Ips)) { $Ips[] = $ip; } $ips = base64_encode(serialize($Ips)); update_post_meta($pid, '_kksr_ratings', $nratings); update_post_meta($pid, '_kksr_casts', $ncasts); update_post_meta($pid, '_kksr_ips', $ips); update_post_meta($pid, '_kksr_avg', $avg); $Response[$pid]['disable'] = parent::get_options('kksr_unique') ? 'true' : 'false'; do_action('kksr_rate', $pid, $stars, $ip); } else { do_action('kksr_init', $pid, number_format((float)($avg*($total_stars/5)), 2, '.', '').'/'.$total_stars, $ncasts); } // $legend = parent::get_options('kksr_legend'); // $legend = str_replace('[total]', $ncasts, $legend); // $legend = str_replace('[avg]', number_format((float)($avg*($total_stars/5)), 2, '.', '').'/'.$total_stars, $legend); // $legend = str_replace('[s]', $ncasts==1?'':'s', $legend); // $Response[$pid]['legend'] = str_replace('[per]',$per.'%', $legend); // $Response[$pid]['legend'] = apply_filters('kksr_legend', parent::get_options('kksr_legend'), $pid); $Response[$pid]['meta'] = $this->extract_ratings($pid); $Response[$pid]['legend'] = $this->ratings_as_legend($pid, $Response[$pid]['meta']); $Response[$pid]['fuel'] = (float) $per; } $Response[$pid]['success'] = true; endforeach; echo json_encode($Response); die(); } protected function trim_csv_cb($value) { if(trim($value)!="") return true; return false; } protected function exclude_cat($id) { $excl_categories = parent::get_options('kksr_exclude_categories'); $Cat_ids = $excl_categories ? array_filter(array_map('trim', explode(",", $excl_categories)), array(&$this, 'trim_csv_cb')) : array(); $Post_cat_ids = wp_get_post_categories($id); $Intersection = array_intersect($Cat_ids, $Post_cat_ids); return count($Intersection); } public function markup($id=false) { $id = !$id ? get_the_ID() : $id; if($this->exclude_cat($id)) { return ''; } $disabled = false; if(get_post_meta($id, '_kksr_ips', true)) { $Ips = unserialize(base64_decode(get_post_meta($id, '_kksr_ips', true))); $ip = $_SERVER['REMOTE_ADDR']; if(in_array($ip, $Ips)) { $disabled = parent::get_options('kksr_unique') ? true : false; } } $pos = parent::get_options('kksr_position'); $markup = '
'; $total_stars = parent::get_options('kksr_stars'); for($ts = 1; $ts <= $total_stars; $ts++) { $markup .= ''; } $markup .='
'; $markup .= $this->ratings_as_legend($id); $markup .= '
'; $markup .= parent::get_options('kksr_clear') ? '
' : ''; return $markup; } public function manual($atts) { extract(shortcode_atts(array('id' => false), $atts)); if(!is_admin() && parent::get_options('kksr_enable')) { if( ((parent::get_options('kksr_show_in_home')) && (is_front_page() || is_home())) || ((parent::get_options('kksr_show_in_archives')) && (is_archive())) ) return $this->markup($id); else if(is_single() || is_page()) return $this->markup($id); } else { remove_shortcode('kkratings'); remove_shortcode('kkstarratings'); } return ''; } public function filter($content) { if(parent::get_options('kksr_enable')) : if( ((parent::get_options('kksr_show_in_home')) && (is_front_page() || is_home())) || ((parent::get_options('kksr_show_in_archives')) && (is_archive())) || ((parent::get_options('kksr_show_in_posts')) && (is_single())) || ((parent::get_options('kksr_show_in_pages')) && (is_page())) ) : remove_shortcode('kkratings'); remove_shortcode('kkstarratings'); $markup = $this->markup(); if (strpos($content, '[kkratings]') !== false || strpos($content, '[kkstarratings]') !== false ) { $markup = '
' . $markup . '
'; $content = str_replace('[kkratings]', $markup, $content); $content = str_replace('[kkstarratings]', $markup, $content); return $content; } switch(parent::get_options('kksr_position')) { case 'bottom-left' : case 'bottom-right' : return $content . $markup; default : return $markup . $content; } endif; endif; return $content; } public function kk_star_rating($pid=false) { if(parent::get_options('kksr_enable')) return $this->markup($pid); return ''; } public function kk_star_ratings_get($total=5, $cat=false) { global $wpdb; $table = $wpdb->prefix . 'postmeta'; $best = (int) parent::get_options('kksr_stars'); $q = "SELECT a.ID, a.post_title, ROUND(b.meta_value * %f, 1) AS 'ratings' FROM " . $wpdb->posts . " a, $table b, "; if(!$cat) { $query = $wpdb->prepare("$q $table c WHERE a.post_status='publish' AND a.ID=b.post_id AND a.ID=c.post_id AND b.meta_key='_kksr_avg' AND c.meta_key='_kksr_casts' ORDER BY CAST(b.meta_value AS UNSIGNED) DESC, CAST(c.meta_value AS UNSIGNED) DESC LIMIT %d", $best / 5, $total); $rated_posts = $wpdb->get_results($query); } else { $table2 = $wpdb->prefix . 'term_taxonomy'; $table3 = $wpdb->prefix . 'term_relationships'; $query = $wpdb->prepare("$q $table2 c, $table3 d, $table e WHERE c.term_taxonomy_id=d.term_taxonomy_id AND c.term_id=$cat AND d.object_id=a.ID AND a.post_status='publish' AND a.ID=b.post_id AND a.ID=e.post_id AND b.meta_key='_kksr_avg' AND e.meta_key='_kksr_casts' ORDER BY CAST(b.meta_value AS UNSIGNED) DESC, CAST(e.meta_value AS UNSIGNED) DESC LIMIT %d", $best / 5, $total); $rated_posts = $wpdb->get_results($query); } return $rated_posts; } public function add_column($Columns) { if(parent::get_options('kksr_column')) $Columns['kk_star_ratings'] = 'Ratings'; return $Columns; } public function add_row($Columns, $id) { if(! parent::get_options('kksr_column')) { return; } $row = 'No ratings'; $ratings = $this->extract_ratings($id); if ($ratings['score']) { $row = $this->sanitize_legend( parent::get_options('kksr_legend'), $id, $ratings['best'], $ratings['score'], $ratings['votes'], $ratings['avg'], $ratings['per'] ); } switch($Columns) { case 'kk_star_ratings' : echo $row; break; } } /** function/method * Usage: Allow sorting of columns * Arg(1): $Args (array) * Return: (array) */ public function sort_columns($Args) { $Args = array_merge($Args, array('kk_star_ratings' => 'kk_star_ratings') ); return wp_parse_args($Args); } /** function/method * Usage: Allow sorting of columns - helper * Arg(1): $Query (array) * Return: null */ public function sort_columns_helper($Query) { if(!is_admin()) { return; } $orderby = $Query->get( 'orderby'); if($orderby=='kk_star_ratings') { $Query->set('meta_key','_kksr_avg'); $Query->set('orderby','meta_value_num'); } } public function sanitize_legend($legend, $id, $best, $score, $votes, $avg, $per) { if(!$score) { return parent::get_options('kksr_init_msg'); } $leg = str_replace('[total]', ''.$votes.'', $legend); $leg = str_replace('[avg]', ''.$avg.'', $leg); $leg = str_replace('[per]', $per .'%', $leg); $leg = str_replace('[s]', $votes == 1 ? '' : 's', $leg); $leg = str_replace('[best]', $best, $leg); return $leg; } public function grs_legend($legend, $id, $best, $score, $votes, $avg, $per) { if(!parent::get_options('kksr_grs')) { return $legend; } $title = get_the_title($id); $snippet = '
'; $snippet .= '
' . $title . '
'; $snippet .= $legend; $snippet .= ' '; $snippet .= ' '; $snippet .= '
'; $snippet .= ' '; $snippet .= '
'; $snippet .= '
'; return $snippet; } } $kkStarRatings_obj = new BhittaniPlugin_kkStarRatings('bhittani_plugin_kksr', 'kk Star Ratings', '2.6.1'); // Setup register_activation_hook(__FILE__, array($kkStarRatings_obj, 'activate')); // Scripts add_action('wp_enqueue_scripts', array($kkStarRatings_obj, 'js')); add_action('wp_enqueue_scripts', array($kkStarRatings_obj, 'css')); add_action('wp_head', array($kkStarRatings_obj, 'css_custom')); add_action('admin_init', array($kkStarRatings_obj, 'admin_scripts')); // Menu add_action('admin_menu', array($kkStarRatings_obj, 'menu')); // AJAX add_action('wp_ajax_kksr_admin_reset_ajax', array($kkStarRatings_obj, 'kksr_admin_reset_ajax')); add_action('wp_ajax_kksr_ajax', array($kkStarRatings_obj, 'kksr_ajax')); add_action('wp_ajax_nopriv_kksr_ajax', array($kkStarRatings_obj, 'kksr_ajax')); // Main Hooks add_filter('the_content', array($kkStarRatings_obj, 'filter')); add_shortcode('kkratings', array($kkStarRatings_obj, 'manual')); add_shortcode('kkstarratings', array($kkStarRatings_obj, 'manual')); // Google Rich Snippets add_filter('kksr_legend', array($kkStarRatings_obj, 'sanitize_legend'), 10, 7); add_filter('kksr_legend', array($kkStarRatings_obj, 'grs_legend'), 10, 7); // Posts/Pages Column add_filter( 'manage_posts_columns', array($kkStarRatings_obj, 'add_column') ); add_filter( 'manage_pages_columns', array($kkStarRatings_obj, 'add_column') ); add_filter( 'manage_posts_custom_column', array($kkStarRatings_obj, 'add_row'), 10, 2 ); add_filter( 'manage_pages_custom_column', array($kkStarRatings_obj, 'add_row'), 10, 2 ); add_filter( 'manage_edit-post_sortable_columns', array($kkStarRatings_obj, 'sort_columns') ); add_filter( 'pre_get_posts', array($kkStarRatings_obj, 'sort_columns_helper') ); // For use in themes if(!function_exists('kk_star_ratings')) { function kk_star_ratings($pid=false) { global $kkStarRatings_obj; return $kkStarRatings_obj->kk_star_rating($pid); } } if(!function_exists('kk_star_ratings_get')) { function kk_star_ratings_get($lim=5, $cat=false) { global $kkStarRatings_obj; return $kkStarRatings_obj->kk_star_ratings_get($lim, $cat); } } require_once 'shortcode/shortcode.php'; require_once 'widget.php'; endif; "use strict";function _toConsumableArray(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);ne-1?e:n[t]},getComponent:function(){return this.$slots["default"][0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var n=this.getChildrenNodes();n[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),d=t.item},onDragAdd:function(t){var n=t.item._underlying_vm_;if(void 0!==n){e(t.item);var o=this.getVmIndex(t.newIndex);this.spliceList(o,0,n),this.computeIndexes();var i={element:n,newIndex:o};this.emitChanges({added:i})}},onDragRemove:function(t){if(o(this.rootContainer,t.item,t.oldIndex),this.isCloning)return void e(t.clone);var n=this.context.index;this.spliceList(n,1);var i={element:this.context.element,oldIndex:n};this.resetTransitionData(n),this.emitChanges({removed:i})},onDragUpdate:function(t){e(t.item),o(t.from,t.item,t.oldIndex);var n=this.context.index,i=this.getVmIndex(t.newIndex);this.updatePosition(n,i);var r={element:this.context.element,oldIndex:n,newIndex:i};this.emitChanges({moved:r})},computeFutureIndex:function(t,n){if(!t.element)return 0;var e=[].concat(_toConsumableArray(n.to.children)).filter(function(t){return"none"!==t.style.display}),o=e.indexOf(n.related),i=t.component.getVmIndex(o),r=e.indexOf(d)!=-1;return r||!n.willInsertAfter?i:i+1},onDragMove:function(t,n){var e=this.move;if(!e||!this.realList)return!0;var o=this.getRelatedContextFromMoveEvent(t),i=this.context,r=this.computeFutureIndex(o,t);return _extends(i,{futureIndex:r}),_extends(t,{relatedContext:o,draggedContext:i}),e(t,n)},onDragEnd:function(t){this.computeIndexes(),d=null}}};return h}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),(typeof exports == "object")){var e=require("sortablejs");module.exports=n(e)}else if("function"==typeof define&&define.amd)define(["sortablejs"],function(t){return n(t)});else if(window&&window.Vue&&window.Sortable){var o=n(window.Sortable);Vue.component("draggable",o)}}();le', 'disable-comments' ); if( $this->networkactive ) add_submenu_page( 'settings.php', $title, $title, 'manage_network_plugins', 'disable_comments_settings', array( $this, 'settings_page' ) ); else add_submenu_page( 'options-general.php', $title, $title, 'manage_options', 'disable_comments_settings', array( $this, 'settings_page' ) ); } public function settings_page() { include dirname( __FILE__ ) . '/includes/settings-page.php'; } public function tools_menu() { $title = __( 'Delete Comments', 'disable-comments' ); if( $this->networkactive ) add_submenu_page( 'settings.php', $title, $title, 'manage_network_plugins', 'disable_comments_tools', array( $this, 'tools_page' ) ); else add_submenu_page( 'tools.php', $title, $title, 'manage_options', 'disable_comments_tools', array( $this, 'tools_page' ) ); } public function tools_page() { include dirname( __FILE__ ) . '/includes/tools-page.php'; } private function enter_permanent_mode() { $types = $this->get_disabled_post_types(); if( empty( $types ) ) return; global $wpdb; if( $this->networkactive ) { // NOTE: this can be slow on large networks! $blogs = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs WHERE site_id = %d AND public = '1' AND archived = '0' AND deleted = '0'", $wpdb->siteid ) ); foreach ( $blogs as $id ) { switch_to_blog( $id ); $this->close_comments_in_db( $types ); restore_current_blog(); } } else { $this->close_comments_in_db( $types ); } } private function close_comments_in_db( $types ){ global $wpdb; $bits = implode( ', ', array_pad( array(), count( $types ), '%s' ) ); $wpdb->query( $wpdb->prepare( "UPDATE `$wpdb->posts` SET `comment_status` = 'closed', ping_status = 'closed' WHERE `post_type` IN ( $bits )", $types ) ); } private function persistent_mode_allowed() { if( defined( 'DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE' ) && DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE == false ) { return false; } } private function discussion_settings_allowed() { if( defined( 'DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS' ) && DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS == true ) { return true; } } public function single_site_deactivate() { // for single sites, delete the options upon deactivation, not uninstall delete_option( 'disable_comments_options' ); } } Disable_Comments::get_instance();