Shuo/client/templates/toggle.tpl

16 lines
288 B
Smarty
Raw Normal View History

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>
</div>