Commit 56c15217 authored by Dries's avatar Dries

- Excessive CSS tags were generated for feeds and bundles.
parent 632bb2ac
......@@ -158,11 +158,7 @@ function import_bundle_block($attributes) {
$items[] = theme("import_format_item", $item);
}
$output = "<div class=\"import-block\"><div class=\"bundle\">";
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
return theme("item_list", $items);
}
function import_feed_block($feed) {
......@@ -173,11 +169,7 @@ function import_feed_block($feed) {
$items[] = theme("import_format_item", $item);
}
$output = "<div class=\"import-block\"><div class=\"feed\">";
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
return theme("item_list", $items);
}
function import_block($op, $delta) {
......
......@@ -158,11 +158,7 @@ function import_bundle_block($attributes) {
$items[] = theme("import_format_item", $item);
}
$output = "<div class=\"import-block\"><div class=\"bundle\">";
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
return theme("item_list", $items);
}
function import_feed_block($feed) {
......@@ -173,11 +169,7 @@ function import_feed_block($feed) {
$items[] = theme("import_format_item", $item);
}
$output = "<div class=\"import-block\"><div class=\"feed\">";
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
return theme("item_list", $items);
}
function import_block($op, $delta) {
......
......@@ -158,11 +158,7 @@ function import_bundle_block($attributes) {
$items[] = theme("import_format_item", $item);
}
$output = "<div class=\"import-block\"><div class=\"bundle\">";
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
return theme("item_list", $items);
}
function import_feed_block($feed) {
......@@ -173,11 +169,7 @@ function import_feed_block($feed) {
$items[] = theme("import_format_item", $item);
}
$output = "<div class=\"import-block\"><div class=\"feed\">";
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
return theme("item_list", $items);
}
function import_block($op, $delta) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment