From: Cash Costello Date: Sat, 22 Aug 2009 19:18:44 +0000 (+0000) Subject: added a wrapper for easier page creation and better support for rss feeds X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d3bf7525d2781635e631be87a7e40fec9739ee92;p=lorea%2Felgg.git added a wrapper for easier page creation and better support for rss feeds --- diff --git a/mostrecentimages.php b/mostrecentimages.php index 9b2c05c60..964216fe9 100644 --- a/mostrecentimages.php +++ b/mostrecentimages.php @@ -1,21 +1,25 @@ '; - $area2 .= $images; - $area2 .= ''; + + // this view takes care of the title on the main column and the content wrapper + $area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $images,)); + $body = elgg_view_layout('two_column_left_sidebar', '', $area2); + page_draw($title, $body); ?> \ No newline at end of file diff --git a/views/default/tidypics/content_wrapper.php b/views/default/tidypics/content_wrapper.php new file mode 100644 index 000000000..08fd74aff --- /dev/null +++ b/views/default/tidypics/content_wrapper.php @@ -0,0 +1,8 @@ + +
+ +
\ No newline at end of file