diff options
-rw-r--r-- | modules/upload.module | 15 | ||||
-rw-r--r-- | modules/upload/upload.module | 15 |
2 files changed, 4 insertions, 26 deletions
diff --git a/modules/upload.module b/modules/upload.module index 83a6cb401..9088e04f9 100644 --- a/modules/upload.module +++ b/modules/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'))); } } 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'))); } } |