/
home
/
vianto5
/
cititower.mx
/
wp-content
/
plugins
/
sitepress-multilingual-cms
/
inc
/
/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/inc
mkdir
upload
Name
Size
Mode
Actions
absolute-links/
-
0755
rm
actions/
-
0755
rm
core/
-
0755
rm
hacks/
-
0755
rm
local-translation/
-
0755
rm
post-translation/
-
0755
rm
query-filtering/
-
0755
rm
setup/
-
0755
rm
taxonomy-term-translation/
-
0755
rm
tools/
-
0755
rm
translation-jobs/
-
0755
rm
translation-management/
-
0755
rm
translation-proxy/
-
0755
rm
upgrade-functions/
-
0755
rm
url-handling/
-
0755
rm
utilities/
-
0755
rm
wp-nav-menus/
-
0755
rm
wpml-config/
-
0755
rm
cache.php
4448
0644
edit
dl
rm
constants-tm.php
1366
0644
edit
dl
rm
constants.php
6695
0644
edit
dl
rm
deprecated-hooks.php
261
0644
edit
dl
rm
functions-debug-information.php
122
0644
edit
dl
rm
functions-helpers.php
1190
0644
edit
dl
rm
functions-load-tm.php
26044
0644
edit
dl
rm
functions-load.php
14242
0644
edit
dl
rm
functions-network.php
4163
0644
edit
dl
rm
functions-sanitation.php
1954
0644
edit
dl
rm
functions-security.php
2242
0644
edit
dl
rm
functions-troubleshooting.php
6971
0644
edit
dl
rm
functions.php
28121
0644
edit
dl
rm
hacks.php
982
0644
edit
dl
rm
icl-admin-notifier.php
29098
0644
edit
dl
rm
import-xml.php
1475
0644
edit
dl
rm
js-scripts.php
707
0644
edit
dl
rm
js-tm-scripts.php
3207
0644
edit
dl
rm
lang-data.php
9038
0644
edit
dl
rm
language-switcher.php
2416
0644
edit
dl
rm
not-compatible-plugins.php
2049
0644
edit
dl
rm
plugin-integration-nextgen.php
1854
0644
edit
dl
rm
plugins-integration.php
2070
0644
edit
dl
rm
template-functions.php
48587
0644
edit
dl
rm
upgrade.php
10337
0644
edit
dl
rm
wpml-api.php
19748
0644
edit
dl
rm
wpml-post-comments.class.php
6487
0644
edit
dl
rm
wpml-post-edit-ajax.class.php
13370
0644
edit
dl
rm
wpml-private-actions-tm.php
3572
0644
edit
dl
rm
wpml-private-actions.php
4482
0644
edit
dl
rm
wpml-private-filters.php
1049
0644
edit
dl
rm
wpml_load_request_handler.php
1547
0644
edit
dl
rm
wpml_zip.php
23598
0644
edit
dl
rm
Edit:
/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/inc/js-tm-scripts.php
(3207B)
<?php /** * Registers TM scripts that they are being used from WPML plugin * Hooked to `admin_enqueue_scripts` and 'wp_enqueue_scripts' */ if ( ! \WPML\Plugins::isTMActive() && defined( 'WPML_TM_URL' ) ) { /** * Registers scripts so that they can be reused throughout WPML plugins */ function wpml_tm_register_js_scripts() { if ( \WPML\Setup\Option::isTMAllowed() ) { wp_register_script( 'wpml-tm-editor-templates', WPML_TM_URL . '/res/js/templates-compiled.js', array(), ICL_SITEPRESS_SCRIPT_VERSION, true ); wp_register_script( 'wpml-tm-editor-job', WPML_TM_URL . '/res/js/translation-editor/wpml-tm-editor-job.js', array( 'underscore', 'backbone' ), ICL_SITEPRESS_SCRIPT_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', ); $additional_requirements = array( 'wpml-tm-editor-footer-view' => array( 'wpml-tm-progressbar' ), ); foreach ( $scripts as $script ) { wp_register_script( $script, WPML_TM_URL . '/res/js/translation-editor/' . $script . '.js', array_merge( array( 'wpml-tm-editor-job' ), isset( $additional_requirements[ $script ] ) ? $additional_requirements[ $script ] : array() ), ICL_SITEPRESS_SCRIPT_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 ), ICL_SITEPRESS_SCRIPT_VERSION, true ); wp_register_script( 'wpml-tp-polling-box-populate', WPML_TM_URL . '/res/js/tp-polling/box-populate.js', array( 'jquery' ), ICL_SITEPRESS_SCRIPT_VERSION, true ); wp_register_script( 'wpml-tp-polling', WPML_TM_URL . '/res/js/tp-polling/poll-for-translations.js', array( 'jquery', 'wpml-tp-polling-box-populate' ), ICL_SITEPRESS_SCRIPT_VERSION, true ); wp_register_script( 'wpml-tm-mcs', WPML_TM_URL . '/res/js/mcs/wpml-tm-mcs.js', array( 'wpml-tp-polling', 'jquery' ), ICL_SITEPRESS_SCRIPT_VERSION, true ); wp_register_script( 'wpml-tm-mcs-translate-link-targets', WPML_TM_URL . '/res/js/mcs/wpml-tm-mcs-translate-link-targets.js', array( 'jquery' ), ICL_SITEPRESS_SCRIPT_VERSION, true ); } } if ( is_admin() ) { add_action( 'admin_enqueue_scripts', 'wpml_tm_register_js_scripts' ); } else { add_action( 'wp_enqueue_scripts', 'wpml_tm_register_js_scripts' ); } }
Save
cmd:
run