Petr Skoda
46df3c6059
Merge branch 'MDL-25981'
2011-01-31 22:44:17 +01:00
sam marshall
0d8b6a69ce
lib MDL-25981 Improved modinfo
...
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields
The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Eloy Lafuente (stronk7)
a0c3fc6304
MDL-25708 recordsets - fix course & enrol dir uses
2011-01-25 19:58:59 +01:00
Dan Poltawski
3b9a74ce53
course reports MDL-25881 - incorrect string
2011-01-16 14:58:41 +00:00
Petr Skoda
0e3fdf10c2
Merge branch 'MDL-24984' of git://git.luns.net.uk/moodle
2011-01-10 14:38:16 +01:00
Paul Vaughan
43fa145137
course/lib MDL-24984 - fix lack of spacing on category list
...
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-09 20:35:21 +00:00
andyjdavis
a170818189
course MDL-25831 made course request notifications work
2011-01-04 13:35:08 +08:00
Sam Hemelryk
060cd0c887
course MDL-25269 Fixed up module/resource indentation on the course view page. Now uses div margins rather than spacer images.
2010-11-19 04:02:21 +00:00
Petr Skoda
516c5eca68
MDL-24698 hopefully fixed all completion_info problems
2010-11-17 06:23:56 +00:00
David Mudrak
45e8775911
MDL-13379 mnet: course overview at my home page displays remote courses, too
...
The patch submitted by Hubert Chathi. I just changed it a bit to use
moodle_url instead of string URLs and to use s() instead of format_string()
when putting the course fullname into title="" attribute value.
2010-11-16 13:40:34 +00:00
David Mudrak
b31b2d842d
MDL-14790 ajax delete confirmation box now uses the same wording as the non-ajax confirmation page
2010-11-09 11:55:26 +00:00
David Mudrak
c0b5d9252b
MDL-25072 Stop abusing $CFG->ajaxcapable and $CFG->ajaxtestedbrowsers
2010-11-09 11:54:58 +00:00
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
David Mudrak
18f8a34fd8
NOMDL fixed typo in variable name
2010-10-19 15:38:53 +00:00
jerome mouneyrac
fcb4decd09
registration MDL-24582 average number of participant and average number of course module functions
2010-10-18 08:01:32 +00:00
Petr Skoda
fbaea88faa
MDL-24321 switching to stdClass in /c*/
2010-09-21 08:13:11 +00:00
Sam Hemelryk
002fc5baaa
enrolments MDL-22795 Added icons to the front page courses list
2010-09-21 02:56:39 +00:00
Petr Skoda
7e85563de5
fixed a few spelling errors
2010-09-17 12:16:27 +00:00
Petr Skoda
c575aaf012
removed unused code
2010-09-17 12:10:28 +00:00
Petr Skoda
cf41dc372e
added missing cfg global
2010-09-17 12:09:38 +00:00
Petr Skoda
d5abe1b537
fixed missing global user
2010-09-17 12:08:46 +00:00
Petr Skoda
c8d8100048
fixed allowed module mess, sorry for the regression
2010-09-17 12:08:10 +00:00
Petr Skoda
e92c39cadc
improved phpdocs
2010-09-17 12:04:48 +00:00
Sam Hemelryk
f3e5bf8642
course MDLSITE-972 Fixed course names names not being displayed on /course/
2010-09-17 08:49:19 +00:00
David Mudrak
0f07802493
MDL-15457 gradebook: fixing a regression, plain fetch() does not work with modules having multiple grade items per instance such as workshop
2010-09-16 08:16:26 +00:00
Sam Hemelryk
58d89c2467
navigation MDL-24216 rebuild_course_cache now clears all navigation caches at the same time
2010-09-15 08:33:00 +00:00
Petr Skoda
472c1022d6
MDL-23876 Fixed a typo that prevented certain custom icons in activity modules; credit goes to Brandon Turner
2010-09-08 07:50:58 +00:00
Petr Skoda
c6947ba7a5
MDL-23899 migration to new locale aware asort
2010-09-05 13:00:47 +00:00
Petr Skoda
4758639429
MDL-24080 converting remaining NOT LIKEs
2010-09-04 14:52:47 +00:00
Petr Skoda
8086b08328
MDL-24079 log migrated to new sql_like(), removing unnecessary preg test that had potential utf8 problem; removed extra '-'
2010-09-04 12:36:00 +00:00
Petr Skoda
f685e83030
MDL-14679 fixed remaining old style set_field()s
2010-09-03 18:14:55 +00:00
Andrew Davis
f5e2602aea
gradebook MDL-15457 hide grade item when activity is hidden in the course
2010-09-03 02:49:04 +00:00
Sam Marshall
46e1237279
Completion MDL-23995 Completion, availability data not deleted with modules/course
2010-09-01 17:02:56 +00:00
Petr Skoda
bf423bb1d1
MDL-22795 basic support for course enrol icons and enrol info
2010-08-18 09:02:05 +00:00
Petr Skoda
ede7252234
MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect & in JS code
2010-08-12 20:37:24 +00:00
Petr Skoda
2a63b636d7
MDL-23583 fixing incorrect $this
2010-08-01 09:52:54 +00:00
Rossiani Wijaya
ea831ceb6d
MDL-20459 - convert $OUTPUT->spacer to use CSS. eliminate echo '<div>' to use html_writer::tag
2010-07-26 05:43:10 +00:00
Petr Skoda
525e16ce0c
MDL-22735 finally fixed incorrectly hardcoded groupedit button on course page in edit mode
2010-07-25 18:04:36 +00:00
Rossiani Wijaya
2afcfc44cf
MDL-23501- convert table to CSS.
2010-07-23 08:34:59 +00:00
Rossiani Wijaya
cb184beb24
MDL-20459 - update list of categories layout to support accessibility. Convert table to CSS.
2010-07-23 08:11:22 +00:00
Rossiani Wijaya
3aa11c75c3
MDL-21619 - add label to activities and resources icons.
2010-07-23 02:15:43 +00:00
Jonathan Harker
c71f326514
MDL-20876 Fix remaining split() calls.
2010-07-20 03:27:36 +00:00
Inaki
54a0159805
course/lib.php: MDL-23401 Fix regression introduced in MDL-23255 that prevents course creation when new course data doesn't include visibility info
2010-07-19 17:44:08 +00:00
David Mudrak
152a2273be
MDL-22787 MNet: Fixing regressions in auth_mnet caused by changes in enrol_mnet
...
This smells - IMHO auth_enrol should not do anything with the enrolment
related information. These two plugins seem to be tied too much...
2010-07-17 22:34:12 +00:00
Petr Skoda
08fd3268d2
MDL-23227 fixed stupid coding errors, mod restriction settings work again
2010-07-15 18:24:20 +00:00
Petr Skoda
db1218a970
MDL-23255 fixed inverted isset preventing visibility change in course edit form (creadit goes to Jay Knight) + fixed visibility of new course in hidden category when not allowed to change visibility; improved comments
2010-07-14 14:23:32 +00:00
Petr Skoda
70740405d2
MDL-22909 fixed course request regressions
2010-07-10 15:46:07 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
Martin Dougiamas
370f9570c7
Tweaking the display of the course overview block, spacing etc
2010-06-24 05:58:42 +00:00
Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00