views-more.tpl.php
Theme the more link.
- $view: The view object.
- $more_url: the url for the more link.
- $link_text: the text for the more link.
- $new_window: The flag that indicates if link should be opened in a new window.
File
-
theme/
views-more.tpl.php
View source
<?php
/**
* @file
* Theme the more link.
*
* - $view: The view object.
* - $more_url: the url for the more link.
* - $link_text: the text for the more link.
* - $new_window: The flag that indicates if link should be opened in a new
* window.
*
* @ingroup views_templates
*/
?>
<div class="more-link">
<a href="<?php
print $more_url;
?>"<?php
if (!empty($new_window)) {
?> target="_blank"<?php
}
?>>
<?php
print $link_text;
?>
</a>
</div>