Browse Source

fix search url

yggdrasil-0.4.7
ghost 1 year ago
parent
commit
f7f4f54b62
  1. 2
      src/public/peer.php

2
src/public/peer.php

@ -119,7 +119,7 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]); @@ -119,7 +119,7 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]);
<div class="container">
<div class="row">
<a class="logo" href="<?php echo WEBSITE_URL ?>"><?php echo str_replace('YGG', '<span>YGG</span>', WEBSITE_NAME) ?></a>
<form name="search" method="get" action="<?php echo WEBSITE_URL ?>/peer.php">
<form name="search" method="get" action="<?php echo WEBSITE_URL ?>/search.php">
<input type="text" name="search" value="" placeholder="<?php echo _('address, ip, port, keyword...') ?>" />
<button type="submit"><?php echo _('search') ?></button>
</form>

Loading…
Cancel
Save