From dd09373e0cefa8d33d0e9faa741593802d53c2a7 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Fri, 18 Feb 2011 18:37:32 +0000 Subject: Refs #2950: layout/objects => page/components git-svn-id: http://code.elgg.org/elgg/trunk@8288 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/components/module.php | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 views/default/page/components/module.php (limited to 'views/default/page/components/module.php') diff --git a/views/default/page/components/module.php b/views/default/page/components/module.php new file mode 100644 index 000000000..f7b9da59c --- /dev/null +++ b/views/default/page/components/module.php @@ -0,0 +1,52 @@ +$header"; + } +} else { + $header = "

$title

"; +} + +$body = "
$body
"; + +if (isset($vars['footer'])) { + if ($vars['footer']) { + $footer = "
$footer
"; + } +} + +$contents = $header . $body . $footer; +if ($show_inner) { + $contents = "
$contents
"; +} + +echo "
$contents
"; -- cgit v1.2.3