summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-06-06 14:07:04 +0000
committerDries Buytaert <dries@buytaert.net>2005-06-06 14:07:04 +0000
commit8436082fe1364dfe35461e5d8fc737a43c06abee (patch)
treeb1923c3f21ad87949351d925020203c003192574 /modules
parent596843dae6aa49ff7fc301da92d2d2d1e45dcb98 (diff)
downloadbrdo-8436082fe1364dfe35461e5d8fc737a43c06abee.tar.gz
brdo-8436082fe1364dfe35461e5d8fc737a43c06abee.tar.bz2
- Removing some whitespace
Diffstat (limited to 'modules')
-rw-r--r--modules/contact.module2
-rw-r--r--modules/contact/contact.module2
-rw-r--r--modules/node.module4
-rw-r--r--modules/node/node.module4
-rw-r--r--modules/profile.module2
-rw-r--r--modules/profile/profile.module2
-rw-r--r--modules/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.module2
8 files changed, 10 insertions, 10 deletions
diff --git a/modules/contact.module b/modules/contact.module
index 23ed375af..1c0b100a8 100644
--- a/modules/contact.module
+++ b/modules/contact.module
@@ -240,7 +240,7 @@ function contact_mail_page() {
if (!$edit['subject']) {
form_set_error('subject', t('You must select a valid subject.'));
}
-
+
if (!form_get_errors()) {
// Prepare the sender:
$from = $edit['mail'];
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index 23ed375af..1c0b100a8 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -240,7 +240,7 @@ function contact_mail_page() {
if (!$edit['subject']) {
form_set_error('subject', t('You must select a valid subject.'));
}
-
+
if (!form_get_errors()) {
// Prepare the sender:
$from = $edit['mail'];
diff --git a/modules/node.module b/modules/node.module
index 3f4fd75bd..412aea581 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -191,13 +191,13 @@ function node_teaser($body, $format = NULL) {
// the Blogger API). In this case, we try to split at paragraph boundaries.
// When even the first paragraph is too long, we try to split at the end of
// the next sentence.
- $breakpoints = array('</p>' => 4, '<br />' => 0, '<br>' => 0, "\n" => 0, '. ' => 1, '! ' => 1, '? ' => 1, '。' => 1, '؟ ' => 1);
+ $breakpoints = array('</p>' => 4, '<br />' => 0, '<br>' => 0, "\n" => 0, '. ' => 1, '! ' => 1, '? ' => 1, '。' => 1, '؟ ' => 1);
foreach ($breakpoints as $point => $charnum) {
if ($length = strpos($body, $point, $size)) {
return substr($body, 0, $length + $charnum);
}
}
-
+
// If all else fails, we simply truncate the string.
return truncate_utf8($body, $size);
}
diff --git a/modules/node/node.module b/modules/node/node.module
index 3f4fd75bd..412aea581 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -191,13 +191,13 @@ function node_teaser($body, $format = NULL) {
// the Blogger API). In this case, we try to split at paragraph boundaries.
// When even the first paragraph is too long, we try to split at the end of
// the next sentence.
- $breakpoints = array('</p>' => 4, '<br />' => 0, '<br>' => 0, "\n" => 0, '. ' => 1, '! ' => 1, '? ' => 1, '。' => 1, '؟ ' => 1);
+ $breakpoints = array('</p>' => 4, '<br />' => 0, '<br>' => 0, "\n" => 0, '. ' => 1, '! ' => 1, '? ' => 1, '。' => 1, '؟ ' => 1);
foreach ($breakpoints as $point => $charnum) {
if ($length = strpos($body, $point, $size)) {
return substr($body, 0, $length + $charnum);
}
}
-
+
// If all else fails, we simply truncate the string.
return truncate_utf8($body, $size);
}
diff --git a/modules/profile.module b/modules/profile.module
index 9ad55bc57..cc03c0b09 100644
--- a/modules/profile.module
+++ b/modules/profile.module
@@ -240,7 +240,7 @@ function profile_view_field($user, $field) {
if ($field->fid == 18 || $field->fid == 19 || $field->fid == 20) {
return;
}
-
+
if ($value = $user->{$field->name}) {
switch ($field->type) {
case 'textfield':
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 9ad55bc57..cc03c0b09 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -240,7 +240,7 @@ function profile_view_field($user, $field) {
if ($field->fid == 18 || $field->fid == 19 || $field->fid == 20) {
return;
}
-
+
if ($value = $user->{$field->name}) {
switch ($field->type) {
case 'textfield':
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 0662c0fca..9737ea503 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -953,7 +953,7 @@ function _taxonomy_prepare_insert($data, $stage) {
* Whether the nodes are to be used with a pager (the case on most Drupal
* pages) or not (in an XML feed, for example).
* @param $order
- * The order clause for the query that retrieve the nodes.
+ * The order clause for the query that retrieve the nodes.
* @return
* A resource identifier pointing to the query results.
*/
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 0662c0fca..9737ea503 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -953,7 +953,7 @@ function _taxonomy_prepare_insert($data, $stage) {
* Whether the nodes are to be used with a pager (the case on most Drupal
* pages) or not (in an XML feed, for example).
* @param $order
- * The order clause for the query that retrieve the nodes.
+ * The order clause for the query that retrieve the nodes.
* @return
* A resource identifier pointing to the query results.
*/