Browse Source

fix w3c validation errors

yggdrasil-0.4.7
ghost 1 year ago
parent
commit
a91e06fdd8
  1. 10
      src/public/search.php

10
src/public/search.php

@ -236,9 +236,9 @@ $results = $sphinx->searchPeers($requestQuery,
</td> </td>
<td colspan="5" class="text-right"> <td colspan="5" class="text-right">
<?php if (TRACKER_PUBLIC_PEERS) { ?> <?php if (TRACKER_PUBLIC_PEERS) { ?>
<div class="margin-y-8"><?php echo _('get yourself tracked by connection') ?><div> <div class="margin-y-8"><?php echo _('get yourself tracked by connection') ?></div>
<?php foreach (TRACKER_PUBLIC_PEERS as $address) { ?> <?php foreach (TRACKER_PUBLIC_PEERS as $address) { ?>
<div><?php echo $address ?><div> <div><?php echo $address ?></div>
<?php } ?> <?php } ?>
<?php } ?> <?php } ?>
</td> </td>
@ -248,11 +248,11 @@ $results = $sphinx->searchPeers($requestQuery,
<tfoot> <tfoot>
<tr> <tr>
<td class="text-center"> <td class="text-center">
<div class="margin-y-8"><?php echo _('not found') ?><div> <div class="margin-y-8"><?php echo _('not found') ?></div>
<?php if (TRACKER_PUBLIC_PEERS) { ?> <?php if (TRACKER_PUBLIC_PEERS) { ?>
<div class="margin-y-8"><?php echo _('get yourself tracked by connection') ?><div> <div class="margin-y-8"><?php echo _('get yourself tracked by connection') ?></div>
<?php foreach (TRACKER_PUBLIC_PEERS as $address) { ?> <?php foreach (TRACKER_PUBLIC_PEERS as $address) { ?>
<div class="margin-y-8"><?php echo $address ?><div> <div class="margin-y-8"><?php echo $address ?></div>
<?php } ?> <?php } ?>
<?php } ?> <?php } ?>
</td> </td>

Loading…
Cancel
Save