aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterWebInterface/Util/FilterBox.pm
diff options
context:
space:
mode:
authorDarkelarious <github@333networks.com>2025-03-08 15:56:30 +0100
committerDarkelarious <github@333networks.com>2025-03-08 15:56:30 +0100
commit6bd235f3e62251d8763a552ab0042d59584de842 (patch)
tree2ff943b6ddb8aa8980a3ed1fb4a1f869fc787d1c /lib/MasterWebInterface/Util/FilterBox.pm
parent318a5a20a930192df788dbac54b1f9c60e1b98b8 (diff)
downloadWebInterface-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/FilterBox.pm')
-rwxr-xr-xlib/MasterWebInterface/Util/FilterBox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MasterWebInterface/Util/FilterBox.pm b/lib/MasterWebInterface/Util/FilterBox.pm
index 8db7a60..40218ac 100755
--- a/lib/MasterWebInterface/Util/FilterBox.pm
+++ b/lib/MasterWebInterface/Util/FilterBox.pm
@@ -22,7 +22,7 @@ sub htmlFilterBox
end;
# filter box
- form action => $opt{gamename} ? "/s/$opt{gamename}" : "/s", 'accept-charset' => 'UTF-8', method => 'get';
+ form action => $opt{action}, 'accept-charset' => 'UTF-8', method => 'get';
fieldset class => 'simple';
a href => '/g', $opt{sel} eq 'g' ? (class => 'sel') : (), 'Games';
a href => '/s', $opt{sel} eq 's' ? (class => 'sel') : (), 'Servers';