1
0
Fork 0
forked from blallo/rss-bridge
This commit is contained in:
Grummfy 2014-07-20 16:49:53 +02:00
parent 42f6ee09e5
commit c297869a3c

View file

@ -147,8 +147,9 @@ $formats = Format::searchInformation();
<?php <?php
$bridgecount = 0; $bridgecount = 0;
foreach($bridges as $bridgeReference => $bridgeInformations): foreach($bridges as $bridgeReference => $bridgeInformations):
if(BridgeWhitelist($whitelist_selection, $bridgeReference)):
?> ?>
<?php if(BridgeWhitelist($whitelist_selection, $bridgeReference)): ?>
<section id="bridge-<?= $bridgeReference ?>" data-ref="<?= $bridgeReference ?>"> <section id="bridge-<?= $bridgeReference ?>" data-ref="<?= $bridgeReference ?>">
<h2><?= isset($bridgeInformations['homepage']) ? '<a href="'.$bridgeInformations['homepage'].'">'.$bridgeInformations['name'].'</a>' : $bridgeInformations['name'] ?></h2> <h2><?= isset($bridgeInformations['homepage']) ? '<a href="'.$bridgeInformations['homepage'].'">'.$bridgeInformations['name'].'</a>' : $bridgeInformations['name'] ?></h2>
<p class="description"> <p class="description">
@ -198,10 +199,11 @@ $formats = Format::searchInformation();
<?php endif; ?> <?php endif; ?>
<?= isset($bridgeInformations['maintainer']) ? '<span class="maintainer">'.$bridgeInformations['maintainer'].'</span>' : '' ?> <?= isset($bridgeInformations['maintainer']) ? '<span class="maintainer">'.$bridgeInformations['maintainer'].'</span>' : '' ?>
</section> </section>
<?php <?php
$bridgecount++; $bridgecount++;
endif; endif;
endforeach; ?> endforeach;
?>
<footer> <footer>
<?= $bridgecount; ?> active bridges<br> <?= $bridgecount; ?> active bridges<br>
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge alpha 0.1 ~ Public Domain</a> <a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge alpha 0.1 ~ Public Domain</a>