- Bring back the "blog it" icon. Patch #47 by Al. Thanks.
(I don't like the suggested icon so I suggest we continue to use the existing one, which I don't like either but oh well. Thoughts?)4.2.x
parent
54ddba4eea
commit
b0081e5ac9
|
@ -71,8 +71,7 @@ function import_format_item($item, $feed = 0) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
if ($user->uid && user_access("maintain personal blog")) {
|
if ($user->uid && user_access("maintain personal blog")) {
|
||||||
// $output .= " ". l("<img src=\"". theme("image", "blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"". t("Blog this item") ."\" />", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog.")));
|
$output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" border=\"0\" width=\"12\" height=\"12\" alt=\"". t("blog it") ."\" />", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
|
||||||
$output .= "<div class=\"icon\">(". l("b", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."))) .")</div>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// external link
|
// external link
|
||||||
|
|
|
@ -71,8 +71,7 @@ function import_format_item($item, $feed = 0) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
if ($user->uid && user_access("maintain personal blog")) {
|
if ($user->uid && user_access("maintain personal blog")) {
|
||||||
// $output .= " ". l("<img src=\"". theme("image", "blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"". t("Blog this item") ."\" />", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog.")));
|
$output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" border=\"0\" width=\"12\" height=\"12\" alt=\"". t("blog it") ."\" />", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
|
||||||
$output .= "<div class=\"icon\">(". l("b", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."))) .")</div>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// external link
|
// external link
|
||||||
|
|
|
@ -71,8 +71,7 @@ function import_format_item($item, $feed = 0) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
if ($user->uid && user_access("maintain personal blog")) {
|
if ($user->uid && user_access("maintain personal blog")) {
|
||||||
// $output .= " ". l("<img src=\"". theme("image", "blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"". t("Blog this item") ."\" />", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog.")));
|
$output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" border=\"0\" width=\"12\" height=\"12\" alt=\"". t("blog it") ."\" />", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it")) ."</div>";
|
||||||
$output .= "<div class=\"icon\">(". l("b", "node/add/blog&iid=$item->iid", array("title" => t("Comment on this news item in your personal blog."))) .")</div>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// external link
|
// external link
|
||||||
|
|
Loading…
Reference in New Issue