Add a link in the Admin Console to the Addons section of webgui.org

This commit is contained in:
Colin Kuskie 2010-09-01 08:57:34 -07:00
parent e8dfffe53e
commit b8d7466e65
5 changed files with 27 additions and 2 deletions

View file

@ -1,6 +1,6 @@
7.10.0
- fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding
post parameters
- fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding post parameters
- added: Link in the Admin Console to the Addons section on webgui.org
7.9.13
- fixed #11783: Instances deleted during realtime run

View file

@ -31,10 +31,28 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
addAddonsToAdminConsole($session);
finish($session); # this line required
#----------------------------------------------------------------------------
# Describe what our function does
sub addAddonsToAdminConsole {
my $session = shift;
print "\tAdd the Addons icon to the Admin Console... " unless $quiet;
# and here's our code
$session->config->addToHash('adminConsole',
addons => {
icon => "addons.png",
uiLevel => 1,
group => "12",
url => "http://www.webgui.org/community/addons",
title => "Addons"
});
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does
#sub exampleFunction {

View file

@ -401,6 +401,13 @@
"url" : "^PageUrl(\"\",op=switchOffAdmin);",
"title" : "^International(12,WebGUI);"
},
"addons" : {
"icon" : "addons.png",
"uiLevel" : 1,
"group" : "12",
"url" : "http://www.webgui.org/community/addons",
"title" : "Addons"
},
"contentFilters" : {
"icon" : "contentFilters.gif",
"uiLevel" : 3,

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB