aboutsummaryrefslogtreecommitdiff
path: root/views/default/layouts
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-04 02:19:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-04 02:19:44 +0000
commit719146b6449c1241f70caed2ddb520ce8fbd6da3 (patch)
treecee176853fc12b2e00e207be35a6c46d2d8a7b9e /views/default/layouts
parent82ed2fe0bea0c12f19b261e0e1cf8ad9cb2ba668 (diff)
downloadelgg-719146b6449c1241f70caed2ddb520ce8fbd6da3.tar.gz
elgg-719146b6449c1241f70caed2ddb520ce8fbd6da3.tar.bz2
striking balance between all classes and giving ids on major layout elements for easy css-only theming
git-svn-id: http://code.elgg.org/elgg/trunk@7524 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layouts')
-rw-r--r--views/default/layouts/one_column_with_sidebar.php33
1 files changed, 16 insertions, 17 deletions
diff --git a/views/default/layouts/one_column_with_sidebar.php b/views/default/layouts/one_column_with_sidebar.php
index 827fe19f4..daeb26cac 100644
--- a/views/default/layouts/one_column_with_sidebar.php
+++ b/views/default/layouts/one_column_with_sidebar.php
@@ -9,22 +9,21 @@
* @uses $vars['sidebar'] Optional content that is displayed in the sidebar
*/
?>
-<div class="elgg-layout elgg-center elgg-width-classic clearfix">
- <div class="elgg-aside">
- <?php
- echo elgg_view('page_elements/sidebar', $vars);
- ?>
- </div>
+
+<div id="elgg-sidebar" class="elgg-aside">
+ <?php
+ echo elgg_view('page_elements/sidebar', $vars);
+ ?>
+</div>
- <div class="elgg-body elgg-width-content">
- <?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 id="elgg-main" class="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>