diff --git a/core/modules/file/file.module b/core/modules/file/file.module
index 3f2d500..8890b2c 100644
--- a/core/modules/file/file.module
+++ b/core/modules/file/file.module
@@ -23,19 +23,19 @@ function file_help($path, $arg) {
case 'admin/help#file':
$output = '';
$output .= '
' . t('About') . '
';
- $output .= '' . t('The File module allows you to create fields that contain files. 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 see the online documentation for the File module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')), '!file_documentation' => 'https://drupal.org/documentation/modules/file')) . '
';
+ $output .= '' . t('The File module allows you to create fields that contain files. 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, see the online documentation for the File module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')), '!file_documentation' => 'https://drupal.org/documentation/modules/file')) . '
';
$output .= '' . t('Uses') . '
';
$output .= '';
- $output .= '- ' . t('Managing and displaying file fields') . '
';
+ $output .= '- ' . t('Managing and displaying file fields') . '
';
$output .= '- ' . t('The settings and the display of the file field can be configured separately. See the Field UI help for more information on how to manage fields and their display.', array('!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')))) . '
';
$output .= '- ' . t('Allowing file extensions') . '
';
- $output .= '- ' . t('In the field settings you can define which are the allowed file extensions (e.g. pdf docx psd) for the files that will be uploaded with the file field.') . '
';
+ $output .= '- ' . t('In the field settings, you can define which are the allowed file extensions (e.g. pdf docx psd) for the files that will be uploaded with the file field.') . '
';
$output .= '- ' . t('Storing files ') . '
';
- $output .= '- ' . t('Files that are uploaded through a file field are stored in a directory that is publicly accessible over the web. When public files are listed, direct links to the files are used, and anyone who knows the URL of that file can download it. The public folder is defined in the settings.php file. Consult the File system settings for information about that directory. Files can be stored in a protected folder by setting a Private file system path in the File system settings. Files in the private directory are not accessible directly through the web server. This increases the server load and download time, since the site must resolve the path for each file download request', array('!file-system' => \Drupal::url('system.file_system_settings'))) . '
';
+ $output .= '- ' . t('Uploaded files can either be stored as public or private, depending on the File system settings. For more information, see the System help page.', array('!file-system' => \Drupal::url('system.file_system_settings'), '!system-help' => \Drupal::url('help.page', array('name' => 'system')))) . '
';
$output .= '- ' . t('Restricting the maximum file size') . '
';
$output .= '- ' . t('The maximum file size that users can upload is limited by PHP settings of the server, but you can restrict it by entering the appropriate value into the Maximum upload size field. The maximum file size is automatically displayed to users in the help text of the file field.') . '
';
$output .= '- ' . t('Displaying files and descriptions') . '
- ';
- $output .= '
- ' . t('If the Display field in the Field settings is enabled, users can toggle whether individual files are displayed. Files can be referred to by their URI even if they are not displayed. You can choose a display format from the drop-down menu:
- Generic file displays a link to the file with an icon that symbolizes the file extension. If descriptions are enabled and one has been submitted for a file, then the description is displayed instead of the file name.
- URL to file displays the full path to the file.
- Table of files lists links to the files and the file sizes in a table.
- RSS enclosure only displays the first file, and only in a RSS feed, formatted according to the RSS 2.0 syntax for enclosures.
') . ' ';
+ $output .= '- ' . t('In the field settings, you can allow users to toggle whether individual files are displayed. In the display settings, you can then choose one of the following formats:
- Generic file displays links to the files and adds icons that symbolize the file extensions. If descriptions are enabled and have been submitted, then the description is displayed instead of the file name.
- URL to file displays the full path to the file as plain text.
- Table of files lists links to the files and the file sizes in a table.
- RSS enclosure only displays the first file, and only in a RSS feed, formatted according to the RSS 2.0 syntax for enclosures.
A file can still be linked to directly by its URI even if it is not displayed.') . ' ';
$output .= '
';
return $output;
}