From a8b218827a400cf5ced7db133be0a0f9e2180875 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 1 Nov 2005 10:17:34 +0000 Subject: - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / --- modules/upload/upload.module | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/upload') diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 67069b902..5807f98f9 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -11,6 +11,18 @@ */ function upload_help($section) { switch ($section) { + case 'admin/help#upload': + $output = '

'. t('The upload module allows users to upload files to the site. The ability to upload files to a site is important for members of a community who want to share work. It is also useful to administrators who want to keep uploaded files connected to a node or page.') .'

'; + $output .= '

'. t('Users with the upload files permission can upload attachments. You can choose which post types can take attachments on the content types settings page. Each user role can be customized for the file size of uploads, and the dimension of image files.') .'

'; + $output .= t('

You can

+ +', array('%admin-user-configure' => url('admin/user/configure'), '%admin-node-configure' => url('admin/node/configure'), '%admin-settings' => url('admin/settings'))); + $output .= '

'. t('For more information please read the configuration and customization handbook Upload page.', array('%upload' => 'http://www.drupal.org/handbook/modules/upload/')) .'

'; + return $output; case 'admin/modules#description': return t('Allows users to upload and attach files to content.'); case 'admin/settings/upload': -- cgit v1.2.3