diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-01-11 15:05:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-01-11 15:05:21 +0000 |
commit | ee305ae144d074692f2737eed8e38ec32f20e98e (patch) | |
tree | e98868c67409639834ee9e6f581280206a4fb678 /modules/blog/blog.module | |
parent | 93dd644541a5d893321e13f45132e4ffb2528763 (diff) | |
download | brdo-ee305ae144d074692f2737eed8e38ec32f20e98e.tar.gz brdo-ee305ae144d074692f2737eed8e38ec32f20e98e.tar.bz2 |
Round 3 of aggregator improvements:
- Added support for new tags:
+ Optinal feed image: <image> tag.
+ Dublin core dates: <dc:date> <dcterms:created>, <dcterms:issued>,
<dcterms:modified>.
- Usability improvements:
+ On the administration page, made the feed/bundle titles link
to the feeds/bundles' pages. On the feed/bundle's page, made
the 'Last updated' field link to the administration page.
+ Moved the 'syndication' menu one level down.
- Updated some content sensitive help.
- Further improved themeability.
- Fixed some invalid HTML.
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 8 |
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); } |