hardlounge/client/views/toggle.tpl
The Bastard Operator 7ef2da0c83 Fix XSS vulnerability
2015-08-16 03:28:21 +02:00

20 lines
378 B
Smarty

{{#toggle}}
<div class="toggle-content">
{{#equal type "image"}}
<a href="{{link}}" target="_blank">
<img src="{{link}}">
</a>
{{else}}
<a href="{{link}}" target="_blank">
{{#if thumb}}
<img src="{{thumb}}" class="thumb">
{{/if}}
<div class="head">{{{parse head}}}</div>
<div class="body">
{{body}}
</div>
</a>
{{/equal}}
</div>
{{/toggle}}