| Versionen | |
|---|---|
| drupal6 – drupal7 | theme_more_link($url, $title) |
Returns code that emits the 'more' link used on blocks.
$url The url of the main page
$title A descriptive verb for the link, like 'Read more'
includes/
<?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>';
}
?>
Kommentare
Kommentar hinzufügen