From 6fe3c7c0598c5939e4287cd09066ec27bfd6dcc9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 8 Mar 2009 21:25:18 +0000 Subject: [PATCH] - Patch #244904 by keith.smith, edmund.kwok, xano, David_Rothstein: rename 'input formats'. --- includes/form.inc | 6 ++---- modules/block/block.module | 2 +- modules/comment/comment.module | 4 ++-- modules/filter/filter.admin.inc | 24 ++++++++++++------------ modules/filter/filter.api.php | 2 +- modules/filter/filter.module | 2 +- modules/filter/filter.pages.inc | 2 +- modules/system/system.module | 4 ++-- 8 files changed, 22 insertions(+), 24 deletions(-) diff --git a/includes/form.inc b/includes/form.inc index 159653509fc..be62368cd0f 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1825,7 +1825,7 @@ function form_process_radios($element) { * * @see system_elements(), filter_form() */ -function form_process_input_format($element) { +function form_process_text_format($element) { if (isset($element['#text_format'])) { // Determine the form element parents and element name to use for the input // format widget. This simulates the 'element' and 'element_format' pair of @@ -2283,11 +2283,9 @@ function theme_textarea($element) { /** * Format HTML markup for use in forms. * - * This is used in more advanced forms, such as theme selection and filter format. - * * @param $element * An associative array containing the properties of the element. - * Properties used: value, children. + * Properties used: markup, children. * @return * A themed HTML string representing the HTML markup. * diff --git a/modules/block/block.module b/modules/block/block.module index bb6348d2601..5c6d776bdf0 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -67,7 +67,7 @@ function block_help($path, $arg) { switch ($path) { case 'admin/help#block': $output = '

' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Garland, for example, implements the regions "left sidebar", "right sidebar", "content", "header", and "footer", and a block may appear in any one of these areas. The blocks administration page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', array('@blocks' => url('admin/build/block'))) . '

'; - $output .= '

' . t('Although blocks are usually generated automatically by modules (like the User login block, for example), administrators can also define custom blocks. Custom blocks have a title, description, and body. The body of the block can be as long as necessary, and can contain content supported by any available input format.', array('@input-format' => url('admin/settings/filters'))) . '

'; + $output .= '

' . t('Although blocks are usually generated automatically by modules (like the User login block, for example), administrators can also define custom blocks. Custom blocks have a title, description, and body. The body of the block can be as long as necessary, and can contain content supported by any available text format.', array('@text-format' => url('admin/settings/filter'))) . '

'; $output .= '

' . t('When working with blocks, remember that:') . '

'; $output .= '