summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-24 08:09:18 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-24 08:09:18 +0000
commitaddaf21247113e95fffa53b1642fa779a57fd99c (patch)
treec0d8fd9dc332f28da6b730b808d298c6724be944
parentc7f7f6326e44495c3979d46d672e8a0762923e7a (diff)
downloadbrdo-addaf21247113e95fffa53b1642fa779a57fd99c.tar.gz
brdo-addaf21247113e95fffa53b1642fa779a57fd99c.tar.bz2
- Patch #443518 by chx: remove stray whitespace.
-rw-r--r--includes/theme.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index b575734b1..503b3b518 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1910,9 +1910,9 @@ function template_preprocess_page(&$variables) {
$variables['template_files'] = $suggestions;
foreach ($suggestions as $suggestion) {
if ($suggestion != 'page-front') {
- // Add current suggestion to page classes to make it possible to theme the page
+ // Add current suggestion to page classes to make it possible to theme the page
// depending on the current page type (e.g. node, admin, user, etc.) as well as
- // more specific data like node-12 or node-edit. To avoid illegal characters in
+ // more specific data like node-12 or node-edit. To avoid illegal characters in
// the class, we're removing everything disallowed. We are not using 'a-z' as
// that might leave in certain international characters (e.g. German umlauts).
$body_classes[] = preg_replace('![^abcdefghijklmnopqrstuvwxyz0-9-_]+!s', '', form_clean_id(drupal_strtolower($suggestion)));
@@ -1935,9 +1935,9 @@ function template_preprocess_page(&$variables) {
*/
function template_page_suggestions($args) {
- // Build a list of suggested template files and body classes in order of
+ // Build a list of suggested template files and body classes in order of
// specificity. One suggestion is made for every element of the current path,
- // though numeric elements are not carried to subsequent suggestions. For
+ // though numeric elements are not carried to subsequent suggestions. For
// example, http://www.example.com/node/1/edit would result in the following
// suggestions and body classes:
//
@@ -1987,17 +1987,17 @@ function template_preprocess_node(&$variables) {
$variables['node_url'] = url('node/' . $node->nid);
$variables['title'] = check_plain($node->title);
$variables['page'] = (bool)menu_get_object();
-
+
if ($node->build_mode == NODE_BUILD_PREVIEW) {
unset($node->content['links']);
}
-
+
// Render taxonomy links separately.
$variables['terms'] = !empty($node->content['links']['terms']) ? drupal_render($node->content['links']['terms']) : '';
-
+
// Render all remaining node links.
$variables['links'] = !empty($node->content['links']) ? drupal_render($node->content['links']) : '';
-
+
// Render any comments.
$variables['comments'] = !empty($node->content['comments']) ? drupal_render($node->content['comments']) : '';