summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-22 09:36:05 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-22 09:36:05 +0000
commit8cd97cdd7d9bd526d6b41362d011614919acabae (patch)
tree248896484551ebcf3de22d3085fe8691f7efb1fc /modules/aggregator
parent2cc43fffd40c1f47f23f41d520a8bdabab49d277 (diff)
downloadbrdo-8cd97cdd7d9bd526d6b41362d011614919acabae.tar.gz
brdo-8cd97cdd7d9bd526d6b41362d011614919acabae.tar.bz2
#147492 by flobruit: make 'more' links themeable
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index f64536930..ea59011e4 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -321,7 +321,7 @@ function aggregator_block($op = 'list', $delta = 0, $edit = array()) {
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
$block['subject'] = check_plain($feed->title);
$result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);
- $read_more = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t("View this feed's recent news."))) .'</div>';
+ $read_more = theme('more_link', url('aggregator/sources/'. $feed->fid), t("View this feed's recent news."));
}
break;
@@ -329,7 +329,7 @@ function aggregator_block($op = 'list', $delta = 0, $edit = array()) {
if ($category = db_fetch_object(db_query('SELECT cid, title, block FROM {aggregator_category} WHERE cid = %d', $id))) {
$block['subject'] = check_plain($category->title);
$result = db_query_range('SELECT i.* FROM {aggregator_category_item} ci LEFT JOIN {aggregator_item} i ON ci.iid = i.iid WHERE ci.cid = %d ORDER BY i.timestamp DESC, i.iid DESC', $category->cid, 0, $category->block);
- $read_more = '<div class="more-link">'. l(t('more'), 'aggregator/categories/'. $category->cid, array('title' => t("View this category's recent news."))) .'</div>';
+ $read_more = theme('more_link', url('aggregator/categories/'. $category->cid), t("View this category's recent news."));
}
break;
}