From 7ac1ae2aa68440436f78811318d33c5b53a35212 Mon Sep 17 00:00:00 2001
From: Kjartan Mannes
Date: Wed, 12 Jun 2002 12:25:49 +0000
Subject: - adds missing navigation to feed and bundle view. - adds missing
links.
---
modules/aggregator/aggregator.module | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'modules/aggregator/aggregator.module')
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index fe9a2a2cd..2f48a9004 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -596,6 +596,7 @@ function import_page_feed($fid) {
$output .= "\n";
$theme->header();
+ $theme->box(t("News feeds"), import_page_info());
$theme->box(check_output($feed->title), $header);
$theme->box(t("Latest news"), $output);
$theme->footer();
@@ -606,7 +607,7 @@ function import_page_bundle($bid) {
$bundle = db_fetch_object(db_query("SELECT * FROM bundle WHERE bid = '%s'", $bid));
- $header .= "". t("Website") .":
". lm("", array("mod" => "import", "op" => "bundle", "id" => $bundle->bid)) ."
";
+ $header .= "". t("Website") .":
". lm($bundle->title, array("mod" => "import", "op" => "bundle", "id" => $bundle->bid)) ."
";
$header .= "". t("Description") .":
". t("A composite news feed about") ." ". check_output($bundle->attributes) .".
";
$keys = explode(",", $bundle->attributes);
@@ -632,6 +633,7 @@ function import_page_bundle($bid) {
$output .= "\n";
$theme->header();
+ $theme->box(t("News feeds"), import_page_info());
$theme->box(check_output($bundle->title), $header);
$theme->box(t("Latest news"), $output);
$theme->footer();
@@ -644,7 +646,7 @@ function import_page_sources() {
$result = db_query("SELECT * FROM feed ORDER BY title");
while ($feed = db_fetch_object($result)) {
- $output .= lm("", array("mod" => "import", "op" => "feed", "id" => $feed->fid));
+ $output .= lm($feed->title, array("mod" => "import", "op" => "feed", "id" => $feed->fid));
$output .= "". check_output($feed->description, 1) ."
";
}
--
cgit v1.2.3