Merge remote-tracking branch 'refs/remotes/origin/3.0'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / __box.tpl
CommitLineData
c14f5026
MS
1<{if $box->showHeader}section{else}div{/if} class="box{if $box->getImage()} boxWithImage{/if}{if $box->cssClassName} {$box->cssClassName}{/if}" data-box-identifier="{@$box->identifier}">
2 {if $box->getImage()}
bb6ef47e
MW
3 <div class="boxImage">
4 {if $box->hasLink()}
5 <a href="{$box->getLink()}">{@$box->getImage()}</a>
6 {else}
7 {@$box->getImage()}
8 {/if}
9 </div>
10 {/if}
11
12 {if $box->showHeader}
13 <h2 class="boxTitle">
14 {if $box->hasLink()}
15 <a href="{$box->getLink()}">{$box->getTitle()}</a>
16 {else}
17 {$box->getTitle()}
18 {/if}
19 </h2>
20 {/if}
55b402a0 21
a6baf745 22 <div class="boxContent{if $box->boxType == 'text'} htmlContent{/if}">
55b402a0
MW
23 {@$box->getContent()}
24 </div>
25{if $box->showHeader}</section>{else}</div>{/if}