Server :
Apache
System :
Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User :
atwiofrxug (73666)
PHP Version :
8.4.10
Disable Functions :
_dyuweyrj4,_dyuweyrj4r,dl
Current Directory :
/home/atwiofrxug/mylittletelaviv/wp-content/plugins/qtranslate-xt/admin/js/
Directory Status:
Writeable | Document Root:
Writeable
Upload File
Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/qtranslate-xt/admin/js/options.js
/* executed for
/wp-admin/options-general.php
*/
(function($) {
$(function() {
var getcookie = function (cname) {
var nm = cname + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var ce = ca[i];
var p = ce.indexOf(nm);
if (p >= 0)
return ce.substring(p + nm.length, ce.length);
}
return '';
};
var setFormAction = function (hash) {
var f = $('#qtranxs-configuration-form');
var a = f.attr('action');
a = a.replace(/(#.*|$)/, hash);
f.attr('action', a);
};
var switchTabTo = function (anchor, hash) {
// active tab
anchor.parent().children().removeClass('nav-tab-active');
anchor.addClass('nav-tab-active');
// active tab content
var tabcontents = $('.tabs-content');
tabcontents.children().addClass('hidden');
var tab_id = hash.replace('#', '#tab-');
tabcontents.find('div' + tab_id).removeClass('hidden');
setFormAction(hash);
document.cookie = 'qtrans_admin_section=' + hash;
};
var onHashChange = function (hash_default) {
var tabs = $('.nav-tab-wrapper');
if (!tabs || !tabs.length) return;
var hash = window.location.hash;
if (!hash) {
hash = getcookie('qtrans_admin_section');
if (!hash) {
if (!hash_default) return;
hash = hash_default;
}
}
var anchor = tabs.find('a[href="' + hash + '"]');
while (!anchor || !anchor.length) {
if (window.location.hash) {
hash = getcookie('qtrans_admin_section');
if (hash) {
anchor = tabs.find('a[href="' + hash + '"]');
if (anchor && anchor.length)
break;
}
}
if (!hash_default)
return;
hash = hash_default;
anchor = tabs.find('a[href="' + hash + '"]');
if (anchor && anchor.length)
break;
return;
}
switchTabTo(anchor, hash);
};
$(window).bind('hashchange', function () {
onHashChange();
});
onHashChange('#general');
});
})(jQuery);
Cyb3r Drag0nz Team • Google Edition