Код:

Код:
<!-- Чекбокс "Выбрать все" при модерировании темы и форума © Alex_63 -->
<style>.modmenu #CheckAll{margin-left:0.7em!important}#lblCheckAll{cursor:pointer}</style>
<script type="text/javascript">
if (!$('#navlinks #navawards').length && $('#pun-modviewforum').length) {
$('th.tcmod').html('<input type="checkbox" id="CheckAll" title="Выбрать все">');
$('#CheckAll').click(function() {
if ($('#CheckAll').attr('checked')) {
$(this).parents('table').find('td.tcmod input[type="checkbox"]').attr('checked', true);
} else {
$(this).parents('table').find('td.tcmod input[type="checkbox"]').attr('checked', false);
}
});
} else if (GroupID <= 2 && $('.punbb[id^="pun-multi"]').length) {
$('.modmenu .button').before('<label id="lblCheckAll" style="position:static;font-size:10px"><b>Выбрать Всё </b><input type="checkbox" id="CheckAll" title="Выбрать все"></label>');
$('#CheckAll').live('click', function() {
if ($('#CheckAll').attr('checked')) {
$(this).parents('#pun-main').find('.pl-select input[type="checkbox"]').attr('checked', true);
} else {
$(this).parents('#pun-main').find('.pl-select input[type="checkbox"]').attr('checked', false);
}
});
}
$(window).load(function() {
if ($('#pun-navlinks #navawards').length) {
var a = $('form[action*="/moderate.php?fid="] .modmenu>p.container');
var b = a.find('#lblCheckAll,input.button').detach();
b.appendTo(a.empty());
/***** Или Так:
var b = a.find('#messages-selector');
if(b.length){a[0].childNodes[2].data='';b.remove();}
******/
}
});
</script>
<!--- конец --->

Источник скрипта