// small fix
This commit is contained in:
@@ -22,10 +22,9 @@
|
|||||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{if !$content_only}
|
{if !$content_only}
|
||||||
</div>
|
</div>
|
||||||
{if isset($right_column) && !empty($right_column)}
|
{if isset($right_column_size) && !empty($right_column_size)}
|
||||||
<!-- Right -->
|
<!-- Right -->
|
||||||
<div id="right_column" class="col-xs-12 col-sm-3 column">
|
<div id="right_column" class="col-xs-12 col-sm-3 column">
|
||||||
{$HOOK_RIGHT_COLUMN}
|
{$HOOK_RIGHT_COLUMN}
|
||||||
|
|||||||
@@ -208,15 +208,12 @@
|
|||||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||||
{/if}
|
{/if}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{assign var='left_column' value=0}{assign var='right_column' value=0}
|
{if isset($left_column_size) && !empty($left_column_size)}
|
||||||
{if isset($HOOK_LEFT_COLUMN) && $HOOK_LEFT_COLUMN|trim && !$hide_left_column}{$left_column=3}{/if}
|
|
||||||
{if isset($HOOK_RIGHT_COLUMN) && $HOOK_RIGHT_COLUMN|trim && !$hide_right_column}{$right_column=3}{/if}
|
|
||||||
{if isset($left_column) && !empty($left_column)}
|
|
||||||
<!-- Left -->
|
<!-- Left -->
|
||||||
<div id="left_column" class="column col-xs-12 col-sm-3">
|
<div id="left_column" class="column col-xs-12 col-sm-3">
|
||||||
{$HOOK_LEFT_COLUMN}
|
{$HOOK_LEFT_COLUMN}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<!-- Center -->
|
<!-- Center -->
|
||||||
<div id="center_column" class="center_column col-xs-12 col-sm-{12 - $left_column - $right_column}">
|
<div id="center_column" class="center_column col-xs-12 col-sm-{12 - $left_column_size - $right_column_size}">
|
||||||
{/if}
|
{/if}
|
||||||
@@ -23,6 +23,9 @@
|
|||||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
{assign var='left_column_size' value=0}{assign var='right_column_size' value=0}
|
||||||
|
{if isset($HOOK_LEFT_COLUMN) && $HOOK_LEFT_COLUMN|trim && !$hide_left_column}{$left_column_size=3}{/if}
|
||||||
|
{if isset($HOOK_RIGHT_COLUMN) && $HOOK_RIGHT_COLUMN|trim && !$hide_right_column}{$right_column_size=3}{/if}
|
||||||
{if !empty($display_header)}{include file="$tpl_dir./header.tpl" HOOK_HEADER=$HOOK_HEADER}{/if}
|
{if !empty($display_header)}{include file="$tpl_dir./header.tpl" HOOK_HEADER=$HOOK_HEADER}{/if}
|
||||||
{if !empty($template)}{$template}{/if}
|
{if !empty($template)}{$template}{/if}
|
||||||
{if !empty($display_footer)}{include file="$tpl_dir./footer.tpl"}{/if}
|
{if !empty($display_footer)}{include file="$tpl_dir./footer.tpl"}{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user