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:
parent
b13bfd52bb
commit
f9d6025a75
9 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue