summaryrefslogtreecommitdiff
path: root/modules/blog/blog.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r--modules/blog/blog.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index f8c44b4a7..5f342a6ce 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -122,8 +122,8 @@ function blog_page_user($uid) {
while ($node = db_fetch_object($result)) {
$output .= node_view(node_load(array("nid" => $node->nid)), 1);
}
- $output .= theme("pager", NULL, variable_get("default_nodes_main", 10));
- $output .= "<div class=\"xml-icon\">". l("<img src=\"". theme("image", "xml.gif") ."\" width=\"36\" height=\"14\" style=\"border: 0px;\" alt=\"\" title=\"\" />", "blog/feed/$account->uid", array("title" => t("View the XML version of %username's blog", array("%username" => $account->name)))) . "</div>";
+ $output .= theme('pager', NULL, variable_get("default_nodes_main", 10));
+ $output .= theme('xml_icon', url("blog/feed/$account->uid"));
print theme("page", $output, $title);
}
@@ -138,8 +138,8 @@ function blog_page_last() {
while ($node = db_fetch_object($result)) {
$output .= node_view(node_load(array("nid" => $node->nid)), 1);
}
- $output .= theme("pager", NULL, variable_get("default_nodes_main", 10));
- $output .= "<div class=\"xml-icon\">". l("<img src=\"". theme("image", "xml.gif") ."\" width=\"36\" height=\"14\" style=\"border: 0px;\" alt=\"\" title=\"\" />", "blog/feed", array("title" => t("Read the XML version of all blogs."))) ."</div>";
+ $output .= theme('pager', NULL, variable_get("default_nodes_main", 10));
+ $output .= theme('xml_icon', url('blog/feed'));
print theme("page", $output);
}