aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/two_sidebar.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-08 02:06:28 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-08 02:06:28 +0000
commit092b5fdcbf81a63cbaca1cfb5654a07afb8266c2 (patch)
tree3f0761a476c1da59a04c60b2fc9959f3a6f2127b /views/default/page/layouts/two_sidebar.php
parenta04f6391bf7444a370380639ea496dce39377652 (diff)
downloadelgg-092b5fdcbf81a63cbaca1cfb5654a07afb8266c2.tar.gz
elgg-092b5fdcbf81a63cbaca1cfb5654a07afb8266c2.tar.bz2
Fixes #3319 alternate sidebar should work now
git-svn-id: http://code.elgg.org/elgg/trunk@8954 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/layouts/two_sidebar.php')
-rw-r--r--views/default/page/layouts/two_sidebar.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/views/default/page/layouts/two_sidebar.php b/views/default/page/layouts/two_sidebar.php
index 4e0bab21b..7521dd44f 100644
--- a/views/default/page/layouts/two_sidebar.php
+++ b/views/default/page/layouts/two_sidebar.php
@@ -5,10 +5,10 @@
* @package Elgg
* @subpackage Core
*
- * @uses $vars['content'] The content string for the main column
- * @uses $vars['sidebar'] Optional content that is displayed in the sidebar
+ * @uses $vars['content'] The content string for the main column
+ * @uses $vars['sidebar'] Optional content that is displayed in the sidebar
* @uses $vars['sidebar_alt'] Optional content that is displayed in the alternate sidebar
- * @uses $vars['class'] Additional class to apply to layout
+ * @uses $vars['class'] Additional class to apply to layout
*/
$class = 'elgg-layout elgg-layout-two-sidebar clearfix';
@@ -25,12 +25,7 @@ if (isset($vars['class'])) {
</div>
<div class="elgg-sidebar-alt">
<?php
- //$params = $vars;
- //$params['sidebar'] = $vars['sidebar_alt'];
- $params = array(
- 'sidebar' => elgg_view_module('test', 'Testing', 'Hello, world!'),
- );
- echo elgg_view('page/elements/sidebar_alt', $params);
+ echo elgg_view('page/elements/sidebar_alt', $vars);
?>
</div>