Plugin Directory

Changeset 3493287


Ignore:
Timestamp:
03/28/2026 11:35:10 AM (18 hours ago)
Author:
konceptwise
Message:

Performance improvement

Location:
authyo-otp-for-contact-form-7/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • authyo-otp-for-contact-form-7/trunk/assets/css/admin.css

    r3481798 r3493287  
    6363    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    6464    margin: 20px 0;
    65     overflow: hidden;
     65    overflow: visible;
    6666    transition: box-shadow 0.2s ease;
    6767}
     
    583583    border-radius: 4px;
    584584    background: #fff;
    585     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    586     z-index: 1000;
    587     margin-top: 2px;
     585    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
     586    z-index: 9999;
     587    margin-top: 5px;
     588}
     589
     590/* Custom Scrollbar for better UX */
     591.authyo-country-dropdown::-webkit-scrollbar {
     592    width: 6px;
     593}
     594
     595.authyo-country-dropdown::-webkit-scrollbar-track {
     596    background: #f1f1f1;
     597    border-radius: 4px;
     598}
     599
     600.authyo-country-dropdown::-webkit-scrollbar-thumb {
     601    background: #c1c1c1;
     602    border-radius: 4px;
     603}
     604
     605.authyo-country-dropdown::-webkit-scrollbar-thumb:hover {
     606    background: #a8a8a8;
    588607}
    589608
    590609.authyo-country-dropdown-item {
    591     padding: 10px 15px;
     610    padding: 12px 16px;
    592611    cursor: pointer;
    593612    border-bottom: 1px solid #f0f0f1;
    594     transition: background-color 0.2s ease;
     613    transition: all 0.2s ease;
    595614}
    596615
     
    604623
    605624.authyo-country-dropdown-item.authyo-country-selected {
    606     background-color: #e5f5fa;
     625    background-color: #f0f6fc;
     626    border-left: 3px solid #2271b1;
    607627}
    608628
  • authyo-otp-for-contact-form-7/trunk/assets/js/admin.js

    r3481798 r3493287  
    800800// Dynamic placeholder for per-form field name based on channel selection
    801801document.addEventListener("DOMContentLoaded", function () {
     802    const ADMIN = window.AUTHYO_CF7_ADMIN || window.CF7_AUTHYO_ADMIN;
    802803    const formsTable = document.querySelector('#forms');
    803804    (document.querySelectorAll('#forms table select[name*="[channel]"]') || []).forEach(function (sel) {
     
    822823
    823824    function loadCacheInfo() {
    824         const ADMIN = window.AUTHYO_CF7_ADMIN || window.CF7_AUTHYO_ADMIN;
    825825        if (!ADMIN || !ADMIN.rest || !ADMIN.rest.root) return;
    826826
     
    855855    if (refreshBtn) {
    856856        refreshBtn.addEventListener('click', function () {
    857             const ADMIN = window.AUTHYO_CF7_ADMIN || window.CF7_AUTHYO_ADMIN;
    858857            if (!ADMIN || !ADMIN.rest || !ADMIN.rest.root) return;
    859858
  • authyo-otp-for-contact-form-7/trunk/authyo-otp-for-contact-form-7.php

    r3487626 r3493287  
    44 * Plugin URI:  https://wordpress.org/plugins/authyo-otp-for-contact-form-7/
    55 * Description: Adds OTP verification via Authyo (Email, SMS, WhatsApp, Voice Call) to Contact Form 7 submissions for secure form validation.
    6  * Version:     1.0.21
     6 * Version:     1.0.22
    77 * Author:      Authyo
    88 * Author URI:  https://authyo.io/
     
    1818    exit;
    1919
    20 define('AUTHYO_CF7_VERSION', '1.0.21');
     20define('AUTHYO_CF7_VERSION', '1.0.22');
    2121define('AUTHYO_CF7_FILE', __FILE__);
    2222define('AUTHYO_CF7_PATH', plugin_dir_path(__FILE__));
  • authyo-otp-for-contact-form-7/trunk/readme.txt

    r3487626 r3493287  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.21
     7Stable tag: 1.0.22
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8888
    8989== Changelog ==
     90= 1.0.22 =
     91* UI/UX: Fixed country dropdown initialization and improved dropdown styling and behavior.
     92
    9093= 1.0.21 =
    9194* Improvement: performance improvement
Note: See TracChangeset for help on using the changeset viewer.