More template changes

skala
Julio Montoya 13 years ago
parent dca85deb86
commit 071a045a4e
  1. 26
      main/template/default/layout/layout_1_col.tpl
  2. 13
      main/template/default/layout/layout_2_col.tpl
  3. 8
      main/template/default/layout/page_body.tpl
  4. 5
      main/template/default/layout/show_footer.tpl
  5. 7
      main/template/default/layout/show_header.tpl

@ -7,17 +7,25 @@
{/block}
{* 1 column *}
{block name=body}
{* Content top *}
{if !empty($plugin_content_top)}
<div id="plugin_content_top" class="span12">
{$plugin_content_top}
</div>
{/if}
<div class="span12">
{include file="default/layout/page_body.tpl"}
{* Content bottom *}
{include file="default/layout/page_body.tpl"}
</div>
{* Content bottom *}
{if !empty($plugin_content_bottom)}
<div class="clear"></div>
<div id="plugin_content_bottom">
{$plugin_content_bottom}
</div>
{/if}
</div>
{if !empty($plugin_content_bottom)}
<div id="plugin_content_bottom" class="span12">
{$plugin_content_bottom}
</div>
{/if}
{/block}
{* Footer *}

@ -13,8 +13,16 @@
{if $show_sniff == 1 }
{include file="default/layout/sniff.tpl"}
{/if}
<div class="span9">
{* Content bottom *}
{if !empty($plugin_content_top)}
<div id="plugin_content_top">
{$plugin_content_top}
</div>
{/if}
{* ?? *}
<section id="home_page">
{$home_page_block}
@ -39,8 +47,7 @@
{* Content bottom *}
{if !empty($plugin_content_bottom)}
<div class="clear"></div>
{if !empty($plugin_content_bottom)}
<div id="plugin_content_bottom">
{$plugin_content_bottom}
</div>

@ -1,11 +1,3 @@
{* Content top *}
{if !empty($plugin_content_top)}
<div id="plugin_content_top">
{$plugin_content_top}
</div>
{/if}
{* Actions *}
{if (!empty($actions)) }
<div class="actions">

@ -7,9 +7,8 @@
{/if}
{* Content bottom *}
{if !empty($plugin_content_bottom)}
<div class="clear"></div>
<div id="plugin_content_bottom">
{if !empty($plugin_content_bottom)}
<div id="plugin_content_bottom" class="span12">
{$plugin_content_bottom}
</div>
{/if}

@ -3,7 +3,12 @@
for backward compatibility we suppose that the default layout is one column which means ausing a div with class span12
*}
{include file="default/layout/main_header.tpl"}
{if $show_header}
{if $show_header}
{if !empty($plugin_content_top)}
<div id="plugin_content_top" class="span12">
{$plugin_content_top}
</div>
{/if}
<div class="span12">
{include file="default/layout/page_body.tpl"}
{/if}
Loading…
Cancel
Save