summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc11
1 files changed, 8 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 442d91dc9..eb73fda0c 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1300,9 +1300,14 @@ function theme_xml_icon($url) {
/**
* Return code that emits an feed icon.
- */
-function theme_feed_icon($url) {
- if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), t('Syndicate content'))) {
+ *
+ * @param $url
+ * The url of the feed.
+ * @param $title
+ * A descriptive title of the feed.
+ */
+function theme_feed_icon($url, $title) {
+ if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), $title)) {
return '<a href="'. check_url($url) .'" class="feed-icon">'. $image .'</a>';
}
}