{footer_script}{literal} $('.strings tr.string td.toggler').click(function() { if ($(this).hasClass('iconpla-plus-circled')) { $(this).removeClass('iconpla-plus-circled').addClass('iconpla-minus-circled'); $(this).parent().nextUntil('tr.string').show(); } else { $(this).removeClass('iconpla-minus-circled').addClass('iconpla-plus-circled'); $(this).parent().nextUntil('tr.string').hide(); } }); $('.strings tr.string').hover( function() { $(this).addClass('hover').nextUntil('tr.string').addClass('hover'); }, function() { $(this).removeClass('hover').nextUntil('tr.string').removeClass('hover'); } ); $('.strings tr.file').hover( function() { $(this).prevAll('tr.string:first').addClass('hover').nextUntil('tr.string').addClass('hover'); }, function() { $(this).prevAll('tr.string:first').removeClass('hover').nextUntil('tr.string').removeClass('hover'); } ); $('.open-all').click(function() { $('.strings tr.string td.toggler').removeClass('iconpla-plus-circled').addClass('iconpla-minus-circled'); $('.strings tr.file').show(); }); $('.open-missing').click(function() { $('.strings tr.string.missing td.toggler').removeClass('iconpla-plus-circled').addClass('iconpla-minus-circled'); $('.strings tr.file.string-missing').show(); }); $('.close-all').click(function() { $('.strings tr.string td.toggler').removeClass('iconpla-minus-circled').addClass('iconpla-plus-circled'); $('.strings tr.file').hide(); }); $('.tiptip').tipTip({ delay: 0, fadeIn: 200, fadeOut: 200, defaultPosition: 'right' }); {/literal}{/footer_script} {html_style} .strings tr td:nth-last-child(-n+{math equation="2+x" x=$PLA_LANG_FILES|@count}) {ldelim} text-align:center; } {/html_style}