Commit Graph

135 Commits

Author SHA1 Message Date
samhemelryk b0f4e4e442 questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank 2009-09-16 02:43:58 +00:00
samhemelryk 0fd3556d26 question MDL-20225 Fixed bugs with redirection url and the first element be unreachable 2009-09-11 06:52:00 +00:00
skodak 622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +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 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 723d610c91 MDL-19820 Migrated calls to print_heading 2009-08-06 08:26:06 +00:00
tjhunt c9f153058e question bank: MDL-19826 Merge from MOODLE_19_STABLE. 2009-07-15 04:06:03 +00:00
tjhunt a28c92539e MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:38:41 +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 f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +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
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
samhemelryk aa37f5e315 question bank MDL-18822 Corrected merge error in HEAD, thanks Oleg for spotting 2009-06-08 03:23:24 +00:00
tjhunt aa9c6ecf02 question bank: MDL-18822 Highlight the last question you edited in the list
Helpful if you need to edit a lot of questions - saves you from losing your place.
Idea and patch by Oleg Sychev.
2009-06-05 08:30:53 +00:00
tjhunt 8bc590f5df qtypes help: MDL-5106 Create questiontype help file dynamically 2009-02-26 07:07:40 +00:00
tjhunt b974f94757 quiz editing: MDL-18355 Try to improve the discoverability of Description again. 2009-02-26 06:33:18 +00:00
tjhunt 7cf3af550c quiz editing: MDL-18355 further refinements to the UI. Thanks Olli. 2009-02-26 05:53:31 +00:00
tjhunt cd120b2344 quiz editing / question bank: MDL-18355 Convert the add question drop-down to be a button that pops up a YUI dialogue.
That allows us to have a few sentences explanation of each question type, and is also easier to fit into a tight layout.

This commit should also fix MDL-18214 Layout screwed in Safari with long category names.
2009-02-25 07:14:03 +00:00
pichetp 38e74ec41c MDL-16345 changing &course to &courseid
line1079
  return $CFG->wwwroot . '/question/preview.php?id=' . $questionid . '&courseid=' . $this->course->id;
2009-02-23 20:20:07 +00:00
tjhunt 2d1e69d37b question bank: MDL-18215 select all checkbox does not always work. 2009-02-13 05:06:01 +00:00
tjhunt 2a874d65ce quiz editing: MDL-17455 refactor the editing code to use the locallib functions to print the icons.
Also, use the new method in the random question class to get the list of random questions reliably.
2009-02-11 10:08:07 +00:00
tjhunt 692d0480e0 question bank: MDL-16345 minor pritification. 2009-01-23 07:29:12 +00:00
tjhunt bfb1691da3 question bank: MDL-18000 Make select all work by clicking the checkbox column heading.
Yay! I got bug 18000 and it is already fixed.
2009-01-23 06:05:25 +00:00
tjhunt b7a9dc5193 question bank: MDL-17992 and MDL-17397. Put back questiontext as a separate row option, and increase consistenscy between stand-alone qbank and the display in the quiz editing page. 2009-01-23 05:01:37 +00:00
tjhunt e4d1d5e010 question bank: MDL-17871 finish refactor of code into one class per column.
Needs tidying up, but basically there, so checking it in.
2009-01-22 09:19:37 +00:00
tjhunt 971c6fca06 question bank: MDL-17871 Kill most of the duplicated code between mod/quiz/editlib.php and question/editlib.php 2009-01-22 05:38:18 +00:00
tjhunt 0ff5afdfbf question bank: MDL-17871 Possibility for tool tips on column headings. 2009-01-22 02:32:39 +00:00
tjhunt babdcb4024 question bank: MDL-17302 fix errors in the previous commit. 2009-01-21 08:52:42 +00:00
tjhunt b221dc6f23 question bank: MDL-17302 refactor question bank display code into a class.
Step 3. Start working ot the code to initialise things from a list of columns, and build the corresponding SQL query.
2009-01-21 08:49:15 +00:00
tjhunt 5bd22790c4 question bank: MDL-17871 refactor the code that displays particular information about each question into classes.
More work in progress. Print column headers, and improve sorting. These classes are still not used.
2009-01-21 07:21:43 +00:00
tjhunt 46795afcbd question bank: MDL-17871 refactor the code that displays particular information about each question into classes.
Work in progress. Most required classes are writted, but nothing uses them yet, and I have not dealt with column headers yet.
2009-01-20 10:11:23 +00:00
tjhunt 5b5e5ab20c question bank: MDL-17302 refactor question bank display code into a class.
Step 2. Remove as many as possbile of the differences between the two classes. This is mostly whitespace and irrelevant code formatting issues, but there are also a few changes to the generated output, taking the best of both views.
2009-01-19 08:50:48 +00:00
tjhunt f4b879ddea question bank: MDL-17302 refactor question bank display code into a class.
Step 1. Just convert the existing functions quiz_question_showbank and question_showbank and friends into methods of a class and subclass.

More to come.
2009-01-19 05:30:01 +00:00
tjhunt b4a2e41313 quiz editing: MDL-17284 fix infinite redirect bug. 2009-01-07 07:12:37 +00:00
skodak 973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
skodak d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
tjhunt df4e224454 question bank: MDL-14434 Cannot edit the only question category in a context. 2008-11-27 11:50:29 +00:00
tjhunt fa583f5f6e quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.
This was started and usability tested as a Finnish Summer of Code project, and then Olli did further work on it in his own time to get it in shape for inclusion in Moodle 2.0. I reviewed all the code. There are a number of minor outstanding issues that will be fixed soon. See the subtasks of MDL-17284 for a list.

The goal of these changes is to:
* help teachers new to Moodle, so when they first see the quiz editing page, they don't go "Huh! What on earth am I supposed to do here?"
* help novice Moodle users understand and learn to use some of the more advanced quiz feature;
* but, without slowing down more experienced quiz users.

Naturally, with ambitous goals like that, we won't have managed to satisy everybody, but I think this change is a big step in the right direction.

There is extensive documentation on this project at http://docs.moodle.org/en/Development:Quiz_UI_redesign.
2008-11-20 06:59:11 +00:00
tjhunt a856c14ed6 Whitespace fix. 2008-09-10 05:26:35 +00:00
tjhunt fec2094ee6 moodle_database conversion error. 2008-09-09 07:00:16 +00:00
tjhunt bc59cef302 Comment update. 2008-09-08 06:59:11 +00:00
skodak 1eda520124 MDL-16223, MDL-16222 - error string improvements 2008-08-27 16:34:23 +00:00
dongsheng ac93d63d2a MDL-14129, remove error() in question module 2008-07-24 04:20:44 +00:00
nicolasconnault f34488b2e6 MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing. 2008-06-06 14:43:15 +00:00