From 6beda592d266629d57630cf089e856536265a4f1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 11 Jan 2007 08:51:31 +0000 Subject: [PATCH] - Patch #107428 by webchick: coding style fixes. --- modules/node/node.module | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/node/node.module b/modules/node/node.module index 3552ba94521..cda235325c6 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -903,7 +903,7 @@ function node_search($op = 'search', $keys = NULL) { $join2 .= ' LEFT JOIN {node_counter} nc ON nc.nid = i.sid'; $total += $weight; } - $select2 = (count($ranking) ? implode(' + ', $ranking) : 'i.relevance') . ' AS score'; + $select2 = (count($ranking) ? implode(' + ', $ranking) : 'i.relevance') .' AS score'; // Do search $find = do_search($keys, 'node', 'INNER JOIN {node} n ON n.nid = i.sid '. $join1 .' INNER JOIN {users} u ON n.uid = u.uid', $conditions1 . (empty($where1) ? '' : ' AND '. $where1), $arguments1, $select2, $join2, $arguments2); @@ -970,7 +970,7 @@ function node_configure() { // Only show rebuild button if there is 0 or more than 2 rows in node_access table, or if there are modules that implement node_grant. if (db_result(db_query('SELECT COUNT(*) FROM {node_access}')) != 1 || count(module_implements('node_grants')) > 0) { $status = '

'. t('If the site is experiencing problems with permissions to content, you may have to rebuild the permissions cache. Possible causes for permission problems are disabling modules or configuration changes to permissions. Rebuilding will remove all privileges to posts, and replace them with permissions based on the current modules and settings.') .'

'; - $status .= '

'. t('Rebuilding may take some time if there is a lot of content or complex permission settings. After rebuilding has completed posts will automatically use the new permissions.'). '

'; + $status .= '

'. t('Rebuilding may take some time if there is a lot of content or complex permission settings. After rebuilding has completed posts will automatically use the new permissions.') .'

'; $form['access'] = array('#type' => 'fieldset', '#title' => t('Node access status')); $form['access']['status'] = array('#value' => $status); @@ -1335,7 +1335,7 @@ function node_build_filter_query() { $join = ''; foreach ($_SESSION['node_overview_filter'] as $index => $filter) { list($key, $value) = $filter; - switch($key) { + switch ($key) { case 'status': // Note: no exploitable hole as $key/$value have already been checked when submitted list($key, $value) = explode('-', $value, 2); @@ -1420,17 +1420,17 @@ function theme_node_filters($form) { $output .= '