views-more.tpl.php 464 B

123456789101112131415161718192021
  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 endif; ?>>
  17. <?php print $link_text; ?>
  18. </a>
  19. </div>