aboutsummaryrefslogtreecommitdiff
path: root/mostrecentimages.php
diff options
context:
space:
mode:
Diffstat (limited to 'mostrecentimages.php')
-rw-r--r--mostrecentimages.php14
1 files changed, 4 insertions, 10 deletions
diff --git a/mostrecentimages.php b/mostrecentimages.php
index edceb9cd4..9b2c05c60 100644
--- a/mostrecentimages.php
+++ b/mostrecentimages.php
@@ -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
*
*/
@@ -12,16 +11,11 @@
$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