diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/forum.module | 26 | ||||
-rw-r--r-- | modules/forum/forum.module | 26 | ||||
-rw-r--r-- | modules/search.module | 4 | ||||
-rw-r--r-- | modules/search/search.module | 4 |
4 files changed, 30 insertions, 30 deletions
diff --git a/modules/forum.module b/modules/forum.module index 849c99858..ebe0dac9c 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -166,34 +166,34 @@ function forum_confirm_delete_submit($form_id, $form_values) { */ function forum_form_container($edit = array()) { $form['name'] = array( - '#title' => t('Container name'), - '#type' => 'textfield', - '#default_value' => $edit['name'], - '#maxlength' => 64, - '#description' => t('The container name is used to identify related forums.'), + '#title' => t('Container name'), + '#type' => 'textfield', + '#default_value' => $edit['name'], + '#maxlength' => 64, + '#description' => t('The container name is used to identify related forums.'), '#required' => TRUE ); $form['description'] = array( - '#type' => 'textarea', - '#title' => t('Description'), - '#default_value' => $edit['description'], + '#type' => 'textarea', + '#title' => t('Description'), + '#default_value' => $edit['description'], '#description' => t('The container description can give users more information about the forums it contains.') ); $form['parent']['#tree'] = TRUE; $form['parent'][0] = _forum_parent_select($edit['tid'], t('Parent'), 'container'); $form['weight'] = array( - '#type' => 'weight', - '#title' => t('Weight'), - '#default_value' => $edit['weight'], + '#type' => 'weight', + '#title' => t('Weight'), + '#default_value' => $edit['weight'], '#description' => t('When listing containers, those with with light (small) weights get listed before containers with heavier (larger) weights. Containers with equal weights are sorted alphabetically.') ); $form['vid'] = array( - '#type' => 'hidden', + '#type' => 'hidden', '#value' => _forum_get_vid()); $form['submit'] = array( - '#type' => 'submit', + '#type' => 'submit', '#value' => t('Submit') ); if ($edit['tid']) { diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 849c99858..ebe0dac9c 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -166,34 +166,34 @@ function forum_confirm_delete_submit($form_id, $form_values) { */ function forum_form_container($edit = array()) { $form['name'] = array( - '#title' => t('Container name'), - '#type' => 'textfield', - '#default_value' => $edit['name'], - '#maxlength' => 64, - '#description' => t('The container name is used to identify related forums.'), + '#title' => t('Container name'), + '#type' => 'textfield', + '#default_value' => $edit['name'], + '#maxlength' => 64, + '#description' => t('The container name is used to identify related forums.'), '#required' => TRUE ); $form['description'] = array( - '#type' => 'textarea', - '#title' => t('Description'), - '#default_value' => $edit['description'], + '#type' => 'textarea', + '#title' => t('Description'), + '#default_value' => $edit['description'], '#description' => t('The container description can give users more information about the forums it contains.') ); $form['parent']['#tree'] = TRUE; $form['parent'][0] = _forum_parent_select($edit['tid'], t('Parent'), 'container'); $form['weight'] = array( - '#type' => 'weight', - '#title' => t('Weight'), - '#default_value' => $edit['weight'], + '#type' => 'weight', + '#title' => t('Weight'), + '#default_value' => $edit['weight'], '#description' => t('When listing containers, those with with light (small) weights get listed before containers with heavier (larger) weights. Containers with equal weights are sorted alphabetically.') ); $form['vid'] = array( - '#type' => 'hidden', + '#type' => 'hidden', '#value' => _forum_get_vid()); $form['submit'] = array( - '#type' => 'submit', + '#type' => 'submit', '#value' => t('Submit') ); if ($edit['tid']) { diff --git a/modules/search.module b/modules/search.module index d72960373..ca5fca5ed 100644 --- a/modules/search.module +++ b/modules/search.module @@ -822,7 +822,7 @@ function _search_parse_query(&$word, &$scores, $not = false) { * (optional) Extra SQL arguments belonging to the second query parameter. * * @param $sort_parameters - * (optional) SQL arguments for sorting the final results. + * (optional) SQL arguments for sorting the final results. * Default: 'ORDER BY score DESC' * * @return @@ -1199,7 +1199,7 @@ function theme_search_item($item, $type) { */ function theme_search_page($results, $type) { $output = '<dl class="search-results">'; - + foreach ($results as $entry) { $output .= theme('search_item', $entry, $type); } diff --git a/modules/search/search.module b/modules/search/search.module index d72960373..ca5fca5ed 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -822,7 +822,7 @@ function _search_parse_query(&$word, &$scores, $not = false) { * (optional) Extra SQL arguments belonging to the second query parameter. * * @param $sort_parameters - * (optional) SQL arguments for sorting the final results. + * (optional) SQL arguments for sorting the final results. * Default: 'ORDER BY score DESC' * * @return @@ -1199,7 +1199,7 @@ function theme_search_item($item, $type) { */ function theme_search_page($results, $type) { $output = '<dl class="search-results">'; - + foreach ($results as $entry) { $output .= theme('search_item', $entry, $type); } |