first commit
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
@@ -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 );
|
||||
}
|
||||
}
|
||||
@@ -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 );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user