diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-01-23 09:24:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-01-23 09:24:20 +0000 |
commit | 637004c5391eb48b473a80df1de425aaae8edc25 (patch) | |
tree | 97c9b38f58fe0d6f3280a022d89740a1cadd92db /modules/blog.module | |
parent | 4dac201e7c447a1f7e09d7972a14f517bbbf3edc (diff) | |
download | brdo-637004c5391eb48b473a80df1de425aaae8edc25.tar.gz brdo-637004c5391eb48b473a80df1de425aaae8edc25.tar.bz2 |
- Tidied up XHTML. Patch by Ulf.
- Added missing t() function. Patch by Stefan.
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog.module b/modules/blog.module index 099ece8e3..1d1e7acbd 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -160,7 +160,7 @@ function blog_page_user($uid = 0) { node_view(node_load(array("nid" => $node->nid)), 1); } print pager_display(NULL, ($user->nodes ? $user->nodes : variable_get("default_nodes_main", 10))); - print l("<img align=\"right\" src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" />", "blog/feed/$account->uid", array("title" => t("View the XML version of %username's blog", array ("%username" => $account->name)))); + print l("<img align=\"right\" src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" alt=\"\" />", "blog/feed/$account->uid", array("title" => t("View the XML version of %username's blog", array ("%username" => $account->name)))); } function blog_page_last() { @@ -172,7 +172,7 @@ function blog_page_last() { $output = node_view(node_load(array("nid" => $node->nid)), 1); } $output .= pager_display(NULL, ($user->nodes ? $user->nodes : variable_get("default_nodes_main", 10))); - $output .= l("<img align=\"right\" src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" />", "blog/feed", array("title" => t("Read the XML version of all blogs."))); + $output .= l("<img align=\"right\" src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" alt=\"\" />", "blog/feed", array("title" => t("Read the XML version of all blogs."))); return $output; } |