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

@ -25,7 +25,7 @@ if($_GET['p']) { ?>
<input id="class" type="text" size="20"></p>
<p><?php echo $l['admin']['pic_alt'] ?><br />
<input id="alt" type="text" size="20"></p>
<p><input type="submit" value="<?php echo $l['admin']['pic_insert'] ?>"></p>
<p><button value="<?php echo $l['admin']['pic_insert'] ?>"><?php echo htmlspecialchars($l['admin']['pic_insert']) ?></button></p>
</form>
<?php
}