Created
May 30, 2012 09:46
-
-
Save bastianallgeier/2835185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<?php foreach(c::get('lang.available') as $lang): ?> | |
<li<?php if($lang == c::get('lang.current')) echo ' class="active"' ?>><a href="<?php echo url($site->uri(), $lang) ?>"><?php echo $lang ?></a></li> | |
<?php endforeach ?> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment