summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-05-18 14:58:57 +0000
committerDries Buytaert <dries@buytaert.net>2006-05-18 14:58:57 +0000
commit1b291a2917a1c18194c54fce8bf0fd895db98019 (patch)
treea46473123aeb5709f8cc6f07e685fc84df90bf06 /modules/aggregator.module
parentbe7bb9be9bb41c83795fa8d7fa119ce4025f2de0 (diff)
downloadbrdo-1b291a2917a1c18194c54fce8bf0fd895db98019.tar.gz
brdo-1b291a2917a1c18194c54fce8bf0fd895db98019.tar.bz2
- Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module17
1 files changed, 15 insertions, 2 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 21ea91e06..da6b17fe7 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -1145,7 +1145,13 @@ function aggregator_page_sources() {
}
}
$output .= theme('item_list', $list);
- $output .= '<div class="links">'. theme('links', array(l(t('more'), 'aggregator/sources/'. $feed->fid))) ."</div>\n";
+
+ $link['sources'] = array(
+ '#title' => t('more'),
+ '#href' => 'aggregator/sources/'. $feed->fid
+ );
+
+ $output .= '<div class="links">'. theme('links', $link) ."</div>\n";
}
$output .= theme('xml_icon', url('aggregator/opml'));
$output .= '</div>';
@@ -1245,8 +1251,15 @@ function aggregator_page_categories() {
}
$output .= theme('item_list', $list);
}
- $output .= '<div class="links">'. theme('links', array(l(t('more'), 'aggregator/categories/'. $category->cid))) ."</div>\n";
+
+ $link['categories'] = array(
+ '#title' => t('more'),
+ '#href' => 'aggregator/categories/'. $category->cid
+ );
+
+ $output .= '<div class="links">'. theme('links', $link) ."</div>\n";
}
+
$output .= '</div>';
return $output;