summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-06 13:27:23 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-06 13:27:23 +0000
commit5bbbf10ba84042b8576d67576d98922c0063c6d6 (patch)
treea2eef7bccd7d5289426b3c8edc23f52bc9f6e2ed /modules/profile
parent21c5b71795aec277a8b01ecea74e809a24be0229 (diff)
downloadbrdo-5bbbf10ba84042b8576d67576d98922c0063c6d6.tar.gz
brdo-5bbbf10ba84042b8576d67576d98922c0063c6d6.tar.bz2
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/profile.module13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index c486dda05..fd2a8c6ac 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -52,6 +52,19 @@ function profile_help($section) {
}
/**
+ * Implementation of hook_theme()
+ */
+function profile_theme() {
+ return array(
+ 'profile_block' => array(
+ 'arguments' => array('account' => NULL, 'fields' => array()),
+ ),
+ 'profile_listing' => array(
+ 'arguments' => array('account' => NULL, 'fields' => array()),
+ ), );
+}
+
+/**
* Implementation of hook_menu().
*/
function profile_menu() {