diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-04-06 13:27:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-04-06 13:27:23 +0000 |
commit | 5bbbf10ba84042b8576d67576d98922c0063c6d6 (patch) | |
tree | a2eef7bccd7d5289426b3c8edc23f52bc9f6e2ed /modules/upload | |
parent | 21c5b71795aec277a8b01ecea74e809a24be0229 (diff) | |
download | brdo-5bbbf10ba84042b8576d67576d98922c0063c6d6.tar.gz brdo-5bbbf10ba84042b8576d67576d98922c0063c6d6.tar.bz2 |
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
Diffstat (limited to 'modules/upload')
-rw-r--r-- | modules/upload/upload.module | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index e61fe9bcd..46de72dc1 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -23,6 +23,23 @@ function upload_help($section) { } /** + * Implementation of hook_theme() + */ +function upload_theme() { + return array( + 'upload_attachments' => array( + 'arguments' => array('files' => NULL), + ), + 'upload_form_current' => array( + 'arguments' => array('form' => NULL), + ), + 'upload_form_new' => array( + 'arguments' => array('form' => NULL), + ), + ); +} + +/** * Implementation of hook_perm(). */ function upload_perm() { |