summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/cloud.module7
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 /> &nbsp; ". format_url($site->link, $site->name);
+ $output .= "<div style=\"padding-left: 10px;\">". format_url($site->link, $site->name) ."</div>";
}
return $output;
}