aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index/views/default/page
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-04 06:36:12 -0400
committerCash Costello <cash.costello@gmail.com>2011-11-04 06:36:12 -0400
commit5d480f2d8a767c682878071c3c8f7f6b45770c14 (patch)
tree884a4dfb942220a42995d2fdd0d2045eb329bef5 /mod/custom_index/views/default/page
parent1b3f527c0ba8a39cb0b81bd5ffca0d91db29af99 (diff)
downloadelgg-5d480f2d8a767c682878071c3c8f7f6b45770c14.tar.gz
elgg-5d480f2d8a767c682878071c3c8f7f6b45770c14.tar.bz2
Refs #2937 featured is primary module class and highlight is extension
Diffstat (limited to 'mod/custom_index/views/default/page')
-rw-r--r--mod/custom_index/views/default/page/layouts/custom_index.php17
1 files changed, 7 insertions, 10 deletions
diff --git a/mod/custom_index/views/default/page/layouts/custom_index.php b/mod/custom_index/views/default/page/layouts/custom_index.php
index 46efa11e2..1267e19b2 100644
--- a/mod/custom_index/views/default/page/layouts/custom_index.php
+++ b/mod/custom_index/views/default/page/layouts/custom_index.php
@@ -7,7 +7,7 @@
*
*/
-$mod_params = array('class' => 'elgg-module-featured');
+$mod_params = array('class' => 'elgg-module-highlight');
?>
@@ -25,22 +25,19 @@ if (elgg_is_logged_in()) {
} else {
$top_box = $vars['login'];
}
-echo elgg_view_module('front', '', $top_box, array(
- 'header' => false,
- 'class' => 'elgg-module-featured',
-));
+echo elgg_view_module('featured', '', $top_box, $mod_params);
// a view for plugins to extend
echo elgg_view("index/lefthandside");
// files
if (elgg_is_active_plugin('file')) {
- echo elgg_view_module('front', elgg_echo("custom:files"), $vars['files'], $mod_params);
+ echo elgg_view_module('featured', elgg_echo("custom:files"), $vars['files'], $mod_params);
}
// groups
if (elgg_is_active_plugin('groups')) {
- echo elgg_view_module('front', elgg_echo("custom:groups"), $vars['groups'], $mod_params);
+ echo elgg_view_module('featured', elgg_echo("custom:groups"), $vars['groups'], $mod_params);
}
?>
</div>
@@ -54,16 +51,16 @@ if (elgg_is_active_plugin('groups')) {
echo elgg_view("index/righthandside");
// files
-echo elgg_view_module('front', elgg_echo("custom:members"), $vars['members'], $mod_params);
+echo elgg_view_module('featured', elgg_echo("custom:members"), $vars['members'], $mod_params);
// groups
if (elgg_is_active_plugin('blog')) {
- echo elgg_view_module('front', elgg_echo("custom:blogs"), $vars['blogs'], $mod_params);
+ echo elgg_view_module('featured', elgg_echo("custom:blogs"), $vars['blogs'], $mod_params);
}
// files
if (elgg_is_active_plugin('bookmarks')) {
- echo elgg_view_module('front', elgg_echo("custom:bookmarks"), $vars['bookmarks'], $mod_params);
+ echo elgg_view_module('featured', elgg_echo("custom:bookmarks"), $vars['bookmarks'], $mod_params);
}
?>
</div>