# The Red Matrix: include/nav.php File Reference

All Classes Namespaces Files Functions Variables Pages
nav.php File Reference

## Functions

| nav (&$a)
| nav_set_selected ($item)

## Function Documentation

nav | ( | & | $a | ) |

Build page header and site navigation bars

Provide a banner/logo/whatever

Display login or logout

"Home" should also take you home from an authenticated remote profile connection

The following nav links are only show to logged in users

Admin page

Provide a banner/logo/whatever

Referenced by construct_page().

nav_set_selected | ( |  | $item | ) |

Referenced by channel_content(), connections_content(), directory_content(), events_content(), help_content(), mail_content(), message_content(), network_content(), notifications_content(), profiles_init(), and search_content().