From 38f30507774872ece71c20083f32a930eed3f186 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 5 Dec 2006 05:47:37 +0000 Subject: - Patch #101236 by Uwe Herman: fixed typos in the documentation. --- INSTALL.txt | 2 +- includes/common.inc | 4 ++-- includes/form.inc | 8 ++++---- includes/install.inc | 2 +- includes/locale.inc | 2 +- includes/menu.inc | 2 +- modules/node/content_types.inc | 2 +- modules/node/node.module | 4 ++-- modules/system/system.install | 4 ++-- modules/system/system.module | 2 +- modules/user/user.module | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 28665458e..aff50f270 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -69,7 +69,7 @@ INSTALLATION Drupal requires access to a database in order to be installed. Your database user will need sufficient privileges to run Drupal. Additional information about privileges, and instructions to create a database using the command - line are avaialable in INSTALL.mysql.txt (for MySQL) or INSTALL.pgsql.txt + line are available in INSTALL.mysql.txt (for MySQL) or INSTALL.pgsql.txt (for PostgreSQL). To create a database using PHPMyAdmin or a web-based control panel consult 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 * PHP function reference for mail() * @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(); diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index b2ba37818..916426ecd 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -67,7 +67,7 @@ function node_type_form($type = NULL) { $type->locked = FALSE; } - $form['#node_type'] = $type; // Make the type object availabe to implementations of hook_form_alter. + $form['#node_type'] = $type; // Make the type object available to implementations of hook_form_alter. $form['identity'] = array( '#type' => 'fieldset', diff --git a/modules/node/node.module b/modules/node/node.module index 655c90aa2..ec3476146 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1383,7 +1383,7 @@ function theme_node_filter_form($form) { } /** - * Theme node administraton filter selector. + * Theme node administration filter selector. */ function theme_node_filters($form) { $output .= '