--- flexinode.module	2005-09-14 16:16:01.000000000 -0400
+++ flexinode.new	2005-09-26 12:01:55.000000000 -0400
@@ -479,7 +479,7 @@
     $ctype = flexinode_load_content_type($ctype->ctype_id);
     $rows[] = array(t($ctype->name), $ctype->description, l(t('edit content type'), 'admin/node/types/edit_type/' . $ctype->ctype_id));
 
-    $data = t('Title') . '<br />';
+    $data = $ctype->label . '<br />';
     foreach ($ctype->fields as $field) {
       $data .= t($field->label) . ' (' . l(t('edit field'), 'admin/node/types/edit_field/' . $field->field_id) . ')<br />';
     }
@@ -615,8 +615,8 @@
  */
 function flexinode_form(&$node, &$param) {
   // Set form parameters so we can accept file uploads.
-  $param['options'] = array('enctype' => 'multipart/form-data');
 
+  $param['options'] = array('enctype' => 'multipart/form-data');
   $output = '';
 
   if (!isset($node->ctype_id)) {
@@ -624,6 +624,7 @@
   }
 
   $ctype = flexinode_load_content_type($node->ctype_id);
+  $output = form_textfield($ctype->label, 'title', $node->title, 60, 128, NULL, NULL, TRUE);
 
   if (function_exists('taxonomy_node_form')) {
     $output .= implode('', taxonomy_node_form($node->type, $node));
@@ -884,6 +885,7 @@
 
   $form .= form_textfield(t('Content type name'), 'name', $edit['name'], 60, 128, '', NULL, TRUE);
   $form .= form_textfield(t('Description'), 'description', $edit['description'], 60, 128, t('A one-line description of the content type.'));
+  $form .= form_textfield(t('Label for <strong>Title</strong> field.'), 'label', $edit['ctype_id'] ? $edit['label'] : 'Title', 60, 128, 'You can provide a descriptive label for the kind of content your flexinode content will store.<br />Examples: "Book title," "Album," "Country," etc.', NULL, FALSE);
   $form .= form_textarea(t('Help text'), 'help', $edit['help'], 60, 5, t('Instructions to present to the user when adding new content of this type.'));
 
   $form .= form_submit(t('Submit'));
@@ -918,7 +920,7 @@
 
     $former_ctype = flexinode_load_content_type($ctype_id);
 
-    db_query("UPDATE {flexinode_type} SET name = '%s', description = '%s', help = '%s' WHERE ctype_id = %d", $edit['name'], $edit['description'], $edit['help'], $ctype_id);
+    db_query("UPDATE {flexinode_type} SET name = '%s', description = '%s', label = '%s', help = '%s' WHERE ctype_id = %d", $edit['name'], $edit['description'], $edit['label'], $edit['help'], $ctype_id);
 
     drupal_set_message(t('updated content type "%name".', array('%name' => $edit['name'])));
   }
