Skip to content

Commit

Permalink
Added support for filtering slashboxes for lowbandwidth mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tvroom committed Oct 25, 2005
1 parent b84c9bd commit fd6a0ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions themes/slashcode/htdocs/index.pl
Expand Up @@ -394,6 +394,8 @@ sub displayStandardBlocks {
}

for my $bid (@boxes) {
next if $user->{lowbandwidth} && $constants->{lowbandwidth_bids_regex} eq "NONE";
next if $user->{lowbandwidth} && !($bid =~ $constants->{lowbandwidth_bids_regex} );
if ($bid eq 'mysite') {
$return .= portalsidebox(
getData('userboxhead'),
Expand Down

0 comments on commit fd6a0ab

Please sign in to comment.