mirror of
https://github.com/YGGverse/YGGstate.git
synced 2025-01-26 06:24:22 +00:00
add tracker peers info to search results tip
This commit is contained in:
parent
9cf3003507
commit
098f86b2ef
@ -223,19 +223,27 @@ $results = $sphinx->searchPeers($requestQuery,
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
<?php if ($total >= WEBSITE_PEER_REMOTE_PAGINATION_LIMIT) { ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="9" class="text-left">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="4" class="text-left">
|
||||
<?php if ($total >= WEBSITE_PEER_REMOTE_PAGINATION_LIMIT) { ?>
|
||||
<?php if ($requestPage > 1) { ?>
|
||||
<a href="search.php?query=<?php echo urlencode($requestQuery) ?>&page=<?php echo $requestPage - 1 ?>"><?php echo _('←') ?></a>
|
||||
<?php } ?>
|
||||
<?php echo sprintf(_('page %s'), $requestPage) ?>
|
||||
<a href="search.php?query=<?php echo urlencode($requestQuery) ?>&page=<?php echo $requestPage + 1 ?>"><?php echo _('→') ?></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td colspan="5" class="text-right">
|
||||
<?php if (TRACKER_PUBLIC_PEERS) { ?>
|
||||
<div class="margin-y-8"><?php echo _('get yourself tracked by connection') ?><div>
|
||||
<?php foreach (TRACKER_PUBLIC_PEERS as $address) { ?>
|
||||
<div><?php echo $address ?><div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<?php } else { ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user