static pages and loader for chapter an static pages

This commit is contained in:
Bachir Soussi Chiadmi
2015-03-24 18:52:21 +01:00
parent ea6cdaa6e7
commit c5e1e193e7
12 changed files with 817 additions and 238 deletions
@@ -0,0 +1,16 @@
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?php if (!$page): ?>
<h2<?php print $title_attributes; ?>><?php print $title; ?></h2>
<?php endif; ?>
<div class="content"<?php print $content_attributes; ?>>
<?php
// We hide the comments and links now so that we can render them later.
hide($content['comments']);
hide($content['links']);
print render($content);
?>
</div>
<?php print render($content['links']); ?>
</div>