diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/form.inc | 6 | ||||
-rw-r--r-- | includes/image.gd.inc | 2 | ||||
-rw-r--r-- | includes/language.inc | 2 | ||||
-rw-r--r-- | includes/mail.inc | 2 | ||||
-rw-r--r-- | includes/menu.inc | 10 | ||||
-rw-r--r-- | includes/theme.inc | 4 | ||||
-rw-r--r-- | includes/theme.maintenance.inc | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/includes/form.inc b/includes/form.inc index 62579848b..473e67bc7 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -8,9 +8,9 @@ * * All modules should declare their form builder functions to be in this * group and each builder function should reference its validate and submit - * functions using \@see. Conversely, validate and submit functions should + * functions using \@see. Conversely, validate and submit functions should * reference the form builder function using \@see. For examples, of this see - * system_modules_uninstall() or user_pass(), the latter of which has the + * system_modules_uninstall() or user_pass(), the latter of which has the * following in its doxygen documentation: * * \@ingroup forms @@ -913,7 +913,7 @@ function form_builder($form_id, $form, &$form_state) { // Now that we've processed everything, we can go back to handle the funky // Internet Explorer button-click scenario. _form_builder_ie_cleanup($form, $form_state); - + // We shoud keep the buttons array until the IE clean up function // has recognized the submit button so the form has been marked // as submitted. If we already know which button was submitted, diff --git a/includes/image.gd.inc b/includes/image.gd.inc index de887e35f..c9378ca7f 100644 --- a/includes/image.gd.inc +++ b/includes/image.gd.inc @@ -38,7 +38,7 @@ function image_gd_settings() { '#field_suffix' => t('%'), ); $form['#element_validate'] = array('image_gd_settings_validate'); - + return $form; } else { diff --git a/includes/language.inc b/includes/language.inc index 75efe91d5..e92f36d6d 100644 --- a/includes/language.inc +++ b/includes/language.inc @@ -17,7 +17,7 @@ function language_initialize() { // Get a list of enabled languages. $languages = language_list('enabled'); $languages = $languages[1]; - + switch ($mode) { case LANGUAGE_NEGOTIATION_NONE: return language_default(); diff --git a/includes/mail.inc b/includes/mail.inc index 4234aacab..64b9b9363 100644 --- a/includes/mail.inc +++ b/includes/mail.inc @@ -433,7 +433,7 @@ function _drupal_wrap_mail_line(&$line, $key, $values) { function _drupal_html_to_mail_urls($match = NULL, $reset = FALSE) { global $base_url, $base_path; static $urls = array(), $regexp; - + if ($reset) { // Reset internal URL list. $urls = array(); diff --git a/includes/menu.inc b/includes/menu.inc index 75e4ced08..e8d67b287 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -363,7 +363,7 @@ function menu_execute_active_handler($path = NULL) { * @return * Returns TRUE for success, FALSE if an object cannot be loaded. * Names of object loading functions are placed in $item['load_functions']. - * Loaded objects are placed in $map[]; keys are the same as keys in the + * Loaded objects are placed in $map[]; keys are the same as keys in the * $item['load_functions'] array. * $item['access'] is set to FALSE if an object cannot be loaded. */ @@ -472,10 +472,10 @@ function _menu_check_access(&$item, $map) { * @return * No return value. * $item['title'] is localized according to $item['title_callback']. - * If an item's callback is check_plain(), $item['options']['html'] becomes + * If an item's callback is check_plain(), $item['options']['html'] becomes * TRUE. * $item['description'] is translated using t(). - * When doing link translation and the $item['options']['attributes']['title'] + * When doing link translation and the $item['options']['attributes']['title'] * (link title attribute) matches the description, it is translated as well. */ function _menu_item_localize(&$item, $map, $link_translate = FALSE) { @@ -619,7 +619,7 @@ function menu_tail_to_arg($arg, $map, $index) { * $item['access'] becomes TRUE if the item is accessible, FALSE otherwise. * $item['href'] is generated from link_path, possibly by to_arg functions. * $item['title'] is generated from link_title, and may be localized. - * $item['options'] is unserialized; it is also changed within the call here + * $item['options'] is unserialized; it is also changed within the call here * to $item['localized_options'] by _menu_item_localize(). */ function _menu_link_translate(&$item) { @@ -1507,7 +1507,7 @@ function menu_get_active_trail() { */ function menu_get_active_breadcrumb() { $breadcrumb = array(); - + // No breadcrumb for the front page. if (drupal_is_front_page()) { return $breadcrumb; diff --git a/includes/theme.inc b/includes/theme.inc index 8104aaeb7..69e026c12 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1454,9 +1454,9 @@ function theme_more_help_link($url) { /** * Return code that emits an XML icon. - * + * * For most use cases, this function has been superseded by theme_feed_icon(). - * + * * @see theme_feed_icon() * @param $url * The url of the feed. diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index c513a00b5..9a99e833e 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -124,7 +124,7 @@ function theme_install_page($content) { $variables['messages'] .= theme('status_messages', 'error'); $variables['content'] .= '<p>'. st('Please check the error messages and <a href="!url">try again</a>.', array('!url' => request_uri())) .'</p>'; } - + // Special handling of warning messages if (isset($messages['warning'])) { $title = count($messages['warning']) > 1 ? st('The following installation warnings should be carefully reviewed') : st('The following installation warning should be carefully reviewed'); |