Add a link in the Admin Console to the Addons section of webgui.org
This commit is contained in:
parent
e8dfffe53e
commit
b8d7466e65
5 changed files with 27 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
BIN
www/extras/adminConsole/addons.png
Normal file
BIN
www/extras/adminConsole/addons.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
BIN
www/extras/adminConsole/small/addons.png
Normal file
BIN
www/extras/adminConsole/small/addons.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Loading…
Add table
Add a link
Reference in a new issue