| @@ -118,8 +118,9 @@ | ||
| 118 | 118 | |
| 119 | 119 | // In the future there can be more settings |
| 120 | 120 | $option['2fa_email_sub'] = @stripslashes($_POST['lz_2fa_email_sub']); |
| 121 | 121 | $option['2fa_email_msg'] = @stripslashes($_POST['lz_2fa_email_msg']); |
| 122 | + $option['2fa_email_html'] = isset($_POST['lz_2fa_email_html']); | |
| 122 | 123 | |
| 123 | 124 | // Is there an error ? |
| 124 | 125 | if(!empty($lz_error)){ |
| 125 | 126 | return loginizer_page_2fa_T(); |
| @@ -449,8 +450,16 @@ | ||
| 449 | 450 | <br />$display_name - Users Display Name |
| 450 | 451 | <br />$user_login - Username |
| 451 | 452 | <br />$first_name - Users First Name |
| 452 | 453 | <br />$last_name - Users Last Name |
| 454 | + </td> | |
| 455 | + </tr> | |
| 456 | + <tr> | |
| 457 | + <td scope="row" valign="top" style="width:350px !important"> | |
| 458 | + <label for="loginizer_2fa_html_mail"><?php echo __('Send email as HTML', 'loginizer'); ?></label> | |
| 459 | + </td> | |
| 460 | + <td> | |
| 461 | + <input type="checkbox" value="1" name="lz_2fa_email_html" id="lz_2fa_email_html" <?php echo lz_POSTchecked('lz_2fa_email_html', (empty($loginizer['2fa_email_html']) ? false : true)); ?> /> | |
| 453 | 462 | </td> |
| 454 | 463 | </tr> |
| 455 | 464 | </table><br /> |
| 456 | 465 | <center><input name="save_2fa_email_template_lz" class="button button-primary action" value="<?php echo __('Save Settings', 'loginizer'); ?>" type="submit" /></center> |