1190 Commits

Author SHA1 Message Date
Petr Skoda
6c772bcbf2 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead 2010-01-26 09:36:00 +00:00
Joseph Rezeau
dd3d051e44 revert to previous version 2010-01-23 22:56:36 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda
8afba50b84 MDL-21233 get_query_string() is definitely not recommended in new code, instead use moodle_url constructors with proper parameters; removed some more legacy url concatenation operations; realized out_action is not needed often, because we shoudl pass arounf moodle_url instances instead of old url strings 2010-01-17 10:54:13 +00:00
Petr Skoda
b9bc201962 MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!) 2010-01-17 09:50:55 +00:00
Petr Skoda
eb7880654f MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead 2010-01-17 09:37:30 +00:00
Petr Skoda
340d461269 MDL-21233 simplifying moodle_url->out() api 2010-01-17 09:18:11 +00:00
Petr Skoda
6ea66ff36c MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api 2010-01-17 09:06:55 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Pierre Pichet
347fb1755d MDL-12255 Putting back with all functions restored. 2010-01-15 20:37:03 +00:00
Pierre Pichet
8e8f9f3d6f MDL-12255 Removing temporarely the decoding as it does not allow to create a new
question in actual HEAD.
2010-01-15 14:18:46 +00:00
Pierre Pichet
5f36cbb087 MDL-17366 removing a print_r() 2010-01-15 12:21:58 +00:00
Pierre Pichet
ba95414539 MDL-21336 testing with $correct != '' so that correct answer 0 is shown in multianswer 2010-01-14 21:59:07 +00:00
Pierre Pichet
fbe60eb3ea MDL-21336 testing with $correct != '' so that correct answer 0 is shown 2010-01-14 01:29:46 +00:00
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
Sam Hemelryk
d8ae33a95c question MDL-21169 removed update_module_button calls from question these are now added by the module extending the navigation if there is a module specified for question pages.
Also fixed bug in moodle_url object coding_error to coding_exception
2009-12-23 02:45:22 +00:00
Pierre Pichet
8b831fbbc5 MDL-20296 hiding instructions HTML editor and reordering units controls 2009-12-22 10:37:41 +00:00
Pierre Pichet
b7c81cf066 MDL-20960 testing correctly response 0 as not null line 393 merged from 1.9 2009-12-19 21:30:31 +00:00
Pierre Pichet
be1bb80efa MDL-3282 , MDL-4595 error in numerical with comma . More number formats are allowed 2009-12-17 21:45:10 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +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
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
Gordon Bateson
cb514f984e for consistency, use 0x80 instead of 128 in hotpot_charcode_to_utf8() 2009-12-14 03:29:33 +00:00
Gordon Bateson
eaa658c4b2 MDL-20810: add missing function hotpot_charcode_to_utf8() required when importing Hot Potatoes files containing non-ascii chars into Moodle question bank 2009-12-08 04:13:20 +00:00
Sam Hemelryk
a5d96f9307 question MDL-20910 Fixed buggy conversion of link_to_popup_window 2009-12-07 02:43:35 +00:00
Tim Hunt
dad9893edb Missing global in upgrade code. 2009-11-27 10:56:39 +00:00
Tim Hunt
e14de5aa1c random question history MDL-20951: Two minor bugs in the fix for MDL-20776.
Thanks to Oleg Sychev for noticing these problems.
2009-11-24 11:49:21 +00:00
Tim Hunt
6224d7a10d question editing from quiz: MDL-20709 better return URL. 2009-11-19 19:09:04 +00:00
Tim Hunt
5c86dc7c72 question history: MDL-20776 state history was not shown for random questions
I took the opportunity to clean up the code that generates the history.
Thanks to Gábor Katona for helping to find the problem.
2009-11-19 19:03:55 +00:00
Tim Hunt
7846a624d5 question editing: MDL-20380 Highlight the last edited question when you cancel the form too. 2009-11-19 17:59:54 +00:00
Tim Hunt
85edde5c90 question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category. 2009-11-19 17:46:15 +00:00
Tim Hunt
5ffd1421a5 manual grading: MDL-20581 Fix potential XSS problem.
Thanks to Penny for spotting this.
Merged from MOODLE_19_STABLE.
2009-11-19 17:31:41 +00:00
Pierre Pichet
7189393ac0 MDL-20296 missing parameter in function call line 41 2009-11-17 10:18:46 +00:00
Pierre Pichet
1c5299bff6 MDL-20861 add the $this-> line 313 although was not able to test the result. 2009-11-17 02:20:40 +00:00
Moodle HQ git importer
14e31fa388 Fixing drift between CVS and git 2009-11-06 00:33:01 +00:00
Petr Skoda
3fac41f8dd MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:57:54 +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
81d1f0914d question bank: MDL-20707 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:15:18 +00:00
Petr Skoda
2e9b772fb8 MDL-20693 new NO_DEBUG_DISPLAY define 2009-10-31 22:02:05 +00:00
Pierre Pichet
03adfa13e5 MDL-20585 correcting so that the confirm check button appears only on reload
if errors are detected but also correcting the test setting an error on confir line
 394
2009-10-26 21:00:04 +00:00
Pierre Pichet
90a92bd0cd MDL-20585 correcting so that the confirm check button appears only on reload
if errors are detected
2009-10-24 03:03:34 +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
d3e3bd6cbc MDL-20585 Warning user of changes when editing a multianswer question used in a quiz
a first beta version, lang files remained to be defined
2009-10-21 13:45:52 +00:00