diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:02:05 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:02:05 +0000 |
commit | 4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4 (patch) | |
tree | 91a4f64953675ba9204158ebca02276aec7555ba /modules/profile/profile.module | |
parent | c98fd96c62e6a60f5e5e2476ebc38766e438c535 (diff) | |
download | brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.gz brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r-- | modules/profile/profile.module | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index ea99c4dc2..28872b4b2 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -80,6 +80,7 @@ function profile_menu() { 'title' => 'User list', 'page callback' => 'profile_browse', 'access arguments' => array('access user profiles'), + 'file' => 'profile.pages.inc', 'type' => MENU_SUGGESTED_ITEM, ); $items['admin/config/people/profile'] = array( @@ -88,18 +89,21 @@ function profile_menu() { 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_admin_overview'), 'access arguments' => array('administer users'), + 'file' => 'profile.admin.inc', ); $items['admin/config/people/profile/add'] = array( 'title' => 'Add field', 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_field_form'), 'access arguments' => array('administer users'), + 'file' => 'profile.admin.inc', 'type' => MENU_CALLBACK, ); $items['admin/config/people/profile/autocomplete'] = array( 'title' => 'Profile category autocomplete', 'page callback' => 'profile_admin_settings_autocomplete', 'access arguments' => array('administer users'), + 'file' => 'profile.admin.inc', 'type' => MENU_CALLBACK, ); $items['admin/config/people/profile/edit'] = array( @@ -107,6 +111,7 @@ function profile_menu() { 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_field_form'), 'access arguments' => array('administer users'), + 'file' => 'profile.admin.inc', 'type' => MENU_CALLBACK, ); $items['admin/config/people/profile/delete'] = array( @@ -114,12 +119,14 @@ function profile_menu() { 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_field_delete'), 'access arguments' => array('administer users'), + 'file' => 'profile.admin.inc', 'type' => MENU_CALLBACK, ); $items['profile/autocomplete'] = array( 'title' => 'Profile autocomplete', 'page callback' => 'profile_autocomplete', 'access arguments' => array('access user profiles'), + 'file' => 'profile.pages.inc', 'type' => MENU_CALLBACK, ); return $items; @@ -128,7 +135,7 @@ function profile_menu() { /** * Implement hook_block_list(). */ -function profile_block_list() { + function profile_block_list() { $blocks['author-information']['info'] = t('Author information'); $blocks['author-information']['cache'] = BLOCK_CACHE_PER_PAGE | BLOCK_CACHE_PER_ROLE; return $blocks; |