脚本宝典收集整理的这篇文章主要介绍了php – 将整个Smarty模板包装在{strip}标签中有什么问题吗?,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
{strip} <div class="albums"> <h2>Alle Foto-Alben</h2> <ul class="photos clearfix"> {foreach $albums as $album} {if $album->publishedPhotos|count > 0} <li> <div> <a href="album.PHP?id={$album->id}"> <img src="{$album->tITlepic->thumb}" alt="{$album->titlepic->title}" /> <span class="title">{$album->title}</span> <span class="counter">{$album->publishedPhotos|count} Foto{if $album->publishedPhotos|count != 1}s{/if}</span> </a> </div> </li> {/if} {/foreach} </ul> </div> {/strip}
以上是脚本宝典为你收集整理的php – 将整个Smarty模板包装在{strip}标签中有什么问题吗?全部内容,希望文章能够帮你解决php – 将整个Smarty模板包装在{strip}标签中有什么问题吗?所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。