]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
ignore index for rss - this is the view of all of an owner's albums
authorCash Costello <cash.costello@gmail.com>
Sun, 28 Jun 2009 14:16:33 +0000 (14:16 +0000)
committerCash Costello <cash.costello@gmail.com>
Sun, 28 Jun 2009 14:16:33 +0000 (14:16 +0000)
views/rss/object/album.php

index e429ee94da0c1ec2335432ddf33d43ab4c336d24..ecd4c51ab9df4218d1a848f8bce9c5dcccde3de4 100644 (file)
@@ -3,6 +3,10 @@
         * Tidypics Album RSS View\r
         */\r
 \r
+       // for now catch the albums view and ignore it\r
+       if (get_context() == "search" && get_input('search_viewtype') == "gallery") {\r
+       } else {\r
+               \r
        $album = $vars['entity'];\r
        \r
        $base_url = $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid=';\r
@@ -54,4 +58,6 @@
        \r
 <?php\r
        }\r
+       \r
+       }\r
 ?>
\ No newline at end of file