/[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.2.2.28, Mon Mar 24 19:16:34 2008 UTC revision 1.2.2.29, Sat Apr 11 04:34:52 2009 UTC
# Line 1  Line 1 
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
# 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.2.2.28  
changed lines
  Added in v.1.2.2.29

  ViewVC Help
Powered by ViewVC 1.1.2