403Webshell
Server IP : 172.67.158.161  /  Your IP : 18.226.200.172
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/fingerprinting/entries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/fingerprinting/entries//confirmation.js
/**
 * WordPress dependencies
 */
import { render } from '@wordpress/element';
import domReady from '@wordpress/dom-ready';
import { setLocaleData } from '@wordpress/i18n';

// Silence warnings until JS i18n is stable.
setLocaleData( { '': {} }, 'ithemes-security-pro' );

/**
 * Internal dependencies
 */
import DetailModal from './confirmation/detail-modal.js';
import ConfirmationModal from './confirmation/confirmation-modal';

domReady( () => {
	const el = document.getElementById( 'itsec-confirmation-root' );
	const canManage = el.dataset.canManage === '1';
	const userId = Number.parseInt( el.dataset.user, 10 );
	const isFront = el.dataset.isAdmin !== '1';

	if ( el ) {
		render(
			<ConfirmationModal
				canManage={ canManage }
				userId={ userId }
				device={ JSON.parse( el.dataset.device ) }
				isFront={ isFront }
			/>,
			document.getElementById( 'itsec-confirmation-root' ) );
	}

	const toolbarItem = document.getElementById( 'wp-admin-bar-itsec-fingerprinting' );
	toolbarItem.addEventListener( 'click', function() {
		const container = document.createElement( 'div' );
		document.body.append( container );
		render(
			<DetailModal canManage={ canManage } userId={ userId } />,
			container
		);
	} );
} );

Youez - 2016 - github.com/yon3zu
LinuXploit