1357 Commits

Author SHA1 Message Date
samhemelryk
0fd3556d26 question MDL-20225 Fixed bugs with redirection url and the first element be unreachable 2009-09-11 06:52:00 +00:00
stronk7
63dc5bfcb2 Getting same records twice... ;-) 2009-09-08 08:41:43 +00:00
samhemelryk
ea3c6b7405 question MDL-19820 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 01:43:08 +00:00
samhemelryk
d412354cc6 question MDL-19820 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 02:36:39 +00:00
pichetp
86e8577599 MDL-19418 Correcting expression by escaping ~ so that it is interpreted as a charracter 2009-09-06 20:34:09 +00:00
pichetp
06f80c6ce7 MDL-20176 Eliminate all PARAM_CLEAN, MDL-17366 cleaning code 2009-09-06 19:06:23 +00:00
pichetp
a800639b62 MDL-20189 correcting for the value of correctanswerlength on calculated export 2009-09-04 02:09:23 +00:00
gbateson
50476da5c3 MDL-20184 use $this->error() to print error message if no questions found importing from a Hot Potatoes XML file into Moodle's question bank / Quiz module 2009-09-01 01:25:23 +00:00
gbateson
e564571835 MDL-20184 more efficient and accurate detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module 2009-09-01 01:05:41 +00:00
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