aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index/views/default/layout
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 18:38:41 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 18:38:41 +0000
commitea74dfc453b04da0c621a95c91ae736815c7815c (patch)
tree69e7ea197493c831a160a66fbab1ad04bf84785a /mod/custom_index/views/default/layout
parente86de6c482ef8bae0a07b53481687b2f338c483e (diff)
downloadelgg-ea74dfc453b04da0c621a95c91ae736815c7815c.tar.gz
elgg-ea74dfc453b04da0c621a95c91ae736815c7815c.tar.bz2
updated the custom index for new views layout structure
git-svn-id: http://code.elgg.org/elgg/trunk@8338 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/custom_index/views/default/layout')
-rw-r--r--mod/custom_index/views/default/layout/shells/custom_index.php65
1 files changed, 0 insertions, 65 deletions
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 @@
-<?php
-/**
- * Elgg custom index layout
- *
- * You can edit the layout of this page with your own layout and style.
- * Whatever you put in this view will appear on the front page of your site.
- *
- */
-?>
-
-<div class="custom-index elgg-main elgg-grid clearfix">
- <div class="elgg-col elgg-col-1of2">
- <div class="elgg-inner pam">
-<?php
-// left column
-
-// Top box for login or welcome message
-if (elgg_is_logged_in()) {
- $top_box = "<h2>" . elgg_echo("welcome") . " ";
- $top_box .= get_loggedin_user()->name;
- $top_box .= "</h2>";
-} 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']);
-}
-?>
- </div>
- </div>
- <div class="elgg-col elgg-col-1of2">
- <div class="elgg-inner pam">
-<?php
-// right column
-
-// a view for plugins to extend
-echo elgg_view("index/righthandside");
-
-// files
-echo elgg_view_module('featured', elgg_echo("custom:members"), $vars['members']);
-
-// groups
-if (elgg_is_active_plugin('blog')) {
- echo elgg_view_module('featured', elgg_echo("custom:blogs"), $vars['blogs']);
-}
-
-// files
-if (elgg_is_active_plugin('bookmarks')) {
- echo elgg_view_module('featured', elgg_echo("custom:bookmarks"), $vars['bookmarks']);
-}
-?>
- </div>
- </div>
-</div>