MDL-26784 Improved plugins check screen and the new plugins management screen
authorDavid Mudrak <david@moodle.com>
Wed, 9 Mar 2011 23:50:18 +0000 (00:50 +0100)
committerDavid Mudrak <david@moodle.com>
Thu, 31 Mar 2011 11:59:05 +0000 (13:59 +0200)
commitb9934a173a7bebc23db4cd3a0970a99f2fb933fe
treeeb351b8f34553e4f7e725bc4d3f23e66d1046564
parentdae6b38c5127584f84a779481b1a0e55eb6acdfb
MDL-26784 Improved plugins check screen and the new plugins management screen

This patch introduces new lib/pluginlib.php library that provides
unified access meta-information about all present plugin types. The
library defines plugin_manager singleton that in turn gathers
information about all present plugins and their status. The list of
plugins can be rendered either as plugins check table or plugins control
panel.

This makes print_plugins_table() function obsolete and because it is not
expected to be called by any contrib plugin, the function is removed.
CSS for the legacy table generated by print_plugins_table() is cleaned
up.
16 files changed:
admin/index.php
admin/plugins.php [new file with mode: 0644]
admin/renderer.php [new file with mode: 0644]
admin/settings/plugins.php
lang/en/admin.php
lib/adminlib.php
lib/moodlelib.php
lib/outputrequirementslib.php
lib/pluginlib.php [new file with mode: 0644]
theme/anomaly/style/general.css
theme/base/style/admin.css
theme/canvas/style/admin.css
theme/canvas/style/tables.css
theme/formal_white/style/core.css
theme/formal_white/style/formal_white.css
theme/standard/style/admin.css