album.php 363 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Album RSS view
  4. *
  5. * @uses $vars['entity'] TidypicsAlbum
  6. *
  7. * @author Cash Costello
  8. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
  9. */
  10. $full_view = elgg_extract('full_view', $vars, false);
  11. if ($full_view) {
  12. echo elgg_view('object/album/full', $vars);
  13. } else {
  14. echo elgg_view('object/album/summary', $vars);
  15. }