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
|
@ -52,7 +52,7 @@ class JlogUpdater
|
|||
$html .= $class->getForm($l);
|
||||
$version = $this->versions[$version];
|
||||
}
|
||||
$html .= '<p><input type="submit" name="update" value="' . $l['admin']['update_start'] . '" /></p>';
|
||||
$html .= '<p><button name="update" value="' . $l['admin']['update_start'] . '">' . htmlspecialchars($l['admin']['update_start']) . '</button></p>';
|
||||
$html .= '</form>';
|
||||
return $html;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue