/
home
/
vianto5
/
hidalgoresidences.mx
/
wp-content
/
plugins
/
sitepress-multilingual-cms
/
res
/
js
/
/home/vianto5/hidalgoresidences.mx/wp-content/plugins/sitepress-multilingual-cms/res/js
mkdir
upload
Name
Size
Mode
Actions
cookies/
-
0755
rm
display-as-translated/
-
0755
rm
languages/
-
0755
rm
mcs/
-
0755
rm
media/
-
0755
rm
requirements/
-
0755
rm
settings/
-
0755
rm
shared/
-
0755
rm
taxonomy-translation/
-
0755
rm
tm-dashboard/
-
0755
rm
tooltip/
-
0755
rm
tp-polling/
-
0755
rm
translation-editor/
-
0755
rm
translation-feedback/
-
0755
rm
affiliate-info.js
824
0644
edit
dl
rm
ate-dashboard.php
1624
0644
edit
dl
rm
ate-jobs-migration.js
628
0644
edit
dl
rm
ate-widget.php
1476
0644
edit
dl
rm
clear-preferred-ts.js
1430
0644
edit
dl
rm
content-translation.js
5182
0644
edit
dl
rm
dismiss-taxonomy-help-notice.js
564
0644
edit
dl
rm
fix-tables-collation.js
734
0644
edit
dl
rm
fix-tp-id.js
733
0644
edit
dl
rm
icl-admin-notifier.js
1935
0644
edit
dl
rm
iframeResizer.min.js
5571
0644
edit
dl
rm
jquery.cookie.js
2817
0644
edit
dl
rm
language-switchers-settings.js
30350
0644
edit
dl
rm
language-switchers-settings.min.js
14669
0644
edit
dl
rm
languages.js
22699
0644
edit
dl
rm
menus-sync.js
5881
0644
edit
dl
rm
orphan-comments.js
2627
0644
edit
dl
rm
otgs-notices.js
3629
0644
edit
dl
rm
overview.js
270
0644
edit
dl
rm
post-edit-alert.js
1448
0644
edit
dl
rm
post-edit-languages.js
2390
0644
edit
dl
rm
post-edit-terms.js
5482
0644
edit
dl
rm
post-edit.js
16835
0644
edit
dl
rm
post-list-quickedit.js
1515
0644
edit
dl
rm
refresh-services.js
584
0644
edit
dl
rm
reset-preferred-ts.js
1340
0644
edit
dl
rm
reset-pro-trans-config.js
2560
0644
edit
dl
rm
scripts-tm.js
8394
0644
edit
dl
rm
scripts.js
19415
0644
edit
dl
rm
set-translation-role.js
2047
0644
edit
dl
rm
sitepress.js
306
0644
edit
dl
rm
support-tm-logs.js
15956
0644
edit
dl
rm
tags.js
7300
0644
edit
dl
rm
taxonomy-hierarchy-sync-message.js
724
0644
edit
dl
rm
templates-compiled.js
36708
0644
edit
dl
rm
theme-localization.js
2165
0644
edit
dl
rm
theme-plugin-localization.js
1979
0644
edit
dl
rm
translation-options.js
260
0644
edit
dl
rm
translation-proxy.js
368
0644
edit
dl
rm
translation-roles-select2.js
1648
0644
edit
dl
rm
translation-services.js
11049
0644
edit
dl
rm
translation-synchronization.js
260
0644
edit
dl
rm
troubleshooting.js
8140
0644
edit
dl
rm
unlisted-translation-service.js
6276
0644
edit
dl
rm
widgets.js
663
0644
edit
dl
rm
widgets.min.js
396
0644
edit
dl
rm
wizard.js
4422
0644
edit
dl
rm
wp-nav-menus.js
1598
0644
edit
dl
rm
wpml-color-picker.js
1021
0644
edit
dl
rm
wpml-progressbar.js
1811
0644
edit
dl
rm
wpml-proxy-interceptor.js
8272
0644
edit
dl
rm
wpml-simple-language-selector.js
1337
0644
edit
dl
rm
wpml-simple-language-selector.min.js
959
0644
edit
dl
rm
wpml-tp-api.js
1223
0644
edit
dl
rm
wpml-user-language.js
885
0644
edit
dl
rm
xdomain-data.js
3373
0644
edit
dl
rm
Edit:
/home/vianto5/hidalgoresidences.mx/wp-content/plugins/sitepress-multilingual-cms/res/js/wizard.js
(4422B)
/*global ajaxurl, _ */ var WPMLCore = WPMLCore || {}; WPMLCore.wizardFramework = function ( $, wizardImplementation ) { "use strict"; var self = this; var init = function () { self.storage = {}; self.backButton = $( '.js-wizard-back' ); self.nextButton = $( '.js-wizard-next' ); self.stepContent = $( '.js-wizard-step-content' ); self.nonce = $( '.js-wpml-wizard' ).data( 'nonce' ); self.steps = $( '.js-wizard-step' ); self.currentStep = self.getCurrentStep(); self.getCurrentStepIndex(); self.initializeButtons(); wizardImplementation.notifyCurrentStep( self.currentStep ); self.fetchContent(); self.hideNotices(); self.hideScreenOptions(); }; var showElement = function ( element, state ) { if ( state ) { element.show(); } else { element.hide(); } }; self.moveToStep = function ( newStep ) { var beforeCurrentStepClass = 'wizard-active-step'; self.steps.removeClass( beforeCurrentStepClass ); self.steps.each( function ( index ) { if ( index === self.currentStepIndex ) { $( this ).removeClass( 'wizard-current-step' ); } if ( index === newStep ) { self.currentStep = $( this ).addClass( 'wizard-current-step' ).data( 'step-slug' ); beforeCurrentStepClass = ''; } if ( beforeCurrentStepClass ) { $( this ).addClass( beforeCurrentStepClass ); } } ); self.currentStepIndex = newStep; self.setBackButtonState(); self.setNextButtonState(); self.fetchContent(); }; self.showSteps = function ( state ) { showElement( $( '.js-wizard-steps-container' ), state ); }; self.moveToNextStep = function ( e ) { wizardImplementation.isOkToMoveToNextStep( self.currentStep, function () { self.moveToStep( self.currentStepIndex + 1 ); } ); }; self.moveToPreviousStep = function ( e ) { self.moveToStep( self.currentStepIndex - 1 ); }; self.getCurrentStepIndex = function () { self.steps.each( function ( index ) { if ( self.currentStep === $( this ).data( 'step-slug' ) ) { self.currentStepIndex = index; } } ); }; self.getCurrentStep = function () { return self.stepContent.data( 'current-step' ); }; self.initializeButtons = function () { self.backButton.on( 'click', self.moveToPreviousStep ); self.nextButton.on( 'click', self.moveToNextStep ); self.setBackButtonState(); self.setNextButtonState(); }; self.setBackButtonState = function () { self.backButton.prop( 'disabled', self.currentStepIndex === 0 ); }; self.setNextButtonState = function () { self.enableNextButton( self.currentStepIndex !== self.steps.length - 1 ); }; self.fetchContent = function ( data ) { if ( !data ) { data = {}; } data = _.extend( data, { action: 'wpml_wizard_fetch_content', step_slug: self.currentStep, nonce: self.nonce } ); $.ajax( { type: 'POST', url: ajaxurl, dataType: 'json', data: data, success: function ( response ) { $( '.js-wpml-wizard' ).show(); if ( response.success ) { self.stepContent.html( response.data ); wizardImplementation.notifyContentFetched( self.currentStep, self.stepContent ); } } } ); }; self.showBackButton = function ( state ) { showElement( self.backButton, state ); }; self.showNextButton = function ( state ) { showElement( self.nextButton, state ); }; self.setNextButtonText = function ( text ) { self.nextButton.html( text ); }; self.enableNextButton = function ( state ) { self.nextButton.prop( 'disabled', ! state ); }; self.setNextButtonPrimary = function ( state ) { if ( state ) { self.nextButton.addClass( 'button-primary' ).removeClass( 'button-secondary' ); } else { self.nextButton.addClass( 'button-secondary' ).removeClass( 'button-primary' ); } }; self.triggerNextStep = function () { self.nextButton.trigger( 'click' ); }; self.storeData = function ( key, data ) { self.storage[ key ] = data; }; self.getData = function ( key, defaultValue ) { if ( self.storage[ key ] ) { return self.storage[ key ]; } else { return defaultValue; } }; self.hideNotices = function () { $( '.otgs-notice, .icl_admin_message' ).hide(); }; self.hideScreenOptions = function () { $( '#screen-meta-links' ).hide(); }; init(); }; WPMLCore.wizardFrameworkFactory = { create: function ( $, wizardImplementation ) { "use strict"; return new WPMLCore.wizardFramework( $, wizardImplementation ); } };
Save
cmd:
run