Browse Source

fix search attribute name

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

2
src/public/peer.php

@ -120,7 +120,7 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]); @@ -120,7 +120,7 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]);
<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 ?>/search.php">
<input type="text" name="search" value="" placeholder="<?php echo _('address, ip, port, keyword...') ?>" />
<input type="text" name="query" value="" placeholder="<?php echo _('address, ip, port, keyword...') ?>" />
<button type="submit"><?php echo _('search') ?></button>
</form>
</div>

Loading…
Cancel
Save