diff --git a/securemail/securemail.php b/securemail/securemail.php index d396b3a8..0c0b282b 100644 --- a/securemail/securemail.php +++ b/securemail/securemail.php @@ -77,7 +77,7 @@ function securemail_settings_post(App &$a, array &$b) $enable = (!empty($_POST['securemail-enable']) ? 1 : 0); DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable); - if ($_POST['securemail-submit'] == DI::l10n()->t('Save and send test')) { + if ($_POST['securemail-submit'] == 'test' { $res = DI::emailer()->send(new SecureTestEmail(DI::app(), DI::config(), DI::pConfig(), DI::baseUrl())); diff --git a/securemail/templates/admin.tpl b/securemail/templates/admin.tpl index c23ff2cd..ec35e332 100644 --- a/securemail/templates/admin.tpl +++ b/securemail/templates/admin.tpl @@ -1,26 +1,16 @@ -{{* We organize the settings in collapsable panel-groups *}} -{{* this div should be in frio theme *}} -