From f86a944979de75225dc3ddd00920ebedbfe307ed Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 12 May 2002 15:40:57 +0000 Subject: - applied Stevens link patch. - fixed block permissions. - fixed user admin page errors: http://www.drupal.org/node.php?id=173. - cleaned up common.inc a bit: removed format_info, path_img, field_merge. --- modules/cloud.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/cloud.module') diff --git a/modules/cloud.module b/modules/cloud.module index 4c4d3ec0d..8acc5c4b0 100644 --- a/modules/cloud.module +++ b/modules/cloud.module @@ -31,7 +31,7 @@ function cloud_perm() { function cloud_link($type) { if ($type == "page" && user_access("access site cloud")) { - $links[] = lm(t("site cloud"), array("mod" => "cloud"), t("Monitor other sites in the cloud."));; + $links[] = lm(t("site cloud"), array("mod" => "cloud"), "", array("title" => t("Monitor other sites in the cloud."))); } if ($type == "admin" && user_access("administer site cloud")) { @@ -147,7 +147,7 @@ function cloud_list($limit = 10) { $list = 0; } } - $output .= "
". format_url($site->link, $site->name) ."
"; + $output .= "
link\">$site->name
"; } return $output; } @@ -164,7 +164,7 @@ function cloud_page() { function cloud_block() { $block[0]["subject"] = t("Site cloud"); - $block[0]["content"] = cloud_list(20) ."
". lm(t("more"), array("mod" => "cloud"), t("Monitor other sites in the cloud.")) ."
"; + $block[0]["content"] = cloud_list(20) ."
". lm(t("more"), array("mod" => "cloud"), "", array("title", t("Monitor other sites in the cloud."))) ."
"; $block[0]["info"] = t("Site cloud"); return $block; } -- cgit v1.2.3