summaryrefslogtreecommitdiff
path: root/modules/system/page.tpl.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-03 03:04:34 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-03 03:04:34 +0000
commit0bd7fcbf38d71df62904bd4c86046e9c85c9085d (patch)
tree4fc269aca56523e2d83bb743c36a1a47f7e38b2d /modules/system/page.tpl.php
parent7fc6e2eaf9d60dd071f9a9d6360047f8a2312116 (diff)
downloadbrdo-0bd7fcbf38d71df62904bd4c86046e9c85c9085d.tar.gz
brdo-0bd7fcbf38d71df62904bd4c86046e9c85c9085d.tar.bz2
#226587 by JohnAlbin, E.Z, et al: Make sidebar regions semantic and RTL-friendly.
Diffstat (limited to 'modules/system/page.tpl.php')
-rw-r--r--modules/system/page.tpl.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php
index ac6e2c383..7b4cc420e 100644
--- a/modules/system/page.tpl.php
+++ b/modules/system/page.tpl.php
@@ -46,10 +46,10 @@
* - node-type-[node type]: When viewing a single node, the type of that node.
* For example, if the node is a "Blog entry" it would result in "node-type-blog".
* Note that the machine name will often be in a short form of the human readable label.
- * The following only apply with the default 'left' and 'right' block regions:
+ * The following only apply with the default 'sidebar_first' and 'sidebar_second' block regions:
* - two-sidebars: When both sidebars have content.
* - no-sidebars: When no sidebar content exists.
- * - one-sidebar and sidebar-left or sidebar-right: A combination of the two classes
+ * - one-sidebar and sidebar-first or sidebar-second: A combination of the two classes
* when only one of the two sidebars have content.
*
* Site identity:
@@ -77,8 +77,8 @@
* - $help: Dynamic help text, mostly for admin pages.
* - $content: The main content of the current page.
* - $feed_icons: A string of all feed icons for the current page.
- * - $left: Items for the left sidebar.
- * - $right: Items for the right sidebar.
+ * - $sidebar_first: Items for the first sidebar.
+ * - $sidebar_second: Items for the second sidebar.
* - $highlight: Items for the highlighted content region.
*
* Opening and closing data:
@@ -177,16 +177,16 @@
<?php print $feed_icons; ?>
</div></div> <!-- /.section, /#content -->
- <?php if ($left): ?>
- <div id="sidebar-left" class="column sidebar"><div class="section region">
- <?php print $left; ?>
- </div></div> <!-- /.section, /#sidebar-left -->
+ <?php if ($sidebar_first): ?>
+ <div id="sidebar-first" class="column sidebar"><div class="section region">
+ <?php print $sidebar_first; ?>
+ </div></div> <!-- /.section, /#sidebar-first -->
<?php endif; ?>
- <?php if ($right): ?>
- <div id="sidebar-right" class="column sidebar"><div class="section region">
- <?php print $right; ?>
- </div></div> <!-- /.section, /#sidebar-right -->
+ <?php if ($sidebar_second): ?>
+ <div id="sidebar-second" class="column sidebar"><div class="section region">
+ <?php print $sidebar_second; ?>
+ </div></div> <!-- /.section, /#sidebar-second -->
<?php endif; ?>
</div></div> <!-- /#main, /#main-wrapper -->