--- ../../../drupal/modules/ecommerce/file/file.module 2006-02-20 10:32:52.000000000 -0600 +++ file/file.module 2006-02-27 11:57:32.000000000 -0600 @@ -213,12 +213,12 @@ function file_user($type, &$edit, &$user) { // Only display the link for the user who owns it. if ($type == 'view' && $GLOBALS['user']->uid == $user->uid) { - $form[] = array( - '#type' => 'item', - '#title' => t('Downloads'), - '#default_value' => l(t('View your downloads'), "store/myfiles/$user->uid") + $items[] = array( + 'title' => t('Downloads'), + 'value' => l(t('View your downloads'), "store/myfiles/$user->uid"), + 'class' => 'item', ); - return array(t('History') => drupal_get_form('file_user', $form)); + return array(t('History') => $items); } }