From d95e7d414277e86582ce1121624bac329edebdd7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 30 Nov 2001 16:39:36 +0000 Subject: - tiny visual change --- modules/cloud.module | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/cloud.module') diff --git a/modules/cloud.module b/modules/cloud.module index 8c1612445..a7824165c 100644 --- a/modules/cloud.module +++ b/modules/cloud.module @@ -115,18 +115,19 @@ function cloud_list($limit = 10) { $hour = -1; $list = -1; + while ($site = db_fetch_object($result)) { if ($hour != floor((time() - $site->timestamp) / 3600)) { $hour = floor((time() - $site->timestamp) / 3600); if ($hour < 12) { - $output .= "

". strtr(t("Updated %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); + $output .= "
". strtr(t("Updated %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); } else if ($list) { - $output .= "

". strtr(t("Updated more than %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); + $output .= "
". strtr(t("Updated more than %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); $list = 0; } } - $output .= "
  ". format_url($site->link, $site->name); + $output .= "

". format_url($site->link, $site->name) ."
"; } return $output; } -- cgit v1.2.3