__section__
default
__description__
Display admin menu.

* items = arrayref of hashref of menu items (value (link), label)
* lightfontcolor = optional value for the font color of in the light mode menu
__title__

__page__
menu
__lang__
en_US
__name__
admin
__template__
[% IF constants.panic %]
        **&nbsp;PANIC&nbsp;LEVEL&nbsp;[% constants.panic %]&nbsp;**
[% END %]
[% subs = Slash.db.getSubmissionCount() %]
[% tabs = [
        { link = "$gSkin.rootdir/admin.pl",                     label = "Stories",              sel_label = "stories" },
        { link = "$gSkin.rootdir/admin.pl?op=edit",             label = "New",                  sel_label = "new" },
        { link = "$gSkin.rootdir/submit.pl?op=list",    label = "$subs&nbsp;Submissions", sel_label = "submissions" },
        { link = "$gSkin.rootdir/pollBooth.pl?op=edit", label = "Poll",                 sel_label = "poll" },
        { link = "$gSkin.rootdir/admin.pl?op=topics",   label = "Config",               sel_label = "topics" },
        { link = "$gSkin.rootdir/stats.pl",                     label = "Info",                 sel_label = "stats" },
        { link = "$gSkin.rootdir/admin.pl?op=recent",   label = "Security",             sel_label = "recent" },
	{ link = "$gSkin.rootdir/admin.pl?op=peerweights",	label = "PeerWeights",	sel_label = "peerweights" },
];
PROCESS tabbedmenu tabs=tabs color=color selected=page; lightfontcolor=lightfontcolor || "" %]

__seclev__
10000
__version__
$Id: admin;menu;default,v 1.19 2007/03/13 21:31:39 jamiemccarthy Exp $
