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.

CommentFileSizeAuthor
#1 simplenews.315223.patch690 bytessutharsan

Comments

sutharsan’s picture

Status: Active » Fixed
StatusFileSize
new690 bytes

It is silly that this slipped in. You are right, this must be themable and not displayed like this.
Attached patch is now committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.