Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

showsublinks

Will display the site links for the subheader navigation found in many PHPFusion themes.

showsublinks

Quote

showsublinks ( [ string $sep [ , string $class ] ] )


Parameters
sep
Separator between links, default is ยท

class
Custom class for the <li> tags containing each link.

Return Values
Returns a string containing all the subheader links wrapped with <ul> and <li> as a list.

Basic showsublinks() example
Code
<?php
echo showsublinks(" - ", "my-class");
?>

Subheader links will be displayed as a list, and first link will get the first-link class added to the class.

Output from the base example

Quote

<ul>
<li class='first-link my-class'> - <a href='forum/index.php'><span>Forum</span></a></li>
<li class='my-class'> - <a href='articles.php'><span>Articles</span></a></li>
<li class='my-class'> - <a href='weblinks.php'><span>Links</span></a></li>
<li class='my-class'> - <a href='faq.php'><span>FAQ</span></a></li>
<li class='my-class'> - <a href='search.php'><span>Search</span></a></li>
</ul>


Changelog
7.01.00 - Added possibility to use the [b] [i] [u] and [colour] BBCodes in the link names for styling and optimised query.