theme_more_link

Versions
6
theme_more_link($url, $title)
7
theme_more_link($variables)

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

Code

includes/theme.inc, line 1550

<?php
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>';
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.