From af26a60db00294af093bf8e385d3e628de1c47d2 Mon Sep 17 00:00:00 2001 From: Greg Froese Date: Sat, 16 May 2009 00:16:40 +0000 Subject: counting now using annotations --- mostrecentimages.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mostrecentimages.php') diff --git a/mostrecentimages.php b/mostrecentimages.php index 53d8ef236..e42cea4ae 100644 --- a/mostrecentimages.php +++ b/mostrecentimages.php @@ -8,14 +8,18 @@ // Load Elgg engine include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + include_once(dirname(__FILE__) . "/notice.php"); $max = 8; $images = list_entities("object", "image", 0, $max, false, false, true); $title = "Most recent images"; $area2 = elgg_view_title($title); + $notice = tp_notice(); + $area2 .= $notice->text; $area2 .= $images; $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 -- cgit v1.2.3