- Fixing blog it link.
parent
cb6e232990
commit
35ffabd23b
|
@ -138,7 +138,7 @@ function import_theme_format_item($item, $feed = 0) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
if ($user->uid && module_exist("blog") && user_access("maintain personal blog")) {
|
if ($user->uid && module_exist("blog") && user_access("maintain personal blog")) {
|
||||||
$output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". 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("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it"), "iid=$item->iid") ."</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
// external link
|
// external link
|
||||||
|
|
|
@ -138,7 +138,7 @@ function import_theme_format_item($item, $feed = 0) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
if ($user->uid && module_exist("blog") && user_access("maintain personal blog")) {
|
if ($user->uid && module_exist("blog") && user_access("maintain personal blog")) {
|
||||||
$output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". 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("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it"), "iid=$item->iid") ."</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
// external link
|
// external link
|
||||||
|
|
|
@ -138,7 +138,7 @@ function import_theme_format_item($item, $feed = 0) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
if ($user->uid && module_exist("blog") && user_access("maintain personal blog")) {
|
if ($user->uid && module_exist("blog") && user_access("maintain personal blog")) {
|
||||||
$output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". 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("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it"), "iid=$item->iid") ."</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
// external link
|
// external link
|
||||||
|
|
Loading…
Reference in New Issue