From e6759790919d06d807eeb5546841a5a09cf3a4d6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 13 Apr 2007 08:56:59 +0000 Subject: - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. --- modules/forum/forum.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index b5895d40f..ac6bb27cc 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -217,7 +217,7 @@ function forum_admin_settings() { '#options' => $number, '#description' => t('The default number of topics displayed per page; links to browse older messages are automatically being displayed.'), ); - $forder = array(1 => t('Date - newest first'), 2 => t('Date - oldest first'), 3 => t('Posts - most active first'), 4=> t('Posts - least active first')); + $forder = array(1 => t('Date - newest first'), 2 => t('Date - oldest first'), 3 => t('Posts - most active first'), 4 => t('Posts - least active first')); $form['forum_order'] = array('#type' => 'radios', '#title' => t('Default order'), '#default_value' => variable_get('forum_order', '1'), @@ -365,7 +365,7 @@ function forum_submit(&$node) { $node->tid = $term; } } - $old_tid = db_result(db_query_range("SELECT tid FROM {forum} WHERE nid = %d ORDER BY vid DESC", $node->nid, 0,1)); + $old_tid = db_result(db_query_range("SELECT tid FROM {forum} WHERE nid = %d ORDER BY vid DESC", $node->nid, 0, 1)); if ($old_tid) { if (($node->tid != $old_tid) && $node->shadow) { // A shadow copy needs to be created. Retain new term and add old term. @@ -639,7 +639,7 @@ function forum_overview() { } } else { - $rows[] = array(array('data' => '' . t('There are no existing containers or forums. You may add some on the add container or add forum pages.', array('@container' => url('admin/content/forum/add/container'), '@forum' => url('admin/content/forum/add/forum'))) . '', 'colspan' => 2)); + $rows[] = array(array('data' => ''. t('There are no existing containers or forums. You may add some on the add container or add forum pages.', array('@container' => url('admin/content/forum/add/container'), '@forum' => url('admin/content/forum/add/forum'))) .'', 'colspan' => 2)); } return theme('table', $header, $rows); } -- cgit v1.2.3