--- mediumvote.module.old 2006-04-18 00:21:32.000000000 -0500 +++ mediumvote.module 2006-04-18 00:26:16.000000000 -0500 @@ -32,8 +32,7 @@ define ('NUM_VOTING_CRITERIA', 5); function mediumvote_menu($may_cache) { - drupal_set_html_head(theme('stylesheet_import', theme('mediumvote_css_path'))); - + theme_add_style(drupal_get_path('module', 'mediumvote') . '/theme/mediumvote.css'); $items = array(); if ($may_cache) { @@ -605,13 +604,6 @@ ''; } -function theme_mediumvote_css_path() { - // depending on installation this path may require a preceding / - // return '/' . drupal_get_path('module', 'mediumvote') . '/theme/mediumvote.css'; - - return drupal_get_path('module', 'mediumvote') . '/theme/mediumvote.css'; -} - function mediumvote_nodeapi(&$node, $op, $teaser, $page) { $path = drupal_get_path('module', 'mediumvote');