2c2
< // $Id: mailalias.module,v 1.10 2005/11/29 18:37:30 webchick Exp $
---
> // $Id: mailalias.module,v 2005/03/07 14:43:30 cangrande Exp $
5,8c5,15
<   if ($type == 'form' && $category == 'account') {
<     // when user tries to edit his own data $output =
<     $output = form_textfield(t('Email aliases'), 'mailalias', $user->mailalias, 70, 255, t('Add any additional email addresses, separated by commas. We use these to identify the author of email submissions. These email addresses are private and are not shared with other users.'));
<     return array(array('title' => t('Personal information'), 'data' => $output, 'weight' => 2));
---
> if ($type == 'form' && $category == 'account') {
>   // when user tries to edit his own data $output =
>   $form['mailalias'] = array('#type' => 'textfield',
>          '#title' => t('Email aliases'),
>          '#default_value' => $edit["mailalias"] ,
>          '#size' => 70,
>          '#maxlength' => 255,
>          '#description' => t('Add any additional email addresses, separated by commas. We use these to identify the author of email submissions. These email addresses are private and are not shared with other users.'),
>          '#required' => FALSE
>          );
>   return $form ;
44d50
< 