summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-09-18 00:51:07 +0000
committerAlex Barth2010-09-18 00:51:07 +0000
commitca11be2e6df1cadfdda8018f463c577a2bf34649 (patch)
tree38040bb0d4418648c05de6270522673ea4cd304c
parent8d0eab3cdf71ed164ca2c33e11e3ec8e20b5a8c8 (diff)
Add CSS.
-rw-r--r--feeds.pages.inc2
-rw-r--r--feeds_ui/feeds_ui.admin.inc4
2 files changed, 3 insertions, 3 deletions
diff --git a/feeds.pages.inc b/feeds.pages.inc
index 424de6b..b5959d9 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 fb2edaf..ca4b360 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">';