[28876] | 1 | {footer_script} |
---|
[23472] | 2 | $('.switch-button.type span').click(function() { |
---|
| 3 | $(this).siblings('span').removeClass('active'); |
---|
| 4 | $(this).addClass('active'); |
---|
| 5 | |
---|
| 6 | if ($(this).hasClass('common')) { |
---|
| 7 | $(this).nextAll('input').val('false'); |
---|
| 8 | } |
---|
| 9 | else { |
---|
| 10 | $(this).nextAll('input').val('true'); |
---|
| 11 | } |
---|
| 12 | }); |
---|
| 13 | |
---|
| 14 | $('.switch-button.other span').click(function() { |
---|
| 15 | if ($(this).hasClass('active')) { |
---|
| 16 | $(this).removeClass('active'); |
---|
| 17 | $(this).next('input').val('false'); |
---|
| 18 | } |
---|
| 19 | else { |
---|
| 20 | $(this).addClass('active'); |
---|
| 21 | $(this).next('input').val('true'); |
---|
| 22 | } |
---|
| 23 | }); |
---|
[26607] | 24 | |
---|
| 25 | $('.switch-button.ignore span').click(function() { |
---|
| 26 | if ($(this).hasClass('active')) { |
---|
| 27 | $(this).removeClass('active'); |
---|
| 28 | $(this).next('input').val('false'); |
---|
| 29 | } |
---|
| 30 | else { |
---|
| 31 | $(this).addClass('active'); |
---|
| 32 | $(this).next('input').val('true'); |
---|
| 33 | } |
---|
| 34 | }); |
---|
[23472] | 35 | |
---|
[28876] | 36 | $('.folder > td > .switch-button span').click(function() { |
---|
| 37 | $(this).removeClass('active') |
---|
| 38 | .closest('.folder').next('.nested') |
---|
| 39 | .find('tr:not(.folder) > td > .switch-button span[data-val="'+ $(this).data('val') +'"]') |
---|
| 40 | .trigger('click'); |
---|
| 41 | }); |
---|
| 42 | {/footer_script} |
---|
| 43 | |
---|
[23472] | 44 | <form method="POST" action="{$F_ACTION}" class="properties"> |
---|
| 45 | <fieldset> |
---|
[26059] | 46 | <legend>{'Select dependencies'|translate}</legend> |
---|
[23472] | 47 | |
---|
[28876] | 48 | {include file=$PLA_ABS_PATH|cat:'template/config_list.inc.tpl' files=$PLA_FILES level=0 path=""} |
---|
[23472] | 49 | |
---|
[26059] | 50 | <p class="formButtons"><input type="submit" value="{'Continue'|translate}"></p> |
---|
[23472] | 51 | </fieldset> |
---|
| 52 | </form> |
---|