Make send button translatable

This commit is contained in:
2023-02-22 17:57:11 +01:00
parent 4ff1c42b97
commit 2c5ddcc29f
2 changed files with 18 additions and 14 deletions

View File

@ -38,7 +38,7 @@ echo htmlspecialchars($_POST['real_subj'] ?? '');
echo htmlspecialchars($_POST['msg'] ?? '');
?></textarea></label><br>
<label><input type="checkbox" name="accept_privacy" required<?php echo isset($_REQUEST['accept_privacy']) ? ' checked' : ''; ?>><?php echo _('I have read and agreed to the <a href="/privacy.php" target="_blank">Privacy Policy</a>'); ?></label><br>
<input type="submit" name="action" value="Send"></form><br>
<button type="submit" name="action"><?php echo _('Send'); ?></button></form><br>
<?php
if($_SERVER['REQUEST_METHOD']==='POST'){
$subject='Formmail';