/[drupal]/contributions/modules/votesmart/modules/votesmart_factory/votesmart_factory.inc
ViewVC logotype

Diff of /contributions/modules/votesmart/modules/votesmart_factory/votesmart_factory.inc

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

revision 1.1, Wed Aug 6 05:47:08 2008 UTC revision 1.2, Sun Aug 10 01:42:51 2008 UTC
# Line 1  Line 1 
1  <?php // $Id$  <?php // $Id: votesmart_factory.inc,v 1.1 2008/08/06 05:47:08 vauxia Exp $
2    
3  function votesmart_factory() {  function votesmart_factory() {
4    require_once(drupal_get_path('module', 'votesmart') .'/votesmart.inc');    require_once(drupal_get_path('module', 'votesmart') .'/votesmart.inc');
# Line 109  function _votesmart_factory_field($table Line 109  function _votesmart_factory_field($table
109    // Default field definition.    // Default field definition.
110    $field = array(    $field = array(
111      'label' => $table_field['description'],      'label' => $table_field['description'],
112      'field_name' => $field_name, // TODO not specific enough.      'field_name' => 'field_'. $field_name, // TODO not specific enough.
113      'type' => 'text',      'type' => 'text',
114      'widget_type' => 'text_textfield',      'widget_type' => 'text_textfield',
115      'required' => '0',      'required' => '0',

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2