diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 22:48:13 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 22:48:13 +0000 |
commit | 3c8c0584287e5e569879eebe5033610b6ad2fe44 (patch) | |
tree | 4788e8885d1c3ade71240a2faa9000a3142e65ca | |
parent | 4ae6d689578448a33024703c61bb17b5709fa0e5 (diff) | |
download | elgg-3c8c0584287e5e569879eebe5033610b6ad2fe44.tar.gz elgg-3c8c0584287e5e569879eebe5033610b6ad2fe44.tar.bz2 |
Changed widgets layout "box" parameter to "content" just like the other layouts
git-svn-id: http://code.elgg.org/elgg/trunk@8007 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/profile/start.php | 2 | ||||
-rw-r--r-- | mod/sitepages/views/default/sitepages/css.php | 4 | ||||
-rw-r--r-- | pages/dashboard.php | 2 | ||||
-rw-r--r-- | views/default/layout/shells/widgets.php | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php index 2c4a5c84c..2a12bce48 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -69,7 +69,7 @@ function profile_page_handler($page) { // main profile page $params = array( - 'box' => elgg_view('profile/wrapper'), + 'content' => elgg_view('profile/wrapper'), 'num_columns' => 3, ); $content = elgg_view_layout('widgets', $params); diff --git a/mod/sitepages/views/default/sitepages/css.php b/mod/sitepages/views/default/sitepages/css.php index 3e54172f2..0034e2fba 100644 --- a/mod/sitepages/views/default/sitepages/css.php +++ b/mod/sitepages/views/default/sitepages/css.php @@ -1,7 +1,7 @@ <?php
/**
-* Sitepages CSS
-*/
+ * Sitepages CSS
+ */
?>
#elgg-sidebar.frontpage {
margin-top:0;
diff --git a/pages/dashboard.php b/pages/dashboard.php index 1deefed97..0f4b113c5 100644 --- a/pages/dashboard.php +++ b/pages/dashboard.php @@ -18,7 +18,7 @@ $title = elgg_echo('dashboard'); $intro_message = elgg_view('core/dashboard/blurb'); $params = array( - 'box' => $intro_message, + 'content' => $intro_message, 'num_columns' => 3, 'show_access' => false, ); diff --git a/views/default/layout/shells/widgets.php b/views/default/layout/shells/widgets.php index f6df67681..aa9fa2393 100644 --- a/views/default/layout/shells/widgets.php +++ b/views/default/layout/shells/widgets.php @@ -2,7 +2,7 @@ /** * Elgg widgets layout * - * @uses $vars['box'] Optional display box at the top of layout + * @uses $vars['content'] Optional display box at the top of layout * @uses $vars['num_columns'] Number of widget columns for this layout (3) * @uses $vars['show_add_widgets'] Display the add widgets button and panel (true) * @uses $vars['exact_match'] Widgets must match the current context (false) @@ -33,7 +33,7 @@ if (elgg_can_edit_widget_layout($context)) { echo elgg_view('layout/shells/widgets/add_panel', $params); } -echo $vars['box']; +echo $vars['content']; $widget_class = "elgg-col-1of{$num_columns}"; for ($column_index = 1; $column_index <= $num_columns; $column_index++) { |