mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
David Mudrak
4564d58f9e
MDL-28168 Multi-language support for custom_menu reimplemented
This is a reimplementation of the multi-language support for the custom_menu class. The menu items now accept the forth optional parameter with the explicit list of languages the item is valid for. If no languages are listed, the item is valid for any language. The caller of the custom_menu constructor must provide the user's current language or null if the multi-language should not be supported (all items are valid for any language then, regardless the definition). See the attached unit tests for the examples of usage.
…
QUICK INSTALL ============= For the impatient, here is a basic outline of the installation process, which normally takes me only a few minutes: 1) Move the Moodle files into your web directory. 2) Create a single database for Moodle to store all it's tables in (or choose an existing database). 3) Visit your Moodle site with a browser, you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up Moodle, creating an admin account etc. 4) Set up a cron task to call the file admin/cron.php every five minutes or so. For more information, see the INSTALL DOCUMENTATION: http://docs.moodle.org/en/Installing_Moodle Good luck and have fun! Martin Dougiamas, Lead Developer
Description
Languages
PHP
78.1%
JavaScript
14.6%
Gherkin
3.5%
CSS
1.7%
Mustache
1.6%
Other
0.4%