Commit c9e01c6e authored by catch's avatar catch
Browse files

Issue #1324972 by betz: Change user block links to item_list() instead of markup.

parent 51dd3e20
...@@ -1231,7 +1231,7 @@ function user_login_block($form) { ...@@ -1231,7 +1231,7 @@ function user_login_block($form) {
$items[] = l(t('Create new account'), 'user/register', array('attributes' => array('title' => t('Create a new user account.')))); $items[] = l(t('Create new account'), 'user/register', array('attributes' => array('title' => t('Create a new user account.'))));
} }
$items[] = l(t('Request new password'), 'user/password', array('attributes' => array('title' => t('Request new password via e-mail.')))); $items[] = l(t('Request new password'), 'user/password', array('attributes' => array('title' => t('Request new password via e-mail.'))));
$form['links'] = array('#markup' => theme('item_list', array('items' => $items))); $form['links'] = array('#theme' => 'item_list', '#items' => $items);
return $form; return $form;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment