summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-03-21 14:28:15 +0000
committerDries Buytaert <dries@buytaert.net>2004-03-21 14:28:15 +0000
commit754f2ac26a2dbe81fcaa2886d4a8f5030b8e6cda (patch)
treec0300113f97cbc055fe177e75542e11c0c0ff400 /modules/comment
parentf43cd3bb3399bf13109945b5d259e5fe934a81f7 (diff)
downloadbrdo-754f2ac26a2dbe81fcaa2886d4a8f5030b8e6cda.tar.gz
brdo-754f2ac26a2dbe81fcaa2886d4a8f5030b8e6cda.tar.bz2
- More profile module improvements:
+ Updated the _user() hook's "$type == 'view'" case to match the "$type == 'edit'" case. That is, both have to return an associtive array of the format array('category' => 'fields'). + Updated the profile pages to group fields by category. Made possible thanks to the above change. + Moved logic out of the theme_ functions.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index b7676eaaf..03f6144bd 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -138,11 +138,6 @@ function comment_settings() {
function comment_user($type, $edit, &$user) {
switch ($type) {
- case "view":
- if ($user->signature) {
- return form_item(t("Signature"), check_output($user->signature));
- }
- break;
case "edit":
// when user tries to edit his own data
return array(t('Personal information') => form_textarea(t("Signature"), "signature", $user->signature, 64, 3, t("Your signature will be publicly displayed at the end of your comments.") ."<br />". filter_tips_short()));