Student projects/Admin page cleanup
From MoodleDocs
I'm currently working on porting the settings to XML and putting together the new index.php admin page. Please use the talk page to leave me any comments, I'll be checking it regularly.
This just in: no XML! The new format will be PHP/OO-based. New code to come soon. (Till then, take a look at the Reorg page, which still contains useful data.)
Key Project Tasks
(done) Design XML DTD(done) Design OO format for admin- (almost done -- 3 issues remaining) Design new admin block
- (in progress -- 100% complete) Reorganize and port Moodle admin settings to OO structure
- (almost done -- 3+ issues remaining) Code script for displaying and accepting input from new admin interface
- (almost done -- 2 issues remaining) Build a per-user bookmarking system for admin settings
- (not yet started) Code the necessary PHP to highlight changed settings after an upgrade
Remaining Issues
- Find a good way to mark settings that are set on initial install
- Find a good way to display settings that are added (or set to default values) during an upgrade
- Figure out how user_is_editing() should work in admin/pagelib.php
- Specify the $paramtype for all admin_setting_configtext objects and children
- Specify the $role for all admin_externalpage and admin_settingpage objects
- Specify explicit $precedence values for all admin_externalpage, admin_settingpage, and admin_category objects
- Fix non-language-specific strings, and add required langfile strings
- Work out a way to handle gd_version
Links
- Get back to the Student Projects listing.
- You can get my official SoC app here.
- My sample moodle setups are
here for 1.5,here for 1.6and here for 1.7 beta.