summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-06-21 20:05:37 +0000
committerDries Buytaert <dries@buytaert.net>2004-06-21 20:05:37 +0000
commit090743bdbaf4866da57c6c54b03c398477903168 (patch)
treec005eebf8b56b705b9e5bb8718db23ebfa348cd0 /includes
parentbfa7d178a9e42b8f65550c9e69665b29a6d20940 (diff)
downloadbrdo-090743bdbaf4866da57c6c54b03c398477903168.tar.gz
brdo-090743bdbaf4866da57c6c54b03c398477903168.tar.bz2
- Patch #8670 by asimmonds: more spelling fixes.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
-rw-r--r--includes/file.inc2
-rw-r--r--includes/pager.inc4
-rw-r--r--includes/theme.inc2
4 files changed, 5 insertions, 5 deletions
diff --git a/includes/common.inc b/includes/common.inc
index ca8963d14..cb3e78d50 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -670,7 +670,7 @@ function search_item($item, $type) {
* Render a generic search form.
*
* "Generic" means "universal usable" - that is, usable not only from
- * 'site.com/search', but also as a simple seach box (without "Restrict search
+ * 'site.com/search', but also as a simple search box (without "Restrict search
* to", help text, etc) from theme's header etc. This means: provide options to
* only conditionally render certain parts of this form.
*
diff --git a/includes/file.inc b/includes/file.inc
index 79f1b3f22..f2f2a263d 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -266,7 +266,7 @@ function file_save_upload($source, $dest = 0, $replace = 0) {
drupal_set_message(t("file upload failed: incomplete upload."), 'error');
return 0;
default: // Unknown error
- drupal_set_message(t("file upload failed: unkown error."), 'error');
+ drupal_set_message(t("file upload failed: unknown error."), 'error');
return 0;
}
diff --git a/includes/pager.inc b/includes/pager.inc
index 7dc4221b4..7900c94b5 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -31,7 +31,7 @@
*
* @param $query the SQL query that needs paging
* @param $limit the number of rows per page
- * @param $element optional attribute to distringuish between multiple pagers
+ * @param $element optional attribute to distinguish between multiple pagers
* on one page
* @param $count_query an optional SQL query used to count records when
* rewriting the query would fail
@@ -227,7 +227,7 @@ function pager_list($limit, $element = 0, $quantity = 5, $text = "", $attributes
$pager_first = (int)$pager_current - (int)$pager_middle + 1;
// last is the last page listed by this pager piece (re quantity)
$pager_last = (int)$pager_current + (int)$quantity - (int)$pager_middle;
- // max is the maximum number of pages content can is devided into
+ // max is the maximum number of pages content can is divided into
if (!$pager_max = (ceil($pager_total[$element] / $limit))) {
$pager_max = 1;
}
diff --git a/includes/theme.inc b/includes/theme.inc
index 231ff52d4..339ec3512 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -42,7 +42,7 @@ function init_theme() {
$themes = list_themes();
/*
- ** Only select the user selected theme if it is availible in the
+ ** Only select the user selected theme if it is available in the
** list of enabled themes.
*/