Skip to content
Snippets Groups Projects
Commit 5a544038 authored by Alex Barth's avatar Alex Barth
Browse files

Convert feeds_theme().

parent a24e15b9
No related branches found
No related tags found
No related merge requests found
......@@ -238,6 +238,7 @@ function feeds_theme() {
return array(
'feeds_upload' => array(
'file' => 'feeds.pages.inc',
'render element' => 'element',
),
);
}
......
......@@ -153,7 +153,8 @@ function feeds_fetcher_callback($importer, $feed_nid = 0) {
/**
* Theme upload widget.
*/
function theme_feeds_upload($element) {
function theme_feeds_upload($variables) {
$element = $variables['element'];
drupal_add_css(drupal_get_path('module', 'feeds') .'/feeds.css');
_form_set_class($element, array('form-file'));
$description = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment