2010-06-21 78 views

回答

1

只要告訴它蛞蝓是活躍的觀點,並做

<li<?php echo ($activeSlug === $thisSlug) ? ' class="active"' : NULL; ?>></li> 
1

也期待在Request::$uri,您可以訪問使用Request::instance()->uri

if (Request::instance()->uri === $link) $active = TRUE;