hardlounge/client/templates/toggle.tpl

17 lines
304 B
Smarty
Raw Normal View History

2014-09-27 23:47:04 +00:00
{{#toggle}}
2014-09-27 19:17:05 +00:00
<div class="toggle-content">
{{#equal type "image"}}
2014-09-27 20:39:14 +00:00
<a href="{{link}}" target="_blank">
<img src="{{link}}">
2014-09-27 19:17:05 +00:00
</a>
{{else}}
2014-09-27 20:39:14 +00:00
<a href="{{link}}" target="_blank">
<div class="head">{{{head}}}</div>
<div class="body">
{{body}}
</div>
</a>
2014-09-27 19:17:05 +00:00
{{/equal}}
</div>
2014-09-27 23:47:04 +00:00
{{/toggle}}