In simplenews_block_form there are:
$form['display_mail'] = array(
'#title' => t('User'),
'#value' => check_plain($user->name),
);
Can you change it with?:
$form['display_mail'] = array(
'#title' => t('User'),
'#value' => '<div class="mail">' . check_plain($user->name) . '</div>',
);
or
$form['display_mail'] = array(
'#title' => t('User'),
'#value' => theme('display_mail',check_plain($user->name)),
);
I know i can chage it with a form_alter but i thinks it's better to change it in the module.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | simplenews.315223.patch | 690 bytes | sutharsan |
Comments
Comment #1
sutharsan commentedIt is silly that this slipped in. You are right, this must be themable and not displayed like this.
Attached patch is now committed.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.