diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-12 15:40:57 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-12 15:40:57 +0000 |
commit | f86a944979de75225dc3ddd00920ebedbfe307ed (patch) | |
tree | f2a1ebeb51fea0ee7ccdc5019c7fa1856893e48c /modules/cloud.module | |
parent | 497ab799ef0cdb40068d84c0bd2eccd2f7a3a480 (diff) | |
download | brdo-f86a944979de75225dc3ddd00920ebedbfe307ed.tar.gz brdo-f86a944979de75225dc3ddd00920ebedbfe307ed.tar.bz2 |
- 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.
Diffstat (limited to 'modules/cloud.module')
-rw-r--r-- | modules/cloud.module | 6 |
1 files changed, 3 insertions, 3 deletions
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 .= "<div style=\"padding-left: 10px;\">". format_url($site->link, $site->name) ."</div>"; + $output .= "<div style=\"padding-left: 10px;\"><a href=\"$site->link\">$site->name</a></div>"; } return $output; } @@ -164,7 +164,7 @@ function cloud_page() { function cloud_block() { $block[0]["subject"] = t("Site cloud"); - $block[0]["content"] = cloud_list(20) ."<br /><div align=\"right\">". lm(t("more"), array("mod" => "cloud"), t("Monitor other sites in the cloud.")) ."</div>"; + $block[0]["content"] = cloud_list(20) ."<br /><div align=\"right\">". lm(t("more"), array("mod" => "cloud"), "", array("title", t("Monitor other sites in the cloud."))) ."</div>"; $block[0]["info"] = t("Site cloud"); return $block; } |