summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Stevenson2009-06-29 09:55:50 (GMT)
committer Karen Stevenson2009-06-29 09:55:50 (GMT)
commitf143ff980b68f7c65b8102f61ac7a15c1975a197 (patch)
tree9f683645d370dc8dae9072f96e81bd475c54fdcc
parentfcaa17bd3c8593987da4320fe3bd9d30428d7a78 (diff)
Add more core extra fields for author, publishing settings, revisions, and comment settings.
-rw-r--r--content.module22
1 files changed, 22 insertions, 0 deletions
diff --git a/content.module b/content.module
index ade384c..e823d43 100644
--- a/content.module
+++ b/content.module
@@ -2357,6 +2357,28 @@ function content_content_extra_fields($type_name) {
'view' => 'body'
);
}
+ $extra['revision_information'] = array(
+ 'label' => t('Revision information'),
+ 'description' => t('Node module form.'),
+ 'weight' => 20
+ );
+ $extra['author'] = array(
+ 'label' => t('Authoring information'),
+ 'description' => t('Node module form.'),
+ 'weight' => 20
+ );
+ $extra['options'] = array(
+ 'label' => t('Publishing options'),
+ 'description' => t('Node module form.'),
+ 'weight' => 25
+ );
+ if (module_exists('comment') && variable_get("comment_$type_name", 2) != 0) {
+ $extra['comment_settings'] = array(
+ 'label' => t('Comment settings'),
+ 'description' => t('Comment module form.'),
+ 'weight' => 30
+ );
+ }
if (module_exists('locale') && variable_get("language_content_type_$type_name", 0)) {
$extra['language'] = array(
'label' => t('Language'),