function theme_more_link
7.x theme.inc | theme_more_link( |
6.x theme.inc | theme_more_link($url, $title) |
Returns code that emits the 'more' link used on blocks.
Parameters
$url: The URL of the main page
$title: A descriptive verb for the link, like 'Read more'
Related topics
3 theme calls to theme_more_link()
- aggregator_block in drupal-6.x/
modules/ aggregator/ aggregator.module - Implementation of hook_block().
- blog_block in drupal-6.x/
modules/ blog/ blog.module - Implementation of hook_block().
- forum_block in drupal-6.x/
modules/ forum/ forum.module - Implementation of hook_block().
File
- drupal-6.x/
includes/ theme.inc, line 1625 - The theme system, which controls the output of Drupal.
Code
function theme_more_link($url, $title) {
return '<div class="more-link">' . t('<a href="@link" title="@title">more</a>', array('@link' => check_url($url), '@title' => $title)) . '</div>';
}