addlinks — add standard top-of-the-page menus
use Wacs;
use WacsUI;
addlinks( | ...); |
| parameter | description |
|---|---|
| myname | name of the calling program |
| context | general area of the current page: possible values are
modelindex, models, search, tags, newimage, newvideo or
admin |
| title | Title of the menu (not currently used) |
| exclude | name of link to exclude (normally this apps name so it doesn't link to itself |
| mode | menu mode: either normal for old-style simple
top line menu or csshoriz to use javascript pull down
menus |
| options | optional parameter list (array) |
| optdesc | matching descriptions for the above |