first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
/**
* Class WPML_TF_Backend_Options_Scripts
*
* @author OnTheGoSystems
*/
class WPML_TF_Backend_Options_Scripts {
const HANDLE = 'wpml-tf-backend-options';
/**
* method enqueue
*/
public function enqueue() {
$script = ICL_PLUGIN_URL . '/res/js/translation-feedback/wpml-tf-backend-options-script.js';
wp_register_script( self::HANDLE, $script, array( 'jquery', 'wp-util' ), ICL_SITEPRESS_VERSION );
wp_enqueue_script( self::HANDLE );
}
}

View File

@@ -0,0 +1,20 @@
<?php
/**
* Class WPML_TF_Backend_Scripts
*
* @author OnTheGoSystems
*/
class WPML_TF_Backend_Scripts {
const HANDLE = 'wpml-tf-backend';
/**
* method enqueue
*/
public function enqueue() {
$script = ICL_PLUGIN_URL . '/res/js/translation-feedback/wpml-tf-backend-script.js';
wp_register_script( self::HANDLE, $script, array( 'jquery', 'wp-util' ), ICL_SITEPRESS_VERSION );
wp_enqueue_script( self::HANDLE );
}
}

View File

@@ -0,0 +1,20 @@
<?php
/**
* Class WPML_TF_Frontend_Scripts
*
* @author OnTheGoSystems
*/
class WPML_TF_Frontend_Scripts {
const HANDLE = 'wpml-tf-frontend';
/**
* method enqueue
*/
public function enqueue() {
$script = ICL_PLUGIN_URL . '/res/js/translation-feedback/wpml-tf-frontend-script.js';
wp_register_script( self::HANDLE, $script, array( 'jquery', 'jquery-ui-dialog', 'wp-util' ), ICL_SITEPRESS_VERSION );
wp_enqueue_script( self::HANDLE );
}
}