diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-11-11 06:56:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-11-11 06:56:44 +0000 |
commit | 073eb45833be1c36d804c456c1258a697353fc70 (patch) | |
tree | 1125c35f32d4d18553b304ae1cdce7cad251f22c /modules/taxonomy | |
parent | 049c6ddd96d727e0ba14ad97cf9a3c6575377669 (diff) | |
download | brdo-073eb45833be1c36d804c456c1258a697353fc70.tar.gz brdo-073eb45833be1c36d804c456c1258a697353fc70.tar.bz2 |
- Patch #191073 by Keith: another good string cleanup by Keith. (Also removed some trailing whitespace.)
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.pages.inc | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 1f6c1eed0..9d0c08ade 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -347,7 +347,7 @@ function taxonomy_form($vid, $value = 0, $help = NULL, $name = 'taxonomy') { $vocabulary = taxonomy_vocabulary_load($vid); $help = ($help) ? $help : $vocabulary->help; $blank = 0; - + if (!$vocabulary->multiple) { $blank = ($vocabulary->required) ? t('- Please choose -') : t('- None selected -'); } diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index 4a4b9339a..74f1db504 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -77,7 +77,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { /** * Render a taxonomy term page HTML output. - * + * * @param $tids * An array of term ids. * @param $result @@ -85,7 +85,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { */ function theme_taxonomy_term_page($tids, $result) { $output = ''; - + // Only display the description if we have a single term, to avoid clutter and confusion. if (count($tids) == 1) { $term = taxonomy_get_term($tids[0]); @@ -93,9 +93,9 @@ function theme_taxonomy_term_page($tids, $result) { $output .= filter_xss_admin($term->description); $output .= '</div>'; } - + $output .= taxonomy_render_nodes($result); - + return $output; } |