mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 21:36:58 +01:00
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements * Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B * is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page * added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups' * quiz/mod.html migrated to formslib * glossary/edit.html migrated to formslib * extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation. * added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form. * added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element. * added default 'action' for moodleform - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
Glossary version 0.5 dev ------------------------ By Williams Castillo (castillow@tutopia.com) This is the Glossary module. Created and maintained by Williams Castillo. This are my first lines in PHP... It means that, although I've tried to do my best, it might (in fact, it does) shows my inexperience... in PHP... and moodle as well. Basically, this module allows you to maintain a repository of data in the form of concepts, Entry->Definitions, etc. Thus: - Entries could be automatically linked from within moodle resources, labels, forum posts, etc. - Entries can have aliases which allows to automatically link the concept to other words than itself. - Glossaries can be viewed in a printer-friendly version format - The display format of the entries is modular so you can create your own formats (and share them with the Moodle community!) - Entries are posted by teachers and can be posted by students as well - Entries can be approved before make them public. - Entries can have an optional attached file. - Entries can be commented by any registered user. - Entries can be categorized (one entry can belongs to zero or more categories) - Entries can be browsed by letters (initials), categories or by date. - Entries can be exported and imported Quick install instructions 1) Be sure you have at least Moodle 1.2 dev installed 2) Be sure to have the latest version of the module 3) Be sure to have the latest language for english (en) and your own language. 3) Create a directory inside you /mod directory and name it: glossary 4) Copy all the files in this directory inside the one you've created in step 3. 5) Pay a visit to your admin area 6) Have fun. Comments and suggestions are always welcome. All the best, Will