Same name and namespace in other branches
  1. 7.x includes/theme.inc \theme_more_link()

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

File

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>';
}