diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 202ea2896..72bc46c6d 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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 diff --git a/docs/upgrades/upgrade_7.9.13-7.10.0.pl b/docs/upgrades/upgrade_7.9.13-7.10.0.pl index 8e2492a01..29a7f3394 100644 --- a/docs/upgrades/upgrade_7.9.13-7.10.0.pl +++ b/docs/upgrades/upgrade_7.9.13-7.10.0.pl @@ -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 { diff --git a/etc/WebGUI.conf.original b/etc/WebGUI.conf.original index 70f1d255c..5f54dce5e 100644 --- a/etc/WebGUI.conf.original +++ b/etc/WebGUI.conf.original @@ -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, diff --git a/www/extras/adminConsole/addons.png b/www/extras/adminConsole/addons.png new file mode 100644 index 000000000..e04cd4a1e Binary files /dev/null and b/www/extras/adminConsole/addons.png differ diff --git a/www/extras/adminConsole/small/addons.png b/www/extras/adminConsole/small/addons.png new file mode 100644 index 000000000..64fdb8056 Binary files /dev/null and b/www/extras/adminConsole/small/addons.png differ