From 9bb7b4c8afddc734adfd2717d766d1711cf8127c Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 4 Dec 2010 13:07:09 +0000 Subject: blog sidebar html updates finished - uses modules! git-svn-id: http://code.elgg.org/elgg/trunk@7526 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout_elements/module.php | 55 ++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 views/default/layout_elements/module.php (limited to 'views/default/layout_elements') diff --git a/views/default/layout_elements/module.php b/views/default/layout_elements/module.php new file mode 100644 index 000000000..46ddcfbfd --- /dev/null +++ b/views/default/layout_elements/module.php @@ -0,0 +1,55 @@ +

$title

"; +//if ($header) { +// $header = "
$header
"; +//} + +$body_class = 'elgg-body'; +$additional_class = elgg_get_array_value('body_class', $vars, ''); +if ($additional_class) { + $body_class = "$body_class $additional_class"; +} +$body = "
$body
"; + + +if ($footer) { + $footer = "
$footer
"; +} + +echo << +
+ $header + $body + $footer +
+ +HTML; -- cgit v1.2.3