| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/plugins/breadcrumb-navxt/includes/ |
Upload File : |
jQuery(function()
{
mtekk_admin_tabulator_init();
});
/**
* Tabulator Bootup
*/
function mtekk_admin_tabulator_init(){
if(!jQuery("#hasadmintabs").length) return;
/* init markup for tabs */
jQuery('#hasadmintabs').prepend('<ul class="nav-tab-wrapper"><\/ul>');
jQuery('#hasadmintabs > fieldset').each(function(i){
id = jQuery(this).attr('id');
cssc = jQuery(this).attr('class');
title = jQuery(this).find('h3.tab-title').attr('title');
caption = jQuery(this).find('h3.tab-title').text();
jQuery('#hasadmintabs > ul').append('<li><a href="#'+id+'" class="nav-tab '+cssc+'" title="'+title+'"><span>'+caption+"<\/span><\/a><\/li>");
jQuery(this).find('h3.tab-title').hide();
});
var form = jQuery('#'+objectL10n.mtad_uid+'-options');
/* init the tabs plugin */
var tabs = jQuery("#hasadmintabs").tabs({
beforeActivate: function(event, ui){
form.find('input').each(function(){
if(!this.checkValidity()){
form.find(':submit').click();
event.preventDefault();
}
});
/* Update form action for reload on tab traversal*/
var action = form.attr("action").split('#', 1) + '#' + ui.newPanel[0].id;
form.get(0).setAttribute("action", action);
},
create: function(event, ui){
/* Update form action for reload of current tab on page load */
var action = form.attr("action").split('#', 1) + '#' + ui.panel[0].id;
form.get(0).setAttribute("action", action);
}
});
}