Commit Graph

146 Commits

Author SHA1 Message Date
Petr Skoda 5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda 4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +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 47ce714bc0 MDL-21142 minor cleanup in out() default params 2009-12-16 21:33:01 +00:00
Petr Skoda f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda aeb15530b8 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:57:52 +00:00
Tim Hunt 1a9def7cc2 Move action icons closer to the question name in the question bank to make Oleg happy. 2009-10-23 18:44:02 +00:00
pichetp dd800cea85 MDL-20563 Applying a temporary patch to the confirm delete form.
A more permanent solution will follow after Tim advice
2009-10-22 14:24:27 +00:00
pichetp d6d8b94c3f MDL-20563 Applying a temporary patch so that paging is working on showbank.
A more permanent solution will follow after Tim advice
2009-10-14 19:46:00 +00:00
samhemelryk 5c5d514046 questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank 2009-09-16 02:59:20 +00:00
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