From c71e1339584173f47cb7c1869426ef3cf9639ef3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 7 Jan 2002 22:08:52 +0000 Subject: - Added about 50 title tags. --- modules/aggregator/aggregator.module | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'modules/aggregator/aggregator.module') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index cee9bf2e3..013cd7100 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -29,7 +29,7 @@ function import_link($type) { } if ($type == "page" && user_access("access news feeds")) { - $links[] = "". t("news feeds") .""; + $links[] = "". t("news feeds") .""; } return $links ? $links : array(); @@ -53,7 +53,7 @@ function import_format_item($item, $feed = 0) { global $theme, $user; if ($user->uid && user_access("post blogs")) { - $output .= "iid\">image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"". t("Blog this item") ."\" /> "; + $output .= "iid\" title=\"". t("Comment on this news item in your personal blog.") ."\">image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"". t("Blog this item") ."\" /> "; } $output .= "link) ."\" target=\"new\">". check_output($item->title) .""; @@ -97,7 +97,7 @@ function import_get_bundles($attributes = 0) { $i = 0; while ($bundle = db_fetch_object($result)) { $block[$i]["subject"] = $bundle->title; - $block[$i]["content"] = import_bundle_block($bundle->attributes) ."

bid\">". t("more") ."

"; + $block[$i]["content"] = import_bundle_block($bundle->attributes) ."

bid\" title=\"". t("View this bundle's recent news.") ."\">". t("more") ."

"; $block[$i]["info"] = "$bundle->title bundle"; $i++; @@ -112,7 +112,7 @@ function import_get_feeds($attributes = 0) { $i = 0; while ($feed = db_fetch_object($result)) { $block[$i]["subject"] = $feed->title; - $block[$i]["content"] = import_feed_block($feed) ."

fid\">". t("more") ."

"; + $block[$i]["content"] = import_feed_block($feed) ."

fid\" title=\"". t("View this feed's recent news.") ."\">". t("more") ."

"; $block[$i]["info"] = "$feed->title feed"; $i++; @@ -137,7 +137,7 @@ function import_refresh($feed) { } /* - ** Grab the headlines: + ** Grab the news items: */ if ($fp = @fopen($feed["url"], "r")) { @@ -514,10 +514,10 @@ function import_admin() { function import_page_info() { global $theme; - $links[] = "". t("latest news") .""; - $links[] = "". t("news by source") .""; - $links[] = "". t("news by topic") .""; - $links[] = "". t("news sources") .""; + $links[] = "". t("latest news") .""; + $links[] = "". t("news by source") .""; + $links[] = "". t("news by topic") .""; + $links[] = "". t("news sources") .""; return "
". $theme->links($links) ."
"; } @@ -529,12 +529,13 @@ function import_page_last() { $output .= ""; while ($item = db_fetch_object($result)) { - $links[] = "iid\">". t("blog it") .""; - $links[] = "fid\">". t("feed") .""; + $links[] = "iid\" title=\"". t("Comment on this news item in your personal blog.") ."\">". t("blog it") .""; + $links[] = "fid\" title=\"". t("Read more syndicated news from this feed.") ."\">". t("feed") .""; if ($item->link) { - $output .= "\n"; + $output .= "\n"; } + if ($item->description) { $output .= ""; } @@ -562,7 +563,7 @@ function import_page_feed($fid) { $output .= "
". format_url($item->link, $item->title) ." · fid\">$item->ftitle". $theme->links($links) ."
". format_url($item->link, $item->title) ." · fid\" title=\"". t("View more information about this feed.") ."\">$item->ftitle". $theme->links($links) ."
". check_output($item->description, 1) ."

"; while ($item = db_fetch_object($result)) { - $links[] = "iid\">". t("blog it") .""; + $links[] = "iid\" title=\"". t("Comment on this news item in your personal blog.") ."\">". t("blog it") .""; $links[] = "link\">". t("visit") .""; if ($item->link) { @@ -596,13 +597,14 @@ function import_page_bundle($bid) { $output .= "
"; while ($item = db_fetch_object($result)) { - $links[] = "iid\">". t("blog it") .""; - $links[] = "fid\">". t("feed") .""; + $links[] = "iid\" title=\"". t("Comment on this news item in your personal blog.") ."\">". t("blog it") .""; + $links[] = "fid\" title=\"". t("Read more syndicated news from this feed.") ."\">". t("feed") .""; $links[] = "link\">". t("visit") .""; if ($item->link) { - $output .= "\n"; + $output .= "\n"; } + if ($item->description) { $output .= ""; } @@ -628,7 +630,7 @@ function import_page_sources() { $output .= "
". check_output($feed->description, 1) ."

"; } - $output .= "image("xml.gif") ."\" width=\"36\" height=\"14\" align=\"right\" border=\"0\" />
\n"; + $output .= "image("xml.gif") ."\" width=\"36\" height=\"14\" align=\"right\" border=\"0\" />
\n"; $theme->header(); $theme->box(t("News feeds"), import_page_info()); -- cgit v1.2.3
". format_url($item->link, $item->title) ." · fid\">$item->ftitle". $theme->links($links) ."
". format_url($item->link, $item->title) ." · fid\" title=\"". t("View more information about this feed.") ."\">$item->ftitle". $theme->links($links) ."
". check_output($item->description, 1) ."