Change: replace inputs of type submit with button elements

Attributes 'type="submit"' got removed because it's the default type.
Therefore the attribute can be omitted.
This commit is contained in:
Heiko August 2020-04-27 11:23:48 +02:00
parent b13bfd52bb
commit f9d6025a75
9 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@
$c['main'] .= ' <form id="searchform" action="'.JLOG_PATH.'/search.php" accept-charset="UTF-8">
<p><input class="userdata" type="text" name="q" size="30" value="'.htmlspecialchars($searchstring, ENT_QUOTES).'" />
<input class="send" type="submit" value="'.$l['content_search'].'" /></p>
<button class="send" value="'.$l['content_search'].'">'.htmlspecialchars($l['content_search']).'</button></p>
</form>
<script type="text/javascript">jlog_searchpage = true;</script>
';