diff --git a/feeds.pages.inc b/feeds.pages.inc index 424de6b069ccf7a24bd2fa1ce0461f54e3ee0dfe..b5959d9a1e37dfc5ef8f7384753a85acb31b1b34 100644 --- a/feeds.pages.inc +++ b/feeds.pages.inc @@ -155,7 +155,7 @@ function feeds_fetcher_callback($importer, $feed_nid = 0) { */ function theme_feeds_upload($variables) { $element = $variables['element']; - drupal_add_css(drupal_get_path('module', 'feeds') .'/feeds.css'); + drupal_add_css(array('file' => drupal_get_path('module', 'feeds') .'/feeds.css')); _form_set_class($element, array('form-file')); $description = ''; if (!empty($element['#file_info'])) { diff --git a/feeds_ui/feeds_ui.admin.inc b/feeds_ui/feeds_ui.admin.inc index fb2edafc77b9e5a7828674030efca23a7257f275..ca4b360aa6277ae0434d5b2284dc87f599c035b4 100644 --- a/feeds_ui/feeds_ui.admin.inc +++ b/feeds_ui/feeds_ui.admin.inc @@ -651,7 +651,7 @@ function _feeds_ui_format_options($options) { function theme_feeds_ui_overview_form($variables) { $form = $variables['form']; drupal_add_js(drupal_get_path('module', 'feeds_ui') .'/feeds_ui.js'); - drupal_add_css(drupal_get_path('module', 'feeds_ui') .'/feeds_ui.css'); + drupal_add_css(array('file' => drupal_get_path('module', 'feeds_ui') .'/feeds_ui.css')); // Iterate through all importers and build a table. $rows = array(); @@ -686,7 +686,7 @@ function theme_feeds_ui_overview_form($variables) { function theme_feeds_ui_edit_page($variables) { $config_info = $variables['info']; $active_container = $variables['active']; - drupal_add_css(drupal_get_path('module', 'feeds_ui') .'/feeds_ui.css'); + drupal_add_css(array('file' => drupal_get_path('module', 'feeds_ui') .'/feeds_ui.css')); // Outer wrapper. $output = '
';