update placeholder

This commit is contained in:
ghost 2023-11-25 05:01:47 +02:00
parent da365c1ab1
commit e53df01d47
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ $index = $client->index(
<header>
<form name="search" method="GET" action="<?php echo $config->webui->url->base; ?>/search.php">
<h1><?php echo _('Yo!') ?></h1>
<input type="text" name="q" placeholder="<?php echo ('request...') ?>" value="" />
<input type="text" name="q" placeholder="<?php echo ('request something...') ?>" value="" />
<button type="submit"><?php echo _('search') ?></button>
</form>
</header>

View File

@ -214,7 +214,7 @@ $results = $index->search($q)
<header>
<form name="search" method="GET" action="<?php echo $config->webui->url->base; ?>/search.php">
<h1><a href="<?php echo $config->webui->url->base; ?>"><?php echo _('Yo!') ?></a></h1>
<input type="text" name="q" placeholder="<?php echo _('request') ?>" value="<?php echo htmlentities($q) ?>" />
<input type="text" name="q" placeholder="<?php echo _('request something...') ?>" value="<?php echo htmlentities($q) ?>" />
<button type="submit"><?php echo _('search'); ?></button>
</form>
</header>