navMenu = new QuickMenu.Menu("webnav","functions");
if ("BaseGroup".match(/AdminGroup/)) {
navMenu.Add("Users","/bin/view/%MAINWEB%/WikiUsers","/pub/System/DocumentGraphics/person.gif");
navMenu.Add("Groups","/bin/view/%MAINWEB%/WikiGroups","/pub/System/DocumentGraphics/group.gif");
navMenu.Add();
}
navMenu.Add("Search","/bin/view/System/WebSearch","/pub/System/DocumentGraphics/searchtopic.gif");
navMenu.Add("Index","/bin/view/System/WebTopicList","/pub/System/DocumentGraphics/index.gif");
navMenu.Add("Site Map","/bin/view/System/?template=System.SiteMapView","/pub/System/DocumentGraphics/indexlist.gif");
navMenu.Add("Changes","/bin/view/System/WebChanges","/pub/System/DocumentGraphics/changes.gif");
navMenu.Add("Notifications","/bin/view/System/WebNotify","/pub/System/DocumentGraphics/notify.gif");
navMenu.Add("RSS Feed","/bin/view/System/WebRss","/pub/System/DocumentGraphics/feed.gif");
navMenu.Add("Preferences","/bin/view/System/WebPreferences","/pub/System/DocumentGraphics/wrench.gif");
userMenu = new QuickMenu.Menu("user","functions");
userMenu.Add("Log In","/bin/login/System/NuMenuBarContents?origurl=/bin/view/System/NuMenuBarContents","/pub/System/DocumentGraphics/key.gif");
userMenu.Add("Register","/bin/view/System/UserRegistration","/pub/System/DocumentGraphics/pencil.gif");
new QuickMenu.Menu("foswiki","functions");
new QuickMenu.Menu("main","functions");
%CALC{$SET(monthold, $TIMEADD($TIME(), -30, day))$SET(count,0)}%
with (new QuickMenu.Menu("forum","webs")) {
%CALC{$IF($EXEC($GET(count) < 1), Add("Nothing new to report from the last 30 days");,)$SET(count,0)}%
}
with (new QuickMenu.Menu("blog","webs")) {
%CALC{$IF($EXEC($GET(count) < 1), Add("Nothing new to report from the last 30 days");,)}%
}
groupsMenu = new QuickMenu.Menu("groups","webs");
new QuickMenu.Menu("emofs","webs");
new QuickMenu.Menu("km","webs");
Topic revision: r1 - 03 Sep 2008 - 12:56:21 -
DavidPatterson?