diff options
| author | Darkelarious <github@333networks.com> | 2025-03-08 15:56:30 +0100 |
|---|---|---|
| committer | Darkelarious <github@333networks.com> | 2025-03-08 15:56:30 +0100 |
| commit | 6bd235f3e62251d8763a552ab0042d59584de842 (patch) | |
| tree | 2ff943b6ddb8aa8980a3ed1fb4a1f869fc787d1c /lib/MasterWebInterface/Util/AdvancedFilterBox.pm | |
| parent | 318a5a20a930192df788dbac54b1f9c60e1b98b8 (diff) | |
| download | WebInterface-Perl-6bd235f3e62251d8763a552ab0042d59584de842.tar.gz WebInterface-Perl-6bd235f3e62251d8763a552ab0042d59584de842.zip | |
Metadata and update to hotfix 4.
Display thumbnails / snippets in 3rd party apps (like discord) and add map thumbnails + icons for multiple games. Minor fixes/optimisations.
Diffstat (limited to 'lib/MasterWebInterface/Util/AdvancedFilterBox.pm')
| -rwxr-xr-x | lib/MasterWebInterface/Util/AdvancedFilterBox.pm | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/MasterWebInterface/Util/AdvancedFilterBox.pm b/lib/MasterWebInterface/Util/AdvancedFilterBox.pm index a496a04..24382a2 100755 --- a/lib/MasterWebInterface/Util/AdvancedFilterBox.pm +++ b/lib/MasterWebInterface/Util/AdvancedFilterBox.pm @@ -19,7 +19,7 @@ use Data::Dumper 'Dumper'; # TODO: allow searching by IP, in combination with expired servers (and sanity check in javascript?) sub htmlAdvancedFilterBox { - my($self, %opt) = @_; + my ($self, %opt) = @_; div class => 'mainbox'; div class => "header"; @@ -31,6 +31,16 @@ sub htmlAdvancedFilterBox txt "."; end; end; + + if (0) + { + div class => "codeblock"; + p "No worries, Darkelarious is debugging an issue right now. Please ignore this code block."; + pre; + txt Dumper \%opt; + end; + end; + } # advanced filter form form action => "/adv", 'accept-charset' => 'UTF-8', method => 'get', class => "advancedfilter"; @@ -182,17 +192,6 @@ sub htmlAdvancedFilterBox end 'fieldset'; end; # form - # debugging box - if ( 0 ) - { - h2 "Debug information"; - div class => "codeblock"; - pre; - txt Dumper \%opt; - end; - end; - } - # return to simple filter/layout div class => "simpleadvanced"; a href => $opt{gamename} ? "/s/$opt{gamename}" : "/s"; |
