Commit 6b6ea89a authored by Dries's avatar Dries

- Patch #850686 by Jacine, sun: renamed 'highlight' region to 'highlighted' for consistency.

parent 926a26b6
......@@ -346,7 +346,7 @@ function block_update_7004() {
'theme' => $theme,
'status' => 1,
'weight' => 0,
'region' => 'highlight',
'region' => 'highlighted',
'visibility' => BLOCK_VISIBILITY_LISTED,
'pages' => '<front>',
'cache' => DRUPAL_NO_CACHE,
......
......@@ -55,7 +55,7 @@
*
* Regions:
* - $page['help']: Dynamic help text, mostly for admin pages.
* - $page['highlight']: Items for the highlighted content region.
* - $page['highlighted']: Items for the highlighted content region.
* - $page['content']: The main content of the current page.
* - $page['sidebar_first']: Items for the first sidebar.
* - $page['sidebar_second']: Items for the second sidebar.
......@@ -117,7 +117,7 @@
<div id="main-wrapper"><div id="main" class="clearfix">
<div id="content" class="column"><div class="section">
<?php if ($page['highlight']): ?><div id="highlight"><?php print render($page['highlight']); ?></div><?php endif; ?>
<?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
<a id="main-content"></a>
<?php print render($title_prefix); ?>
<?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
......
......@@ -2350,7 +2350,7 @@ function _system_rebuild_theme_data() {
'content' => 'Content',
'header' => 'Header',
'footer' => 'Footer',
'highlight' => 'Highlighted content',
'highlighted' => 'Highlighted',
'help' => 'Help',
'page_top' => 'Page top',
'page_bottom' => 'Page bottom',
......
......@@ -18,7 +18,7 @@ regions[header] = Header
regions[help] = Help
regions[page_top] = Page top
regions[page_bottom] = Page bottom
regions[highlight] = Highlighted
regions[highlighted] = Highlighted
regions[featured] = Featured
regions[content] = Content
......
......@@ -66,7 +66,7 @@
<div id="main-wrapper"><div id="main" class="clearfix">
<div id="content" class="column"><div class="section">
<?php if ($highlight): ?><div id="highlight"><?php print $highlight; ?></div><?php endif; ?>
<?php if ($highlighted): ?><div id="highlighted"><?php print $highlighted; ?></div><?php endif; ?>
<a id="main-content"></a>
<?php if ($title): ?>
<h1 class="title" id="page-title">
......
......@@ -66,7 +66,7 @@
* Regions:
* - $page['header']: Items for the header region.
* - $page['featured']: Items for the featured region.
* - $page['highlight']: Items for the highlighted content region.
* - $page['highlighted']: Items for the highlighted content region.
* - $page['help']: Dynamic help text, mostly for admin pages.
* - $page['content']: The main content of the current page.
* - $page['sidebar_first']: Items for the first sidebar.
......@@ -168,7 +168,7 @@
<div id="content" class="column"><div class="section">
<?php if ($page['highlight']): ?><div id="highlight"><?php print render($page['highlight']); ?></div><?php endif; ?>
<?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
<a id="main-content"></a>
<?php print render($title_prefix); ?>
<?php if ($title): ?>
......
......@@ -39,7 +39,7 @@
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
<?php print $breadcrumb; ?>
<?php if ($page['highlight']): ?><div id="highlight"><?php render($page['highlight']); ?></div><?php endif; ?>
<?php if ($page['highlighted']): ?><div id="highlighted"><?php render($page['highlighted']); ?></div><?php endif; ?>
<a id="main-content"></a>
<?php if ($tabs): ?><div id="tabs-wrapper" class="clearfix"><?php endif; ?>
<?php print render($title_prefix); ?>
......
......@@ -622,7 +622,7 @@ div#branding strong {
color: #529ad6;
}
#highlight {
#highlighted {
padding: 1em;
background-color: #fff;
border: 1px solid #e0e5fb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment