From 3f83763ff96008458acdbed40b416f862ad1fcb8 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sun, 7 Aug 2016 15:15:55 +0200 Subject: [PATCH] [index] Don't render 'Show inactive bridges' if non inactive --- index.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 11211c66..94c8a118 100644 --- a/index.php +++ b/index.php @@ -188,11 +188,13 @@ $formats = Format::searchInformation(); RSS-Bridge alpha 0.2 ~ Public Domain
/ active bridges.

'; - else - echo '
'; + if($activeFoundBridgeCount !== count($bridgeList)){ + // FIXME: This should be done in pure CSS + if(!$showInactive) + echo '
'; + else + echo '
'; + } ?>