diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-02-08 19:43:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-02-08 19:43:02 +0000 |
commit | 632918e571d927553575c7d403ef4f8ad1b1c625 (patch) | |
tree | 9564ddb5d71a5e7a0394c640c6cd4e9d635e5f32 /modules/upload/upload.module | |
parent | a364148a31384983de27ece3c2b2a816453104ad (diff) | |
download | brdo-632918e571d927553575c7d403ef4f8ad1b1c625.tar.gz brdo-632918e571d927553575c7d403ef4f8ad1b1c625.tar.bz2 |
- Patch #16963 by Neil: the upload's module help text was in bad shape. Edited it down to what is needed with links that actually work.
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r-- | modules/upload/upload.module | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 83a6cb401..9088e04f9 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -10,19 +10,8 @@ function upload_help($section) { switch ($section) { case 'admin/modules#description': return t('File-handling and attaching files to nodes.'); - case 'admin/upload': - return t('<p>Users with the <a href="%permissions"><em>upload files</em> permission</a> can upload attachments. You can choose which node types can take attachments on the <a href="%workflow">workflow settings</a> page.</p>', array('%permissions' => url('admin/user/configure/permission'), '%workflow' => url('admin/node/configure/defaults'))); - case 'admin/node/configure/defaults': - return t('<p>If you want users to be able to attach files to nodes, check the <em>attachments</em> column in the appropriate column.</p>'); - case 'admin/help#upload': - return t(' -<h3>Background</h3> -<p>The upload module allows users to upload attachments. You can choose which node types can take attachments on the <a href="%workflow">workflow settings</a> page.</p> -<h3>Permissions</h3> -<p>Two permissions are related to uploads: <em>upload files</em> and <em>view uploaded files</em>.</p> -<ol><li><strong>upload files</strong> - Allows users to upload attachments.</li><li><strong>view uploaded files</strong> - Allows users to view and download attachments. Keep in mind that if you are using the <a href="%settings">public download method</a>, anyone will be able to access uploaded files with a direct URL regardless of this permission.</li></ol> -<p>Lastly, users with the <em>administer site configuration</em> permission will be able to configure <a href="%upload">role-specific upload settings</a> such as allowed file types, maximum file size per upload and total file size per user.</p> -', array('%settings' => url('admin/settings'), '%workflow' => url('admin/node/configure/defaults'), '%upload' => url('admin/upload'))); + case 'admin/settings/upload': + return t('<p>Users with the <a href="%permissions">upload files permission</a> can upload attachments. You can choose which post types can take attachments on the <a href="%types">content types settings</a> page.</p>', array('%permissions' => url('admin/access'), '%types' => url('admin/node/configure/types'))); } } |