From ea74dfc453b04da0c621a95c91ae736815c7815c Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Feb 2011 18:38:41 +0000 Subject: updated the custom index for new views layout structure git-svn-id: http://code.elgg.org/elgg/trunk@8338 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/layout/shells/custom_index.php | 65 ---------------------- .../views/default/page/layouts/custom_index.php | 65 ++++++++++++++++++++++ 2 files changed, 65 insertions(+), 65 deletions(-) delete mode 100644 mod/custom_index/views/default/layout/shells/custom_index.php create mode 100644 mod/custom_index/views/default/page/layouts/custom_index.php (limited to 'mod/custom_index/views/default') diff --git a/mod/custom_index/views/default/layout/shells/custom_index.php b/mod/custom_index/views/default/layout/shells/custom_index.php deleted file mode 100644 index 48039dbd9..000000000 --- a/mod/custom_index/views/default/layout/shells/custom_index.php +++ /dev/null @@ -1,65 +0,0 @@ - - -
-
-
-" . 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']); -} -?> -
-
-
-
- -
-
-
diff --git a/mod/custom_index/views/default/page/layouts/custom_index.php b/mod/custom_index/views/default/page/layouts/custom_index.php new file mode 100644 index 000000000..48039dbd9 --- /dev/null +++ b/mod/custom_index/views/default/page/layouts/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