margin: 2px 30px 0 0;
line-height: 1.1em;
}
-.elgg-page-topbar a.alt {
+.elgg-page-topbar a.elgg-alt {
float: right;
margin: 2px 0 0 30px;
}
.elgg-sidebar {
float: right;
width: 210px;
- margin-left: 10px;
+ margin: 0 0 0 10px;
}
-.elgg-sidebar-alt {
+.elgg-sidebar.elgg-alt {
float: left;
width: 160px;
- margin-right: 10px;
+ margin: 0 10px 0 0;
}
.elgg-main-header {
border-bottom: 1px solid #CCCCCC;
*
* @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['sidebar_alt'] Optional content that is displayed in the alternate sidebar
* @uses $vars['class'] Additional class to apply to layout
*/
echo elgg_view('layout/elements/sidebar', $vars);
?>
</div>
- <div class="elgg-sidebar-alt elgg-aside">
+ <div class="elgg-sidebar elgg-alt elgg-aside">
<?php
//$params = $vars;
- //$params['sidebar'] = $vars['sidebar-alt'];
+ //$params['sidebar'] = $vars['sidebar_alt'];
$params = array(
'sidebar' => elgg_view('layout/objects/module', array('title' => 'Testing', 'body' => 'Hello, world!'))
);
'href' => "action/logout",
'text' => elgg_echo('logout'),
'is_action' => TRUE,
- 'class' => 'alt',
+ 'class' => 'elgg-alt',
));
// elgg tools menu
echo elgg_view('output/url', array(
'href' => elgg_get_site_url() . "pg/settings/user/{$user->username}",
'text' => '<span class="elgg-icon elgg-icon-settings"></span>' . elgg_echo('settings'),
- 'class' => 'alt',
+ 'class' => 'elgg-alt',
));
// The administration link is for admin or site admin users only
echo elgg_view('output/url', array(
'href' => elgg_get_site_url() . 'pg/admin/',
'text' => '<span class="elgg-icon elgg-icon-settings"></span>' . elgg_echo('admin'),
- 'class' => 'alt',
+ 'class' => 'elgg-alt',
));
}