]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
mostly fixed recent images listing - issue with css on pagination when surrounding...
authorCash Costello <cash.costello@gmail.com>
Fri, 10 Jul 2009 23:49:33 +0000 (23:49 +0000)
committerCash Costello <cash.costello@gmail.com>
Fri, 10 Jul 2009 23:49:33 +0000 (23:49 +0000)
mostrecentimages.php

index edceb9cd416f30aebca922b1ba94b61a7fa44d86..9b2c05c607a65b56a131ba9ecb20a34946d7e198 100644 (file)
@@ -1,8 +1,7 @@
 <?php
 
        /**
-        * Tidypics full view of an image
-        * Given a GUID, this page will try and display any entity
+        * Most recent uploaded images
         * 
         */
 
        $max = 8;
        $images = list_entities("object", "image", 0, $max, false, false, true);
        
-       $title = "Most recent images";
+       $title = elgg_echo('tidypics:mostrecent');
        $area2 = elgg_view_title($title);
-       
-//     include_once(dirname(__FILE__) . "/notice.php");
-//     $notice = tp_notice(); 
-//     $area2 .= $notice->text;
-       
+       $area2 .= '<div class="contentWrapper">'; 
        $area2 .= $images;
+       $area2 .= '</div>';
        $body = elgg_view_layout('two_column_left_sidebar', '', $area2);
        page_draw($title, $body);
-       if($notice->showMessage == true) system_message($notice->text);
-       
 ?>
\ No newline at end of file