[eluser]xtremer360[/eluser]
I'm attempting to turn an unordered list's lis into anchor links that have a special class, id, and href for each of them.
This is what I have so far:
Code:
<?php
$list = array(
'Login',
'Forgot Password'
);
$attributes = array(
'class' => 'uibutton-group'
);
echo ul($list, $attributes);
?>
Rendered should look like this:
Code:
<ul class="uibutton-group">
<li><a class="uibutton normal" href="#" id="but_login">Login</a></li>
<li><a class="uibutton normal" href="#" id="forgetpass">forpassword</a></li>
</ul>