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
|
@ -83,7 +83,7 @@ if (empty($_FILES['probe']) or isset($errors))
|
|||
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max_file_size ?>">
|
||||
<?php echo add_session_id_input_tag() ?>
|
||||
<input type="file" name="probe" /><br><br>
|
||||
<input type="submit" value="<?php echo $l['admin']['pic_upload'] ?>">
|
||||
<button value="<?php echo $l['admin']['pic_upload'] ?>"><?php echo htmlspecialchars($l['admin']['pic_upload']) ?></button>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue