diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-12-05 05:47:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-12-05 05:47:37 +0000 |
commit | 38f30507774872ece71c20083f32a930eed3f186 (patch) | |
tree | c9faa319f83051c60abc2706bf84b5615bbabb50 /includes | |
parent | a8e11de3d0b64da84d525384988a89ab7662ad5a (diff) | |
download | brdo-38f30507774872ece71c20083f32a930eed3f186.tar.gz brdo-38f30507774872ece71c20083f32a930eed3f186.tar.bz2 |
- Patch #101236 by Uwe Herman: fixed typos in the documentation.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 4 | ||||
-rw-r--r-- | includes/form.inc | 8 | ||||
-rw-r--r-- | includes/install.inc | 2 | ||||
-rw-r--r-- | includes/locale.inc | 2 | ||||
-rw-r--r-- | includes/menu.inc | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/includes/common.inc b/includes/common.inc index 91aa22112..6d4ece2c0 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1752,7 +1752,7 @@ function page_set_cache() { * More information in the <a href="http://php.net/manual/en/function.mail.php"> * PHP function reference for mail()</a> * @param $mailkey - * A key to indetify the mail sent, for altering + * A key to identify the mail sent, for altering. * @param $to * The mail address or addresses where the message will be send to. The * formatting of this string must comply with RFC 2822. Some examples are: @@ -1830,7 +1830,7 @@ function drupal_mail($mailkey, $to, $subject, $body, $from = NULL, $headers = ar } /** - * Executs a cron run when called + * Executes a cron run when called * @return * Returns TRUE if ran successfully */ diff --git a/includes/form.inc b/includes/form.inc index 818e0fc75..61251f41a 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -30,7 +30,7 @@ /** * Retrieves a form from a builder function, passes it on for * processing, and renders the form or redirects to its destination - * as appropriate. In multi-step form scenerios, it handles properly + * as appropriate. In multi-step form scenarios, it handles properly * processing the values using the previous step's form definition, * then rendering the requested step for display. * @@ -47,7 +47,7 @@ * The rendered form. */ function drupal_get_form($form_id) { - // In multi-step form scenerios, the incoming $_POST values are not + // In multi-step form scenarios, the incoming $_POST values are not // necessarily intended for the current form. We need to build // a copy of the previously built form for validation and processing, // then go on to the one that was requested if everything works. @@ -221,7 +221,7 @@ function drupal_retrieve_form($form_id) { function drupal_process_form($form_id, &$form) { global $form_values, $form_submitted, $user, $form_button_counter; static $saved_globals = array(); - // In some scenerios, this function can be called recursively. Pushing any pre-existing + // In some scenarios, this function can be called recursively. Pushing any pre-existing // $form_values and form submission data lets us start fresh without clobbering work done // in earlier recursive calls. array_push($saved_globals, array($form_values, $form_submitted, $form_button_counter)); @@ -274,7 +274,7 @@ function drupal_prepare_form($form_id, &$form) { $form['#programmed'] = TRUE; } - // In multi-step form scenerios, this id is used to identify + // In multi-step form scenarios, this id is used to identify // a unique instance of a particular form for retrieval. if (isset($form['#build_id'])) { $form['form_build_id'] = array( diff --git a/includes/install.inc b/includes/install.inc index fedd99265..4dfdbae95 100644 --- a/includes/install.inc +++ b/includes/install.inc @@ -373,7 +373,7 @@ function drupal_uninstall_module($module) { * @param $type * The type of file. Can be file (default), dir, or link. * @return - * TRUE on success or FALSE on failure. A messsage is set for the latter. + * TRUE on success or FALSE on failure. A message is set for the latter. */ function drupal_verify_install_file($file, $mask = NULL, $type = 'file') { $return = TRUE; diff --git a/includes/locale.inc b/includes/locale.inc index 36c3092ac..308ba82f2 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -645,7 +645,7 @@ function _locale_import_read_po($op, $file, $mode = NULL, $lang = NULL) { } /** - * Sets an error message occured during locale file parsing. + * Sets an error message occurred during locale file parsing. * * @param $message * The message to be translated diff --git a/includes/menu.inc b/includes/menu.inc index a89c0e92a..eff3f9a54 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -540,7 +540,7 @@ function menu_get_active_breadcrumb() { // We do *not* want to use "variable_get('site_frontpage', 'node)" here // as that will create the link '/node'. This is unsightly and creates - // a second URL for the hompeage ('/' *and* '/node'). + // a second URL for the homepage ('/' *and* '/node'). $links[] = l(t('Home'), ''); $trail = _menu_get_active_trail(); |