1378 Commits

Author SHA1 Message Date
Pierre Pichet
cf14669208 MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple 2010-04-28 20:31:54 +00:00
Pierre Pichet
aa6fae5c70 reordering strings 2010-04-28 10:31:55 +00:00
Pierre Pichet
5940864e84 MDL-15252 integrate qtype_dependent.php strings in qtype_calculated.php and replace qtype_dependent in get_string() 2010-04-28 03:34:38 +00:00
David Mudrak
81f5372325 MDL-21694 regression: plugins with lang only
When I re-committed strings from AMOS, I accidently created three plugins with the lang folder only: portfolio/format_leap2a, repository/draft and question/type/datasetdependent. Removing them now.
2010-04-27 11:43:04 +00:00
Pierre Pichet
5a5487ff7f correcting the addrule required 2010-04-24 09:48:37 +00:00
Pierre Pichet
a387e8ac3c Setting help element for each file formats, TODO help filles 2010-04-24 09:44:42 +00:00
Pierre Pichet
05f7f7c1b4 Setting help element for each file formats, TODO help filles 2010-04-24 09:25:32 +00:00
Pierre Pichet
f942cd72e6 Moving setHelpButton('format',.. after addgroup($radioarray,'format' so it applies to an existing form element 2010-04-24 03:31:42 +00:00
Pierre Pichet
04d8268d82 MDL-10110 adding import export xml for calculatedmulti and calculatedsimple 2010-04-23 23:10:11 +00:00
Pierre Pichet
34e24cd360 MDL-10110 correcting answers display and defining CALCULATEDMULTI for format 2010-04-23 23:07:52 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Tim Hunt
453b28d818 Fix $PAGE->set_url initialisation order. 2010-04-12 13:31:42 +00:00
Petr Skoda
3e0e25efd1 MDL-22060 fixed $a in string to match new rules
AMOS START
 REM fixed $a[] in [cannotinsertquestioncatecontext, core_question]
AMOS END
2010-04-11 16:45:55 +00:00
Petr Skoda
9770b8f03a MDL-22054 adding missing calculatedmulti lang file 2010-04-11 09:48:51 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Tim Hunt
4ba32cf15d question base type: Fix typo. 2010-04-06 11:49:50 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
David Mudrak
9d68aee786 MDL-21694 Moving question formats strings 2010-03-29 22:20:53 +00:00
David Mudrak
001fa4b313 MDL-21694 Moving question types strings into plugin space 2010-03-29 20:40:06 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Tim Hunt
e65701ee2d nobug: whitespace fixes. 2010-02-23 14:31:07 +00:00
Tim Hunt
6d6b454aca match qtype: MDL-21701 / OU bug 9551 Fix display of response history.
The displays were being displayed in an order that depended on what the student had
selected, not the order in which the subquestions were displayed.

Great attention to detail by the OU testing team to notice this!
2010-02-23 12:47:02 +00:00
Eloy Lafuente
d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Petr Skoda
929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda
000c278cff MDL-20204 new pix_icon renderable widget 2010-02-11 14:59:00 +00:00
Petr Skoda
c5dbaba9cf MDL-20204 converted selects 2010-02-11 09:18:13 +00:00
Petr Skoda
edc28287b2 MDL-21577 converting select auto submit code 2010-02-10 16:20:28 +00:00
Petr Skoda
94fa6be479 MDL-20204 more single_selects converted 2010-02-10 11:51:49 +00:00
Petr Skoda
4cd3dac990 MDL-20204 sorry for the forgotten debug code 2010-02-10 11:38:14 +00:00
Petr Skoda
a5f655adcc MDL-20204 init weirdness TODO 2010-02-10 11:34:59 +00:00
Pierre Pichet
a6aa2c4226 MDL-10110 removing common code with calculated/questiontype.php 2010-02-08 20:27:49 +00:00
Pierre Pichet
78a6d0ba1f MDL-10110 removing call to multichoice field from code 2010-02-08 18:47:16 +00:00
Pierre Pichet
c9acc7728f MDL-10110 dropping multichoice field in question_calculated_options table 2010-02-08 18:44:53 +00:00
Pierre Pichet
ab8b51424c MDL-10110 Modifications related to the creation of the calculatedmulti question type 2010-02-07 19:52:52 +00:00
Pierre Pichet
2d279432b0 MDL-10110 Creating the calculatedmulti question type 2010-02-07 19:50:10 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
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