| 1 |
<?php |
<?php |
| 2 |
// $Id: bio.module,v 1.2.2.27 2008/03/19 18:46:38 dww Exp $ |
// $Id: bio.module,v 1.9 2009/04/11 04:22:39 vauxia Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 96 |
$form['author']['name']['#default_value'] = $account->name; |
$form['author']['name']['#default_value'] = $account->name; |
| 97 |
$form['author']['name']['#value'] = $account->name; |
$form['author']['name']['#value'] = $account->name; |
| 98 |
$form['author']['name']['#disabled'] = TRUE; |
$form['author']['name']['#disabled'] = TRUE; |
| 99 |
|
$form['uid']['#value'] = $account->uid; |
| 100 |
unset($form['author']['name']['#autocomplete_path']); |
unset($form['author']['name']['#autocomplete_path']); |
| 101 |
$form['author']['name']['#description'] = t('This field is disabled. You cannot alter the author of this entry from within the user area.'); |
$form['author']['name']['#description'] = t('This field is disabled. You cannot alter the author of this entry from within the user area.'); |
| 102 |
} |
} |