function user_theme in Drupal 6
Same name and namespace in other branches
- 8 core/modules/user/user.module \user_theme()
- 7 modules/user/user.module \user_theme()
- 9 core/modules/user/user.module \user_theme()
Implementation of hook_theme().
File
- modules/
user/ user.module, line 40 - Enables the user registration and login system.
Code
function user_theme() {
return array(
'user_picture' => array(
'arguments' => array(
'account' => NULL,
),
'template' => 'user-picture',
),
'user_profile' => array(
'arguments' => array(
'account' => NULL,
),
'template' => 'user-profile',
'file' => 'user.pages.inc',
),
'user_profile_category' => array(
'arguments' => array(
'element' => NULL,
),
'template' => 'user-profile-category',
'file' => 'user.pages.inc',
),
'user_profile_item' => array(
'arguments' => array(
'element' => NULL,
),
'template' => 'user-profile-item',
'file' => 'user.pages.inc',
),
'user_list' => array(
'arguments' => array(
'users' => NULL,
'title' => NULL,
),
),
'user_admin_perm' => array(
'arguments' => array(
'form' => NULL,
),
'file' => 'user.admin.inc',
),
'user_admin_new_role' => array(
'arguments' => array(
'form' => NULL,
),
'file' => 'user.admin.inc',
),
'user_admin_account' => array(
'arguments' => array(
'form' => NULL,
),
'file' => 'user.admin.inc',
),
'user_filter_form' => array(
'arguments' => array(
'form' => NULL,
),
'file' => 'user.admin.inc',
),
'user_filters' => array(
'arguments' => array(
'form' => NULL,
),
'file' => 'user.admin.inc',
),
'user_signature' => array(
'arguments' => array(
'signature' => NULL,
),
),
);
}