-
Notifications
You must be signed in to change notification settings - Fork 0
/
block.tpl
43 lines (40 loc) · 1.41 KB
/
block.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!--__b_{$id}-->
{if $header}
<div id="block_{$name}"
class="box {$classname}{if isset($collapsible) && $collapsible} collapsible{if isset($collapsed) && $collapsed} collapsed{/if}{/if}" {if isset($manageMode)} vm-hidden="{$hidden}"{/if}>
{if isset($position) && 'landing' == $position}
<div class="container">
{/if}
<h4 id="caption_{$name}" class="box__caption">
<span>{$title|escape}</span>
{if isset($icons) && $icons}
<span class="box__actions">
{foreach $icons as $icon}
<a href="{$icon.url}" {$icon.attributes} id="{$icon.name}_{$name}">{$icon.text}</a>
{/foreach}
</span>
{/if}
</h4>
<div id="content_{$name}" class="box__content"{if isset($display) && !$display} style="display: none;"{/if}>
{else}
<div id="block_{$name}" class="box box--no-header {$classname}"{if isset($manageMode)} vm-hidden="{$hidden}"{/if}>
{if isset($position) && 'landing' == $position}
<div class="container">
{/if}
{/if}
<!--__b_c_{$id}-->
{$_block_content_}
<!--__e_c_{$id}-->
{if $header}
</div>
{if isset($position) && 'landing' == $position}
</div>
{/if}
</div>
{else}
{if isset($position) && 'landing' == $position}
</div>
{/if}
</div>
{/if}
<!--__e_{$id}-->