]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Changed widgets layout "box" parameter to "content" just like the other layouts
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 3 Feb 2011 22:48:13 +0000 (22:48 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 3 Feb 2011 22:48:13 +0000 (22:48 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8007 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/profile/start.php
mod/sitepages/views/default/sitepages/css.php
pages/dashboard.php
views/default/layout/shells/widgets.php

index 2c4a5c84c073d27fec8834ee4c0c655277389857..2a12bce48f5788dba9adec424511ff6ec43757ad 100644 (file)
@@ -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);
index 3e54172f270afa46d5c902dea2f09171d89b5ab5..0034e2fba6124b58d9d14d107e06c1aea8589fe8 100644 (file)
@@ -1,7 +1,7 @@
 <?php\r
 /**\r
-* Sitepages CSS\r
-*/\r
+ * Sitepages CSS\r
+ */\r
 ?>\r
 #elgg-sidebar.frontpage {\r
        margin-top:0;\r
index 1deefed97d74f7e5e7504fa0e13594064fa368b7..0f4b113c5efc1a41b907eee1bfb52b3e200b277c 100644 (file)
@@ -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,
 );
index f6df676810a9bfb2ec8cafe93637e6269b67795f..aa9fa2393c9fc527208f313815d16a09363106cf 100644 (file)
@@ -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++) {