Plugin Directory

Changeset 3486045


Ignore:
Timestamp:
03/18/2026 09:24:58 PM (10 days ago)
Author:
ashanjay
Message:

2.5.1 (2026-3-18)

FIXED: event click external link not working
FIXED: undefined image background error
FIXED: XSS issue with eventon settings page tab values passed via url
FIXED: Settings tooltip on collapsed menu icons

Location:
eventon-lite
Files:
299 added
11 edited

Legend:

Unmodified
Added
Removed
  • eventon-lite/trunk/assets/css/lib/elements.css

    r3473138 r3486045  
    735735        border-color: #3a4652 transparent transparent transparent;
    736736    }
     737    .evo_elms .evo_tooltip_box.R{border-radius: 10px;}
     738    .evo_elms .evo_tooltip_box.R:before{content:"";display: none;}
    737739    .evo_elms .evo_tooltip_box.L{border-radius: 10px 10px 0px 10px;}
    738740    .evo_elms .evo_tooltip_box.L:before{
  • eventon-lite/trunk/assets/js/eventon_script.js

    r3473157 r3486045  
    394394                }
    395395
    396                 else if (ux_val === '4') {
     396                else if (ux_val === '4' || ux_val == 4) {
    397397                    // Open single event page – same tab
    398398                    let url = $trig.attr('href');
     
    417417                }
    418418
    419                 else if (ux_val === '2') {
    420                     // External link
     419                else if (ux_val === '2' || ux_val == 2) {
     420                    // External link
    421421                    if (is_from_single_event_box) {
    422422                        e.preventDefault();
  • eventon-lite/trunk/assets/js/lib/elements.js

    r3301849 r3486045  
    576576    });
    577577
    578 // @updated 4.9
     578// @updated 2.5.1
    579579// tooltips
    580     $.fn.evo_elm_show_tooltip = function( passed_content, hide_time ){
     580    $.fn.evo_elm_show_tooltip = function( passed_content, hide_time, targetElement ){
    581581        var el = this;
    582582
     
    589589
    590590        var tooltipbox = $('.evo_tooltip_box');
    591         var cor = getCoords(event.target); // Assuming getCoords() is defined elsewhere
     591        var cor = getCoords(targetElement || el[0]);
    592592        tooltipbox.html(content).removeClass('show L evocenter'); // Reset classes
    593593
     
    604604            left = cor.left - box_width - 15; // Left-aligned tooltip
    605605            tooltipbox.addClass('L');
    606         } else {
     606        } else if (el.hasClass('R')) {
     607            top = top + ( el.height()  ) + 35;
     608            left = cor.left + ( el.width() ) + 40; // Right side of the el
     609            tooltipbox.addClass('R');
     610        } else {
    607611            left = cor.left + 5; // Default right-aligned
    608612        }
     
    618622    }
    619623    $.fn.evo_elm_hide_tooltip = function(){
    620         this.removeClass('show');
     624        $('body').find('.evotooltipfree, .evotooltip').removeClass('show');
    621625        $('.evo_tooltip_box').removeClass('show L evocenter');
    622626    }   
     
    625629        .on('mouseover','.ajdeToolTip, .colorselector, .evotooltip, .evotooltipfree',function(event){
    626630            event.stopPropagation();
     631
     632            $('.evotooltipfree.show').removeClass('show');
    627633
    628634            var relatedTarget = event.relatedTarget;
  • eventon-lite/trunk/assets/lib/settings/settings.js

    r3281337 r3486045  
    164164    // colpase menu
    165165        $('.ajde-collapse-menu').on('click', function(){
    166             if($(this).hasClass('close')){
    167                 $(this).parent().removeClass('mini');
    168                 $(this).closest('.ajde_settings').removeClass('mini');
    169                 $('.evo_diag').removeClass('mini');
    170                 $(this).removeClass('close');
    171             }else{
    172                 $(this).closest('.ajde_settings').addClass('mini');
    173                 $(this).parent().addClass('mini');
    174                 $('.evo_diag').addClass('mini');
    175                 $(this).addClass('close');
    176             }
     166
     167            let closed = $(this).hasClass('close');
     168            const nav = $(this).closest('.backender_left').find('.evosetting_nav_a');
     169
     170            closed = closed ? false: true;
     171
     172            $(this).parent().toggleClass('mini', closed);
     173            $('.evo_diag').toggleClass('mini', closed);
     174            $(this).closest('.ajde_settings').toggleClass('mini', closed);
     175            $(this).toggleClass('close', closed);
     176
     177            nav.toggleClass('evotooltipfree R', closed);
     178
    177179        });
    178180
  • eventon-lite/trunk/eventon.php

    r3473138 r3486045  
    44 * Plugin URI: http://www.myeventon.com/lite
    55 * Description: A beautifully crafted minimal calendar experience - Lite Version
    6  * Version: 2.5
     6 * Version: 2.5.1
    77 * Author: Ashan Jay
    88 * Author URI: http://www.ashanjay.com
    99 * Requires at least: 6.0
    10  * Tested up to: 6.9.1
     10 * Tested up to: 6.9.4
    1111 *
    1212 * Text Domain: eventon
  • eventon-lite/trunk/includes/admin/settings/class-settings-designer.php

    r3473138 r3486045  
    4343            $ls_level_code = (isset($cpav['level']))? 'class="'.$cpav['level'].'"': null;
    4444           
    45             $leftside .= "<li ".$ls_level_code."><a class='".( ($count==1)?'focused':null)."' data-c_id='".$cpav['id']."' title='".$cpav['tab_name']."'><i class='fa fa-".( !empty($cpav['icon'])? $cpav['icon']:'edit')."'></i>".__($cpav['tab_name'],$textdomain)."</a></li>";                               
     45            $leftside .= "<li ".$ls_level_code."><a class='evosetting_nav_a ".( ($count==1)?'focused':null)."' data-d='{$cpav['tab_name']}' data-c_id='".$cpav['id']."' title='".$cpav['tab_name']."'><i class='fa fa-".( !empty($cpav['icon'])? $cpav['icon']:'edit')."'></i>".__($cpav['tab_name'],$textdomain)."</a></li>";
     46
    4647            $tab_type = (isset($cpav['tab_type'] ) )? $cpav['tab_type']:'';
    4748            if( $tab_type !='empty'){ // to not show the right side
  • eventon-lite/trunk/includes/admin/settings/class-settings-settings.php

    r3473138 r3486045  
    22/**
    33  * evo settings class
    4   * @version 2.5
     4  * @version 2.5.1
    55  */
    66class evo_settings_settings{
     
    2626                'display'=>'show',
    2727                'icon'=>'gears',
    28                 'tab_name'=>__('General Settings','eventon'),
     28                'tab_name'=>__('General','eventon'),
    2929                'top'=>'4',
    3030                'fields'=> apply_filters('eventon_settings_general', array(
     
    287287                'name'=>__('Calendar Scripting and styles','eventon'),
    288288                'tab_name'=>__('Scripts & Styling','eventon'),
    289                 'icon'=>'eye',
     289                'icon'=>'file-code far',
    290290                'fields'=>$this->scripts()
    291291            ),
  • eventon-lite/trunk/includes/admin/settings/class-settings.php

    r3473138 r3486045  
    22/**
    33 *  EventON Settings Main Object
    4  *  @version 2.5
     4 *  @version 2.5.1
    55 */
    66class EVO_Settings extends EVO_Settings_Designer{
     
    1212
    1313    public function __construct(){
    14         $this->page = (isset($_GET['page']) )? sanitize_text_field( $_GET['page'] ):false;
     14        $this->page = (isset($_GET['page']) )? sanitize_key( $_GET['page'] ):false;
    1515        //$this->focus_tab = (isset($_GET['tab']) )? sanitize_text_field( urldecode($_GET['tab'])):'evcal_1';
    16         $this->current_section = (isset($_GET['section']) )? sanitize_text_field( urldecode($_GET['section'])):'';
     16        $this->current_section = (isset($_GET['section']) )? sanitize_key( urldecode($_GET['section'])):'';
    1717        $this->options_pre = 'evcal_options_';
    1818       
  • eventon-lite/trunk/includes/calendar/views/html-eventcard-ftimage.php

    r3473138 r3486045  
    22/**
    33 * EventON Event Featured Image
    4  * @version 2.5
     4 * @version 2.5.1
    55 */
    66
     
    2323
    2424    $new_width = 0;
     25    $BGURL = '';
    2526
    2627    $img_hw_ratio = 1;
  • eventon-lite/trunk/includes/class-eventon.php

    r3473138 r3486045  
    22/**
    33 * EventON Lite Setup
    4  * @version 2.5
     4 * @version 2.5.1
    55 *
    66 */
     
    1212
    1313    // defines
    14         public $version = '2.5';
     14        public $version = '2.5.1';
    1515               
    1616        public $template_url;
  • eventon-lite/trunk/readme.txt

    r3473138 r3486045  
    55Tags: calendar, event calendar, virtual events, events, event management
    66Requires at least: 6.0
    7 Tested up to: 6.9.1
    8 Stable tag: 2.5
     7Tested up to: 6.9.4
     8Stable tag: 2.5.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    250250
    251251== Changelog ==
     252= 2.5.1 (2026-3-18) =
     253FIXED: event click external link not working
     254FIXED: undefined image background error
     255FIXED: XSS issue with eventon settings page tab values passed via url
     256FIXED: Settings tooltip on collapsed menu icons
     257
    252258= 2.5 (2025-3-2) =
    253259ADDED: get direction to have event destination address with option to copy
Note: See TracChangeset for help on using the changeset viewer.