From b138793b6890a16ec87107779392e4fb0c4cfc8f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 31 Jul 2006 11:25:55 +0000 Subject: - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) --- modules/upload/upload.module | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/upload') diff --git a/modules/upload/upload.module b/modules/upload/upload.module index a07ecbc26..99455281d 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -21,13 +21,13 @@ function upload_help($section) {
  • administer content at administer >> settings >> content types.
  • administer upload at administer >> settings >> upload.
  • -', array('%admin-access' => url('admin/access'), '%admin-content-types' => url('admin/settings/content-types'), '%admin-upload' => url('admin/settings/upload'))); +', array('%admin-access' => url('admin/access'), '%admin-content-types' => url('admin/settings/types'), '%admin-upload' => url('admin/settings/upload'))); $output .= '

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

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

    Users with the upload files permission can upload attachments. Users with the view uploaded files permission can view uploaded attachments. You can choose which post types can take attachments on the content types settings page.

    ', array('%permissions' => url('admin/access'), '%types' => url('admin/settings/content-types'))); + return t('

    Users with the upload files permission can upload attachments. Users with the view uploaded files permission can view uploaded attachments. You can choose which post types can take attachments on the content types settings page.

    ', array('%permissions' => url('admin/access'), '%types' => url('admin/settings/types'))); } } @@ -80,6 +80,7 @@ function upload_menu($may_cache) { ); $items[] = array('path' => 'admin/settings/uploads', 'title' => t('file uploads'), + 'description' => t('Control how files may be attached to content.'), 'callback' => 'upload_admin_settings', 'access' => user_access('administer site configuration'), 'type' => MENU_NORMAL_ITEM); -- cgit v1.2.3