Fix rendering of securemail user settings
The securemail addon was overwriting all of the user settings form rendered before it. I've added a concatenation operator to ensure we're not losing any content on this page.
This commit is contained in:
parent
38770af052
commit
78f40314ea
|
@ -60,7 +60,7 @@ function securemail_settings(App &$a, &$s){
|
||||||
|
|
||||||
$t = get_markup_template('admin.tpl', 'addon/securemail/');
|
$t = get_markup_template('admin.tpl', 'addon/securemail/');
|
||||||
|
|
||||||
$s = replace_macros($t, array(
|
$s .= replace_macros($t, array(
|
||||||
'$title' => t('"Secure Mail" Settings'),
|
'$title' => t('"Secure Mail" Settings'),
|
||||||
'$submit' => t('Save Settings'),
|
'$submit' => t('Save Settings'),
|
||||||
'$test' => t('Save and send test'), //NOTE: update also in 'post'
|
'$test' => t('Save and send test'), //NOTE: update also in 'post'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user