Changeset 2473732
- Timestamp:
- 02/12/2021 12:42:59 PM (5 years ago)
- Location:
- agy-verification/trunk
- Files:
-
- 5 edited
-
admin/assets/js/agy_admin_script.js (modified) (1 diff)
-
agy-verification.php (modified) (1 diff)
-
includes/Agy_Dashboard.php (modified) (1 diff)
-
public/assets/js/agy_public_script.js (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
agy-verification/trunk/admin/assets/js/agy_admin_script.js
r2456345 r2473732 1 "use strict";const openTab=(e,t)=>{let a,l,s;l=document.getElementsByClassName("agy-tabcontent");for(let e=0;e<l.length;e++)l[e].style.display="none";for(s=document.getElementsByClassName("agy-tablinks"),a=0;a<s.length;a++)s[a].className=s[a].className.replace(" agy-active","");document.getElementById(t).style.display="block",e.currentTarget.className+=" agy-active"};document.getElementById(" default-open").click();1 "use strict";const openTab=(e,t)=>{let a,l,s;l=document.getElementsByClassName("agy-tabcontent");for(let e=0;e<l.length;e++)l[e].style.display="none";for(s=document.getElementsByClassName("agy-tablinks"),a=0;a<s.length;a++)s[a].className=s[a].className.replace(" agy-active","");document.getElementById(t).style.display="block",e.currentTarget.className+=" agy-active"};document.getElementById("agy-default-open").click(); -
agy-verification/trunk/agy-verification.php
r2456345 r2473732 12 12 * Plugin URI: https://wordpress.org/plugins/agy-verification 13 13 * Description: Agy Verification is a powerful solution to add any kind of verification restriction on your website. Easy to setup, optimized for all devices, and modern design option to match your style. 14 * Version: 1.0. 114 * Version: 1.0.2 15 15 * Requires at least: 4.6 16 16 * Requires PHP: 7.1 -
agy-verification/trunk/includes/Agy_Dashboard.php
r2456345 r2473732 173 173 </div> 174 174 <div class="agy-tab"> 175 <button id=" default-open" class="agy-tablinks"175 <button id="agy-default-open" class="agy-tablinks" 176 176 onclick="openTab(event, 'agy-tab1')"><?php _e( 'General', 'agy' ) ?></button> 177 177 <button class="agy-tablinks" onclick="openTab(event, 'agy-tab2')"><?php _e( 'Text', 'agy' ) ?></button> -
agy-verification/trunk/public/assets/js/agy_public_script.js
r2456345 r2473732 1 "use strict";document.querySelector("#agy-my-modal")&&(document.querySelector("#agy-my-modal").style.display="block"),document.querySelector(".agy-enter-btn button")&&document.querySelector(".agy-enter-btn button").addEventListener("click",()=>{document.cookie="agy_verification=approved",setTimeout(()=>document.querySelector("#agy-my-modal").style.display="none",500)}); 1 "use strict"; 2 document.querySelector("#agy-my-modal") && (document.querySelector("#agy-my-modal").style.display = "block"), document.querySelector(".agy-enter-btn button") && document.querySelector(".agy-enter-btn button").addEventListener("click", () => { 3 document.cookie = "agy_verification=approved", setTimeout(() => document.querySelector("#agy-my-modal").style.display = "none", 500) 4 }); -
agy-verification/trunk/readme.txt
r2456348 r2473732 1 1 === Agy verification === 2 2 Contributors: upss1988 3 Tags: age verification, age restriction, age popup, page restriction, content restriction, content verification, verification, restriction , covid-19, popup3 Tags: age verification, age restriction, age popup, page restriction, content restriction, content verification, verification, restriction 4 4 Requires at least: 4.6 5 5 Requires PHP: 7.1 6 6 Donate link: https://mlab-studio.com 7 Tested up to: 5.6 8 Stable tag: 1.0. 17 Tested up to: 5.6.1 8 Stable tag: 1.0.2 9 9 License: GPL v3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.txt … … 104 104 == Changelog == 105 105 106 = [ 1.0.2 ] - 2021.11.02 = 107 * Fix: Fix incompatibility with opening tabs 108 106 109 = [ 1.0.1 ] - 2020.01.08 = 107 110 * New feature: Exclude Page … … 111 114 112 115 == Upgrade Notice == 113 Added New Features such as page restriction, shortcode manipulation, etc... 116 Fix incompatibility with opening tabs
Note: See TracChangeset
for help on using the changeset viewer.