Mise en place des templates
This commit is contained in:
parent
3c6d193bf5
commit
eca8591a06
@ -1,3 +1,8 @@
|
||||
<?php
|
||||
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="clear-block block block-<?php print $block->module ?>">
|
||||
|
||||
?>
|
||||
<?php if (!empty($block->subject)): ?>
|
||||
<h2><?php print $block->subject ?></h2>
|
||||
<?php endif;?>
|
||||
|
||||
<div class="content"><?php print $block->content ?></div>
|
||||
</div>
|
||||
|
@ -1,3 +1,45 @@
|
||||
<?php
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
||||
<head>
|
||||
<?php print $head ?>
|
||||
<title><?php print $head_title ?></title>
|
||||
<?php print $styles ?>
|
||||
<?php print $scripts ?>
|
||||
<!--[if lt IE 7]>
|
||||
<?php print $iescripts ?>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
|
||||
?>
|
||||
<!-- Layout -->
|
||||
<div id="header-region" class="clear-block"><?php print $header; ?></div>
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="container" class="clear-block">
|
||||
|
||||
<div id="header"></div> <!-- /header -->
|
||||
|
||||
<?php if ($left): ?>
|
||||
<div id="sidebar-left" class="sidebar">
|
||||
<?php print $left ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
|
||||
<?php if ($title): print '<h2>'. $title .'</h2>'; endif; ?>
|
||||
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
||||
<?php print $help; ?>
|
||||
<div class="clear-block">
|
||||
<?php print $content ?>
|
||||
</div>
|
||||
<div id="footer"><?php print $footer_message . $footer ?></div>
|
||||
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
|
||||
|
||||
</div> <!-- /container -->
|
||||
</div>
|
||||
<!-- /layout -->
|
||||
|
||||
<?php print $closure ?>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user