added slogan
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file template.preprocess-page.inc
|
* @file template.preprocess-page.inc
|
||||||
|
|||||||
@@ -70,10 +70,14 @@
|
|||||||
<hgroup class="logo">
|
<hgroup class="logo">
|
||||||
<?php
|
<?php
|
||||||
if ($site_title) {
|
if ($site_title) {
|
||||||
print $site_title;
|
print '<h1>'.$site_title.'</h1>';
|
||||||
}
|
}
|
||||||
|
if ($site_slogan) {
|
||||||
|
print '<h2>'.$site_slogan.'</h2>';
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
|
|
||||||
<?php if ($page['headerblock_left'] || $page['headerblock_middle'] || $page['headerblock_right']): ?>
|
<?php if ($page['headerblock_left'] || $page['headerblock_middle'] || $page['headerblock_right']): ?>
|
||||||
<div id="header-blocks">
|
<div id="header-blocks">
|
||||||
@@ -82,30 +86,30 @@
|
|||||||
<?php print render($page['headerblock_right']); ?>
|
<?php print render($page['headerblock_right']); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ($breadcrumb): ?>
|
<?php if ($breadcrumb): ?>
|
||||||
<section id="breadcrumb"><?php print $breadcrumb; ?></section>
|
<section id="breadcrumb"><?php print $breadcrumb; ?></section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
<!-- /header -->
|
<!-- /header -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
||||||
|
|
||||||
<?php if ($method == 0 || $method == 2): ?>
|
<?php if ($method == 0 || $method == 2): ?>
|
||||||
<?php print render($page['sidebar_first']); ?>
|
<?php print render($page['sidebar_first']); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ($method == 2): ?>
|
<?php if ($method == 2): ?>
|
||||||
<?php print render($page['sidebar_second']) ?>
|
<?php print render($page['sidebar_second']) ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if(isset($page['sidebar_first']) || isset($page['sidebar_second'])): ?>
|
<?php if(isset($page['sidebar_first']) || isset($page['sidebar_second'])): ?>
|
||||||
<section id="center">
|
<section id="center">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ($primary_local_tasks || $secondary_local_tasks || $action_links): ?>
|
<?php if ($primary_local_tasks || $secondary_local_tasks || $action_links): ?>
|
||||||
@@ -135,32 +139,32 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<?php print render($page['content_bottom']); ?>
|
<?php print render($page['content_bottom']); ?>
|
||||||
|
|
||||||
|
|
||||||
<?php if(isset($page['sidebar_first']) || isset($page['sidebar_second'])): ?>
|
<?php if(isset($page['sidebar_first']) || isset($page['sidebar_second'])): ?>
|
||||||
</section>
|
</section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<!-- /center -->
|
<!-- /center -->
|
||||||
|
|
||||||
|
|
||||||
<?php if ($method == 1): ?>
|
<?php if ($method == 1): ?>
|
||||||
<?php print render($page['sidebar_first']); ?>
|
<?php print render($page['sidebar_first']); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ($method == 0 || $method == 1): ?>
|
<?php if ($method == 0 || $method == 1): ?>
|
||||||
<?php print render($page['sidebar_second']) ?>
|
<?php print render($page['sidebar_second']) ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div><!-- /main -->
|
</div><!-- /main -->
|
||||||
|
|
||||||
|
|
||||||
<footer id="footer">
|
<footer id="footer">
|
||||||
|
|
||||||
<?php print render($page['footer_top']); ?>
|
<?php print render($page['footer_top']); ?>
|
||||||
|
|
||||||
<?php if ($page['footer_left'] || $page['footer_middle_left'] || $page['footer_middle_right'] || $page['footer_right']): ?>
|
<?php if ($page['footer_left'] || $page['footer_middle_left'] || $page['footer_middle_right'] || $page['footer_right']): ?>
|
||||||
<div class="footer-block">
|
<div class="footer-block">
|
||||||
|
|
||||||
<?php print render($page['footer_left']); ?>
|
<?php print render($page['footer_left']); ?>
|
||||||
<?php print render($page['footer_middle-left']); ?>
|
<?php print render($page['footer_middle-left']); ?>
|
||||||
<?php print render($page['footer_midle-right']); ?>
|
<?php print render($page['footer_midle-right']); ?>
|
||||||
@@ -169,7 +173,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php print render($page['footer_bottom']); ?>
|
<?php print render($page['footer_bottom']); ?>
|
||||||
</footer>
|
</footer>
|
||||||
<!-- /footer -->
|
<!-- /footer -->
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user