aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterWebInterface/Util/AdvancedFilterBox.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MasterWebInterface/Util/AdvancedFilterBox.pm')
-rwxr-xr-xlib/MasterWebInterface/Util/AdvancedFilterBox.pm23
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";