71 Commits

Author SHA1 Message Date
Rossiani Wijaya
c165ce9f15 MDL-20447 - bulk upload: add heading to the page and fix navbar content. 2010-05-28 09:04:37 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda
18300e6b50 MDL-21577 fixed typos 2010-02-10 16:21:49 +00:00
Petr Skoda
edc28287b2 MDL-21577 converting select auto submit code 2010-02-10 16:20:28 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Sam Hemelryk
448052a5fd mod-lesson MDL-21006 Refactored renderer->header method, removed logic to function in locallib 2009-12-18 03:50:38 +00:00
Petr Skoda
649cf95d0b MDL-21147 renamed find_renderer back to get_renderer() - there are no more collisions with those magic getters 2009-12-17 14:06:22 +00:00
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Sam Hemelryk
0a4abb7306 mod-lesson MDL-21006 Huge refactoring of the lesson code
The following are notable changes made in this commit
* Lesson page type are now class based and extend an abstract class. This includes a class for the page type and a class for the creating/editing a instance of this page.
* Converted all forms to mforms
* Action script located in mod/action/* were worked into the above so far less switch statements and the action directory will be removed.
* Implements a custom renderer
* Converted everything to use page, output, and custom renderer methods
* Replaced all deprecated methods incl. print_textarea conversions
* Tried to cut down on excessive DB calls.
Things worth noting:
* The focus of this patch was on cleaning up the module not rewriting it, as such I have organized NOT rewritten. There are still many areas in the module where the code could be greatly improved however to do so would require a rethink/rewrite
2009-12-16 02:00:48 +00:00
Petr Skoda
472e56620e MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:17:21 +00:00
Petr Skoda
86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
samhemelryk
c69499369e mod-lesson MDL-20259 Created callback methods to expand navigation and settings blocks
Also fixed up minor bugs and added calls set_url
2009-09-16 06:22:12 +00:00
nicolasconnault
3ab269ed44 MDL-19812 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:45:33 +00:00
nicolasconnault
d68ccdbaaa MDL-19812 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:15:52 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
f7e6b8624a MDL-19812 Converted all print_footer() calls 2009-08-06 14:14:24 +00:00
nicolasconnault
04a7ba52e9 MDL-19756 Removed explicit aligning CSS class from $OUTPUT->heading() calls 2009-08-06 08:55:02 +00:00
nicolasconnault
08ed955b35 MDL-19812 2009-08-06 08:22:47 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault
4854006b63 MDL-19812 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:32:44 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
dongsheng
1858ba0c67 "MDL-14129, fix print_error" 2008-06-12 11:52:15 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
318e374544 MDL-15112 converted some skipped dml stuff 2008-06-09 12:29:40 +00:00
jerome
646fc29036 MDL-15112 lesson dml conversion 2008-06-06 04:03:40 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
b64792f664 MDL-13736 Wrapped the link in a div and fixed the style. Merging from MOODLE_19_STABLE 2008-02-29 21:46:14 +00:00
nicolasconnault
fb739b77e0 MDL-13050 merging from 1.9 2008-02-04 13:57:36 +00:00
mark-nielsen
72c61e0996 Mergin fix for MDL-11684 from MOODLE_19_STABLE 2007-10-13 03:12:27 +00:00
mattc-catalyst
0ffa2c950e MDL-10888: groupings - mod/lesson - updated to support groupings 2007-08-27 23:05:42 +00:00
skodak
bb5b72244a MDL-10890 all require_login() in modules reviewed and fixed use of $cm 2007-08-17 12:49:28 +00:00
skodak
76317c73a2 MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon 2007-08-10 15:00:35 +00:00
skodak
92bcca38cd MDL-9550 Implement calls of grade_update() function in Lesson 2007-06-11 11:25:24 +00:00
mark-nielsen
107470cb3a Merged in fixes for MDL-8375 from MOODLE_17_STABLE 2007-02-02 02:27:03 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
mark-nielsen
15d2933a00 Merged in changes from MOODLE_17_STABLE for bug MDL-2006 2006-12-06 02:04:37 +00:00
toyomoyo
5169310847 merged fix for MDL-7112 select distinct on text field 2006-11-02 02:17:39 +00:00
martinlanghoff
ea9a729f80 mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters 2006-09-26 05:11:29 +00:00
mark-nielsen
7c03355aab Fix for the instance mentioned in MDL-3058 2006-09-19 05:11:57 +00:00
mark-nielsen
51c870d253 Notice fix in report for numerical question types 2006-09-19 04:48:13 +00:00
mark-nielsen
260a56b114 Added some more stats to reports, added more actions to collapsed view and increased speed of lesson by using lesson_set_message() and redirects with 0 second delays. 2006-09-13 03:42:16 +00:00
mark-nielsen
9695a91e2f Fixed sesskey problem 2006-09-10 01:43:24 +00:00
mark-nielsen
8d1b4ee7b5 Added proper page comments and inform user when attempts have been deleted 2006-09-10 01:40:38 +00:00
mark-nielsen
35b179fa73 Updated to use new handy library functions 2006-09-10 01:30:57 +00:00
mark-nielsen
6e1ff5c8fb MDL-6477: Added roles support.
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
mark-nielsen
be1af5b770 Moved the require login and isteacher checks to infront of the form data processing 2006-04-29 07:37:52 +00:00