diff --git a/feeds.pages.inc b/feeds.pages.inc index b5959d9a1e37dfc5ef8f7384753a85acb31b1b34..9a7ce0920e6cefc122280e1b661c5ab1bc3a27ca 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(array('file' => drupal_get_path('module', 'feeds') .'/feeds.css')); + drupal_add_css('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 ca4b360aa6277ae0434d5b2284dc87f599c035b4..5ead222e8b79abe212d109ee4abb198d07b34ada 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(array('file' => drupal_get_path('module', 'feeds_ui') .'/feeds_ui.css')); + drupal_add_css('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(array('file' => drupal_get_path('module', 'feeds_ui') .'/feeds_ui.css')); + drupal_add_css('file' => drupal_get_path('module', 'feeds_ui') .'/feeds_ui.css'); // Outer wrapper. $output = '
';