diff options
author | Greg Froese <greg.froese@gmail.com> | 2009-05-16 00:16:40 +0000 |
---|---|---|
committer | Greg Froese <greg.froese@gmail.com> | 2009-05-16 00:16:40 +0000 |
commit | af26a60db00294af093bf8e385d3e628de1c47d2 (patch) | |
tree | ee5c659b777a01ea178939065523892e8afaa991 /mostrecentimages.php | |
parent | 711c6040d3a5e3b479a1326c5afc6c3a689c8ad5 (diff) | |
download | elgg-af26a60db00294af093bf8e385d3e628de1c47d2.tar.gz elgg-af26a60db00294af093bf8e385d3e628de1c47d2.tar.bz2 |
counting now using annotations
Diffstat (limited to 'mostrecentimages.php')
-rw-r--r-- | mostrecentimages.php | 4 |
1 files changed, 4 insertions, 0 deletions
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 |