Version Description
- Fix: Hide widget on homepage option not working
- Tweak: Change default value of ad limitation to unlimited ads
- Tweak: Clean up code
Download this release
Release Info
Developer | ReneHermi |
Plugin | ![]() |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.4
- assets/css/quads-admin.css +66 -4
- assets/css/quads-admin.min.css +1 -1
- assets/images/remove-icon.png +0 -0
- assets/js/quads-admin.js +32 -18
- assets/js/quads-admin.min.js +32 -18
- includes/admin/admin-actions.php +2 -0
- includes/admin/admin-notices.php +62 -5
- includes/admin/admin-pages.php +2 -2
- includes/admin/settings/display-settings.php +5 -8
- includes/admin/settings/register-settings.php +1505 -1354
- includes/admin/tools.php +23 -2
- includes/admin/upgrades/upgrade-functions.php +102 -6
- includes/admin/welcome.php +1 -1
- includes/api.php +1 -1
- includes/{conditionals.php → conditions.php} +32 -6
- includes/render-ad-functions.php +50 -52
- includes/scripts.php +18 -13
- includes/shortcodes.php +5 -4
- includes/template-functions.php +60 -70
- includes/widgets.php +23 -22
- quick-adsense-reloaded.php +306 -295
- readme.txt +15 -2
- uninstall.php +26 -25
assets/css/quads-admin.css
CHANGED
@@ -362,6 +362,7 @@ li.quads-tabs {
|
|
362 |
-o-user-select: none;
|
363 |
user-select: none;
|
364 |
cursor: pointer !important;
|
|
|
365 |
}
|
366 |
|
367 |
.quads-ad-toggle-container{
|
@@ -412,9 +413,9 @@ li.quads-tabs {
|
|
412 |
width:150px;
|
413 |
}
|
414 |
|
415 |
-
|
416 |
max-width:100px;
|
417 |
-
|
418 |
|
419 |
.quads-size-input {
|
420 |
position: relative;
|
@@ -801,13 +802,74 @@ li.quads-tabs {
|
|
801 |
|
802 |
|
803 |
#quads-validate{
|
804 |
-
margin-top: -20px;
|
805 |
display: block;
|
806 |
margin-left: 2px;
|
807 |
margin-bottom: 20px;
|
808 |
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
809 |
}
|
810 |
|
811 |
#quads-submit-button{
|
812 |
z-index: 999999;
|
813 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
-o-user-select: none;
|
363 |
user-select: none;
|
364 |
cursor: pointer !important;
|
365 |
+
min-height: 20px;
|
366 |
}
|
367 |
|
368 |
.quads-ad-toggle-container{
|
413 |
width:150px;
|
414 |
}
|
415 |
|
416 |
+
/*.quads-select{
|
417 |
max-width:100px;
|
418 |
+
}*/
|
419 |
|
420 |
.quads-size-input {
|
421 |
position: relative;
|
802 |
|
803 |
|
804 |
#quads-validate{
|
|
|
805 |
display: block;
|
806 |
margin-left: 2px;
|
807 |
margin-bottom: 20px;
|
808 |
font-weight: bold;
|
809 |
+
clear: both;
|
810 |
+
}
|
811 |
+
|
812 |
+
@font-face {
|
813 |
+
font-family: 'quads';
|
814 |
+
src: url('data:application/octet-stream;base64,d09GRgABAAAAAAxYAA8AAAAAFUQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY+IEkBY21hcAAAAdgAAABQAAABfohD7KljdnQgAAACKAAAABMAAAAgBtX/BGZwZ20AAAI8AAAFkAAAC3CKkZBZZ2FzcAAAB8wAAAAIAAAACAAAABBnbHlmAAAH1AAAAdIAAAJWlz85pGhlYWQAAAmoAAAAMwAAADYNxZM1aGhlYQAACdwAAAAfAAAAJAc6A1BobXR4AAAJ/AAAAAwAAAAMClL//WxvY2EAAAoIAAAACAAAAAgAxAErbWF4cAAAChAAAAAgAAAAIAESDApuYW1lAAAKMAAAAXcAAALNzJ0dH3Bvc3QAAAuoAAAAMwAAAESFVFBUcHJlcAAAC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V3EvvgZqtdVREBpZG9Rlu9nqyOlWKqoocWPprk2odCr7cq4S48excjy13PPYD9axq/fhfp74Oo1UIltOc69GfuJr1/izXfV0E7SNmcu5Vks5tBlypdXC94wTGrPqNhp/z8MACitsoRHxqkIYSNRo65zbaKKFDmnKDMnMPCtCAhcxjYs1d4TZSsq4zzFnlND6zIjJDjx+l0d+TAq4P2YVfbR6GE9IuzOizEv25bC7w6wRKcky3czOfntPseFpbVrDXbsuddaVxPCghuR97NYWNB69k92Koe2iwfef//sB5m6EUQB4nGNgYoAALgbsgJmRiZGZkYWBu6QosThDNzW3oKSSpyCntFg3ObMoOSc1hYEBAI3CCXgAeJxj8N7BcCIoYiMjY1/kBsadHAwcDMkFGxlYnTYxMDJogRibuZgYOSAsPgYwi81pF9MBoDQnkM3utIvBAcJmZnDZqMLYERixwaEjYiNzistGNRBvF0cDAyOLQ0dySARISSQQbOZhYuTR2sH4v3UDS+9GJgYXAAx2I/QAAA==') format('woff'),
|
815 |
+
url('data:application/octet-stream;base64,AAEAAAAPAIAAAwBwR1NVQiCLJXoAAAD8AAAAVE9TLzI+IEkBAAABUAAAAFZjbWFwiEPsqQAAAagAAAF+Y3Z0IAbV/wQAAAksAAAAIGZwZ22KkZBZAAAJTAAAC3BnYXNwAAAAEAAACSQAAAAIZ2x5Zpc/OaQAAAMoAAACVmhlYWQNxZM1AAAFgAAAADZoaGVhBzoDUAAABbgAAAAkaG10eApS//0AAAXcAAAADGxvY2EAxAErAAAF6AAAAAhtYXhwARIMCgAABfAAAAAgbmFtZcydHR8AAAYQAAACzXBvc3SFVFBUAAAI4AAAAERwcmVw5UErvAAAFLwAAACGAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEDcQGQAAUAAAJ6ArwAAACMAnoCvAAAAeAAMQECAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAA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jIC5GsAIlRlJYIDxZLrErARQrLbA/LLA2K4ogIDywBCNCijgjIC5GsAIlRlJYIDxZLrErARQrsARDLrArKy2wQCywABawBCWwBCYgLkcjRyNhsAlDKyMgPCAuIzixKwEUKy2wQSyxCAQlQrAAFrAEJbAEJSAuRyNHI2EgsAQjQrAJQysgsGBQWCCwQFFYswIgAyAbswImAxpZQkIjIEewBEOwAmIgsABQWLBAYFlmsAFjYCCwASsgiophILACQ2BkI7ADQ2FkUFiwAkNhG7ADQ2BZsAMlsAJiILAAUFiwQGBZZrABY2GwAiVGYTgjIDwjOBshICBGI0ewASsjYTghWbErARQrLbBCLLA1Ky6xKwEUKy2wQyywNishIyAgPLAEI0IjOLErARQrsARDLrArKy2wRCywABUgR7AAI0KyAAEBFRQTLrAxKi2wRSywABUgR7AAI0KyAAEBFRQTLrAxKi2wRiyxAAEUE7AyKi2wRyywNCotsEgssAAWRSMgLiBGiiNhOLErARQrLbBJLLAII0KwSCstsEossgAAQSstsEsssgABQSstsEwssgEAQSstsE0ssgEBQSstsE4ssgAAQistsE8ssgABQistsFAssgEAQistsFEssgEBQistsFIssgAAPistsFMssgABPistsFQssgEAPistsFUssgEBPistsFYssgAAQCstsFcssgABQCstsFgssgEAQCstsFkssgEBQCstsFossgAAQystsFsssgABQystsFwssgEAQystsF0ssgEBQystsF4ssgAAPystsF8ssgABPystsGAssgEAPystsGEssgEBPystsGIssDcrLrErARQrLbBjLLA3K7A7Ky2wZCywNyuwPCstsGUssAAWsDcrsD0rLbBmLLA4Ky6xKwEUKy2wZyywOCuwOystsGgssDgrsDwrLbBpLLA4K7A9Ky2waiywOSsusSsBFCstsGsssDkrsDsrLbBsLLA5K7A8Ky2wbSywOSuwPSstsG4ssDorLrErARQrLbBvLLA6K7A7Ky2wcCywOiuwPCstsHEssDorsD0rLbByLLMJBAIDRVghGyMhWUIrsAhlsAMkUHiwARUwLQBLuADIUlixAQGOWbABuQgACABjcLEABUKyAAEAKrEABUKzCgIBCCqxAAVCsw4AAQgqsQAGQroCwAABAAkqsQAHQroAQAABAAkqsQMARLEkAYhRWLBAiFixA2REsSYBiFFYugiAAAEEQIhjVFixAwBEWVlZWbMMAgEMKrgB/4WwBI2xAgBEAAA=') format('truetype');
|
816 |
+
}
|
817 |
+
#quads-add-new-ad:before {
|
818 |
+
font-family: 'quads';
|
819 |
+
content: '\e801';
|
820 |
+
text-decoration: none;
|
821 |
+
margin-right:5px;
|
822 |
+
color: #383838;
|
823 |
+
}
|
824 |
+
|
825 |
+
#quads-add-new-ad{
|
826 |
+
margin-left: 3px;
|
827 |
+
margin-top: 5px;
|
828 |
+
display: block;
|
829 |
+
margin-bottom: 20px;
|
830 |
+
text-decoration: none;
|
831 |
+
font-size: 14px;
|
832 |
+
font-weight: 600;
|
833 |
+
color: #383838;
|
834 |
}
|
835 |
|
836 |
#quads-submit-button{
|
837 |
z-index: 999999;
|
838 |
+
}
|
839 |
+
|
840 |
+
p.submit{
|
841 |
+
float:left;
|
842 |
+
padding-top:0px;
|
843 |
+
padding-bottom:0px;
|
844 |
+
}
|
845 |
+
|
846 |
+
.quads-delete-ad{
|
847 |
+
clear:both;
|
848 |
+
display:block;
|
849 |
+
//background: url('../images/remove-icon.png');
|
850 |
+
//background-size: 20px 20px;
|
851 |
+
//background-repeat: no-repeat;
|
852 |
+
//height: 20px;
|
853 |
+
//padding-left:30px;
|
854 |
+
margin-right:5px;
|
855 |
+
font-size: 14px;
|
856 |
+
font-weight: 600;
|
857 |
+
text-decoration: none;
|
858 |
+
color: #383838;
|
859 |
+
}
|
860 |
+
.quads-delete-ad:before{
|
861 |
+
font-family: 'quads';
|
862 |
+
content: '\e800';
|
863 |
+
margin-right:5px;
|
864 |
+
color: #383838;
|
865 |
+
}
|
866 |
+
|
867 |
+
#backup-settings-textarea{
|
868 |
+
width: 580px;
|
869 |
+
height: 400px;
|
870 |
+
font-family: Menlo, Monaco, monospace;
|
871 |
+
background: none;
|
872 |
+
white-space: normal;
|
873 |
+
overflow: auto;
|
874 |
+
display: block;
|
875 |
+
}
|
assets/css/quads-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.quads-share-button-container{margin:5px 0}.quads-share-button-container p{margin:0 0 10px}.quads-share-button{display:inline-block}.quads-share-button a{text-decoration:none}.quads-share-button .quads-share{font-family:sans-serif;font-weight:700;text-decoration:none;text-align:center;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#FFF;display:inline;font-size:16px;width:40px;padding:4px 8px}.quads-share-button-twitter .quads-share{background-color:#00ABF0}.quads-share-button-facebook .quads-share{background-color:#3b5998}.quads-share-button-googleplus .quads-share{background-color:#F53424}.quads-share-button-facebook .share:active,.quads-share-button-googleplus .share:active,.quads-share-button-twitter .share:active{background-color:#353535}@media (max-width:925px){.quads-share-button .quads-share{font-size:15px;padding:8px 16px}}.quads-richeditor{font-size:11px}#quads-add-ons h2{margin:0 0 15px}#quads-add-ons .quadsshare-addons{float:left;margin:0 15px 15px 0;background:#f0f0f0;border:1px solid #ccc;width:320px;padding:8px;height:315px;position:relative}#quads-add-ons .quadsshare-addons h3{margin:0 0 8px;font-size:13px}#quads-add-ons .quadsshare-addons .button-secondary{position:absolute;bottom:8px;left:8px}#quads-add-ons .quadsshare-addons .third-party{display:none}#system-info-textarea{width:580px;height:400px;font-family:Menlo,Monaco,monospace;background:0 0;white-space:pre;overflow:auto;display:block}.quads-select-chosen{width:300px}input.large-text,textarea.large-text{max-width:600px}input.medium-text,textarea.medium-text{min-width:190px}#quads_tab_container ul{list-style:none;margin:0;padding:0;background:#fff;float:left}#quads_tab_container ul li:first-child.selected-tab{border-top:none}#quads_tab_container ul li a.selected-tab{font-weight:700;text-decoration:none}#quads_tab_container .quads-row{padding-top:12px;padding-bottom:12px}#quads_tab_container .quads-row label strong,#tab_container .quads-row strong{font-weight:700}.quads-tabs a{padding:5px;color:#a1a1a1;text-transform:uppercase}.quads-tabs a strong{font-weight:700}li.quads-tabs{float:left;margin-left:0;background-color:#e5e5e5}#quads_tab_container>ul>li.quads-tabs.active{background-color:#fff}#quads_tab_container>ul>li.quads-tabs.active a{color:#83c11f}#quads_tab_container .quads-panel-container{background:#FFF;padding:20px;overflow:auto;text-align:left;margin-bottom:10px;max-width:640px;float:left;clear:both}.form-table{margin-top:-20px}#quads_tab_container .form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;line-height:1.3;font-weight:700;font-size:14px;color:#484848;width:30%}#quads_tab_container .form-table tr{border-bottom:1px solid #E7E7E7}#quads_tab_container span.description{display:block;font-weight:400;font-style:normal;font-size:13px;margin-top:7px;color:#484848}#quads_tab_container .col-title{font-size:18px;color:#484848}@media only screen and (max-width:680px){#quads_tab_container ul{float:none;background:#fff}#quads_tab_container .form-table tr>th{width:100%}#quads_tab_container span.description{font-size:14px}#quads_tab_container .form-table tr>th,#tab_container .form-table tr>td{padding:10px}#quads_tab_container .quads-tabs a{text-align:left}#quads_tab_container li.quads-tabs{float:none;margin-left:0}}#quads_tab_container ul li.quads-tabs{margin-bottom:0}#quads_tab_container ul li.quads-tabs a{display:block;padding:10px;text-decoration:none;font-weight:700}#quads_tab_container ul li.quads-tabs a:hover{color:#383838}#quads_tab_container ul li.quads-tabs a.active{text-decoration:underline}#quads_tab_container table tbody tr:nth-child(1)>th>div{font-size:20px}#quadstabcontainer>.quadstabs{background-color:#fff}#quadstabcontainer ul .active{background-color:#00adef;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul .active:hover{background-color:#00A4E2;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul li a{padding:10px 14px;background-color:#f3f3f3}#quadstabcontainer .quadstab-container{border:0 solid #ececec}.quads-quote-docs{font-family:Courier New,Courier,Fixed;color:#050}.quads-desc{display:block;font-style:italic;padding-top:10px}.quads-postbox{padding:10px;position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;margin-bottom:20px}.nav-tab-active{background-color:#fff;border-bottom:0}#quads-add-ons{padding:20px}.quads-toggle{position:absolute;right:0;top:0}.quads-box-close .quads-close-open-icon{background-position:0 -38px}.quads-close-open-icon{width:38px;height:38px;background:url(../images/arrow-close.png) repeat-y #f4f4f4}.quads-ad-toggle-header{position:relative;background-color:#f4f4f4;margin-bottom:2px;padding:10px 10px 10px 15px;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none;cursor:pointer!important}.quads-ad-toggle-container{padding:20px;background-color:#f4f4f4}.quads-toogle-title{font-size:16px;font-weight:700}.adsense-size-title,.quads-advanced-description label{font-weight:600;font-size:12px;text-transform:uppercase;float:left}.quads-advanced-description label{width:215px}.quads-advanced-ad-box{clear:both;margin-top:20px;margin-bottom:20px}.adsense-size-title{margin-right:0;line-height:32px;margin-left:14px;min-width:100px}.quads-select-style-overwrite{border:1px solid #e6e6e6;width:150px;overflow:hidden;background:url(../images/box_arrow.png) 120px 0 repeat-y #fff;margin:0 0 5px}.quads-select-style-overwrite select{width:150px}.quads-select{max-width:100px}.quads-size-input{position:relative;top:-1px;width:110%;border:none;box-shadow:none;background:0 0;-webkit-appearance:none;font-family:'Open Sans',arial,sans-serif;color:#555;font-size:12px}.quads-pro-overlay{height:200px}.quads-license-error-notice,.quads-license-expires-soon-notice{background-color:#fff;padding:10px;overflow:auto;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);border:1px solid #ECECEC;border-radius:3px}.quads-license-error-notice a{color:#0097df;text-decoration:underline}.quads-license-error-notice{border-left:4px solid #dd3d36}.quads-license-expiration-date-notice,.quads-license-lifetime-notice,.quads-license-null{padding:0}.quads-license-expiration-date-notice .quads-license-data p,.quads-license-lifetime-notice .quads-license-data p{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}#quads_settingslicenses_header-nav{display:none}#quads_settingslicenses_header{max-width:640px}#quads_settingslicenses_header .quads-row.th{min-width:250px}.quads-notice{background:#fff;border-left:4px solid #46b450;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.quads_admin h2.nav-tab-wrapper{border:0}.quads_admin .nav-tab{border:0;text-transform:uppercase;color:#a1a1a1;font-weight:700}.quads-h1{margin-bottom:1.35rem;font-size:2.5em;line-height:3.68rem;letter-spacing:normal}.quads-h2{margin-top:0;margin-bottom:1.2rem;font-size:30px;line-height:2.5rem}.quads-heading-pro{color:#83c11f;font-weight:700}.quads-button.green{display:inline-block;background-color:#83c11f;padding:10px;min-width:170px;color:#fff;font-size:16px;text-decoration:none;text-align:center;margin-top:20px}#quads-add-ons .quads-footer{clear:both;margin-top:20px;font-style:italic}#quads-add-ons li{font-size:18px;line-height:29px;position:relative;padding-left:23px;list-style:none!important}#quads-add-ons li:before{width:1em;height:100%;background:url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left .4em no-repeat;background-size:contain;content:"";position:absolute;top:0;left:0;color:#77b227}.adsense_admin_header{font-size:14px;font-weight:500}#quads-adsense-bg-div{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.65);z-index:250000}#quads-adsense-container{text-align:center;width:480px;margin:85px auto 0;background-color:#fff;padding:2%;border-radius:2px}#quads-adsense-container h3{margin-top:0}#quads-adsense-container textarea,.quads-ad-toggle-container textarea{width:100%}.quads-ad-toggle-container input{margin-top:7px;margin-bottom:10px}.quads-adsense-code label,input{margin-right:2px}#quads_settings\5b ad2\5d \5b g_data_ad_client\5d{width:200px}.quads-ad-toggle-container label{display:inline-block;margin-right:2px;margin-top:-3px}.quads_adsense_code .quads-add-adsense{margin:20px 5px 20px 0}.quads-label-left{min-width:71px}#quads-label-Type{min-width:67px}.quads-medium-size{width:110px}#quads-msg{display:none;margin:5px;background-color:#c55c5c;color:#fff}.quads-loader,.quads-success-modal{display:block;position:fixed;top:45%;left:25%;width:200px;height:auto;padding:5px 20px;z-index:1002;overflow:auto}.quads-form-table{width:100%}.quads-left-box{width:45%;min-height:100px;float:left;line-height:35px;min-width:300px}@media screen and (max-width:700px){.adsense-size-title{margin-left:0}.quads-left-box{width:45%;min-height:100px;float:none;line-height:35px;min-width:300px}.quads-style img{max-width:50px}}.quads-general-helper,.quads-helper{background-color:#83c11f;width:15px;display:inline-block;top:4px;cursor:pointer}.adsense_admin_header ul li{margin-top:2px;margin-left:20px;list-style-type:square}.quads-helper{border-radius:50%;border:2px solid #fff;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-general-helper:after,.quads-helper:after{height:20px;font-family:sans-serif;content:"?";font-size:11px;font-weight:700;left:4px;position:absolute;color:#fff}.quads-helper:after{margin-top:-10px}.quads-general-helper:after{margin-top:-2px}.quads-general-helper{border-radius:50%;border:2px solid #fff;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-message{padding:10px;border:1px solid #FBFBFB;border-radius:2px;background-color:#F8F8F8;position:absolute;max-width:500px;z-index:9999;display:none;box-shadow:0 0 5px rgba(0,0,0,.2);font-weight:400;line-height:20px;text-transform:none;font-size:14px}#quads-pro-hover{background-color:#83c11f;padding:20px;min-width:150px;color:#fff;display:block;position:relative;margin-top:-100px;margin-left:50%}#quads-pro-hover-background{width:100%;height:100%;background:rgba(0,0,0,.6)}#quads-open-toggle{clear:both;float:left;margin-top:10px}#quads_settingsadsense_header input[type=number].small-text{width:55px}.quads_adsense_code input.quads-bggrey{background-color:#f5f5f5;color:#939393}.quads-amp-code{color:#939393;height:130px}.quads-chosen-select .chosen-choices li.search-field input{min-height:25px}#quads-validate{margin-top:-20px;display:block;margin-left:2px;margin-bottom:20px;font-weight:700}#quads-submit-button{z-index:999999}
|
1 |
+
.quads-share-button-container{margin:5px 0}.quads-share-button-container p{margin:0 0 10px}.quads-share-button{display:inline-block}.quads-share-button a{text-decoration:none}.quads-share-button .quads-share{font-family:sans-serif;font-weight:700;text-decoration:none;text-align:center;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#FFF;display:inline;font-size:16px;width:40px;padding:4px 8px}.quads-share-button-twitter .quads-share{background-color:#00ABF0}.quads-share-button-facebook .quads-share{background-color:#3b5998}.quads-share-button-googleplus .quads-share{background-color:#F53424}.quads-share-button-facebook .share:active,.quads-share-button-googleplus .share:active,.quads-share-button-twitter .share:active{background-color:#353535}@media (max-width:925px){.quads-share-button .quads-share{font-size:15px;padding:8px 16px}}.quads-richeditor{font-size:11px}#quads-add-ons h2{margin:0 0 15px}#quads-add-ons .quadsshare-addons{float:left;margin:0 15px 15px 0;background:#f0f0f0;border:1px solid #ccc;width:320px;padding:8px;height:315px;position:relative}#quads-add-ons .quadsshare-addons h3{margin:0 0 8px;font-size:13px}#quads-add-ons .quadsshare-addons .button-secondary{position:absolute;bottom:8px;left:8px}#quads-add-ons .quadsshare-addons .third-party{display:none}#system-info-textarea{width:580px;height:400px;font-family:Menlo,Monaco,monospace;background:0 0;white-space:pre;overflow:auto;display:block}.quads-select-chosen{width:300px}input.large-text,textarea.large-text{max-width:600px}input.medium-text,textarea.medium-text{min-width:190px}#quads_tab_container ul{list-style:none;margin:0;padding:0;background:#fff;float:left}#quads_tab_container ul li:first-child.selected-tab{border-top:none}#quads_tab_container ul li a.selected-tab{font-weight:700;text-decoration:none}#quads_tab_container .quads-row{padding-top:12px;padding-bottom:12px}#quads_tab_container .quads-row label strong,#tab_container .quads-row strong{font-weight:700}.quads-tabs a{padding:5px;color:#a1a1a1;text-transform:uppercase}.quads-tabs a strong{font-weight:700}li.quads-tabs{float:left;margin-left:0;background-color:#e5e5e5}#quads_tab_container>ul>li.quads-tabs.active{background-color:#fff}#quads_tab_container>ul>li.quads-tabs.active a{color:#83c11f}#quads_tab_container .quads-panel-container{background:#FFF;padding:20px;overflow:auto;text-align:left;margin-bottom:10px;max-width:640px;float:left;clear:both}.form-table{margin-top:-20px}#quads_tab_container .form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;line-height:1.3;font-weight:700;font-size:14px;color:#484848;width:30%}#quads_tab_container .form-table tr{border-bottom:1px solid #E7E7E7}#quads_tab_container span.description{display:block;font-weight:400;font-style:normal;font-size:13px;margin-top:7px;color:#484848}#quads_tab_container .col-title{font-size:18px;color:#484848}@media only screen and (max-width:680px){#quads_tab_container ul{float:none;background:#fff}#quads_tab_container .form-table tr>th{width:100%}#quads_tab_container span.description{font-size:14px}#quads_tab_container .form-table tr>th,#tab_container .form-table tr>td{padding:10px}#quads_tab_container .quads-tabs a{text-align:left}#quads_tab_container li.quads-tabs{float:none;margin-left:0}}#quads_tab_container ul li.quads-tabs{margin-bottom:0}#quads_tab_container ul li.quads-tabs a{display:block;padding:10px;text-decoration:none;font-weight:700}#quads_tab_container ul li.quads-tabs a:hover{color:#383838}#quads_tab_container ul li.quads-tabs a.active{text-decoration:underline}#quads_tab_container table tbody tr:nth-child(1)>th>div{font-size:20px}#quadstabcontainer>.quadstabs{background-color:#fff}#quadstabcontainer ul .active{background-color:#00adef;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul .active:hover{background-color:#00A4E2;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul li a{padding:10px 14px;background-color:#f3f3f3}#quadstabcontainer .quadstab-container{border:0 solid #ececec}.quads-quote-docs{font-family:Courier New,Courier,Fixed;color:#050}.quads-desc{display:block;font-style:italic;padding-top:10px}.quads-postbox{padding:10px;position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;margin-bottom:20px}.nav-tab-active{background-color:#fff;border-bottom:0}#quads-add-ons{padding:20px}.quads-toggle{position:absolute;right:0;top:0}.quads-box-close .quads-close-open-icon{background-position:0 -38px}.quads-close-open-icon{width:38px;height:38px;background:url(../images/arrow-close.png) repeat-y #f4f4f4}.quads-ad-toggle-header{position:relative;background-color:#f4f4f4;margin-bottom:2px;padding:10px 10px 10px 15px;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none;cursor:pointer!important;min-height:20px}.quads-ad-toggle-container{padding:20px;background-color:#f4f4f4}.quads-toogle-title{font-size:16px;font-weight:700}.adsense-size-title,.quads-advanced-description label{font-weight:600;font-size:12px;text-transform:uppercase;float:left}.quads-advanced-description label{width:215px}.quads-advanced-ad-box{clear:both;margin-top:20px;margin-bottom:20px}.adsense-size-title{margin-right:0;line-height:32px;margin-left:14px;min-width:100px}.quads-select-style-overwrite{border:1px solid #e6e6e6;width:150px;overflow:hidden;background:url(../images/box_arrow.png) 120px 0 repeat-y #fff;margin:0 0 5px}.quads-select-style-overwrite select{width:150px}.quads-size-input{position:relative;top:-1px;width:110%;border:none;box-shadow:none;background:0 0;-webkit-appearance:none;font-family:'Open Sans',arial,sans-serif;color:#555;font-size:12px}.quads-pro-overlay{height:200px}.quads-license-error-notice,.quads-license-expires-soon-notice{background-color:#fff;padding:10px;overflow:auto;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);border:1px solid #ECECEC;border-radius:3px}.quads-license-error-notice a{color:#0097df;text-decoration:underline}.quads-license-error-notice{border-left:4px solid #dd3d36}.quads-license-expiration-date-notice,.quads-license-lifetime-notice,.quads-license-null{padding:0}.quads-license-expiration-date-notice .quads-license-data p,.quads-license-lifetime-notice .quads-license-data p{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}#quads_settingslicenses_header-nav{display:none}#quads_settingslicenses_header{max-width:640px}#quads_settingslicenses_header .quads-row.th{min-width:250px}.quads-notice{background:#fff;border-left:4px solid #46b450;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.quads_admin h2.nav-tab-wrapper{border:0}.quads_admin .nav-tab{border:0;text-transform:uppercase;color:#a1a1a1;font-weight:700}.quads-h1{margin-bottom:1.35rem;font-size:2.5em;line-height:3.68rem;letter-spacing:normal}.quads-h2{margin-top:0;margin-bottom:1.2rem;font-size:30px;line-height:2.5rem}.quads-heading-pro{color:#83c11f;font-weight:700}.quads-button.green{display:inline-block;background-color:#83c11f;padding:10px;min-width:170px;color:#fff;font-size:16px;text-decoration:none;text-align:center;margin-top:20px}#quads-add-ons .quads-footer{clear:both;margin-top:20px;font-style:italic}#quads-add-ons li{font-size:18px;line-height:29px;position:relative;padding-left:23px;list-style:none!important}#quads-add-ons li:before{width:1em;height:100%;background:url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left .4em no-repeat;background-size:contain;content:"";position:absolute;top:0;left:0;color:#77b227}.adsense_admin_header{font-size:14px;font-weight:500}#quads-adsense-bg-div{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.65);z-index:250000}#quads-adsense-container{text-align:center;width:480px;margin:85px auto 0;background-color:#fff;padding:2%;border-radius:2px}#quads-adsense-container h3{margin-top:0}#quads-adsense-container textarea,.quads-ad-toggle-container textarea{width:100%}.quads-ad-toggle-container input{margin-top:7px;margin-bottom:10px}.quads-adsense-code label,input{margin-right:2px}#quads_settings\5b ad2\5d \5b g_data_ad_client\5d{width:200px}.quads-ad-toggle-container label{display:inline-block;margin-right:2px;margin-top:-3px}.quads_adsense_code .quads-add-adsense{margin:20px 5px 20px 0}.quads-label-left{min-width:71px}#quads-label-Type{min-width:67px}.quads-medium-size{width:110px}#quads-msg{display:none;margin:5px;background-color:#c55c5c;color:#fff}.quads-loader,.quads-success-modal{display:block;position:fixed;top:45%;left:25%;width:200px;height:auto;padding:5px 20px;z-index:1002;overflow:auto}.quads-form-table{width:100%}.quads-left-box{width:45%;min-height:100px;float:left;line-height:35px;min-width:300px}@media screen and (max-width:700px){.adsense-size-title{margin-left:0}.quads-left-box{width:45%;min-height:100px;float:none;line-height:35px;min-width:300px}.quads-style img{max-width:50px}}.quads-general-helper,.quads-helper{width:15px;display:inline-block;top:4px;cursor:pointer}.adsense_admin_header ul li{margin-top:2px;margin-left:20px;list-style-type:square}.quads-helper{border-radius:50%;border:2px solid #fff;background-color:#83c11f;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-general-helper:after,.quads-helper:after{height:20px;font-family:sans-serif;content:"?";font-size:11px;font-weight:700;left:4px;position:absolute;color:#fff}.quads-helper:after{margin-top:-10px}.quads-general-helper:after{margin-top:-2px}#quads-add-new-ad:before,.quads-delete-ad:before{font-family:quads;margin-right:5px}.quads-general-helper{border-radius:50%;border:2px solid #fff;background-color:#83c11f;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-message{padding:10px;border:1px solid #FBFBFB;border-radius:2px;background-color:#F8F8F8;position:absolute;max-width:500px;z-index:9999;display:none;box-shadow:0 0 5px rgba(0,0,0,.2);font-weight:400;line-height:20px;text-transform:none;font-size:14px}#quads-pro-hover{background-color:#83c11f;padding:20px;min-width:150px;color:#fff;display:block;position:relative;margin-top:-100px;margin-left:50%}#quads-pro-hover-background{width:100%;height:100%;background:rgba(0,0,0,.6)}#quads-open-toggle{clear:both;float:left;margin-top:10px}#quads_settingsadsense_header input[type=number].small-text{width:55px}.quads_adsense_code input.quads-bggrey{background-color:#f5f5f5;color:#939393}.quads-amp-code{color:#939393;height:130px}.quads-chosen-select .chosen-choices li.search-field input{min-height:25px}#quads-validate{display:block;margin-left:2px;margin-bottom:20px;font-weight:700;clear:both}#quads-add-new-ad,.quads-delete-ad{font-size:14px;font-weight:600;text-decoration:none;color:#383838;display:block}@font-face{font-family:quads;src:url(data:application/octet-stream;base64,d09GRgABAAAAAAxYAA8AAAAAFUQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY+IEkBY21hcAAAAdgAAABQAAABfohD7KljdnQgAAACKAAAABMAAAAgBtX/BGZwZ20AAAI8AAAFkAAAC3CKkZBZZ2FzcAAAB8wAAAAIAAAACAAAABBnbHlmAAAH1AAAAdIAAAJWlz85pGhlYWQAAAmoAAAAMwAAADYNxZM1aGhlYQAACdwAAAAfAAAAJAc6A1BobXR4AAAJ/AAAAAwAAAAMClL//WxvY2EAAAoIAAAACAAAAAgAxAErbWF4cAAAChAAAAAgAAAAIAESDApuYW1lAAAKMAAAAXcAAALNzJ0dH3Bvc3QAAAuoAAAAMwAAAESFVFBUcHJlcAAAC9wAAAB6AAAAhuVBK7x4nGNgZGBg4GIwYLBjYHJx8wlh4MtJLMljkGJgYYAAkDwymzEnMz2RgQPGA8qxgGkOIGaDiAIAJjsFSAB4nGNgZC5knMDAysDAVMW0h4GBoQdCMz5gMGRkAooysDIzYAUBaa4pDA4vGF4wMgf9z2KIYg5imAYUZgTJAQDj3AufAHic7ZCxDYAwDATPiaFAjEFBwTBU7F+yRfK2GYOX7qR/uTKwAF1cwsEejMit1XLvbLk7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7ADQ2BZsAMlsAJiILAAUFiwQGBZZrABY2GwAiVGYTgjIDwjOBshICBGI0ewASsjYTghWbErARQrLbBCLLA1Ky6xKwEUKy2wQyywNishIyAgPLAEI0IjOLErARQrsARDLrArKy2wRCywABUgR7AAI0KyAAEBFRQTLrAxKi2wRSywABUgR7AAI0KyAAEBFRQTLrAxKi2wRiyxAAEUE7AyKi2wRyywNCotsEgssAAWRSMgLiBGiiNhOLErARQrLbBJLLAII0KwSCstsEossgAAQSstsEsssgABQSstsEwssgEAQSstsE0ssgEBQSstsE4ssgAAQistsE8ssgABQistsFAssgEAQistsFEssgEBQistsFIssgAAPistsFMssgABPistsFQssgEAPistsFUssgEBPistsFYssgAAQCstsFcssgABQCstsFgssgEAQCstsFkssgEBQCstsFossgAAQystsFsssgABQystsFwssgEAQystsF0ssgEBQystsF4ssgAAPystsF8ssgABPystsGAssgEAPystsGEssgEBPystsGIssDcrLrErARQrLbBjLLA3K7A7Ky2wZCywNyuwPCstsGUssAAWsDcrsD0rLbBmLLA4Ky6xKwEUKy2wZyywOCuwOystsGgssDgrsDwrLbBpLLA4K7A9Ky2waiywOSsusSsBFCstsGsssDkrsDsrLbBsLLA5K7A8Ky2wbSywOSuwPSstsG4ssDorLrErARQrLbBvLLA6K7A7Ky2wcCywOiuwPCstsHEssDorsD0rLbByLLMJBAIDRVghGyMhWUIrsAhlsAMkUHiwARUwLQBLuADIUlixAQGOWbABuQgACABjcLEABUKyAAEAKrEABUKzCgIBCCqxAAVCsw4AAQgqsQAGQroCwAABAAkqsQAHQroAQAABAAkqsQMARLEkAYhRWLBAiFixA2REsSYBiFFYugiAAAEEQIhjVFixAwBEWVlZWbMMAgEMKrgB/4WwBI2xAgBEAAA=) format('truetype')}#quads-add-new-ad:before{content:'\e801';text-decoration:none;color:#383838}#quads-add-new-ad{margin-left:3px;margin-top:5px;margin-bottom:20px}#quads-submit-button{z-index:999999}p.submit{float:left;padding-top:0;padding-bottom:0}.quads-delete-ad{clear:both;//background:url(../images/remove-icon.png);//background-size:20px 20px;//background-repeat:no-repeat;//height:20px;//padding-left:30px;margin-right:5px}.quads-delete-ad:before{content:'\e800';color:#383838}#backup-settings-textarea{width:580px;height:400px;font-family:Menlo,Monaco,monospace;background:0 0;white-space:normal;overflow:auto;display:block}
|
assets/images/remove-icon.png
ADDED
Binary file
|
assets/js/quads-admin.js
CHANGED
@@ -3,7 +3,9 @@ var strict;
|
|
3 |
|
4 |
jQuery(document).ready(function ($) {
|
5 |
|
6 |
-
|
|
|
|
|
7 |
// Inactive select fields are greyed out
|
8 |
$('.quads-assign').each(function(e){
|
9 |
if (!$(this).prop('checked')){
|
@@ -21,6 +23,9 @@ jQuery(document).ready(function ($) {
|
|
21 |
}
|
22 |
});
|
23 |
|
|
|
|
|
|
|
24 |
// Check if submit button is visible than stick it to the bottom of the page
|
25 |
$(window).scroll(function() {
|
26 |
var elem = '#quads_tab_container .submit';
|
@@ -62,10 +67,7 @@ jQuery(document).ready(function ($) {
|
|
62 |
}
|
63 |
});
|
64 |
|
65 |
-
|
66 |
-
// $('.quads-amp-code').click(function(){
|
67 |
-
// $(this).val('');
|
68 |
-
// });
|
69 |
|
70 |
/**
|
71 |
* Toggle Button | Open All Ads
|
@@ -138,7 +140,10 @@ jQuery(document).ready(function ($) {
|
|
138 |
e.stopPropagation();
|
139 |
});
|
140 |
|
141 |
-
|
|
|
|
|
|
|
142 |
jQuery('#quads_settings').submit(function() {
|
143 |
|
144 |
// Check if ad name has been changed and prepare new data for saving
|
@@ -182,7 +187,9 @@ jQuery(document).ready(function ($) {
|
|
182 |
}
|
183 |
|
184 |
|
185 |
-
|
|
|
|
|
186 |
$(document).on('click', '#quads-paste-button', function () {
|
187 |
|
188 |
var content = $('#quads-adsense-form').val();
|
@@ -210,18 +217,19 @@ jQuery(document).ready(function ($) {
|
|
210 |
|
211 |
var id = containerID.replace("quads-toggle", "");
|
212 |
|
213 |
-
$('#quads_settings
|
214 |
-
$('#quads_settings
|
215 |
if ('normal' == GoogleAd.type) {
|
216 |
-
|
217 |
-
$('#quads_settings
|
218 |
-
$('#quads_settings
|
|
|
219 |
}
|
220 |
if ('responsive' == GoogleAd.type) {
|
221 |
-
$('#quads_settings
|
222 |
//$('#ad-resize-type').val('auto');
|
223 |
-
$('#quads_settings
|
224 |
-
$('#quads_settings
|
225 |
}
|
226 |
// Trigger the ad type select
|
227 |
$('.quads-select-Type').trigger('change');
|
@@ -506,11 +514,12 @@ jQuery(document).ready(function ($) {
|
|
506 |
/**
|
507 |
* Toggle the adsense container
|
508 |
*/
|
509 |
-
|
|
|
510 |
e.preventDefault();
|
511 |
|
512 |
var container = $('#' + $(this).data('box-id'));
|
513 |
-
|
514 |
container.toggle(0, function () {
|
515 |
if (container.parents('.quads-ad-toggle-header').hasClass('quads-box-close')) {
|
516 |
// open the box
|
@@ -572,7 +581,9 @@ jQuery(document).ready(function ($) {
|
|
572 |
}
|
573 |
|
574 |
|
575 |
-
|
|
|
|
|
576 |
if ($(".quads-tabs").length) {
|
577 |
$('#quads_tab_container').easytabs({
|
578 |
animate: true,
|
@@ -580,6 +591,9 @@ jQuery(document).ready(function ($) {
|
|
580 |
animationSpeed: 'fast'
|
581 |
});
|
582 |
}
|
|
|
|
|
|
|
583 |
|
584 |
}); // document ready
|
585 |
|
3 |
|
4 |
jQuery(document).ready(function ($) {
|
5 |
|
6 |
+
/**
|
7 |
+
* General Tab
|
8 |
+
*/
|
9 |
// Inactive select fields are greyed out
|
10 |
$('.quads-assign').each(function(e){
|
11 |
if (!$(this).prop('checked')){
|
23 |
}
|
24 |
});
|
25 |
|
26 |
+
/**
|
27 |
+
* AdSense Code Tab
|
28 |
+
*/
|
29 |
// Check if submit button is visible than stick it to the bottom of the page
|
30 |
$(window).scroll(function() {
|
31 |
var elem = '#quads_tab_container .submit';
|
67 |
}
|
68 |
});
|
69 |
|
70 |
+
|
|
|
|
|
|
|
71 |
|
72 |
/**
|
73 |
* Toggle Button | Open All Ads
|
140 |
e.stopPropagation();
|
141 |
});
|
142 |
|
143 |
+
/**
|
144 |
+
* Save settings via ajax
|
145 |
+
*/
|
146 |
+
|
147 |
jQuery('#quads_settings').submit(function() {
|
148 |
|
149 |
// Check if ad name has been changed and prepare new data for saving
|
187 |
}
|
188 |
|
189 |
|
190 |
+
/**
|
191 |
+
* Paste AdSense Code form
|
192 |
+
*/
|
193 |
$(document).on('click', '#quads-paste-button', function () {
|
194 |
|
195 |
var content = $('#quads-adsense-form').val();
|
217 |
|
218 |
var id = containerID.replace("quads-toggle", "");
|
219 |
|
220 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_slot\\]').val(GoogleAd.slotId);
|
221 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_client\\]').val(GoogleAd.pubId);
|
222 |
if ('normal' == GoogleAd.type) {
|
223 |
+
console.log($('#quads_settings\\[ads\\]\\[' + id + '\\]\\[adsense_type\\]'));
|
224 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[adsense_type\\]').val('normal');
|
225 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_width\\]').val(GoogleAd.width);
|
226 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_height\\]').val(GoogleAd.height);
|
227 |
}
|
228 |
if ('responsive' == GoogleAd.type) {
|
229 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[adsense_type\\]').val('responsive');
|
230 |
//$('#ad-resize-type').val('auto');
|
231 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_width\\]').val('');
|
232 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_height\\]').val('');
|
233 |
}
|
234 |
// Trigger the ad type select
|
235 |
$('.quads-select-Type').trigger('change');
|
514 |
/**
|
515 |
* Toggle the adsense container
|
516 |
*/
|
517 |
+
//$('.quads-ad-toggle-header').click(function (e) {
|
518 |
+
$('.quads-form-table').on('click', '.quads-ad-toggle-header', function(e) {
|
519 |
e.preventDefault();
|
520 |
|
521 |
var container = $('#' + $(this).data('box-id'));
|
522 |
+
//console.log(container);
|
523 |
container.toggle(0, function () {
|
524 |
if (container.parents('.quads-ad-toggle-header').hasClass('quads-box-close')) {
|
525 |
// open the box
|
581 |
}
|
582 |
|
583 |
|
584 |
+
/**
|
585 |
+
* Start easytabs()
|
586 |
+
*/
|
587 |
if ($(".quads-tabs").length) {
|
588 |
$('#quads_tab_container').easytabs({
|
589 |
animate: true,
|
591 |
animationSpeed: 'fast'
|
592 |
});
|
593 |
}
|
594 |
+
|
595 |
+
|
596 |
+
|
597 |
|
598 |
}); // document ready
|
599 |
|
assets/js/quads-admin.min.js
CHANGED
@@ -3,7 +3,9 @@ var strict;
|
|
3 |
|
4 |
jQuery(document).ready(function ($) {
|
5 |
|
6 |
-
|
|
|
|
|
7 |
// Inactive select fields are greyed out
|
8 |
$('.quads-assign').each(function(e){
|
9 |
if (!$(this).prop('checked')){
|
@@ -21,6 +23,9 @@ jQuery(document).ready(function ($) {
|
|
21 |
}
|
22 |
});
|
23 |
|
|
|
|
|
|
|
24 |
// Check if submit button is visible than stick it to the bottom of the page
|
25 |
$(window).scroll(function() {
|
26 |
var elem = '#quads_tab_container .submit';
|
@@ -62,10 +67,7 @@ jQuery(document).ready(function ($) {
|
|
62 |
}
|
63 |
});
|
64 |
|
65 |
-
|
66 |
-
// $('.quads-amp-code').click(function(){
|
67 |
-
// $(this).val('');
|
68 |
-
// });
|
69 |
|
70 |
/**
|
71 |
* Toggle Button | Open All Ads
|
@@ -138,7 +140,10 @@ jQuery(document).ready(function ($) {
|
|
138 |
e.stopPropagation();
|
139 |
});
|
140 |
|
141 |
-
|
|
|
|
|
|
|
142 |
jQuery('#quads_settings').submit(function() {
|
143 |
|
144 |
// Check if ad name has been changed and prepare new data for saving
|
@@ -182,7 +187,9 @@ jQuery(document).ready(function ($) {
|
|
182 |
}
|
183 |
|
184 |
|
185 |
-
|
|
|
|
|
186 |
$(document).on('click', '#quads-paste-button', function () {
|
187 |
|
188 |
var content = $('#quads-adsense-form').val();
|
@@ -210,18 +217,19 @@ jQuery(document).ready(function ($) {
|
|
210 |
|
211 |
var id = containerID.replace("quads-toggle", "");
|
212 |
|
213 |
-
$('#quads_settings
|
214 |
-
$('#quads_settings
|
215 |
if ('normal' == GoogleAd.type) {
|
216 |
-
|
217 |
-
$('#quads_settings
|
218 |
-
$('#quads_settings
|
|
|
219 |
}
|
220 |
if ('responsive' == GoogleAd.type) {
|
221 |
-
$('#quads_settings
|
222 |
//$('#ad-resize-type').val('auto');
|
223 |
-
$('#quads_settings
|
224 |
-
$('#quads_settings
|
225 |
}
|
226 |
// Trigger the ad type select
|
227 |
$('.quads-select-Type').trigger('change');
|
@@ -506,11 +514,12 @@ jQuery(document).ready(function ($) {
|
|
506 |
/**
|
507 |
* Toggle the adsense container
|
508 |
*/
|
509 |
-
|
|
|
510 |
e.preventDefault();
|
511 |
|
512 |
var container = $('#' + $(this).data('box-id'));
|
513 |
-
|
514 |
container.toggle(0, function () {
|
515 |
if (container.parents('.quads-ad-toggle-header').hasClass('quads-box-close')) {
|
516 |
// open the box
|
@@ -572,7 +581,9 @@ jQuery(document).ready(function ($) {
|
|
572 |
}
|
573 |
|
574 |
|
575 |
-
|
|
|
|
|
576 |
if ($(".quads-tabs").length) {
|
577 |
$('#quads_tab_container').easytabs({
|
578 |
animate: true,
|
@@ -580,6 +591,9 @@ jQuery(document).ready(function ($) {
|
|
580 |
animationSpeed: 'fast'
|
581 |
});
|
582 |
}
|
|
|
|
|
|
|
583 |
|
584 |
}); // document ready
|
585 |
|
3 |
|
4 |
jQuery(document).ready(function ($) {
|
5 |
|
6 |
+
/**
|
7 |
+
* General Tab
|
8 |
+
*/
|
9 |
// Inactive select fields are greyed out
|
10 |
$('.quads-assign').each(function(e){
|
11 |
if (!$(this).prop('checked')){
|
23 |
}
|
24 |
});
|
25 |
|
26 |
+
/**
|
27 |
+
* AdSense Code Tab
|
28 |
+
*/
|
29 |
// Check if submit button is visible than stick it to the bottom of the page
|
30 |
$(window).scroll(function() {
|
31 |
var elem = '#quads_tab_container .submit';
|
67 |
}
|
68 |
});
|
69 |
|
70 |
+
|
|
|
|
|
|
|
71 |
|
72 |
/**
|
73 |
* Toggle Button | Open All Ads
|
140 |
e.stopPropagation();
|
141 |
});
|
142 |
|
143 |
+
/**
|
144 |
+
* Save settings via ajax
|
145 |
+
*/
|
146 |
+
|
147 |
jQuery('#quads_settings').submit(function() {
|
148 |
|
149 |
// Check if ad name has been changed and prepare new data for saving
|
187 |
}
|
188 |
|
189 |
|
190 |
+
/**
|
191 |
+
* Paste AdSense Code form
|
192 |
+
*/
|
193 |
$(document).on('click', '#quads-paste-button', function () {
|
194 |
|
195 |
var content = $('#quads-adsense-form').val();
|
217 |
|
218 |
var id = containerID.replace("quads-toggle", "");
|
219 |
|
220 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_slot\\]').val(GoogleAd.slotId);
|
221 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_client\\]').val(GoogleAd.pubId);
|
222 |
if ('normal' == GoogleAd.type) {
|
223 |
+
console.log($('#quads_settings\\[ads\\]\\[' + id + '\\]\\[adsense_type\\]'));
|
224 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[adsense_type\\]').val('normal');
|
225 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_width\\]').val(GoogleAd.width);
|
226 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_height\\]').val(GoogleAd.height);
|
227 |
}
|
228 |
if ('responsive' == GoogleAd.type) {
|
229 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[adsense_type\\]').val('responsive');
|
230 |
//$('#ad-resize-type').val('auto');
|
231 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_width\\]').val('');
|
232 |
+
$('#quads_settings\\[ads\\]\\[' + id + '\\]\\[g_data_ad_height\\]').val('');
|
233 |
}
|
234 |
// Trigger the ad type select
|
235 |
$('.quads-select-Type').trigger('change');
|
514 |
/**
|
515 |
* Toggle the adsense container
|
516 |
*/
|
517 |
+
//$('.quads-ad-toggle-header').click(function (e) {
|
518 |
+
$('.quads-form-table').on('click', '.quads-ad-toggle-header', function(e) {
|
519 |
e.preventDefault();
|
520 |
|
521 |
var container = $('#' + $(this).data('box-id'));
|
522 |
+
//console.log(container);
|
523 |
container.toggle(0, function () {
|
524 |
if (container.parents('.quads-ad-toggle-header').hasClass('quads-box-close')) {
|
525 |
// open the box
|
581 |
}
|
582 |
|
583 |
|
584 |
+
/**
|
585 |
+
* Start easytabs()
|
586 |
+
*/
|
587 |
if ($(".quads-tabs").length) {
|
588 |
$('#quads_tab_container').easytabs({
|
589 |
animate: true,
|
591 |
animationSpeed: 'fast'
|
592 |
});
|
593 |
}
|
594 |
+
|
595 |
+
|
596 |
+
|
597 |
|
598 |
}); // document ready
|
599 |
|
includes/admin/admin-actions.php
CHANGED
@@ -39,3 +39,5 @@ function quads_close_upgrade_notice(){
|
|
39 |
}
|
40 |
add_action('quads_close_upgrade_notice', 'quads_close_upgrade_notice');
|
41 |
|
|
|
|
39 |
}
|
40 |
add_action('quads_close_upgrade_notice', 'quads_close_upgrade_notice');
|
41 |
|
42 |
+
|
43 |
+
|
includes/admin/admin-notices.php
CHANGED
@@ -29,6 +29,10 @@ function quads_admin_messages() {
|
|
29 |
quads_theme_notice();
|
30 |
|
31 |
quads_update_notice();
|
|
|
|
|
|
|
|
|
32 |
|
33 |
if( quads_is_admin_page() ) {
|
34 |
echo '<div class="notice notice-error" id="wpquads-adblock-notice" style="display:none;">' . sprintf( __( '<strong><p>Your ad blocker browser extension is removing WP QUADS ressources and is breaking this settings screen! Deactivate adblock for this website and you are good! WP QUADS is used on 40.000 websites and is into focus of the big adblocking companies. That\'s the downside of our success but nothing you need to worry about. </strong></p>', 'quick-adsense-reloaded' ), admin_url() . 'admin.php?page=quads-settings#quads_settingsgeneral_header' ) . '</div>';
|
@@ -43,14 +47,13 @@ function quads_admin_messages() {
|
|
43 |
}
|
44 |
|
45 |
if( !quads_is_post_type_activated() && quads_is_admin_page() ) {
|
46 |
-
echo '<div class="notice notice-warning">' . sprintf( __( '<strong>No ads are shown - No post
|
47 |
}
|
48 |
|
49 |
if( isset( $_GET['quads-action'] ) && $_GET['quads-action'] === 'validate' && quads_is_admin_page() && quads_is_any_ad_activated() && quads_is_post_type_activated() && quads_get_active_ads() > 0 ) {
|
50 |
echo '<div class="notice notice-success">' . sprintf( __( '<strong>No errors detected in WP QUADS settings.</strong> If ads are still not shown read the <a href="%s" target="_blank">troubleshooting guide</a>' ), 'http://wpquads.com/docs/adsense-ads-are-not-showing/?utm_source=plugin&utm_campaign=wpquads-settings&utm_medium=website&utm_term=toplink' ) . '</div>';
|
51 |
}
|
52 |
|
53 |
-
//quads_plugin_deactivated_notice();
|
54 |
|
55 |
$install_date = get_option( 'quads_install_date' );
|
56 |
$display_date = date( 'Y-m-d h:i:s' );
|
@@ -235,7 +238,7 @@ function quads_update_notice() {
|
|
235 |
return false;
|
236 |
}
|
237 |
|
238 |
-
if( (version_compare( QUADS_VERSION, '1.3.9', '>=' ) ) &&
|
239 |
$message = sprintf( __( '<strong>WP QUADS ' . QUADS_VERSION . ': </strong> Update WP QUADS PRO to get custom post type support from <a href="%s">General Settings</a>.', 'quick-adsense-reloaded' ), admin_url() . 'admin.php?page=quads-settings' );
|
240 |
$message .= '<br><br><a href="' . admin_url() . 'admin.php?page=quads-settings&quads-action=hide_update_notice" class="button-primary thankyou" target="_self" title="Close Notice" style="font-weight:bold;">Close Notice</a>';
|
241 |
?>
|
@@ -244,7 +247,7 @@ function quads_update_notice() {
|
|
244 |
</div> <?php
|
245 |
//update_option ('quads_show_update_notice', 'no');
|
246 |
} else
|
247 |
-
if( !
|
248 |
$message = sprintf( __( '<strong>WP QUADS ' . QUADS_VERSION . ': </strong> Install <a href="%1s" target="_blank">WP QUADS PRO</a> to get custom post type support in <a href="%2s">General Settings</a>.', 'quick-adsense-reloaded' ), 'http://wpquads.com?utm_campaign=admin_notice&utm_source=admin_notice&utm_medium=admin&utm_content=custom_post_type', admin_url() . 'admin.php?page=quads-settings' );
|
249 |
$message .= '<br><br><a href="' . admin_url() . 'admin.php?page=quads-settings&quads-action=hide_update_notice" class="button-primary thankyou" target="_self" title="Close Notice" style="font-weight:bold;">Close Notice</a>';
|
250 |
?>
|
@@ -255,6 +258,51 @@ function quads_update_notice() {
|
|
255 |
}
|
256 |
}
|
257 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
/**
|
259 |
* Hide Notice and update db option quads_hide_notice
|
260 |
*/
|
@@ -264,6 +312,15 @@ function quads_hide_notice() {
|
|
264 |
|
265 |
add_action( 'quads_hide_update_notice', 'quads_hide_notice', 10 );
|
266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
/**
|
268 |
* Check if any ad is activated and assigned in general settings
|
269 |
*
|
@@ -334,7 +391,7 @@ function quads_ads_empty() {
|
|
334 |
$check = array();
|
335 |
|
336 |
for ( $i = 1; $i <= 10; $i++ ) {
|
337 |
-
if( !empty( $quads_options['ad' . $i]['code'] ) ) {
|
338 |
$check[] = 'true';
|
339 |
}
|
340 |
}
|
29 |
quads_theme_notice();
|
30 |
|
31 |
quads_update_notice();
|
32 |
+
|
33 |
+
quads_update_notice_v2();
|
34 |
+
|
35 |
+
quads_update_notice_1_5_3();
|
36 |
|
37 |
if( quads_is_admin_page() ) {
|
38 |
echo '<div class="notice notice-error" id="wpquads-adblock-notice" style="display:none;">' . sprintf( __( '<strong><p>Your ad blocker browser extension is removing WP QUADS ressources and is breaking this settings screen! Deactivate adblock for this website and you are good! WP QUADS is used on 40.000 websites and is into focus of the big adblocking companies. That\'s the downside of our success but nothing you need to worry about. </strong></p>', 'quick-adsense-reloaded' ), admin_url() . 'admin.php?page=quads-settings#quads_settingsgeneral_header' ) . '</div>';
|
47 |
}
|
48 |
|
49 |
if( !quads_is_post_type_activated() && quads_is_admin_page() ) {
|
50 |
+
echo '<div class="notice notice-warning">' . sprintf( __( '<strong>No ads are shown - No post type chosen!</strong> You need to select at least 1 post type like <i>blog</i> or <i>page</i>. Fix this in <a href="%s">General Settings</a> or no ads are shown at all.', 'quick-adsense-reloaded' ), admin_url() . 'admin.php?page=quads-settings#quads_settingsgeneral_header' ) . '</div>';
|
51 |
}
|
52 |
|
53 |
if( isset( $_GET['quads-action'] ) && $_GET['quads-action'] === 'validate' && quads_is_admin_page() && quads_is_any_ad_activated() && quads_is_post_type_activated() && quads_get_active_ads() > 0 ) {
|
54 |
echo '<div class="notice notice-success">' . sprintf( __( '<strong>No errors detected in WP QUADS settings.</strong> If ads are still not shown read the <a href="%s" target="_blank">troubleshooting guide</a>' ), 'http://wpquads.com/docs/adsense-ads-are-not-showing/?utm_source=plugin&utm_campaign=wpquads-settings&utm_medium=website&utm_term=toplink' ) . '</div>';
|
55 |
}
|
56 |
|
|
|
57 |
|
58 |
$install_date = get_option( 'quads_install_date' );
|
59 |
$display_date = date( 'Y-m-d h:i:s' );
|
238 |
return false;
|
239 |
}
|
240 |
|
241 |
+
if( (version_compare( QUADS_VERSION, '1.3.9', '>=' ) ) && quads_is_pro_active() && (version_compare( QUADS_PRO_VERSION, '1.3.0', '<' ) ) ) {
|
242 |
$message = sprintf( __( '<strong>WP QUADS ' . QUADS_VERSION . ': </strong> Update WP QUADS PRO to get custom post type support from <a href="%s">General Settings</a>.', 'quick-adsense-reloaded' ), admin_url() . 'admin.php?page=quads-settings' );
|
243 |
$message .= '<br><br><a href="' . admin_url() . 'admin.php?page=quads-settings&quads-action=hide_update_notice" class="button-primary thankyou" target="_self" title="Close Notice" style="font-weight:bold;">Close Notice</a>';
|
244 |
?>
|
247 |
</div> <?php
|
248 |
//update_option ('quads_show_update_notice', 'no');
|
249 |
} else
|
250 |
+
if( !quads_is_extra() ) {
|
251 |
$message = sprintf( __( '<strong>WP QUADS ' . QUADS_VERSION . ': </strong> Install <a href="%1s" target="_blank">WP QUADS PRO</a> to get custom post type support in <a href="%2s">General Settings</a>.', 'quick-adsense-reloaded' ), 'http://wpquads.com?utm_campaign=admin_notice&utm_source=admin_notice&utm_medium=admin&utm_content=custom_post_type', admin_url() . 'admin.php?page=quads-settings' );
|
252 |
$message .= '<br><br><a href="' . admin_url() . 'admin.php?page=quads-settings&quads-action=hide_update_notice" class="button-primary thankyou" target="_self" title="Close Notice" style="font-weight:bold;">Close Notice</a>';
|
253 |
?>
|
258 |
}
|
259 |
}
|
260 |
|
261 |
+
/**
|
262 |
+
* Show upgrade notice if wp quads pro is lower than 1.3.6
|
263 |
+
* @return boolean
|
264 |
+
*/
|
265 |
+
function quads_update_notice_v2(){
|
266 |
+
|
267 |
+
if( quads_is_pro_active() && (version_compare( QUADS_PRO_VERSION, '1.3.6', '<' ) ) ) {
|
268 |
+
$message = sprintf( __( 'You need to update <strong>WP QUADS PRO to version 1.3.6</strong> or higher. Your version of <strong>WP QUADS Pro</strong> is '.QUADS_PRO_VERSION. '.<br>WP QUADS Pro '.QUADS_PRO_VERSION.' supports unlimited amount of ads. <br>Updating requires a valid <a href="%s" target="_new">license key</a>.', 'quick-adsense-reloaded' ), 'https://wpquads.com/#buy-wpquads?utm_source=plugin_notice&utm_medium=admin&utm_campaign=activate_license' );
|
269 |
+
?>
|
270 |
+
<div class="notice notice-error">
|
271 |
+
<p><?php echo $message; ?></p>
|
272 |
+
</div> <?php
|
273 |
+
}
|
274 |
+
}
|
275 |
+
|
276 |
+
/**
|
277 |
+
* Show upgrade notice after updating from 1.5.2 to 1.5.3 and higher
|
278 |
+
* @return boolean
|
279 |
+
*/
|
280 |
+
function quads_update_notice_1_5_3(){
|
281 |
+
|
282 |
+
// do not show anything
|
283 |
+
if( false !== get_option( 'quads_hide_update_notice_1_5_3' )) {
|
284 |
+
return false;
|
285 |
+
}
|
286 |
+
|
287 |
+
$previous_version = get_option('quads_version_upgraded_from');
|
288 |
+
|
289 |
+
//wp_die(QUADS_VERSION);
|
290 |
+
|
291 |
+
// Show update message if previous version was lower than 1.7 - This makes sure that the message is shown for future updates without complicated version number conditions
|
292 |
+
if( !empty($previous_version) && version_compare( QUADS_VERSION, '1.7.0', '<=' ) ) {
|
293 |
+
|
294 |
+
$message = sprintf( __( 'This is a huge update! The data structure of WP QUADS has been modified and improved for better performance and great new features. <br> For the case you\'d experience issues, we made a <a href="%1s" target="_self">backup of previous WP QUADS data</a>. So you can <a href="%2s" target="_new">switch back to the previous version</a> anytime. <br><br>Please <a href="%3s" target="_new">open first a support ticket</a> if you experience any issue.', 'quick-adsense-reloaded' ), admin_url() . '?page=quads-settings&tab=help', 'https://wpquads.com/docs/install-older-plugin-version/?utm_source=plugin_notice&utm_medium=admin&utm_campaign=install_older_version', 'https://wordpress.org/support/plugin/quick-adsense-reloaded' );
|
295 |
+
?>
|
296 |
+
<div class="notice notice-error">
|
297 |
+
<p><?php echo $message; ?></p>
|
298 |
+
<?php
|
299 |
+
echo '<p><a href="' . admin_url() . 'admin.php?page=quads-settings&quads-action=hide_update_notice_1_5_3" class="button-primary" target="_self" title="Close Notice" style="font-weight:bold;">' . __('Close Notice','quick-adsense-reloaded') . '</a>';
|
300 |
+
?>
|
301 |
+
</div> <?php
|
302 |
+
}
|
303 |
+
}
|
304 |
+
|
305 |
+
|
306 |
/**
|
307 |
* Hide Notice and update db option quads_hide_notice
|
308 |
*/
|
312 |
|
313 |
add_action( 'quads_hide_update_notice', 'quads_hide_notice', 10 );
|
314 |
|
315 |
+
/**
|
316 |
+
* Set option to hide admin notice 1.5.3
|
317 |
+
* @return boolean
|
318 |
+
*/
|
319 |
+
function quads_hide_notice_1_5_3(){
|
320 |
+
update_option('quads_hide_update_notice_1_5_3', '1');
|
321 |
+
}
|
322 |
+
add_action('quads_hide_update_notice_1_5_3', 'quads_hide_notice_1_5_3');
|
323 |
+
|
324 |
/**
|
325 |
* Check if any ad is activated and assigned in general settings
|
326 |
*
|
391 |
$check = array();
|
392 |
|
393 |
for ( $i = 1; $i <= 10; $i++ ) {
|
394 |
+
if( !empty( $quads_options['ads']['ad' . $i]['code'] ) ) {
|
395 |
$check[] = 'true';
|
396 |
}
|
397 |
}
|
includes/admin/admin-pages.php
CHANGED
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
24 |
function quads_add_options_link() {
|
25 |
global $quads_options, $quads_parent_page, $quads_add_ons_page, $quads_add_ons_page2, $quads_settings_page;
|
26 |
|
27 |
-
$label =
|
28 |
|
29 |
$create_settings = isset($quads_options['create_settings']) ? true : false;
|
30 |
if ($create_settings){
|
@@ -35,7 +35,7 @@ $wpquads_logo ="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVy
|
|
35 |
$quads_parent_page = add_menu_page( 'Quick AdSense Reloaded Settings', $label, 'manage_options', 'quads-settings', 'quads_options_page', 'data:image/svg+xml;base64,' . $wpquads_logo );
|
36 |
$quads_settings_page = add_submenu_page( 'quads-settings', __( 'Ad Settings', 'quick-adsense-reloaded' ), 'Ad Settings', 'manage_options', 'quads-settings', 'quads_options_page' );
|
37 |
|
38 |
-
if (!
|
39 |
$quads_add_ons_page = add_submenu_page( 'quads-settings', __( 'Get Add-On', 'quick-adsense-reloaded' ), 'Get WP QUADS PRO', 'manage_options', 'quads-addons', 'quads_add_ons_page' );
|
40 |
}
|
41 |
}
|
24 |
function quads_add_options_link() {
|
25 |
global $quads_options, $quads_parent_page, $quads_add_ons_page, $quads_add_ons_page2, $quads_settings_page;
|
26 |
|
27 |
+
$label = quads_is_extra() ? 'WP QUADS PRO' : 'WP QUADS';
|
28 |
|
29 |
$create_settings = isset($quads_options['create_settings']) ? true : false;
|
30 |
if ($create_settings){
|
35 |
$quads_parent_page = add_menu_page( 'Quick AdSense Reloaded Settings', $label, 'manage_options', 'quads-settings', 'quads_options_page', 'data:image/svg+xml;base64,' . $wpquads_logo );
|
36 |
$quads_settings_page = add_submenu_page( 'quads-settings', __( 'Ad Settings', 'quick-adsense-reloaded' ), 'Ad Settings', 'manage_options', 'quads-settings', 'quads_options_page' );
|
37 |
|
38 |
+
if (!quads_is_extra()){
|
39 |
$quads_add_ons_page = add_submenu_page( 'quads-settings', __( 'Get Add-On', 'quick-adsense-reloaded' ), 'Get WP QUADS PRO', 'manage_options', 'quads-addons', 'quads_add_ons_page' );
|
40 |
}
|
41 |
}
|
includes/admin/settings/display-settings.php
CHANGED
@@ -132,10 +132,7 @@ function quads_do_settings_fields($page, $section) {
|
|
132 |
|
133 |
echo '<tr><td>';
|
134 |
call_user_func($field['callback'], $field['args']);
|
135 |
-
echo
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
}
|
140 |
echo '</tbody></table>';
|
141 |
if ($header === true){
|
@@ -237,7 +234,7 @@ function quads_options_page() {
|
|
237 |
$other_attributes = array( 'id' => 'quads-submit-button' );
|
238 |
submit_button(null, 'primary', 'quads-save-settings' , true, $other_attributes );
|
239 |
?>
|
240 |
-
<a href="<?php echo admin_url() . '/admin.php?page=quads-settings&quads-action=validate'; ?> " id="quads-validate"><?php _e('Validate Settings','quick-adsense-reloaded')?></a>
|
241 |
<?php
|
242 |
}
|
243 |
?>
|
@@ -245,8 +242,8 @@ function quads_options_page() {
|
|
245 |
<?php
|
246 |
if ($active_tab !== 'addons' && $active_tab !== 'licenses'){
|
247 |
echo sprintf( __( '<strong>If you like this plugin please do us a BIG favor and give us a 5 star rating <a href="%s" target="_blank">here</a> . If you`re not happy, please open a <a href="%2s" target="_blank">support ticket</a>, so that we can sort it out. Thank you!</strong>', 'quick-adsense-reloaded' ),
|
248 |
-
|
249 |
-
|
250 |
);
|
251 |
echo '<p>' . sprintf( __( '<strong>Ads are not showing? Read the <a href="%s" target="_blank">troubleshooting guide</a> to find out how to resolve this issue.', 'quick-adsense-reloaded' ),
|
252 |
'http://wpquads.com/docs/adsense-ads-are-not-showing/?utm_source=plugin&utm_campaign=wpquads-settings&utm_medium=website&utm_term=bottomlink'
|
@@ -280,7 +277,7 @@ function quads_get_debug_messages(){
|
|
280 |
*/
|
281 |
function quads_get_advertising() {
|
282 |
|
283 |
-
if (
|
284 |
return '';
|
285 |
}
|
286 |
ob_start();
|
132 |
|
133 |
echo '<tr><td>';
|
134 |
call_user_func($field['callback'], $field['args']);
|
135 |
+
echo '</td></tr>';
|
|
|
|
|
|
|
136 |
}
|
137 |
echo '</tbody></table>';
|
138 |
if ($header === true){
|
234 |
$other_attributes = array( 'id' => 'quads-submit-button' );
|
235 |
submit_button(null, 'primary', 'quads-save-settings' , true, $other_attributes );
|
236 |
?>
|
237 |
+
<a href="<?php echo admin_url() . '/admin.php?page=quads-settings&quads-action=validate'; ?> " id="quads-validate"><?php _e('Validate Ad Settings','quick-adsense-reloaded')?></a>
|
238 |
<?php
|
239 |
}
|
240 |
?>
|
242 |
<?php
|
243 |
if ($active_tab !== 'addons' && $active_tab !== 'licenses'){
|
244 |
echo sprintf( __( '<strong>If you like this plugin please do us a BIG favor and give us a 5 star rating <a href="%s" target="_blank">here</a> . If you`re not happy, please open a <a href="%2s" target="_blank">support ticket</a>, so that we can sort it out. Thank you!</strong>', 'quick-adsense-reloaded' ),
|
245 |
+
'https://wordpress.org/support/plugin/quick-adsense-reloaded/reviews/#new-post',
|
246 |
+
'http://wpquads.com/support/'
|
247 |
);
|
248 |
echo '<p>' . sprintf( __( '<strong>Ads are not showing? Read the <a href="%s" target="_blank">troubleshooting guide</a> to find out how to resolve this issue.', 'quick-adsense-reloaded' ),
|
249 |
'http://wpquads.com/docs/adsense-ads-are-not-showing/?utm_source=plugin&utm_campaign=wpquads-settings&utm_medium=website&utm_term=bottomlink'
|
277 |
*/
|
278 |
function quads_get_advertising() {
|
279 |
|
280 |
+
if ( quads_is_extra() ){
|
281 |
return '';
|
282 |
}
|
283 |
ob_start();
|
includes/admin/settings/register-settings.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
4 |
* Register Settings
|
5 |
*
|
@@ -11,7 +10,7 @@
|
|
11 |
*/
|
12 |
// Exit if accessed directly
|
13 |
if( !defined( 'ABSPATH' ) )
|
14 |
-
|
15 |
|
16 |
/**
|
17 |
* Get an option
|
@@ -22,10 +21,10 @@ if( !defined( 'ABSPATH' ) )
|
|
22 |
* @return mixed
|
23 |
*/
|
24 |
function quads_get_option( $key = '', $default = false ) {
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
}
|
30 |
|
31 |
/**
|
@@ -37,23 +36,23 @@ function quads_get_option( $key = '', $default = false ) {
|
|
37 |
* @return array QUADS settings
|
38 |
*/
|
39 |
function quads_get_settings() {
|
40 |
-
|
41 |
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
|
52 |
-
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
}
|
58 |
|
59 |
/**
|
@@ -64,45 +63,44 @@ function quads_get_settings() {
|
|
64 |
*/
|
65 |
function quads_register_settings() {
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
register_setting( 'quads_settings', 'quads_settings', 'quads_settings_sanitize' );
|
106 |
}
|
107 |
|
108 |
add_action( 'admin_init', 'quads_register_settings' );
|
@@ -115,326 +113,336 @@ add_action( 'admin_init', 'quads_register_settings' );
|
|
115 |
*/
|
116 |
function quads_get_registered_settings() {
|
117 |
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
}
|
439 |
|
440 |
/**
|
@@ -442,7 +450,7 @@ function quads_get_registered_settings() {
|
|
442 |
* @return string empty one
|
443 |
*/
|
444 |
function quads_empty_callback() {
|
445 |
-
|
446 |
}
|
447 |
|
448 |
/**
|
@@ -458,60 +466,76 @@ function quads_empty_callback() {
|
|
458 |
* @return string $input Sanitized value
|
459 |
*/
|
460 |
function quads_settings_sanitize( $input = array() ) {
|
|
|
|
|
461 |
|
462 |
-
global $quads_options;
|
463 |
|
|
|
|
|
|
|
464 |
|
465 |
-
|
466 |
-
return $input;
|
467 |
-
}
|
468 |
|
469 |
-
|
|
|
470 |
|
471 |
-
|
472 |
-
|
|
|
|
|
|
|
473 |
|
474 |
-
|
475 |
-
|
|
|
|
|
|
|
|
|
476 |
|
477 |
-
|
478 |
-
|
|
|
|
|
|
|
479 |
|
480 |
-
|
481 |
-
|
|
|
|
|
|
|
|
|
|
|
482 |
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
|
|
487 |
|
488 |
-
// General filter
|
489 |
-
$input[$key] = apply_filters( 'quads_settings_sanitize', $value, $key );
|
490 |
-
}
|
491 |
|
492 |
-
|
493 |
-
|
494 |
-
foreach ( $settings[$tab] as $key => $value ) {
|
495 |
-
// settings used to have numeric keys, now they have keys that match the option ID. This ensures both methods work
|
496 |
-
if( is_numeric( $key ) ) {
|
497 |
-
$key = $value['id'];
|
498 |
-
}
|
499 |
-
|
500 |
-
if( empty( $input[$key] ) ) {
|
501 |
-
unset( $quads_options[$key] );
|
502 |
-
}
|
503 |
-
}
|
504 |
-
}
|
505 |
|
506 |
|
507 |
-
|
508 |
-
$output = array_merge( $quads_options, $input );
|
509 |
|
|
|
|
|
510 |
|
511 |
-
|
512 |
-
|
513 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
514 |
}
|
|
|
515 |
|
516 |
/**
|
517 |
* Sanitize text fields
|
@@ -521,9 +545,8 @@ function quads_settings_sanitize( $input = array() ) {
|
|
521 |
* @return string $input Sanitizied value
|
522 |
*/
|
523 |
function quads_sanitize_text_field( $input ) {
|
524 |
-
|
525 |
}
|
526 |
-
|
527 |
add_filter( 'quads_settings_sanitize_text', 'quads_sanitize_text_field' );
|
528 |
|
529 |
/**
|
@@ -535,37 +558,37 @@ add_filter( 'quads_settings_sanitize_text', 'quads_sanitize_text_field' );
|
|
535 |
*/
|
536 |
function quads_get_settings_tabs() {
|
537 |
|
538 |
-
|
539 |
|
540 |
-
|
541 |
-
|
542 |
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
|
555 |
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
|
560 |
-
|
561 |
|
562 |
-
|
563 |
|
564 |
-
|
565 |
|
566 |
-
|
567 |
|
568 |
-
|
569 |
}
|
570 |
|
571 |
/**
|
@@ -578,11 +601,11 @@ function quads_get_settings_tabs() {
|
|
578 |
* @return void
|
579 |
*/
|
580 |
function quads_header_callback( $args ) {
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
}
|
587 |
|
588 |
/**
|
@@ -596,14 +619,15 @@ function quads_header_callback( $args ) {
|
|
596 |
* @return void
|
597 |
*/
|
598 |
function quads_checkbox_callback( $args ) {
|
599 |
-
|
600 |
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
|
605 |
-
|
606 |
}
|
|
|
607 |
/**
|
608 |
* Checkbox Callback
|
609 |
*
|
@@ -615,13 +639,13 @@ function quads_checkbox_callback( $args ) {
|
|
615 |
* @return void
|
616 |
*/
|
617 |
function quads_checkbox_adsense_callback( $args ) {
|
618 |
-
|
619 |
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
|
624 |
-
|
625 |
}
|
626 |
|
627 |
/**
|
@@ -635,20 +659,20 @@ function quads_checkbox_adsense_callback( $args ) {
|
|
635 |
* @return void
|
636 |
*/
|
637 |
function quads_multicheck_callback( $args ) {
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
}
|
653 |
|
654 |
/**
|
@@ -662,21 +686,21 @@ function quads_multicheck_callback( $args ) {
|
|
662 |
* @return void
|
663 |
*/
|
664 |
function quads_radio_callback( $args ) {
|
665 |
-
|
666 |
|
667 |
-
|
668 |
-
|
669 |
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
|
679 |
-
|
680 |
}
|
681 |
|
682 |
/**
|
@@ -692,21 +716,21 @@ function quads_radio_callback( $args ) {
|
|
692 |
* @return void
|
693 |
*/
|
694 |
function quads_adtype_callback( $id, $args ) {
|
695 |
-
|
696 |
|
697 |
-
|
698 |
-
|
699 |
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
|
709 |
-
|
710 |
}
|
711 |
|
712 |
/**
|
@@ -722,25 +746,25 @@ function quads_adtype_callback( $id, $args ) {
|
|
722 |
* @return void
|
723 |
*/
|
724 |
function quads_adposition_callback( $id, $args ) {
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
}
|
745 |
|
746 |
/**
|
@@ -753,19 +777,19 @@ function quads_adposition_callback( $id, $args ) {
|
|
753 |
* @global $quads_options Array of all the QUADS Options
|
754 |
* @return void
|
755 |
*/
|
756 |
-
function quads_gateways_callback( $args ) {
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
|
770 |
/**
|
771 |
* Text Callback
|
@@ -778,18 +802,18 @@ function quads_gateways_callback( $args ) {
|
|
778 |
* @return void
|
779 |
*/
|
780 |
function quads_text_callback( $args ) {
|
781 |
-
|
782 |
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
|
792 |
-
|
793 |
}
|
794 |
|
795 |
/**
|
@@ -803,22 +827,22 @@ function quads_text_callback( $args ) {
|
|
803 |
* @return void
|
804 |
*/
|
805 |
function quads_number_callback( $args ) {
|
806 |
-
|
807 |
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
|
821 |
-
|
822 |
}
|
823 |
|
824 |
/**
|
@@ -832,21 +856,20 @@ function quads_number_callback( $args ) {
|
|
832 |
* @return void
|
833 |
*/
|
834 |
function quads_textarea_callback( $args ) {
|
835 |
-
|
836 |
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
|
846 |
-
|
847 |
}
|
848 |
|
849 |
-
|
850 |
/**
|
851 |
* Password Callback
|
852 |
*
|
@@ -858,18 +881,18 @@ function quads_textarea_callback( $args ) {
|
|
858 |
* @return void
|
859 |
*/
|
860 |
function quads_password_callback( $args ) {
|
861 |
-
|
862 |
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
|
872 |
-
|
873 |
}
|
874 |
|
875 |
/**
|
@@ -882,7 +905,7 @@ function quads_password_callback( $args ) {
|
|
882 |
* @return void
|
883 |
*/
|
884 |
function quads_missing_callback( $args ) {
|
885 |
-
|
886 |
}
|
887 |
|
888 |
/**
|
@@ -896,26 +919,27 @@ function quads_missing_callback( $args ) {
|
|
896 |
* @return void
|
897 |
*/
|
898 |
function quads_select_callback( $args ) {
|
899 |
-
|
900 |
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
|
906 |
-
|
907 |
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
|
917 |
-
|
918 |
}
|
|
|
919 |
/**
|
920 |
* AdSense Type Select Callback
|
921 |
*
|
@@ -928,25 +952,26 @@ function quads_select_callback( $args ) {
|
|
928 |
* @return void
|
929 |
*/
|
930 |
function quads_adense_select_callback( $id, $args ) {
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
|
|
950 |
}
|
951 |
|
952 |
/**
|
@@ -960,19 +985,19 @@ function quads_adense_select_callback( $id, $args ) {
|
|
960 |
* @return void
|
961 |
*/
|
962 |
function quads_color_select_callback( $args ) {
|
963 |
-
|
964 |
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
|
970 |
-
|
971 |
|
972 |
-
|
973 |
-
|
974 |
|
975 |
-
|
976 |
}
|
977 |
|
978 |
/**
|
@@ -986,23 +1011,23 @@ function quads_color_select_callback( $args ) {
|
|
986 |
* @global $wp_version WordPress Version
|
987 |
*/
|
988 |
function quads_rich_editor_callback( $args ) {
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
}
|
1007 |
|
1008 |
/**
|
@@ -1016,19 +1041,32 @@ function quads_rich_editor_callback( $args ) {
|
|
1016 |
* @return void
|
1017 |
*/
|
1018 |
function quads_upload_callback( $args ) {
|
1019 |
-
|
|
|
|
|
|
|
|
|
|
|
1020 |
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
|
|
|
|
|
|
1025 |
|
1026 |
-
$size = ( isset( $args['size'] ) && !is_null( $args['size'] ) ) ? $args['size'] : 'regular';
|
1027 |
-
$html = '<input type="text" class="' . $size . '-text quads_upload_field" id="quads_settings[' . $args['id'] . ']" name="quads_settings[' . $args['id'] . ']" value="' . esc_attr( stripslashes( $value ) ) . '"/>';
|
1028 |
-
$html .= '<span> <input type="button" class="quads_settings_upload_button button-secondary" value="' . __( 'Upload File', 'quick-adsense-reloaded' ) . '"/></span>';
|
1029 |
-
$html .= '<label class="quads_hidden" for="quads_settings[' . $args['id'] . ']"> ' . $args['desc'] . '</label>';
|
1030 |
|
1031 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1032 |
}
|
1033 |
|
1034 |
/**
|
@@ -1042,20 +1080,20 @@ function quads_upload_callback( $args ) {
|
|
1042 |
* @return void
|
1043 |
*/
|
1044 |
function quads_color_callback( $args ) {
|
1045 |
-
|
1046 |
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
|
1052 |
-
|
1053 |
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
|
1058 |
-
|
1059 |
}
|
1060 |
|
1061 |
/**
|
@@ -1068,146 +1106,146 @@ function quads_color_callback( $args ) {
|
|
1068 |
*/
|
1069 |
if( !function_exists( 'quads_license_key_callback' ) ) {
|
1070 |
|
1071 |
-
|
1072 |
-
|
1073 |
|
1074 |
-
|
1075 |
|
1076 |
-
|
1077 |
-
|
1078 |
|
1079 |
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
|
1086 |
-
|
1087 |
|
1088 |
-
|
1089 |
-
|
1090 |
|
1091 |
-
|
1092 |
|
1093 |
-
|
1094 |
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
|
1100 |
-
|
1101 |
|
1102 |
-
|
1103 |
|
1104 |
-
|
1105 |
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
|
1111 |
-
|
1112 |
|
1113 |
-
|
1114 |
|
1115 |
-
|
1116 |
-
|
1117 |
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
|
1123 |
-
|
1124 |
|
1125 |
-
|
1126 |
|
1127 |
-
|
1128 |
|
1129 |
-
|
1130 |
-
|
1131 |
|
1132 |
-
|
1133 |
|
1134 |
-
|
1135 |
|
1136 |
-
|
1137 |
|
1138 |
-
|
1139 |
-
|
1140 |
|
1141 |
-
|
1142 |
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
|
1147 |
-
|
1148 |
|
1149 |
-
|
1150 |
-
|
1151 |
|
1152 |
-
|
1153 |
|
1154 |
-
|
1155 |
-
|
1156 |
|
1157 |
-
|
1158 |
|
1159 |
-
|
1160 |
|
1161 |
-
|
1162 |
-
|
1163 |
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
|
1168 |
-
|
1169 |
-
|
1170 |
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
|
1175 |
-
|
1176 |
-
|
1177 |
|
1178 |
-
|
1179 |
-
}
|
1180 |
}
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
|
|
1184 |
|
1185 |
-
|
1186 |
-
|
1187 |
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
|
1192 |
-
|
1193 |
|
1194 |
-
|
1195 |
-
|
1196 |
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
|
1203 |
-
|
1204 |
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
|
1212 |
}
|
1213 |
|
@@ -1219,8 +1257,8 @@ if( !function_exists( 'quads_license_key_callback' ) ) {
|
|
1219 |
* @return html
|
1220 |
*/
|
1221 |
function quads_addons_callback( $args ) {
|
1222 |
-
|
1223 |
-
|
1224 |
}
|
1225 |
|
1226 |
/**
|
@@ -1231,9 +1269,9 @@ function quads_addons_callback( $args ) {
|
|
1231 |
* @return html
|
1232 |
*/
|
1233 |
function quads_imexport_callback( $args ) {
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
}
|
1238 |
|
1239 |
/**
|
@@ -1244,8 +1282,8 @@ function quads_imexport_callback( $args ) {
|
|
1244 |
* @return html
|
1245 |
*/
|
1246 |
function quads_systeminfo_callback( $args ) {
|
1247 |
-
|
1248 |
-
|
1249 |
}
|
1250 |
|
1251 |
/**
|
@@ -1257,53 +1295,23 @@ function quads_systeminfo_callback( $args ) {
|
|
1257 |
* @return void
|
1258 |
*/
|
1259 |
function quads_upload_image_callback( $args ) {
|
1260 |
-
|
1261 |
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
|
1267 |
-
|
1268 |
-
|
1269 |
|
1270 |
-
|
1271 |
|
1272 |
-
|
1273 |
|
1274 |
-
|
1275 |
}
|
1276 |
|
1277 |
-
/*
|
1278 |
-
* Post Types Callback
|
1279 |
-
*
|
1280 |
-
* Adds a multiple choice drop box
|
1281 |
-
* for selecting where WPQUADS should be enabled
|
1282 |
-
*
|
1283 |
-
* @since 2.0.9
|
1284 |
-
* @param array $args Arguments passed by the setting
|
1285 |
-
* @return void
|
1286 |
-
*
|
1287 |
-
*/
|
1288 |
-
|
1289 |
-
//function quads_posttypes_callback( $args ) {
|
1290 |
-
// global $quads_options;
|
1291 |
-
// $posttypes = get_post_types();
|
1292 |
-
//
|
1293 |
-
// if( !empty( $posttypes ) ) {
|
1294 |
-
// foreach ( $posttypes as $key => $option ):
|
1295 |
-
// if( isset( $quads_options[$args['id']][$key] ) ) {
|
1296 |
-
// $enabled = $option;
|
1297 |
-
// } else {
|
1298 |
-
// $enabled = NULL;
|
1299 |
-
// }
|
1300 |
-
// echo '<input name="quads_settings[' . $args['id'] . '][' . $key . ']" id="quads_settings[' . $args['id'] . '][' . $key . ']" type="checkbox" value="' . $option . '" ' . checked( $option, $enabled, false ) . '/> ';
|
1301 |
-
// echo '<label for="quads_settings[' . $args['id'] . '][' . $key . ']">' . $option . '</label><br/>';
|
1302 |
-
// endforeach;
|
1303 |
-
// echo '<p class="description quads_hidden">' . $args['desc'] . '</p>';
|
1304 |
-
// }
|
1305 |
-
//}
|
1306 |
-
|
1307 |
/*
|
1308 |
* Note Callback
|
1309 |
*
|
@@ -1316,10 +1324,9 @@ function quads_upload_image_callback( $args ) {
|
|
1316 |
*/
|
1317 |
|
1318 |
function quads_note_callback( $args ) {
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
echo $html;
|
1323 |
}
|
1324 |
|
1325 |
/**
|
@@ -1331,22 +1338,22 @@ function quads_note_callback( $args ) {
|
|
1331 |
* @scince 2.3.2
|
1332 |
*/
|
1333 |
function quads_add_content_callback( $args ) {
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
}
|
1351 |
|
1352 |
/**
|
@@ -1359,7 +1366,7 @@ function quads_add_content_callback( $args ) {
|
|
1359 |
* @return void
|
1360 |
*/
|
1361 |
function quads_hook_callback( $args ) {
|
1362 |
-
|
1363 |
}
|
1364 |
|
1365 |
/**
|
@@ -1369,7 +1376,7 @@ function quads_hook_callback( $args ) {
|
|
1369 |
* @return string capability required
|
1370 |
*/
|
1371 |
function quads_set_settings_cap() {
|
1372 |
-
|
1373 |
}
|
1374 |
|
1375 |
add_filter( 'option_page_capability_quads_settings', 'quads_set_settings_cap' );
|
@@ -1384,10 +1391,10 @@ add_filter( 'option_page_capability_quads_settings', 'quads_set_settings_cap' );
|
|
1384 |
*/
|
1385 |
|
1386 |
function quads_cache_status() {
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
}
|
1392 |
|
1393 |
/* Permission check if logfile is writable
|
@@ -1397,10 +1404,10 @@ function quads_cache_status() {
|
|
1397 |
*/
|
1398 |
|
1399 |
function quads_log_permissions() {
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
}
|
1405 |
|
1406 |
/**
|
@@ -1410,23 +1417,47 @@ function quads_log_permissions() {
|
|
1410 |
* @return array
|
1411 |
*/
|
1412 |
function quads_get_ads() {
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1430 |
}
|
1431 |
|
1432 |
/**
|
@@ -1437,12 +1468,12 @@ function quads_get_ads() {
|
|
1437 |
*/
|
1438 |
function quads_get_values() {
|
1439 |
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
}
|
1447 |
|
1448 |
/**
|
@@ -1456,21 +1487,16 @@ function quads_get_values() {
|
|
1456 |
* @return void
|
1457 |
*/
|
1458 |
function quads_visibility_callback( $args ) {
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
$html .= $quads->html->checkbox( array('name' => 'quads_settings[visibility][AppTags]', 'current' => !empty( $quads_options['visibility']['AppTags'] ) ? $quads_options['visibility']['AppTags'] : null, 'class' => 'quads-checkbox') ) . __( 'Tags', 'quick-adsense-reloaded' ) . '<br>';
|
1470 |
-
$html .= $quads->html->checkbox( array('name' => 'quads_settings[visibility][AppSide]', 'current' => !empty( $quads_options['visibility']['AppSide'] ) ? $quads_options['visibility']['AppSide'] : null, 'class' => 'quads-checkbox') ) . __( 'Hide AdsWidget on Homepage', 'quick-adsense-reloaded' ) . '<br>';
|
1471 |
-
$html .= $quads->html->checkbox( array('name' => 'quads_settings[visibility][AppLogg]', 'current' => !empty( $quads_options['visibility']['AppLogg'] ) ? $quads_options['visibility']['AppLogg'] : null, 'class' => 'quads-checkbox') ) . __( 'Hide Ads when user is logged in.', 'quick-adsense-reloaded' ) . '<br>';
|
1472 |
-
|
1473 |
-
echo $html;
|
1474 |
}
|
1475 |
|
1476 |
/**
|
@@ -1484,82 +1510,82 @@ function quads_visibility_callback( $args ) {
|
|
1484 |
* @return void
|
1485 |
*/
|
1486 |
function quads_ad_position_callback( $args ) {
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
}
|
1564 |
|
1565 |
/**
|
@@ -1573,138 +1599,140 @@ function quads_ad_position_callback( $args ) {
|
|
1573 |
* @return void
|
1574 |
*/
|
1575 |
function quads_quicktags_callback( $args ) {
|
1576 |
-
|
1577 |
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
<li>' . __( 'Insert <span class="quads-quote-docs"><!--Ads1--></span>, <span class="quads-quote-docs"><!--Ads2--></span>, etc. into a post to show the <b>Particular Ads</b> at specific location.', 'quick-adsense-reloaded' ) . '</li>
|
1582 |
<li>' . __( 'Insert <span class="quads-quote-docs"><!--RndAds--></span> into a post to show the <b>Random Ads</b> at specific location', 'quick-adsense-reloaded' ) . '</li>
|
1583 |
</ol></div>';
|
1584 |
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
}
|
1590 |
|
1591 |
/**
|
1592 |
-
*
|
1593 |
-
*
|
1594 |
-
* Renders adsense code fields
|
1595 |
-
*
|
1596 |
-
* @since 0.9.0
|
1597 |
-
* @param array $args Arguments passed by the setting
|
1598 |
-
* @global $quads_options Array of all the QUADS Options
|
1599 |
-
* @return void
|
1600 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1601 |
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
<?php } ?>
|
1670 |
-
<br />
|
1671 |
-
<label class="quads-label-left quads-type-normal" for="quads_settings[<?php echo $id; ?>][g_data_ad_width]">Width </label><input type="number" step="1" id="quads_settings[<?php echo $id; ?>][g_data_ad_width]" name="quads_settings[<?php echo $id; ?>][g_data_ad_width]" class="small-text quads-type-normal" value="<?php echo $g_data_ad_width; ?>">
|
1672 |
-
<label class="quads-type-normal" for="quads_settings[<?php echo $id; ?>][g_data_ad_height]">Height </label><input type="number" step="1" id="quads_settings[<?php echo $id; ?>][g_data_ad_height]" name="quads_settings[<?php echo $id; ?>][g_data_ad_height]" class="small-text quads-type-normal" value="<?php echo $g_data_ad_height; ?>">
|
1673 |
-
</div>
|
1674 |
-
<div class="quads-style">
|
1675 |
-
<h3>Layout</h3>
|
1676 |
-
<?php
|
1677 |
-
$args_ad_position = array(
|
1678 |
-
'id' => 'align',
|
1679 |
-
'name' => 'align',
|
1680 |
-
'desc' => 'align',
|
1681 |
-
'std' => '3',
|
1682 |
-
'options' => array(
|
1683 |
-
'3' => 'Default',
|
1684 |
-
'0' => 'Left',
|
1685 |
-
'1' => 'Center',
|
1686 |
-
'2' => 'Right'
|
1687 |
-
)
|
1688 |
-
);
|
1689 |
-
echo quads_adposition_callback($id, $args_ad_position);
|
1690 |
-
// if WP QUADS PRO is installed and version number is higher or equal 1.2.7 show the new margin settings
|
1691 |
-
if ( !quads_is_advanced_1_2_7() ){
|
1692 |
-
?>
|
1693 |
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
|
|
|
|
|
|
|
|
|
|
1705 |
}
|
|
|
1706 |
/**
|
1707 |
-
* AdSense Code
|
1708 |
*
|
1709 |
* Renders adsense code fields
|
1710 |
*
|
@@ -1713,292 +1741,414 @@ function quads_adsense_code_callback( $args ) {
|
|
1713 |
* @global $quads_options Array of all the QUADS Options
|
1714 |
* @return void
|
1715 |
*/
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
<?php
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
if( quads_is_advanced() ) {
|
1826 |
-
return '';
|
1827 |
}
|
1828 |
|
1829 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1830 |
|
1831 |
-
|
1832 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1833 |
|
1834 |
-
|
1835 |
-
*
|
1836 |
-
* Return array of alignment options
|
1837 |
-
*
|
1838 |
-
* @return array
|
1839 |
-
*/
|
1840 |
-
function quads_get_alignment() {
|
1841 |
-
// Do not change the key => value order for compatibility reasons
|
1842 |
-
return array(
|
1843 |
-
3 => 'none',
|
1844 |
-
0 => 'left',
|
1845 |
-
1 => 'center',
|
1846 |
-
2 => 'right',
|
1847 |
-
);
|
1848 |
-
}
|
1849 |
|
1850 |
-
|
1851 |
-
|
1852 |
-
*
|
1853 |
-
* @return boolean true when it is installed and active
|
1854 |
-
*/
|
1855 |
-
function quads_is_installed_clickfraud() {
|
1856 |
-
$plugin_file = 'cfmonitor/cfmonitor.php';
|
1857 |
-
$plugin_file2 = 'clickfraud-monitoring/cfmonitor.php';
|
1858 |
|
1859 |
-
|
1860 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1861 |
}
|
1862 |
|
1863 |
-
|
1864 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1865 |
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
* 'id' => 'string),
|
1870 |
-
* 'type' => desktop, tablet_landscape, tablet_portrait, phone
|
1871 |
-
* @return string
|
1872 |
-
*/
|
1873 |
-
function quads_render_size_option( $args ) {
|
1874 |
-
global $quads_options;
|
1875 |
|
1876 |
-
|
1877 |
-
return '';
|
1878 |
}
|
1879 |
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
endforeach;
|
1887 |
-
$html .= '</select>';
|
1888 |
-
$html .= '</div>';
|
1889 |
-
|
1890 |
-
return $html;
|
1891 |
-
}
|
1892 |
-
|
1893 |
-
/**
|
1894 |
-
* Get all AdSense Sizes
|
1895 |
-
* @return array
|
1896 |
-
*/
|
1897 |
-
function quads_get_adsense_sizes() {
|
1898 |
-
$sizes = array(
|
1899 |
-
'Auto' => 'Auto',
|
1900 |
-
'120 x 90' => '120 x 90',
|
1901 |
-
'120 x 240' => '120 x 240',
|
1902 |
-
'120 x 600' => '120 x 600',
|
1903 |
-
'125 x 125' => '125 x 125',
|
1904 |
-
'160 x 90' => '160 x 90',
|
1905 |
-
'160 x 600' => '160 x 600',
|
1906 |
-
'180 x 90' => '180 x 90',
|
1907 |
-
'180 x 150' => '180 x 150',
|
1908 |
-
'200 x 90' => '200 x 90',
|
1909 |
-
'200 x 200' => '200 x 200',
|
1910 |
-
'234 x 60' => '234 x 60',
|
1911 |
-
'250 x 250' => '250 x 250',
|
1912 |
-
'320 x 100' => '320 x 100',
|
1913 |
-
'300 x 250' => '300 x 250',
|
1914 |
-
'300 x 600' => '300 x 600',
|
1915 |
-
'300 x 1050' => '300 x 1050',
|
1916 |
-
'320 x 50' => '320 x 50',
|
1917 |
-
'336 x 280' => '336 x 280',
|
1918 |
-
'360 x 300' => '360 x 300',
|
1919 |
-
'435 x 300' => '435 x 300',
|
1920 |
-
'468 x 15' => '468 x 15',
|
1921 |
-
'468 x 60' => '468 x 60',
|
1922 |
-
'640 x 165' => '640 x 165',
|
1923 |
-
'640 x 190' => '640 x 190',
|
1924 |
-
'640 x 300' => '640 x 300',
|
1925 |
-
'728 x 15' => '728 x 15',
|
1926 |
-
'728 x 90' => '728 x 90',
|
1927 |
-
'970 x 90' => '970 x 90',
|
1928 |
-
'970 x 250' => '970 x 250',
|
1929 |
-
'240 x 400' => '240 x 400 - Regional ad sizes',
|
1930 |
-
'250 x 360' => '250 x 360 - Regional ad sizes',
|
1931 |
-
'580 x 400' => '580 x 400 - Regional ad sizes',
|
1932 |
-
'750 x 100' => '750 x 100 - Regional ad sizes',
|
1933 |
-
'750 x 200' => '750 x 200 - Regional ad sizes',
|
1934 |
-
'750 x 300' => '750 x 300 - Regional ad sizes',
|
1935 |
-
'980 x 120' => '980 x 120 - Regional ad sizes',
|
1936 |
-
'930 x 180' => '930 x 180 - Regional ad sizes',
|
1937 |
-
);
|
1938 |
-
|
1939 |
-
return apply_filters( 'quads_adsense_size_formats', $sizes );
|
1940 |
-
}
|
1941 |
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1949 |
|
1950 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1951 |
|
1952 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|