. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 94.23.64.18  /  Your IP : 216.73.216.185   [ Reverse IP ]
Web Server : Apache
System : Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : villadal ( 6036)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/villadal/www/old/wp-content/plugins/wpml-translation-management/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/villadal/www/old/wp-content/plugins/wpml-translation-management/inc//js-scripts.php
<?php

/**
 * Registers scripts so that they can be reused throughout WPML plugins
 */
function wpml_tm_register_js_scripts() {
	global $sitepress;

	wp_register_script(
		'wpml-tm-editor-templates',
		WPML_TM_URL . '/res/js/translation-editor/templates.js',
		array(),
		WPML_TM_VERSION,
		true
	);
	wp_register_script(
		'wpml-tm-editor-job',
		WPML_TM_URL . '/res/js/translation-editor/wpml-tm-editor-job.js',
		array( 'underscore', 'backbone' ),
		WPML_TM_VERSION,
		true
	);
	
	$scripts = array(
		'wpml-tm-editor-job-field-view',
		'wpml-tm-editor-job-basic-field-view',
		'wpml-tm-editor-job-single-line-field-view',
		'wpml-tm-editor-job-textarea-field-view',
		'wpml-tm-editor-job-wysiwyg-field-view',
		'wpml-tm-editor-field-view-factory',
		'wpml-tm-editor-section-view',
		'wpml-tm-editor-group-view',
		'wpml-tm-editor-image-view',
		'wpml-tm-editor-main-view',
		'wpml-tm-editor-header-view',
		'wpml-tm-editor-note-view',
		'wpml-tm-editor-footer-view',
		'wpml-tm-editor-languages-view',
		'wpml-tm-editor-copy-all-dialog',
		'wpml-tm-editor-edit-independently-dialog',
		'wpml-tm-editor-translation-memory',
	);
	
	foreach( $scripts as $script ) {
		wp_register_script(
			$script,
			WPML_TM_URL . '/res/js/translation-editor/' . $script . '.js',
			array( 'wpml-tm-editor-job' ),
			WPML_TM_VERSION,
			true
		);
	}

	wp_register_script(
		'wpml-tm-editor-scripts',
		WPML_TM_URL . '/res/js/translation-editor/translation-editor.js',
		array_merge( array( 'jquery', 'jquery-ui-dialog', 'wpml-tm-editor-templates', 'wpml-tm-editor-job'), $scripts ),
		WPML_TM_VERSION,
		true
	);
	wp_register_script( 'wpml-tp-polling-box-populate',
		WPML_TM_URL . '/res/js/tp-polling/box-populate.js',
		array( 'jquery' ), WPML_TM_VERSION );
	wp_register_script( 'wpml-tp-polling',
		WPML_TM_URL . '/res/js/tp-polling/poll-for-translations.js',
		array( 'wpml-tp-polling-box-populate' ), WPML_TM_VERSION );
	wp_register_script( 'wpml-tp-polling-setup',
		WPML_TM_URL . '/res/js/tp-polling/box-setup.js',
		array( 'wpml-tp-polling' ), WPML_TM_VERSION );
	wp_register_script( 'wpml-tm-mcs',
		WPML_TM_URL . '/res/js/mcs/wpml-tm-mcs.js',
		array( 'wpml-tp-polling' ), WPML_TM_VERSION );
	wp_register_script( 'wpml-tm-mcs-translate-link-targets',
		WPML_TM_URL . '/res/js/mcs/wpml-tm-mcs-translate-link-targets.js',
		array(), WPML_TM_VERSION );
}

if ( is_admin() ) {
	add_action( 'admin_enqueue_scripts', 'wpml_tm_register_js_scripts' );
} else {
	add_action( 'wp_enqueue_scripts', 'wpml_tm_register_js_scripts' );
}

Anon7 - 2022
AnonSec Team