views-more.tpl.php 461 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @file
  4. * Theme the more link.
  5. *
  6. * - $view: The view object.
  7. * - $more_url: the url for the more link.
  8. * - $link_text: the text for the more link.
  9. * - $new_window: The flag that indicates if link should be opened in a new
  10. * window.
  11. *
  12. * @ingroup views_templates
  13. */
  14. ?>
  15. <div class="more-link">
  16. <a href="<?php print $more_url ?>"<?php if (!empty($new_window)) { ?> target="_blank"<?php
  17. } ?>>
  18. <?php print $link_text; ?>
  19. </a>
  20. </div>