/[drupal]/contributions/modules/bio/bio.module
ViewVC logotype

Diff of /contributions/modules/bio/bio.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8, Sat Apr 11 01:32:10 2009 UTC revision 1.9, Sat Apr 11 04:22:39 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: bio.module,v 1.2.2.28 2008/03/24 19:16:34 dww Exp $  // $Id: bio.module,v 1.8 2009/04/11 01:32:10 vauxia Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 96  function bio_form_alter($form_id, &$form Line 96  function bio_form_alter($form_id, &$form
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      }      }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.2