Commit graph

1398 commits

Author SHA1 Message Date
gbateson
eb01b2e976 MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file 2009-08-31 02:08:00 +00:00
gbateson
489a7b243f MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module 2009-08-31 01:36:01 +00:00
skodak
53e8c830fb MDL-20176 param types mandatory - temporary hacks, needs to be fixed properly 2009-08-27 20:54:52 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
pichetp
1bf9a6311e MDL-19519 , MDL-1728 minor strings changes 2009-08-22 16:50:46 +00:00
pichetp
505f73421c MDL-19519 , MDL-1728 Adding database question_calculated_options 2009-08-22 15:38:51 +00:00
pichetp
ac5230fe8e MDL-18924 Testing if dataitems are numericals 2009-08-22 15:00:51 +00:00
pichetp
f79a4158ad MDL-19519 , MDL-1728 Adding database question_calculated_options
final strings text will be added later after users comments
2009-08-22 14:59:46 +00:00
pichetp
e593233a22 MDL-19519 , MDL-1728 Adding database question_calculated_options 2009-08-22 14:54:36 +00:00
pichetp
1ee53ca929 MDL-19519 , MDL-1728 Adding database question_calculated_options
MDL-18924 Testing in dataitems are numericals
2009-08-22 14:53:41 +00:00
nicolasconnault
80e7bb44cf MDL-19820 Upgraded calls to link_to_popup_window() 2009-08-20 13:17:43 +00:00
nicolasconnault
a941387a02 MDL-19820 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:49:11 +00:00
nicolasconnault
fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
nicolasconnault
44c64ad857 MDL-19820 Upgraded calls to choose_from_menu 2009-08-18 00:13:28 +00:00
nicolasconnault
bda3e711c6 MDL-19820 Fixed missing $OUTPUT and a couple of other little bugs 2009-08-11 03:32:51 +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
beb677cda6 MDL-19820 Converted print_box* to $OUTPUT->box* 2009-08-10 05:01:23 +00:00
nicolasconnault
68e90fcc13 MDL-19820 Converted calls to popup_form() 2009-08-10 03:41:33 +00:00
nicolasconnault
9c7886e7e1 MDL-19820 Converted calls to print_paging_bar 2009-08-07 01:39:38 +00:00
nicolasconnault
9b59580b36 MDL-19820 Converted all print_footer() calls 2009-08-06 14:19:16 +00:00
nicolasconnault
04a7ba52e9 MDL-19756 Removed explicit aligning CSS class from $OUTPUT->heading() calls 2009-08-06 08:55:02 +00:00
nicolasconnault
723d610c91 MDL-19820 Migrated calls to print_heading 2009-08-06 08:26:06 +00:00
nicolasconnault
e42f153c33 MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect($url->out())!!! Bad Tim! :p 2009-07-31 09:30:11 +00:00
stronk7
1a861d244b NOBUG Fixed error happening when restoring missingtype questions if answers weren't present (cast error) Merged from 19_STABLE 2009-07-29 19:00:55 +00:00
tjhunt
aeab3f8d37 calculated qtype: Remove unnecessary call-time pass by reference. 2009-07-24 09:18:19 +00:00
tjhunt
6acbb3192b Remove deprecated function call. 2009-07-22 07:05:57 +00:00
samhemelryk
7a567a92ba quiz MDL-17730 Fixed issues caused by escaped redirect urls 2009-07-20 06:52:40 +00:00
tjhunt
c9f153058e question bank: MDL-19826 Merge from MOODLE_19_STABLE. 2009-07-15 04:06:03 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
tjhunt
a28c92539e MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:38:41 +00:00
tjhunt
ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
tjhunt
42d5737a94 MDL-19690 fix some breakage. 2009-07-02 12:35:13 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
c8873c496b MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
2009-07-02 11:23:47 +00:00
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
tjhunt
4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
tjhunt
a5cb8d6987 MDL-19077 - Finish eliminating customcorners-specific code in core.
The custom-corners-specific code now in theme/customcornser/renderers.php
and lib/deprecatedlib.php.

Also, $CFG->pixpath is now causing more problems than ever. If it is
giving your problems, please call $OUTPUT->initialise_deprecated_cfg_pixpath()
as a temporary fix. As you can imagine, we are thinking about a better
long-term fix, which is why that method as a silly, and easy to grep name.
2009-06-29 08:17:31 +00:00
stronk7
81d18ad5c4 MDL-19579 code coverage - finished adding initial $includecoverage attributes 2009-06-26 18:25:46 +00:00
tjhunt
34a2777ccb themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
Also, part of the change from weblib.php functions to $OUTPUT-> methods.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.

The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.

A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.

All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
2009-06-26 09:06:16 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
tjhunt
25ddb7efc9 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
This is the final batch.
2009-06-15 07:57:53 +00:00
mudrd8mz
488275fc71 Fixed missing ";" - spotted during upgrade 2009-06-13 20:56:14 +00:00
skodak
fc29e51b2d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:34:43 +00:00
skodak
979425b584 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:04:21 +00:00
skodak
0bcf8b6f0d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:55:51 +00:00
skodak
bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt
3e38c3bf23 Yes the, new, more efficient, variant of the select all checkboxes function. 2009-06-12 12:07:35 +00:00
pichetp
0735b50962 MDL-17366 cleaning code ( space, indentation etc.) 2009-06-11 17:04:18 +00:00
samhemelryk
aa37f5e315 question bank MDL-18822 Corrected merge error in HEAD, thanks Oleg for spotting 2009-06-08 03:23:24 +00:00