Advertisement
n0aX

core/body.tpl

Nov 9th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.53 KB | None | 0 0
  1. {* $Id: 20120817 *}
  2.  
  3. {if $pageType eq "html"}
  4. {include file="head.tpl"}
  5.  
  6. {if $pv.error}
  7. {include file="error.tpl"}
  8. {/if}
  9.  
  10. {include file="inc/header.tpl"}
  11.  
  12. {/if}
  13.  
  14. {include file=$pageTemplate['body']}
  15.  
  16. {if $pageType eq "html"}
  17.  
  18. {include file="inc/footer.tpl"}
  19.  
  20. {include file="tail.tpl"}
  21.  
  22. {/if}
  23.  
  24. {if $smarty.capture|count}
  25. <script type="text/javascript">
  26. jQuery(function($){ldelim}
  27. {foreach $smarty.capture as $cap}{$cap}{/foreach}
  28. {rdelim});
  29. </script>
  30. {/if}
  31.  
  32. {if $pageType eq "html"}
  33. </body>
  34. </html>
  35. {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement