Source

MikMod for Java - jmikmod / site / wml / lib / MyNavData.pm

Full commit
package MyNavData;

my $hosts =
{
    'berlios' => 
    {
        'base_url' => "http://jmikmod.berlios.de/",
    },
};

my $tree_contents =
{
    'host' => "berlios",
    'text' => "MikMod for Java",
    'title' => "MikMod for Java - a multi-format Module Player for the Java Environment",
    'subs' =>
    [
        {
            'text' => "Home",
            'url' => "",
        },
        {
            'text' => "About",
            'url' => "about.html",
            'title' => "About this Site",
        },
        {
            'text' => "Download",
            'url' => "download/",
            'title' => "Download the code for the Site",
        },
        {
            'separator' => 1,
            'skip' => 1,
        },
        {
            'url' => "links/",
            'text' => "Links",
            'title' => "Related Links",
        },
    ],
};

sub get_params
{
    return 
        (
            'hosts' => $hosts,
            'tree_contents' => $tree_contents,
        );
}

1;