?> </ul> <?php } ?> <?php if (isset($all_authors) && $all_authors->num_rows > 0) { ?> <h3>Auteurs</h3> <ul class="list-unstyled"> <?php foreach ($all_authors->result() as $row) { ?> <li><?php echo author_url($row->u_login); ?> </li> <?php } ?> </ul> <?php } ?> <?php if (isset($all_tags) && count($all_tags) > 0) { ?> <h3>Tags</h3> <ul class="list-unstyled">
function testFromDefaultToAuthor() { $this->withRequestTo('/user'); $this->assertEquals('http://localhost/author/mart', author_url(array('name' => 'mart'))); }