From 58de01883a1db1ba6833012c58ee64d75564a46a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 27 Dec 2006 12:55:52 +0000 Subject: - Patch #105216 by dww: profiles where no longer being themed due to missing CSS. --- modules/profile/profile.css | 17 ----------------- modules/profile/profile.module | 3 --- modules/user/user.css | 16 ++++++++++++++++ 3 files changed, 16 insertions(+), 20 deletions(-) delete mode 100644 modules/profile/profile.css (limited to 'modules') diff --git a/modules/profile/profile.css b/modules/profile/profile.css deleted file mode 100644 index fee1f370f..000000000 --- a/modules/profile/profile.css +++ /dev/null @@ -1,17 +0,0 @@ -/* $Id$ */ - -.profile { - clear: both; - margin: 1em 0; -} -.profile .picture { - float: right; - margin: 0 1em 1em 0; -} -.profile dt { - margin: 1em 0 0.2em 0; - font-weight: bold; -} -.profile dd { - margin:0; -} diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 39a7060de..2994838d7 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -421,9 +421,6 @@ function profile_admin_overview() { * Menu callback; display a list of user information. */ function profile_browse() { - // Add CSS - drupal_add_css(drupal_get_path('module', 'profile') .'/profile.css', 'module', 'all', FALSE); - $name = arg(1); list(,,$value) = explode('/', $_GET['q'], 3); diff --git a/modules/user/user.css b/modules/user/user.css index 20721e6f3..068893e19 100644 --- a/modules/user/user.css +++ b/modules/user/user.css @@ -31,3 +31,19 @@ clear: right; } +// Generated by user.module but used by profile.module: +.profile { + clear: both; + margin: 1em 0; +} +.profile .picture { + float: right; + margin: 0 1em 1em 0; +} +.profile dt { + margin: 1em 0 0.2em 0; + font-weight: bold; +} +.profile dd { + margin:0; +} -- cgit v1.2.3