User: karens Branch: HEAD Date: Thu, 15 Nov 2007 21:44:42 +0000 Modified files: /modules/cck content_admin.inc content_crud.inc nodereference.module number.module text.module userreference.module Log message: Added new fuctions to create 'default' field and widget arrays. Available to help expose field structure to external modules. Supplied values are now merged with default values to be sure all parts of the field and widget have indexes set. This means all field values will always return true to isset() and will not create undefined index errors. This also means module authors should not use isset() to test if values exist for form elements. Instead use is_array(), is_numeric() or similar tests. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/cck/content_admin.... http://cvs.drupal.org/diff.php?path=contributions/modules/cck/content_crud.i... http://cvs.drupal.org/diff.php?path=contributions/modules/cck/nodereference.... http://cvs.drupal.org/diff.php?path=contributions/modules/cck/number.module&... http://cvs.drupal.org/diff.php?path=contributions/modules/cck/text.module&ol... http://cvs.drupal.org/diff.php?path=contributions/modules/cck/userreference....