diff --git a/core/modules/link/link.module b/core/modules/link/link.module index a15633d..20ced06 100644 --- a/core/modules/link/link.module +++ b/core/modules/link/link.module @@ -13,24 +13,18 @@ function link_help($path, $arg) { case 'admin/help#link': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Link module defines a simple link field type for the Field module. It allows the addition of link fields to any "fieldable" entity (content types, blocks, taxonomy terms, users, etc.). Links are external URLs, can have optional link text, and can be formatted when displayed. They must include the web protocol (http or https) in order to validate during input; other scheme names (ftp, git, etc.) are not supported. Use Entity reference for internal links.
For more information see the Field module help page, and the online handbook entry for Link module.', array('@field-help' => url('admin/help/field'), '@link' => 'https://drupal.org/documentation/modules/link/','@entity-reference' => url(''))) . '

'; - $output .= '

' . t('Uses') . '

'; - $output .= '

' . t('Configuring field settings') . '

'; - $output .= '

' . t('To configure the settings for a link field, go to the Manage fields page of the entity (e.g. content type) to which the link is attached, and click on the Edit link for your link field. For example, if your link is attached to a content type, visit the Content types page.' , array('@content-types' => url('admin/structure/types'))) . '

'; - $output .= '
'; - $output .= '
' . t('Toggle whether link text can be entered') . '
'; - $output .= '
' . t('To allow the addition of link text to a URL, select Optional or Required.') . '
'; - $output .= '
' . t('Use placeholders') . '
'; - $output .= '
' . t('A placeholder is a short hint that is displayed in a URL or text field before a value is entered, and that helps users to fill in the field correctly. Enter appropriate text in the placeholder fields.') . '
'; - $output .= '
'; - $output .= '

' . t('Configuring display settings') . '

'; - $output .= '

' . t('To configure how a link is displayed, go to Manage display page of the entity to which the link is attached (e.g. content type) and choose the display that you want to change. For example, if your link is attached to a content type, visit the Content types page.', array('@content-types' => url('admin/structure/types'))) . '

'; - $output .= '
'; - $output .= '
' . t('Display URL, link text, or both') . '
'; - $output .= '
' . t('By default, link text is displayed instead of the URL. If you want to display both, choose the appropriate link format from the pull-down menu. If you only want to display the URL even when link text has been submitted, click on the cog icon and check URL only.') . '
'; - $output .= '
' . t('Add attributes to links') . '
'; - $output .= '
' . t('If you want to add attributes to links, click on the cog icon, and check the appropriate boxes. Adding rel="nofollow" notifies search engines that links should not be followed.') . '
'; - $output .= '
'; + $output .= '

' . t('The Link module allows you to create fields that contain external URLs and optional link text. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information on the Link field, see the online documentation for the Link module.', array('@field' => url('admin/help/field'), '@field_ui' => url('admin/help/field_ui'), '@link_documentation' => 'https://drupal.org/documentation/modules/link')) . '

'; +$output .= '

' . t('Uses') . '

'; +$output .= '
'; +$output .= '
' . t('Managing and displaying link fields') . '
'; +$output .= '
' . t('The settings and the display of the link field can be configured separately. See the Field UI help for more information on how to manage fields and their display.', array('@field_ui' => url('admin/help/field_ui'))) . '
'; +$output .= '
' . t('Using link texts') . '
'; +$output .= '
' . t('To allow the addition of link text to a URL, select Optional or Required. By default, link text is displayed instead of the URL. If you want to display both, choose the appropriate link format from the drop-down menu. If you only want to display the URL even if link text has been submitted, choose Link as format, and click on the cog icon to check URL only.') . '
'; +$output .= '
' . t('Adding attributes to links') . '
'; +$output .= '
' . t('If you want to add attributes to the display of links, click on the cog icon and check the appropriate boxes. Adding rel="nofollow" notifies search engines that links should not be followed.') . '
'; +$output .= '
' . t('Validating URLs') . '
'; +$output .= '
' . t('All links are validated after a link field is filled in. Links need to start with http or https, and they can include anchors or query strings. Other scheme names (for example ftp or git) are not supported.') . '
'; +$output .= '
'; return $output; } }