use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{ListerControlsIncidence}++;$this->out("\n");$this->out(Zen::PerlHandler->get("IIf6c7e28bdd48eb29efc7b9362c0037a2->mnt_mod_list")->do($this->{C}));$this->out("    <div class=\"btn-group mb-4\">\n        <button type=\"button\" class=\"btn btn-primary\" onclick=\"if (confirm(\'This action will check all Memberships and will compare records in the DB with the records in the corresponding .htpasswd files. For expired Memberships, records in .htpasswd will be deleted (unless they have already been deleted by cron). For any damaged .htpasswd files, records will be restored. Valid records will remain untouched. Please confirm you want to proceed.\')) jinPopWin(\'/action/Jin/Membership/Web/check_or_fix.html\',600,400); return false;\">Check/Fix all</button>\n        <button type=\"button\" class=\"btn btn-primary dropdown-toggle dropdown-toggle-split\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Toggle Dropdown</span>\n        </button>\n        <div class=\"dropdown-menu\">\n");my $in = $C->{ModList};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{t} = -1;for my $f (@$loop) {$C->{ITERATION}{t}++;$C->{t} = $f;$this->out("            <a href=\"javascript:Lister.elements[\'TabCustom1\'].value = \'$C->{t}{type}\'; Lister.elements[\'TabAct\'].value = \'edit\'; Lister.submit()\" class=\"dropdown-item\">Add $C->{t}{title}</a>\n");}$this->out("        </div>\n    </div>\n");}