PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.2.10
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.2.10
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / views / admin / export / variation_options_common.php
wp-all-export / views / admin / export Last commit date
blocks 4 years ago options 4 years ago template 4 years ago google.php 4 years ago index.php 4 years ago options.php 4 years ago process.php 4 years ago success_page.php 4 years ago template.php 4 years ago variation_options.php 4 years ago variation_options_common.php 4 years ago
variation_options_common.php
42 lines
1 <script type="text/javascript">
2 (function ($) {
3 $(function () {
4
5 function updateCheckSelect() {
6 var exportVariations = $('#export_variations').val();
7 var exportVariationsTitle = $('#export_variations_title').val();
8
9 $('.sub-options-' + exportVariations).css('display', 'block');
10 }
11
12 $('.export_variations').change(function () {
13
14 var inputName = $(this).attr('name');
15 $('.sub-options').slideUp('fast');
16 var value = $('input[name='+inputName+']:checked').val();
17 var $thisInput = $('input.export_variations[value='+value +']');
18 $thisInput.prop('checked', 'checked');
19 $('#export_variations').val(value);
20 if (value <= 2) {
21 $thisInput.parent().parent().find('.sub-options').slideDown('fast');
22 $thisInput.parent().parent().find('.sub-options').find('input').eq(0).attr('checked', 'checked');
23 }
24 });
25
26 $('.export_variations_title').change(function(event){
27
28 var inputName = $(this).attr('name');
29 var value = $('input[name='+inputName +']:checked').val();
30 var $thisInput = $('.export_variations_title[value='+value +']');
31 $thisInput.prop('checked', 'checked');
32
33 $('#export_variations_title').val(value);
34 });
35
36 updateCheckSelect();
37 });
38 })(jQuery);
39 </script>
40
41 <input type="hidden" id="export_variations" name="export_variations" value="<?php echo XmlExportEngine::getProductVariationMode();?>" />
42 <input type="hidden" id="export_variations_title" name="export_variations_title" value="<?php echo XmlExportEngine::getProductVariationTitleMode();?>" />