/
home
/
vianto5
/
cititower.mx
/
wp-content
/
plugins
/
sitepress-multilingual-cms
/
res
/
js
/
/home/vianto5/cititower.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
1693
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
5390
0644
edit
dl
rm
post-edit.js
13622
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
19353
0644
edit
dl
rm
set-translation-role.js
2047
0644
edit
dl
rm
sitepress.js
306
0644
edit
dl
rm
support-tm-logs.js
4755
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-language-per-domain-sso.js
375
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/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/res/js/orphan-comments.js
(2627B)
/*jslint browser: true, nomen: true, laxbreak: true*/ /*global ajaxurl */ "use strict"; jQuery(function ($) { var deleted = 0; var deleting = false; var initial_orphans_count = 0; var orphansCount = $('#wpml_orphans_count'); var orphansCheckCount = orphansCount.find('.check-orphans'); var orphansCountResults = orphansCount.find('.orphans-check-results'); var orphansCountProgress = orphansCount.find('.count-in-progress'); var deletingProgress = orphansCount.find('.delete-in-progress'); var deletedOrphans = orphansCount.find('.deleted'); var cleanOrphans = orphansCount.find('.clean-orphans'); var noOrphans = orphansCount.find('.no_orphans'); var orphansCheckLoader = orphansCount.find('.check_loader'); deletedOrphans.hide(); noOrphans.hide(); orphansCountProgress.hide(); orphansCountResults.hide(); orphansCheckLoader.hide(); orphansCount.show(); orphansCheckCount.on('click', count_orphans); cleanOrphans.on('click', delete_orphans); var nonce = orphansCount.find('#wpml_orphan_comment_nonce').val(); function resetDeletion() { deletingProgress.fadeOut(); deleted = 0; deleting = 0; } function count_orphans() { if(!deleting) { orphansCheckCount.fadeOut(); orphansCountProgress.fadeIn(); } var data = { action : 'wpml_count_orphans', _icl_nonce: nonce }; $.post( ajaxurl, data, function (res) { orphansCountProgress.fadeOut(); var orphansCountResult = parseInt(res.success ? res.data : 0); orphansCheckLoader.fadeOut(); orphansCountResults.find('.count').html(orphansCountResult); if (orphansCountResult > 0) { if (initial_orphans_count == 0) { initial_orphans_count = orphansCountResult; cleanOrphans.fadeIn(); } noOrphans.fadeOut(); orphansCountResults.fadeIn(); if (deleting) { delete_orphans(); } else { resetDeletion(); } } else { resetDeletion(); noOrphans.fadeIn(); orphansCountResults.fadeOut(); orphansCheckCount.fadeIn(); } } ); } function delete_orphans() { cleanOrphans.fadeOut(); deletingProgress.fadeIn(); deleting = true; deletedOrphans.fadeIn(); var data = { 'action' : 'wpml_delete_orphans', 'data' : {how_many: Math.max(10, initial_orphans_count / 10)}, _icl_nonce: nonce }; $.post( ajaxurl, data, function (res) { var deletedComments = res.success ? res.data : 0; deleted += parseInt(deletedComments); deletedOrphans.html(deleted); count_orphans(); } ); } } );
Save
cmd:
run