layout.tpl: add block end

This commit is contained in:
Li Chen 2013-10-10 03:28:02 +02:00
parent b64257a80e
commit a58c1bed3e

View file

@ -20,7 +20,8 @@
<meta http-equiv="Content-Language" content="{$smarty.const.LANG}"> <meta http-equiv="Content-Language" content="{$smarty.const.LANG}">
{block name=head}{/block} {block name=head}{/block}
</head> </head>
<body>{block name=body} <body>
{block name=body}
{if $ERRmessage} {if $ERRmessage}
<div class="alert alert-dismissable alert-{$ERRcolor}"> <div class="alert alert-dismissable alert-{$ERRcolor}">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
@ -28,7 +29,8 @@
</div> </div>
{/if} {/if}
{block name=content}{/block} {block name=content}{/block}
{/block} <hr> {/block}
<hr>
<footer> <footer>
<p>&copy; <a href="http://www.fic.com/">FIC</a> 2014</p> <p>&copy; <a href="http://www.fic.com/">FIC</a> 2014</p>
@ -38,5 +40,6 @@
<script src="/js/jquery.min.js"></script> <script src="/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed --> <!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/js/bootstrap.min.js"></script> <script src="/js/bootstrap.min.js"></script>
{block name=end}{/block}
</body> </body>
</html> </html>