diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 18:03:24 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 18:03:24 +0000 |
commit | 562bc001f3002f43c343cc63bbbe3e9cb421de32 (patch) | |
tree | 232e0534386a6250315f20a8eaf9037197b8003d /views/default/layout/shells/two_sidebar.php | |
parent | 412d337ee7f1463dc4ea4cf1d23415b10749f996 (diff) | |
download | elgg-562bc001f3002f43c343cc63bbbe3e9cb421de32.tar.gz elgg-562bc001f3002f43c343cc63bbbe3e9cb421de32.tar.bz2 |
Refs #2950: layout/shells => page/layouts
git-svn-id: http://code.elgg.org/elgg/trunk@8286 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/shells/two_sidebar.php')
-rw-r--r-- | views/default/layout/shells/two_sidebar.php | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/views/default/layout/shells/two_sidebar.php b/views/default/layout/shells/two_sidebar.php deleted file mode 100644 index 1e6c2aae7..000000000 --- a/views/default/layout/shells/two_sidebar.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php -/** - * Elgg 2 sidebar layout - * - * @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['sidebar_alt'] Optional content that is displayed in the alternate sidebar - * @uses $vars['class'] Additional class to apply to layout - */ - -$class = 'elgg-inner clearfix'; -if (isset($vars['class'])) { - $class = "$class {$vars['class']}"; -} -?> - -<div class="<?php echo $class; ?>" id="elgg-layout-two-sidebar"> - <div class="elgg-sidebar elgg-aside"> - <?php - echo elgg_view('page/elements/sidebar', $vars); - ?> - </div> - <div class="elgg-sidebar elgg-alt elgg-aside"> - <?php - //$params = $vars; - //$params['sidebar'] = $vars['sidebar_alt']; - $params = array( - 'sidebar' => elgg_view_module('test', 'Testing', 'Hello, world!'), - ); - echo elgg_view('page/elements/sidebar', $params); - ?> - </div> - - <div class="elgg-main elgg-body"> - <?php - // @todo deprecated so remove in Elgg 2.0 - if (isset($vars['area1'])) { - echo $vars['area1']; - } - if (isset($vars['content'])) { - echo $vars['content']; - } - ?> - </div> -</div> |