You are here: STALklubben>System Web>NuSkin>NuMenuBarContents (2008-09-03, DavidPatterson?)EditAttach
navMenu = new QuickMenu.Menu("webnav","functions");
if ("BaseGroup".match(/AdminGroup/)) {
  navMenu.Add("Users","/foswiki/bin/view/Main/WikiUsers","/foswiki/pub/System/DocumentGraphics/person.gif");
  navMenu.Add("Groups","/foswiki/bin/view/Main/WikiGroups","/foswiki/pub/System/DocumentGraphics/group.gif");
  navMenu.Add();
}
navMenu.Add("Search","/foswiki/bin/view/System/WebSearch","/foswiki/pub/System/DocumentGraphics/searchtopic.gif");
navMenu.Add("Index","/foswiki/bin/view/System/WebTopicList","/foswiki/pub/System/DocumentGraphics/index.gif");
navMenu.Add("Site Map","/foswiki/bin/view/System/?template=System.SiteMapView","/foswiki/pub/System/DocumentGraphics/indexlist.gif");
navMenu.Add("Changes","/foswiki/bin/view/System/WebChanges","/foswiki/pub/System/DocumentGraphics/changes.gif");
navMenu.Add("Notifications","/foswiki/bin/view/System/WebNotify","/foswiki/pub/System/DocumentGraphics/notify.gif");
navMenu.Add("RSS Feed","/foswiki/bin/view/System/WebRss","/foswiki/pub/System/DocumentGraphics/feed.gif");
navMenu.Add("Preferences","/foswiki/bin/view/System/WebPreferences","/foswiki/pub/System/DocumentGraphics/wrench.gif");
userMenu = new QuickMenu.Menu("user","functions");
userMenu.Add("Log In","/foswiki/bin/login/System/NuMenuBarContents?origurl=/foswiki/bin/view/System/NuMenuBarContents","/foswiki/pub/System/DocumentGraphics/key.gif");
userMenu.Add("Register","/foswiki/bin/view/System/UserRegistration","/foswiki/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 - 2008-09-03 - 12:56:21 - DavidPatterson?
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding STALklubben? Send feedback