@@ -67,7 +67,7 @@ function block_help($path, $arg) {
switch($path){
case'admin/help#block':
$output='<p>'.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 <a href="@blocks">blocks administration page</a> 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'))).'</p>';
$output.='<p>'.t('Although blocks are usually generated automatically by modules (like the <em>User login</em> 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 <a href="@input-format">input format</a>.',array('@input-format'=>url('admin/settings/filters'))).'</p>';
$output.='<p>'.t('Although blocks are usually generated automatically by modules (like the <em>User login</em> 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 <a href="@text-format">text format</a>.',array('@text-format'=>url('admin/settings/filter'))).'</p>';
$output.='<p>'.t('When working with blocks, remember that:').'</p>';
$output.='<ul><li>'.t('since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis.').'</li>';
$output.='<li>'.t('disabled blocks, or blocks not in a region, are never shown.').'</li>';
@@ -97,7 +97,7 @@ function comment_help($path, $arg) {
switch($path){
case'admin/help#comment':
$output='<p>'.t('The comment module allows visitors to comment on your posts, creating ad hoc discussion boards. Any <a href="@content-type">content type</a> may have its <em>Default comment setting</em> set to <em>Read/Write</em> to allow comments, or <em>Disabled</em>, to prevent comments. Comment display settings and other controls may also be customized for each content type.',array('@content-type'=>url('admin/build/types'))).'</p>';
$output.='<p>'.t('Comment permissions are assigned to user roles, and are used to determine whether anonymous users (or other roles) are allowed to comment on posts. If anonymous users are allowed to comment, their individual contact information may be retained in cookies stored on their local computer for use in later comment submissions. When a comment has no replies, it may be (optionally) edited by its author. The comment module uses the same input formats and HTML tags available when creating other forms of content.').'</p>';
$output.='<p>'.t('Comment permissions are assigned to user roles, and are used to determine whether anonymous users (or other roles) are allowed to comment on posts. If anonymous users are allowed to comment, their individual contact information may be retained in cookies stored on their local computer for use in later comment submissions. When a comment has no replies, it may be (optionally) edited by its author. The comment module uses the same text formats and HTML tags available when creating other forms of content.').'</p>';
$output.='<p>'.t('For more information, see the online handbook entry for <a href="@comment">Comment module</a>.',array('@comment'=>'http://drupal.org/handbook/modules/comment/')).'</p>';
return$output;
...
...
@@ -1597,7 +1597,7 @@ function comment_form_add_preview($form, &$form_state) {
// Invoke full validation for the form, to protect against cross site
// request forgeries (CSRF) and setting arbitrary values for fields such as
// the input format. Preview the comment only when form validation does not
// the text format. Preview the comment only when form validation does not
@@ -101,7 +101,7 @@ function filter_admin_format_page($format = NULL) {
}
/**
* Generate a filter format form.
* Generate a text format form.
*
* @ingroup forms
* @see filter_admin_format_form_validate()
...
...
@@ -117,14 +117,14 @@ function filter_admin_format_form(&$form_state, $format) {
$form['name']=array('#type'=>'textfield',
'#title'=>t('Name'),
'#default_value'=>$format->name,
'#description'=>t('Specify a unique name for this filter format.'),
'#description'=>t('Specify a unique name for this text format.'),
'#required'=>TRUE,
);
// Add a row of checkboxes for form group.
$form['roles']=array('#type'=>'fieldset',
'#title'=>t('Roles'),
'#description'=>$default?$help:t('Choose which roles may use this filter format. Note that roles with the "administer filters" permission can always use all the filter formats.'),
'#description'=>$default?$help:t('Choose which roles may use this text format. Note that roles with the "administer filters" permission can always use all text formats.'),
'#tree'=>TRUE,
);
...
...
@@ -144,7 +144,7 @@ function filter_admin_format_form(&$form_state, $format) {
$form['filters']=array('#type'=>'fieldset',
'#title'=>t('Filters'),
'#description'=>t('Choose the filters that will be used in this filter format.'),
'#description'=>t('Choose the filters that will be used in this text format.'),
'#tree'=>TRUE,
);
foreach($allas$id=>$filter){
...
...
@@ -176,20 +176,20 @@ function filter_admin_format_form(&$form_state, $format) {