- More CSS updates and fixes. Patch by Al.

4.2.x
Dries Buytaert 2003-05-29 15:36:17 +00:00
parent 1fc8a18c2d
commit e39cfcd22b
6 changed files with 8 additions and 5 deletions

View File

@ -6,10 +6,10 @@
.blog-it a { color: #000; text-decoration: none; } .blog-it a { color: #000; text-decoration: none; }
.blog-it a:hover { color: #000; text-decoration: none; } .blog-it a:hover { color: #000; text-decoration: none; }
.poll-foreground { background-color: #000; } .poll-foreground { background-color: #000; float: left; height: 1em; }
.poll-background { background-color: #ddd; } .poll-background { background-color: #ddd; float: left; height: 1em; }
.form-item .title { font-weight: bold; margin-top: 1.1em; margin-bottom: 1px; } .form-item .title { font-weight: bold; margin-top: 1.1em; margin-bottom: 1px; }
.form-item .description { font-size: 0.85em; } .form-item .description { font-size: 0.85em; }
.inline-container div { display: inline; } .container-inline div { display: inline; }

View File

@ -106,6 +106,7 @@ function import_feed_block($feed) {
$output .= "<li>". import_format_item($item) ."</li>"; $output .= "<li>". import_format_item($item) ."</li>";
} }
$output .= "</ul></div>"; $output .= "</ul></div>";
return $output; return $output;
} }

View File

@ -106,6 +106,7 @@ function import_feed_block($feed) {
$output .= "<li>". import_format_item($item) ."</li>"; $output .= "<li>". import_format_item($item) ."</li>";
} }
$output .= "</ul></div>"; $output .= "</ul></div>";
return $output; return $output;
} }

View File

@ -170,7 +170,7 @@ function archive_page() {
$months = array(1 => t("January"), 2 => t("February"), 3 => t("March"), 4 => t("April"), 5 => t("May"), 6 => t("June"), 7 => t("July"), 8 => t("August"), 9 => t("September"), 10 => t("October"), 11 => t("November"), 12 => t("December")); $months = array(1 => t("January"), 2 => t("February"), 3 => t("March"), 4 => t("April"), 5 => t("May"), 6 => t("June"), 7 => t("July"), 8 => t("August"), 9 => t("September"), 10 => t("October"), 11 => t("November"), 12 => t("December"));
for ($i = 1; $i <= 31; $i++) $days[$i] = $i; for ($i = 1; $i <= 31; $i++) $days[$i] = $i;
$start = "<div class=\"inline-container\">"; $start = "<div class=\"container-inline\">";
$start .= form_select("", "year", ($year ? $year : date("Y")), $years). form_select("", "month", ($month ? $month : date("m")), $months) . form_select("", "day", ($day ? $day : date("d")), $days) . form_submit(t("Show")); $start .= form_select("", "year", ($year ? $year : date("Y")), $years). form_select("", "month", ($month ? $month : date("m")), $months) . form_select("", "day", ($day ? $day : date("d")), $days) . form_submit(t("Show"));
$start .= "</div>"; $start .= "</div>";
theme("box", t("Archives"), form($start)); theme("box", t("Archives"), form($start));

View File

@ -170,7 +170,7 @@ function archive_page() {
$months = array(1 => t("January"), 2 => t("February"), 3 => t("March"), 4 => t("April"), 5 => t("May"), 6 => t("June"), 7 => t("July"), 8 => t("August"), 9 => t("September"), 10 => t("October"), 11 => t("November"), 12 => t("December")); $months = array(1 => t("January"), 2 => t("February"), 3 => t("March"), 4 => t("April"), 5 => t("May"), 6 => t("June"), 7 => t("July"), 8 => t("August"), 9 => t("September"), 10 => t("October"), 11 => t("November"), 12 => t("December"));
for ($i = 1; $i <= 31; $i++) $days[$i] = $i; for ($i = 1; $i <= 31; $i++) $days[$i] = $i;
$start = "<div class=\"inline-container\">"; $start = "<div class=\"container-inline\">";
$start .= form_select("", "year", ($year ? $year : date("Y")), $years). form_select("", "month", ($month ? $month : date("m")), $months) . form_select("", "day", ($day ? $day : date("d")), $days) . form_submit(t("Show")); $start .= form_select("", "year", ($year ? $year : date("Y")), $years). form_select("", "month", ($month ? $month : date("m")), $months) . form_select("", "day", ($day ? $day : date("d")), $days) . form_submit(t("Show"));
$start .= "</div>"; $start .= "</div>";
theme("box", t("Archives"), form($start)); theme("box", t("Archives"), form($start));

View File

@ -106,6 +106,7 @@ function import_feed_block($feed) {
$output .= "<li>". import_format_item($item) ."</li>"; $output .= "<li>". import_format_item($item) ."</li>";
} }
$output .= "</ul></div>"; $output .= "</ul></div>";
return $output; return $output;
} }