diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-11-30 16:39:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-11-30 16:39:36 +0000 |
commit | d95e7d414277e86582ce1121624bac329edebdd7 (patch) | |
tree | 8b987eab29587b386eac477904e3888660f806cf | |
parent | 4a5fa1a9548353fe5a33a6d848559c65f2da4716 (diff) | |
download | brdo-d95e7d414277e86582ce1121624bac329edebdd7.tar.gz brdo-d95e7d414277e86582ce1121624bac329edebdd7.tar.bz2 |
- tiny visual change
-rw-r--r-- | modules/cloud.module | 7 |
1 files changed, 4 insertions, 3 deletions
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 .= "<p />". strtr(t("Updated %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); + $output .= "<br />". strtr(t("Updated %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); } else if ($list) { - $output .= "<p />". strtr(t("Updated more than %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); + $output .= "<br />". strtr(t("Updated more than %a ago:"), array("%a" => format_plural($hour, "hour", "hours"))); $list = 0; } } - $output .= "<br /> ". format_url($site->link, $site->name); + $output .= "<div style=\"padding-left: 10px;\">". format_url($site->link, $site->name) ."</div>"; } return $output; } |