683 Commits

Author SHA1 Message Date
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
Petr Skoda
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +00:00
Sam Hemelryk
56115eea49 navigation MDL-21177 Removed erroneous DB queries from module extension calls 2009-12-24 02:06:05 +00:00
Sam Hemelryk
0a1f8f8ffe mod-scorm MDL-20261 Added functions to extend navigation and removed update this module buttons 2009-12-23 01:47:57 +00:00
Dan Marsden
67f941099a SCORM MDL-17891 pass back correct state if storeData fails in LMSFinish - thanks to Peter Chamberlin for the report. 2009-12-18 10:34:59 +00:00
Dan Marsden
25d18a5288 SCORM MDL-18835 remove old comment 2009-12-18 10:12:12 +00:00
Dan Marsden
00c1677a99 SCORM MDL-18835 display time periods in "human-readable" format. - mainly for SCORM 2004 objects. - thanks to Vlas Voloshin for patch and unit tests! 2009-12-18 10:10:04 +00:00
Dan Marsden
8be1ab6b98 SCORM MDL-20122 badly formatted restore values - thanks to Michael Avelar for the fix 2009-12-18 08:19:51 +00:00
Dan Marsden
f6f7efeefb SCORM MDL-18857 allow items with a score of 0 to still display on outline report. 2009-12-18 07:22:50 +00:00
Dan Marsden
544bd6cd3b SCORM MDL-21024 missing field in restore. 2009-12-18 07:13:53 +00:00
Dan Marsden
15d0fae463 SCORM MDL-20588 workaround for IE 6 bug - turn zlib compression off if IE 6 is detected. 2009-12-18 06:40:59 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Dan Marsden
ad97538d8a SCORM MDL-20955 fix bad use of update_record - thanks Petr 2009-11-24 21:03:46 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
e5dd8e3bbd MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:24:58 +00:00
Nicolas Connault
1a96363a9d MDL-15050 Grades entered/updated through grader report now get correctly displayed in course user activity reports (commenting on last commit). Merged from MOODLE_19_STABLE 2009-10-27 12:37:15 +00:00
skodak
d18e0fe646 MDL-20353 adding missing data types of hidden form fields 2009-09-26 17:07:08 +00:00
samhemelryk
5c508e3f0c mod-scorm MDL-19815 Added set_url calls, replaced deprecated functions 2009-09-24 08:28:51 +00:00
ashleyholman
58aaa8e97e MDL-15897: Changed admin_setting_configtext.validate() check to not treat all strings as custom regex's (since PARAM_* constants are now strings).
Instead require them to have '/' at the beginning and end of the pattern.

The only setting that appears to use a custom regex is scorm/apidebugmask - now updated to contain surrounding slashes.
2009-09-18 03:52:50 +00:00
samhemelryk
ac310b3a7e lib-cookies MDL-19737 Removed need to include cookies.js on every page
Is only been used by SCORM and the chameleon theme so they include it locally when required
2009-09-17 06:42:54 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
samhemelryk
52869011ad scorm MDL-19815 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-04 01:41:51 +00:00
nicolasconnault
fcd1243be8 MDL-19815 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:46:03 +00:00
nicolasconnault
6aff538add MDL-19815 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:16:50 +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
fd21e467e5 MDL-19815 Converted calls to popup_form() 2009-08-10 03:36:01 +00:00
nicolasconnault
670bc3e7ef MDL-19815 Converted all print_footer() calls 2009-08-06 14:20:31 +00:00
nicolasconnault
465f165d10 MDL-19815 Migrated calls to print_heading 2009-08-06 08:21:24 +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
dc58020794 MDL-19756 Refactored JS code from SCORM and choice modules into the core function submit_form_by_id() 2009-07-28 11:24:57 +00:00
nicolasconnault
4eeec9ac75 MDL-19815 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:32:23 +00:00
skodak
0a8a7b6c24 MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
skodak
86900a93bb MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:40:37 +00:00
skodak
98edf7b647 MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:39:39 +00:00
tjhunt
d436d197d1 MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693

RIP $CFG->pixpath
2009-07-03 07:55:30 +00:00
samhemelryk
183abffc6b mod-scorm MDL-16706 Added missing global from commites yesterday 2009-07-03 01:36:18 +00:00
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
samhemelryk
0e2f318080 mod-scorm MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:40:54 +00:00
samhemelryk
f3665549b8 mod-scorm MDL-16706 Replaced inline JS with new PAGE methods and created player.js 2009-06-29 02:38:22 +00:00
samhemelryk
bd257031a9 mod-scorm MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 06:31:26 +00:00
samhemelryk
9f3193726c javascript MDL-16706 Removed inline script call in mod choice and scorm 2009-06-23 01:18:22 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +00:00
skodak
a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak
bf8e93d704 MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings 2009-06-03 20:00:08 +00:00
samhemelryk
28f672b2df mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 05:30:46 +00:00