Index: includes/locale.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/locale.inc,v
retrieving revision 1.97
diff -u -F^f -r1.97 locale.inc
--- includes/locale.inc	27 Nov 2006 01:17:01 -0000	1.97
+++ includes/locale.inc	30 Nov 2006 07:14:08 -0000
@@ -1283,6 +1283,9 @@ function _locale_export_remove_plural($e
  * List languages in search result table
  */
 function _locale_string_language_list($translation) {
+  // Add CSS
+  drupal_add_css(drupal_get_path('module', 'locale') .'/locale.css');
+
   $languages = locale_supported_languages(FALSE, TRUE);
   unset($languages['name']['en']);
   $output = '';
Index: modules/block/block.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/block/block.module,v
retrieving revision 1.240
diff -u -F^f -r1.240 block.module
--- modules/block/block.module	28 Nov 2006 11:12:38 -0000	1.240
+++ modules/block/block.module	30 Nov 2006 07:14:09 -0000
@@ -97,11 +97,6 @@ function block_menu($may_cache) {
       }
     }
   }
-  else {
-    // Add the CSS for this module
-    // We put this in !$may_cache so it's only added once per request
-    drupal_add_css(drupal_get_path('module', 'block') .'/block.css');
-  }
 
   return $items;
 }
@@ -209,6 +204,9 @@ function _block_rehash() {
 function block_admin_display($theme = NULL) {
   global $theme_key, $custom_theme;
 
+  // Add CSS
+  drupal_add_css(drupal_get_path('module', 'block') .'/block.css');
+
   // If non-default theme configuration has been selected, set the custom theme.
   if ($theme) {
     $custom_theme = $theme;
Index: modules/forum/forum.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/forum/forum.module,v
retrieving revision 1.368
diff -u -F^f -r1.368 forum.module
--- modules/forum/forum.module	28 Nov 2006 09:48:45 -0000	1.368
+++ modules/forum/forum.module	30 Nov 2006 07:14:10 -0000
@@ -92,11 +92,6 @@ function forum_menu($may_cache) {
         'type' => MENU_CALLBACK);
     }
   }
-  else {
-    // Add the CSS for this module
-    // We put this in !$may_cache so it's only added once per request
-    drupal_add_css(drupal_get_path('module', 'forum') .'/forum.css');
-  }
 
   return $items;
 }
Index: modules/help/help.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/help/help.module,v
retrieving revision 1.65
diff -u -F^f -r1.65 help.module
--- modules/help/help.module	27 Nov 2006 02:08:25 -0000	1.65
+++ modules/help/help.module	30 Nov 2006 07:14:10 -0000
@@ -28,11 +28,6 @@ function help_menu($may_cache) {
         'access' => $admin_access);
     }
   }
-  else {
-    // Add the CSS for this module
-    // We put this in !$may_cache so it's only added once per request
-    drupal_add_css(drupal_get_path('module', 'help') .'/help.css');
-  }
 
   return $items;
 }
@@ -41,6 +36,9 @@ function help_menu($may_cache) {
  * Menu callback; prints a page listing a glossary of Drupal terminology.
  */
 function help_main() {
+  // Add CSS
+  drupal_add_css(drupal_get_path('module', 'help') .'/help.css');
+
   $output = t('
   <h2>Help topics</h2>
   <p>Help is available on the following items:</p>
Index: modules/locale/locale.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/locale/locale.module,v
retrieving revision 1.153
diff -u -F^f -r1.153 locale.module
--- modules/locale/locale.module	26 Nov 2006 02:20:00 -0000	1.153
+++ modules/locale/locale.module	30 Nov 2006 07:14:11 -0000
@@ -101,10 +101,6 @@ function locale_menu($may_cache) {
       'type' => MENU_CALLBACK);
   }
   else {
-    // Add the CSS for this module
-    // We put this in !$may_cache so it's only added once per request
-    drupal_add_css(drupal_get_path('module', 'locale') .'/locale.css');
-
     if (is_numeric(arg(5))) {
       // String related callbacks
       $items[] = array('path' => 'admin/settings/locale/string/edit/'. arg(5),
Index: modules/profile/profile.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/profile/profile.module,v
retrieving revision 1.180
diff -u -F^f -r1.180 profile.module
--- modules/profile/profile.module	26 Nov 2006 02:20:01 -0000	1.180
+++ modules/profile/profile.module	30 Nov 2006 07:14:13 -0000
@@ -414,6 +414,8 @@ 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');
 
   $name = arg(1);
   list(,,$value) = explode('/', $_GET['q'], 3);
Index: modules/search/search.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.module,v
retrieving revision 1.203
diff -u -F^f -r1.203 search.module
--- modules/search/search.module	21 Nov 2006 20:14:18 -0000	1.203
+++ modules/search/search.module	30 Nov 2006 07:14:13 -0000
@@ -180,11 +180,6 @@ function search_menu($may_cache) {
       }
     }
   }
-  else {
-    // Add the CSS for this module
-    // We put this in !$may_cache so it's only added once per request
-    drupal_add_css(drupal_get_path('module', 'search') .'/search.css');
-  }
 
   return $items;
 }
@@ -1080,6 +1075,9 @@ function theme_search_block_form($form) 
  * Perform a standard search on the given keys, and return the formatted results.
  */
 function search_data($keys = NULL, $type = 'node') {
+  // Add CSS
+  drupal_add_css(drupal_get_path('module', 'search') .'/search.css');
+
   if (isset($keys)) {
     if (module_hook($type, 'search')) {
       $results = module_invoke($type, 'search', 'search', $keys);
Index: modules/tracker/tracker.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/tracker/tracker.module,v
retrieving revision 1.138
diff -u -F^f -r1.138 tracker.module
--- modules/tracker/tracker.module	21 Nov 2006 20:14:19 -0000	1.138
+++ modules/tracker/tracker.module	30 Nov 2006 07:14:13 -0000
@@ -39,10 +39,6 @@ function tracker_menu($may_cache) {
     }
   }
   else {
-    // Add the CSS for this module
-    // We put this in !$may_cache so it's only added once per request
-    drupal_add_css(drupal_get_path('module', 'tracker') .'/tracker.css');
-
     if (arg(0) == 'user' && is_numeric(arg(1))) {
       $items[] = array('path' => 'user/'. arg(1) .'/track', 'title' => t('Track'),
           'callback' => 'tracker_track_user', 'access' => user_access('access content'),
@@ -77,6 +73,9 @@ function tracker_track_user() {
  * Menu callback. Prints a listing of active nodes on the site.
  */
 function tracker_page($uid = 0) {
+  // Add CSS
+  drupal_add_css(drupal_get_path('module', 'tracker') .'/tracker.css');
+
   if ($uid) {
     $sql = 'SELECT DISTINCT(n.nid), n.title, n.type, n.changed, n.uid, u.name, l.last_comment_timestamp AS last_post, l.comment_count FROM {node} n INNER JOIN {node_comment_statistics} l ON n.nid = l.nid INNER JOIN {users} u ON n.uid = u.uid LEFT JOIN {comments} c ON n.nid = c.nid AND (c.status = %d OR c.status IS NULL) WHERE n.status = 1 AND (n.uid = %d OR c.uid = %d) ORDER BY last_post DESC';
     $sql = db_rewrite_sql($sql);
