403Webshell
Server IP : 185.143.234.238  /  Your IP : 185.215.232.195
Web Server : nginx/1.22.1
System : Linux server2065 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/bcandle/wp-content/plugins/flexy-breadcrumb/admin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bcandle/wp-content/plugins/flexy-breadcrumb/admin/js/flexy-breadcrumb-admin.js
/**
 * Flexy Breadcrumb JS File - V 1.0.0
 *
 * @author PressTigers <support@presstigers.com>, 2016
 *
 * Actions List
 * - Toggle Settings Option's Tabs Callback
 * - Wp Color Picker Callback
 * - Accept Numbers Input Callback
 * - Save Settings Ajax Callback
 * - Font Awesome Icon Picker Callback
 */
(function ($) {
    'use strict';

    $(document).ready(function () {

        //  Toggle Settings Option's Tabs
        window.toggleDiv = function (id) {
            $(".sub-menu li").removeClass('active');
            var items = $(".sub-menu").find('a[href="' + id + '"]');
            items.parents('li').addClass('active');
            items.addClass('active');
            $('.main-content').children().not('#submit-btn').hide();
            $(id).fadeIn(200);
            location.hash = id + "-show";
        }

        // On save -> Show save option's Tab
        var hash = window.location.hash.substring(1);
        var id = hash.split("-show")[0];
        if (id) {
            $(".sub-menu li").removeClass('active');
            var items = $(".sub-menu").find('a[href="' + id + '"]');
            items.parents('li').addClass('active');
            $('.main-content').children().not('#submit-btn').hide();
            $("#" + id).show();
        }

        // Wp Color Picker        
        $('.fbc-color-picker').wpColorPicker();

        // Accept Numbers Input Only
        $(".numbers-only").keypress(function (evt) {
            evt = (evt) ? evt : window.event;
            var charCode = (evt.which) ? evt.which : evt.keyCode;
            if (charCode > 31 && (charCode < 48 || charCode > 57)) {
                return false;
            }
            return true;
        });

        // Save Settings Options
        $('#fbc-options-form').submit(function () {
            $('.loading-div').fadeIn(100);
            var formData = $(this).serialize();

            $.post('options.php', formData).error(
                    function () {
                        $('.error-msg').slideDown();
                        window.location.reload(false);
                    }).success(function () {
                $('.loading').hide();
                $('.success-msg').slideDown();
                window.location.reload(false);
            });

            return false;
        });

        // Font Awesome Icon Picker
        $('.fbc-home-icon').iconpicker({placement: 'bottomRight' });
    });
})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit