From 754f2ac26a2dbe81fcaa2886d4a8f5030b8e6cda Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 21 Mar 2004 14:28:15 +0000 Subject: - 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. --- modules/comment.module | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/comment.module') diff --git a/modules/comment.module b/modules/comment.module index b7676eaaf..03f6144bd 100644 --- a/modules/comment.module +++ b/modules/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.") ."
". filter_tips_short())); -- cgit v1.2.3