Commit 38f30507 authored by Dries's avatar Dries

- Patch #101236 by Uwe Herman: fixed typos in the documentation.

parent a8e11de3
......@@ -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
......
......@@ -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
*/
......
......@@ -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(
......
......@@ -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;
......
......@@ -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
......
......@@ -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();
......
......@@ -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',
......
......@@ -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);
}
......
......@@ -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,
......
......@@ -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']);
......
......@@ -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">';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment