From ca11be2e6df1cadfdda8018f463c577a2bf34649 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Sat, 18 Sep 2010 00:51:07 +0000 Subject: [PATCH] Add CSS. --- feeds.pages.inc | 2 +- feeds_ui/feeds_ui.admin.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/feeds.pages.inc b/feeds.pages.inc index 424de6b0..b5959d9a 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 fb2edafc..ca4b360a 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 = '<div class="feeds-settings clear-block">'; -- GitLab