summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-15 19:41:15 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-15 19:41:15 +0000
commit2edb978db35e3840a77b28f75abb666f0228870f (patch)
treeef17b5955e612d24c9dc188f7e7e80e3d6f4e6ed
parent8a9a5ba3da89822aa81481a1072f97eb9b0f4a64 (diff)
downloadbrdo-2edb978db35e3840a77b28f75abb666f0228870f.tar.gz
brdo-2edb978db35e3840a77b28f75abb666f0228870f.tar.bz2
- Bugfix: fixed glitch with "blog it" images. Patch #15 by Al.
-rw-r--r--misc/drupal.css1
-rw-r--r--modules/aggregator.module2
-rw-r--r--modules/aggregator/aggregator.module2
-rw-r--r--modules/import.module2
4 files changed, 4 insertions, 3 deletions
diff --git a/misc/drupal.css b/misc/drupal.css
index 9c176684b..38cb8b1a8 100644
--- a/misc/drupal.css
+++ b/misc/drupal.css
@@ -39,6 +39,7 @@ th { text-align: left; padding-right: 1em; border-bottom:
.form-submit { margin: 0.5em 0; }
.item-list .icon { color: #555; float: right; padding-left: 0.25em; clear: right; }
+.item-list .icon img { border: 0; }
.item-list .icon a { color: #000; text-decoration: none; }
.item-list .icon a:hover { color: #000; text-decoration: none; }
.item-list .title { font-weight: bold; }
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 2b80d20c9..bed70896e 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -71,7 +71,7 @@ function import_format_item($item, $feed = 0) {
global $user;
if ($user->uid && user_access("maintain personal blog")) {
- $output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" width=\"12\" height=\"12\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" style=\"border: 0px; />", "node/add/blog&amp;iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
+ $output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog&amp;iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
}
// external link
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 2b80d20c9..bed70896e 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -71,7 +71,7 @@ function import_format_item($item, $feed = 0) {
global $user;
if ($user->uid && user_access("maintain personal blog")) {
- $output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" width=\"12\" height=\"12\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" style=\"border: 0px; />", "node/add/blog&amp;iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
+ $output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog&amp;iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
}
// external link
diff --git a/modules/import.module b/modules/import.module
index 2b80d20c9..bed70896e 100644
--- a/modules/import.module
+++ b/modules/import.module
@@ -71,7 +71,7 @@ function import_format_item($item, $feed = 0) {
global $user;
if ($user->uid && user_access("maintain personal blog")) {
- $output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" width=\"12\" height=\"12\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" style=\"border: 0px; />", "node/add/blog&amp;iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
+ $output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog&amp;iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
}
// external link