diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-10-12 14:10:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-10-12 14:10:18 +0000 |
commit | b274bf87f343f84e6004401f2fc9d23ff7611c63 (patch) | |
tree | 97e4f331bbd2783780e20ff34f45ec890d070bb2 /modules/node | |
parent | 09e27018929d40c6f609a617b974955840b12370 (diff) | |
download | brdo-b274bf87f343f84e6004401f2fc9d23ff7611c63.tar.gz brdo-b274bf87f343f84e6004401f2fc9d23ff7611c63.tar.bz2 |
- Patch #182950: fieldset massaging for usability.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/content_types.inc | 7 | ||||
-rw-r--r-- | modules/node/node.module | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index 3307372b0..f94992509 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -109,9 +109,9 @@ function node_type_form(&$form_state, $type = NULL) { $form['submission'] = array( '#type' => 'fieldset', - '#title' => t('Submission form'), + '#title' => t('Submission form settings'), '#collapsible' => TRUE, - '#collapsed' => FALSE, + '#collapsed' => TRUE, ); $form['submission']['title_label'] = array( '#title' => t('Title field label'), @@ -147,8 +147,9 @@ function node_type_form(&$form_state, $type = NULL) { ); $form['workflow'] = array( '#type' => 'fieldset', - '#title' => t('Workflow'), + '#title' => t('Workflow settings'), '#collapsible' => TRUE, + '#collapsed' => TRUE, ); $form['workflow']['node_options'] = array('#type' => 'checkboxes', '#title' => t('Default options'), diff --git a/modules/node/node.module b/modules/node/node.module index c3a60311d..bfe61462b 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1871,7 +1871,7 @@ function _node_access_join_sql($node_alias = 'n', $node_access_alias = 'na') { * If the node_access table has been given an SQL alias other than the default * "na", that must be passed here. * @param $account - * The user object for the user performing the operation. If omitted, the + * The user object for the user performing the operation. If omitted, the * current user is used. * @return * An SQL where clause. @@ -1907,7 +1907,7 @@ function _node_access_where_sql($op = 'view', $node_access_alias = 'na', $accoun * @param $op * The operation that the user is trying to perform. * @param $account - * The user object for the user performing the operation. If omitted, the + * The user object for the user performing the operation. If omitted, the * current user is used. * @return * An associative array in which the keys are realms, and the values are |