big update for home v2

This commit is contained in:
Bachir Soussi Chiadmi
2015-06-03 17:02:24 +02:00
parent 49004d7fee
commit 3ffbc09c10
26 changed files with 4210 additions and 1461 deletions

View File

@@ -67,72 +67,77 @@
*/
?>
<header id="header">
<hgroup class="logo"> <?php if ($site_title) { print $site_title; }?> </hgroup>
<div class="inner">
<hgroup class="logo"> <?php if ($site_title) { print $site_title; }?> </hgroup>
<?php if ($page['headerblock_left'] || $page['headerblock_middle'] || $page['headerblock_right']): ?>
<div id="header-blocks">
<?php print render($page['headerblock_left']); ?>
<?php print render($page['headerblock_middle']); ?>
<?php print render($page['headerblock_right']); ?>
</div>
<?php endif; ?>
<?php if ($breadcrumb): ?>
<section id="breadcrumb"><?php print $breadcrumb; ?></section>
<?php endif; ?>
<?php if ($page['headerblock_left'] || $page['headerblock_middle'] || $page['headerblock_right']): ?>
<div id="header-blocks">
<?php print render($page['headerblock_left']); ?>
<?php print render($page['headerblock_middle']); ?>
<?php print render($page['headerblock_right']); ?>
</div>
<?php endif; ?>
<?php if ($breadcrumb): ?>
<section id="breadcrumb"><?php print $breadcrumb; ?></section>
<?php endif; ?>
</div>
</header><!-- /header -->
<div id="utilities">
<?php print render($page['highlighted']); ?>
<?php if ($page['content_top'] || $page['highlighted'] || $page['tool_bar'] || $primary_local_tasks || $secondary_local_tasks || $action_links): ?>
<div id="utilities">
<div class="inner">
<?php print render($page['highlighted']); ?>
<?php print render($page['content_top']); ?>
<?php print render($page['content_top']); ?>
<?php print render($page['tool_bar']); ?>
<?php print render($page['tool_bar']); ?>
<?php if ($primary_local_tasks || $secondary_local_tasks || $action_links): ?>
<div id="tasks">
<?php if ($primary_local_tasks): ?>
<ul class="tabs primary"><?php print render($primary_local_tasks); ?></ul>
<?php endif; ?>
<?php if ($secondary_local_tasks): ?>
<ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul>
<?php endif; ?>
<?php if ($action_links = render($action_links)): ?>
<ul class="action-links"><?php print $action_links; ?></ul>
<?php if ($primary_local_tasks || $secondary_local_tasks || $action_links): ?>
<div id="tasks">
<?php if ($primary_local_tasks): ?>
<ul class="tabs primary"><?php print render($primary_local_tasks); ?></ul>
<?php endif; ?>
<?php if ($secondary_local_tasks): ?>
<ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul>
<?php endif; ?>
<?php if ($action_links = render($action_links)): ?>
<ul class="action-links"><?php print $action_links; ?></ul>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
</div><!-- /utilities -->
</div><!-- /utilities -->
<?php endif; ?>
<div id="main">
<?php //print render($page['sidebar_first']); ?>
<section id="center">
<?php //print render($page['sidebar_first']); ?>
<section id="center">
<?php if ($show_messages && $messages): print $messages; endif; ?>
<?php print render($page['help']); ?>
<?php if($title): ?><h1 class="page-title"><?php print $title ?></h1><?php endif; ?>
<?php print render($page['content']); ?>
<?php print render($page['content_bottom']); ?>
</section><!-- /center -->
</section><!-- /center -->
<?php //print render($page['sidebar_second']) ?>
</div><!-- /main -->
</div><!-- /main -->
<footer id="footer">
<?php print render($page['footer_top']); ?>
<?php if ($page['footer_left'] || $page['footer_middle_left'] || $page['footer_middle_right'] || $page['footer_right']): ?>
<div class="footer-blocks">
<?php if ($page['footer_left'] || $page['footer_middle_left'] || $page['footer_middle_right'] || $page['footer_right']): ?>
<div class="footer-blocks">
<?php print render($page['footer_left']); ?>
<?php print render($page['footer_middle-left']); ?>
<?php print render($page['footer_midle-right']); ?>
@@ -141,6 +146,6 @@
</div>
<?php endif; ?>
<?php print render($page['footer_bottom']); ?>
</footer><!-- /footer -->
<?php print render($page['footer_bottom']); ?>
</footer><!-- /footer -->