0
如何使下面的列表中的選定鏈接變爲粗體,以便您看到您位於Page ex頁面上。 3或5Smarty部分製作選定的鏈接粗體
有了這段代碼,如果你點擊一個鏈接,你不知道你在哪個頁面上。
聰明的代碼看起來像這樣;
{section name="sitelinks" start=0 loop=$total->sitelinks}
<span class='tag'>
<a href='/member/{$campaign->id}?start={$smarty.section.sitelinks.index*$limit}&limit={$limit}&sort={$sort}&sortDir={$sortDir}'>
{$smarty.section.sitelinks.index}
</a>
</span>
{/section}