Commit 56c15217 authored by Dries's avatar Dries
Browse files

- Excessive CSS tags were generated for feeds and bundles.
parent 632bb2ac
...@@ -158,11 +158,7 @@ function import_bundle_block($attributes) { ...@@ -158,11 +158,7 @@ function import_bundle_block($attributes) {
$items[] = theme("import_format_item", $item); $items[] = theme("import_format_item", $item);
} }
$output = "<div class=\"import-block\"><div class=\"bundle\">"; return theme("item_list", $items);
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
} }
function import_feed_block($feed) { function import_feed_block($feed) {
...@@ -173,11 +169,7 @@ function import_feed_block($feed) { ...@@ -173,11 +169,7 @@ function import_feed_block($feed) {
$items[] = theme("import_format_item", $item); $items[] = theme("import_format_item", $item);
} }
$output = "<div class=\"import-block\"><div class=\"feed\">"; return theme("item_list", $items);
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
} }
function import_block($op, $delta) { function import_block($op, $delta) {
......
...@@ -158,11 +158,7 @@ function import_bundle_block($attributes) { ...@@ -158,11 +158,7 @@ function import_bundle_block($attributes) {
$items[] = theme("import_format_item", $item); $items[] = theme("import_format_item", $item);
} }
$output = "<div class=\"import-block\"><div class=\"bundle\">"; return theme("item_list", $items);
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
} }
function import_feed_block($feed) { function import_feed_block($feed) {
...@@ -173,11 +169,7 @@ function import_feed_block($feed) { ...@@ -173,11 +169,7 @@ function import_feed_block($feed) {
$items[] = theme("import_format_item", $item); $items[] = theme("import_format_item", $item);
} }
$output = "<div class=\"import-block\"><div class=\"feed\">"; return theme("item_list", $items);
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
} }
function import_block($op, $delta) { function import_block($op, $delta) {
......
...@@ -158,11 +158,7 @@ function import_bundle_block($attributes) { ...@@ -158,11 +158,7 @@ function import_bundle_block($attributes) {
$items[] = theme("import_format_item", $item); $items[] = theme("import_format_item", $item);
} }
$output = "<div class=\"import-block\"><div class=\"bundle\">"; return theme("item_list", $items);
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
} }
function import_feed_block($feed) { function import_feed_block($feed) {
...@@ -173,11 +169,7 @@ function import_feed_block($feed) { ...@@ -173,11 +169,7 @@ function import_feed_block($feed) {
$items[] = theme("import_format_item", $item); $items[] = theme("import_format_item", $item);
} }
$output = "<div class=\"import-block\"><div class=\"feed\">"; return theme("item_list", $items);
$output .= theme("item_list", $items);
$output .= "</div></div>";
return $output;
} }
function import_block($op, $delta) { function import_block($op, $delta) {
......
Supports Markdown
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