From 0b17969bf1eecf5698a6cd5a4e17b763d198771d Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 13 Feb 2011 01:30:12 +0000 Subject: updated custom index for 1.8 git-svn-id: http://code.elgg.org/elgg/trunk@8193 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/layout/shells/custom_index.php | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 mod/custom_index/views/default/layout/shells/custom_index.php (limited to 'mod/custom_index/views/default/layout/shells') diff --git a/mod/custom_index/views/default/layout/shells/custom_index.php b/mod/custom_index/views/default/layout/shells/custom_index.php new file mode 100644 index 000000000..48039dbd9 --- /dev/null +++ b/mod/custom_index/views/default/layout/shells/custom_index.php @@ -0,0 +1,65 @@ + + +
+
+
+" . elgg_echo("welcome") . " "; + $top_box .= get_loggedin_user()->name; + $top_box .= ""; +} else { + $top_box = $vars['login']; +} +echo elgg_view_module('featured', '', $top_box, array('header' => false)); + +// a view for plugins to extend +echo elgg_view("index/lefthandside"); + +// files +if (elgg_is_active_plugin('file')) { + echo elgg_view_module('featured', elgg_echo("custom:files"), $vars['files']); +} + +// groups +if (elgg_is_active_plugin('groups')) { + echo elgg_view_module('featured', elgg_echo("custom:groups"), $vars['groups']); +} +?> +
+
+
+
+ +
+
+
-- cgit v1.2.3