Skip to content
Snippets Groups Projects
Commit 0143ae49 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Fixed typo in the "blog it"-link.  Patch by Mark Cornick.
parent 0d793626
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -52,7 +52,7 @@ function import_format_item($item, $feed = 0) { ...@@ -52,7 +52,7 @@ function import_format_item($item, $feed = 0) {
global $theme, $user; global $theme, $user;
if ($user->uid && user_access("post blogs")) { if ($user->uid && user_access("post blogs")) {
$output .= "<a href=\"submit.php?mod=blog&type=import&id=$item->iid\"><img src=\"". $theme->image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"" . t("Blog this item") . "\" /></a> "; $output .= "<a href=\"module.php?mod=node&op=add&type=blog&iid=$item->iid\"><img src=\"". $theme->image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"" . t("Blog this item") . "\" /></a> ";
} }
$output .= "<a href=\"". check_output($item->link) ."\" target=\"new\">". check_output($item->title) ."</a>"; $output .= "<a href=\"". check_output($item->link) ."\" target=\"new\">". check_output($item->title) ."</a>";
......
...@@ -52,7 +52,7 @@ function import_format_item($item, $feed = 0) { ...@@ -52,7 +52,7 @@ function import_format_item($item, $feed = 0) {
global $theme, $user; global $theme, $user;
if ($user->uid && user_access("post blogs")) { if ($user->uid && user_access("post blogs")) {
$output .= "<a href=\"submit.php?mod=blog&type=import&id=$item->iid\"><img src=\"". $theme->image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"" . t("Blog this item") . "\" /></a> "; $output .= "<a href=\"module.php?mod=node&op=add&type=blog&iid=$item->iid\"><img src=\"". $theme->image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"" . t("Blog this item") . "\" /></a> ";
} }
$output .= "<a href=\"". check_output($item->link) ."\" target=\"new\">". check_output($item->title) ."</a>"; $output .= "<a href=\"". check_output($item->link) ."\" target=\"new\">". check_output($item->title) ."</a>";
......
...@@ -52,7 +52,7 @@ function import_format_item($item, $feed = 0) { ...@@ -52,7 +52,7 @@ function import_format_item($item, $feed = 0) {
global $theme, $user; global $theme, $user;
if ($user->uid && user_access("post blogs")) { if ($user->uid && user_access("post blogs")) {
$output .= "<a href=\"submit.php?mod=blog&type=import&id=$item->iid\"><img src=\"". $theme->image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"" . t("Blog this item") . "\" /></a> "; $output .= "<a href=\"module.php?mod=node&op=add&type=blog&iid=$item->iid\"><img src=\"". $theme->image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"" . t("Blog this item") . "\" /></a> ";
} }
$output .= "<a href=\"". check_output($item->link) ."\" target=\"new\">". check_output($item->title) ."</a>"; $output .= "<a href=\"". check_output($item->link) ."\" target=\"new\">". check_output($item->title) ."</a>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment