summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-02-03 18:55:32 +0000
committerDries Buytaert <dries@buytaert.net>2009-02-03 18:55:32 +0000
commit29c8e40e912f8975011224f824977b2353fe07b5 (patch)
treebb6a3341259232340b88ca120cf349c57404c13b /modules/user/user.module
parent607e9626d5af265b18e8319b156bb0fda3445cd4 (diff)
downloadbrdo-29c8e40e912f8975011224f824977b2353fe07b5.tar.gz
brdo-29c8e40e912f8975011224f824977b2353fe07b5.tar.bz2
- Patch #355236 by Frando: refactor drupal_render() theming.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 39e98e8e8..b430121d4 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -753,8 +753,12 @@ function user_search($op = 'search', $keys = NULL, $skip_access_check = FALSE) {
*/
function user_elements() {
return array(
- 'user_profile_category' => array(),
- 'user_profile_item' => array(),
+ 'user_profile_category' => array(
+ '#theme_wrapper' => 'user_profile_category'
+ ),
+ 'user_profile_item' => array(
+ '#theme' => 'user_profile_item'
+ ),
);
}