summaryrefslogtreecommitdiff
path: root/modules/upload.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-01 10:17:34 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-01 10:17:34 +0000
commita8b218827a400cf5ced7db133be0a0f9e2180875 (patch)
treeef94631d313824ad89e204df283551c5c3bb3f53 /modules/upload.module
parent3f4d18fafc2718a056be07b9bf3c51ecfa610f33 (diff)
downloadbrdo-a8b218827a400cf5ced7db133be0a0f9e2180875.tar.gz
brdo-a8b218827a400cf5ced7db133be0a0f9e2180875.tar.bz2
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
Diffstat (limited to 'modules/upload.module')
-rw-r--r--modules/upload.module12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/upload.module b/modules/upload.module
index 67069b902..5807f98f9 100644
--- a/modules/upload.module
+++ b/modules/upload.module
@@ -11,6 +11,18 @@
*/
function upload_help($section) {
switch ($section) {
+ case 'admin/help#upload':
+ $output = '<p>'. 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.') .'</p>';
+ $output .= '<p>'. 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.') .'</p>';
+ $output .= t('<p>You can</p>
+<ul>
+<li>administer user permissions at <a href="%admin-user-configure">administer &gt;&gt; user &gt;&gt; configure &gt;&gt; permissions</a>.</li>
+<li>administer content at <a href="%admin-node-configure">administer &gt;&gt; content types</a>.</li>
+<li>administer upload at <a href="%admin-settings">administer &gt;&gt; settings</a>.</li>
+</ul>
+', array('%admin-user-configure' => url('admin/user/configure'), '%admin-node-configure' => url('admin/node/configure'), '%admin-settings' => url('admin/settings')));
+ $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="%upload">Upload page</a>.', array('%upload' => 'http://www.drupal.org/handbook/modules/upload/')) .'</p>';
+ return $output;
case 'admin/modules#description':
return t('Allows users to upload and attach files to content.');
case 'admin/settings/upload':