diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-12 12:25:49 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-12 12:25:49 +0000 |
commit | 7ac1ae2aa68440436f78811318d33c5b53a35212 (patch) | |
tree | 40dde1abd5af14a0973dabdf386ce6c2df6a6ee2 /modules/aggregator | |
parent | b06bbe74811561002ac986db26ebd06de5343857 (diff) | |
download | brdo-7ac1ae2aa68440436f78811318d33c5b53a35212.tar.gz brdo-7ac1ae2aa68440436f78811318d33c5b53a35212.tar.bz2 |
- adds missing navigation to feed and bundle view.
- adds missing links.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 6 |
1 files changed, 4 insertions, 2 deletions
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 .= "</table>\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 .= "<p><b>". t("Website") .":</b><div style=\"margin-left: 20px;\">". lm("", array("mod" => "import", "op" => "bundle", "id" => $bundle->bid)) ."</div></p>"; + $header .= "<p><b>". t("Website") .":</b><div style=\"margin-left: 20px;\">". lm($bundle->title, array("mod" => "import", "op" => "bundle", "id" => $bundle->bid)) ."</div></p>"; $header .= "<p><b>". t("Description") .":</b><div style=\"margin-left: 20px;\">". t("A composite news feed about") ." ". check_output($bundle->attributes) .".</div></p>"; $keys = explode(",", $bundle->attributes); @@ -632,6 +633,7 @@ function import_page_bundle($bid) { $output .= "</table>\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 .= "<div style=\"margin-left: 20px;\">". check_output($feed->description, 1) ."</div><br />"; } |