diff options
-rw-r--r-- | INSTALL.txt | 2 | ||||
-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 | ||||
-rw-r--r-- | modules/node/content_types.inc | 2 | ||||
-rw-r--r-- | modules/node/node.module | 4 | ||||
-rw-r--r-- | modules/system/system.install | 4 | ||||
-rw-r--r-- | modules/system/system.module | 2 | ||||
-rw-r--r-- | 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 <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(); 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 .= '<ul class="clear-block">'; @@ -1992,7 +1992,7 @@ function node_form($node, $form_values = NULL) { $form['options']['promote'] = array('#type' => 'checkbox', '#title' => t('Promoted to front page'), '#default_value' => $node->promote); $form['options']['sticky'] = array('#type' => 'checkbox', '#title' => t('Sticky at top of lists'), '#default_value' => $node->sticky); $form['options']['revision'] = array('#type' => 'checkbox', '#title' => t('Create new revision'), '#default_value' => $node->revision); - // These values are used when the user has no administrator accesss. + // These values are used when the user has no administrator access. foreach (array('uid', 'created') as $key) { $form[$key] = array('#type' => 'value', '#value' => $node->$key); } diff --git a/modules/system/system.install b/modules/system/system.install index 23867ce73..dc4f33434 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1773,7 +1773,7 @@ function system_update_145() { $ret[] = update_sql("UPDATE {blocks} SET region = 'right' WHERE region = '1'"); db_query("UPDATE {blocks} SET theme = '%s'", $default_theme); - // Initialze block data for other enabled themes. + // Initialize block data for other enabled themes. $themes = list_themes(); foreach (array_keys($themes) as $theme) { if (($theme != $default_theme) && $themes[$theme]->status == 1) { @@ -3202,7 +3202,7 @@ function system_update_1005() { 'type' => 'story', 'name' => t('Story'), 'module' => 'node', - 'description' => t('Stories are articles in their simplest form: they have a title, a teaser and a body, but can be extendd by other modules. The teaser is part of the body too. Stories may be used as a personal blog or for news articles.'), + 'description' => t('Stories are articles in their simplest form: they have a title, a teaser and a body, but can be extended by other modules. The teaser is part of the body too. Stories may be used as a personal blog or for news articles.'), 'custom' => TRUE, 'modified' => TRUE, 'locked' => FALSE, diff --git a/modules/system/system.module b/modules/system/system.module index f13b2d7e8..0810be0d4 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1422,7 +1422,7 @@ function system_modules_submit($form_id, $form_values) { $new_modules = array(); // Merge in disabled active modules since they should be enabled. - // They don't appear because disabled checkboxes are not submited + // They don't appear because disabled checkboxes are not submitted // by browsers. $form_values['status'] = array_merge($form_values['status'], $form_values['disabled_modules']); diff --git a/modules/user/user.module b/modules/user/user.module index 30abd234f..c08869e36 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2567,7 +2567,7 @@ function theme_user_filter_form($form) { } /** - * Theme user administraton filter selector. + * Theme user administration filter selector. */ function theme_user_filters($form) { $output = '<ul class="clear-block">'; |