From 8cd97cdd7d9bd526d6b41362d011614919acabae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Mon, 22 Oct 2007 09:36:05 +0000 Subject: #147492 by flobruit: make 'more' links themeable --- includes/common.inc | 3 +++ includes/theme.inc | 12 ++++++++++++ 2 files changed, 15 insertions(+) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 9275125d6..77aa900b9 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2787,6 +2787,9 @@ function drupal_common_themes() { 'feed_icon' => array( 'arguments' => array('url' => NULL, 'title' => NULL), ), + 'more_link' => array( + 'arguments' => array('url' => NULL, 'title' => NULL) + ), 'closure' => array( 'arguments' => array('main' => 0), ), diff --git a/includes/theme.inc b/includes/theme.inc index 6f3dda76f..621b9e77d 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1560,6 +1560,18 @@ function theme_feed_icon($url, $title) { } } +/** + * Returns code that emits the 'more' link used on blocks. + * + * @param $url + * The url of the main page + * @param $title + * A descriptive verb for the link, like 'Read more' + */ +function theme_more_link($url, $title) { + return ''; +} + /** * Execute hook_footer() which is run at the end of the page right before the * close of the body tag. -- cgit v1.2.3