diff options
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.admin.inc | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.install | 3 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 8 |
3 files changed, 7 insertions, 6 deletions
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index f893147fa..4da4b1dd9 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -151,7 +151,7 @@ function taxonomy_form_vocabulary(&$form_state, $edit = array()) { '#type' => 'fieldset', '#title' => t('Settings'), '#collapsible' => TRUE, - ); + ); $form['settings']['tags'] = array('#type' => 'checkbox', '#title' => t('Tags'), '#default_value' => $edit['tags'], diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index 1ce9dbf53..d1e2c249f 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -263,7 +263,8 @@ function taxonomy_schema() { ), 'type' => array( 'type' => 'varchar', - 'length' => 32,'not null' => TRUE, + 'length' => 32, + 'not null' => TRUE, 'default' => '', 'description' => t('The {node}.type of the node type for which the vocabulary may be used.'), ), diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 4ff069726..48187f971 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -69,7 +69,7 @@ function taxonomy_link($type, $node = NULL) { else { foreach ($term as $free_typed) { $typed_terms = drupal_explode_tags($free_typed); - foreach($typed_terms as $typed_term) { + foreach ($typed_terms as $typed_term) { $links['taxonomy_preview_term_'. $typed_term] = array( 'title' => $typed_term, ); @@ -1110,7 +1110,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p /** * Accepts the result of a pager_query() call, such as that performed by * taxonomy_select_nodes(), and formats each node along with a pager. -*/ + */ function taxonomy_render_nodes($result) { $output = ''; $has_rows = FALSE; @@ -1133,8 +1133,8 @@ function taxonomy_render_nodes($result) { function taxonomy_nodeapi($node, $op, $arg = 0) { switch ($op) { case 'load': - $output['taxonomy'] = taxonomy_node_get_terms($node); - return $output; + $output['taxonomy'] = taxonomy_node_get_terms($node); + return $output; case 'insert': if (!empty($node->taxonomy)) { |