<%doc>

=head2 navbar 

This is a navigation bar to go across the page. (Or down the side, or
whatever you want to do with it.) It displays all the tables which are
accessible, with a link to the list page for each one.

=cut

</%doc>
<%args>
    $config
    $base
    $request
</%args>

<div id="MPNavContainer">
<ul id="MPNav">
% foreach my $table ( @{ $config->{ display_tables } } ) {
% my $css_active = ' class="Active"' if $table eq $request->{ table };
<li<% $css_active %>><& mplink, table      => $table,
                                base       => $base,
                                config     => $config,
                                command    => 'list', 
                                label      => $table,
                                &></li>
% }
</ul>
<br style="clear: both" />
</div>
