28621 Commits

Author SHA1 Message Date
nicolasconnault
34d6a78987 MDL-11406 Removed lang files from block folder, and put them in en_utf8 and fr_utf8 2007-09-28 08:46:25 +00:00
nicolasconnault
e9096dc2ca MDL-11480 Reviewed, tested, and pplied Petr's patch. 2007-09-28 07:55:51 +00:00
toyomoyo
84b6310d00 adding a fieldset 2007-09-28 07:25:09 +00:00
toyomoyo
db4ff7f8bc minor fixes/typo for notes 2007-09-28 07:21:48 +00:00
toyomoyo
667e08ef42 minor fixes for bulk user actions, adding ?>, using delete_user() function to delete users, etc 2007-09-28 03:07:03 +00:00
toyomoyo
e5ea84faba MDL-11478, fixing a notice 2007-09-28 01:53:45 +00:00
stronk7
6bb919860b Passing $course to require_login() provides correct and
automatic navlinks to the course. MDL-11452
2007-09-27 23:37:42 +00:00
nicolasconnault
9fa46707f3 MDL-11456 the .grade-report-grader table {} style was cascading down to the popups (which use tables, alas...), so I created a number of css classes which now control color, font etc for caption and feedback cells of the popup. 2007-09-27 18:00:25 +00:00
stronk7
b199b236ba _new is _blank 2007-09-27 15:10:52 +00:00
jmg324
ef0bd87b3f generate_email_supportuser needs to set maildisplay for email_to_user to include proper support details. 2007-09-27 12:38:40 +00:00
skodak
ae8adf77c0 MDL-10791 format_float() now supports non-localised output too (. decimal separator forced) 2007-09-27 09:58:40 +00:00
skodak
95aa0af862 MDL-11472 fixed harcoded mdl_ prefix in sql queries 2007-09-27 08:41:19 +00:00
skodak
42626376f3 MDL-11442 removed last instances of global $course 2007-09-27 08:18:28 +00:00
jamiesensei
11a6096775 fixed closing of popup on saving question which was broken and also added closing of popup on cancel. 2007-09-27 08:17:09 +00:00
jamiesensei
cb14dd6316 modifiedby and timemodified is now set when a question is created as well as createdby and timecreated instead of being left as zero 2007-09-27 07:41:58 +00:00
skodak
662a057c77 MDL-11451 adding default ipaddress restriction and 7 days lifetime for user key 2007-09-27 07:06:17 +00:00
skodak
d0cbeafbcb MDL-11451 fixing silly typo in cap name 2007-09-27 06:56:51 +00:00
tjhunt
411efaee25 MDL-5327 - When making up a default question name from the question text, strip any HTML tags. Merged from MOODLE_18_STABLE. 2007-09-27 06:54:17 +00:00
skodak
0a3bdfaf79 MDL-11451 grade publishing security/privacy improved - new capabilities needed for publishing, by default allowed only for admins; added warning to publishing option 2007-09-27 06:51:54 +00:00
toyomoyo
349a4aea81 fixing a typo 2007-09-27 03:02:01 +00:00
toyomoyo
0893aa30e8 when no gradebook roles is set, there are lots of sql breakages so we should check gradebookroles first 2007-09-27 02:29:46 +00:00
toyomoyo
4d7e30b3d8 modifying get_user_by_capability to handle requests on frontpage courses and sub contexts. MDL-11143 2007-09-27 01:46:41 +00:00
tjhunt
3b0ee367a7 MDL-11466 - failing to check for the case $rs = false in the accesslib performance improvements. Credit for the fix goes to Gareth Morgan. 2007-09-26 21:31:54 +00:00
tjhunt
771b1a46f7 MDL-9331 - Problem with the tables on the quiz index page. Merged from MOODLE_18_STABLE. 2007-09-26 20:45:23 +00:00
tjhunt
2d8bfda03f MDL-5086 - Improve the formatting of the question import and export help so that the code samples fit. Merged from MOODLE_18_STABLE. 2007-09-26 20:13:47 +00:00
tjhunt
4879c1ab03 Tweak the styles for <pre> tags in help files. These are mostly used for code samples, and they have a grey background and are shown in a different font, so the indent I am getting rid of is not necessarly to make the structure of the document clearn, and usually just means that the code sample does not fit. Merged from MOODLE_18_STABLE. 2007-09-26 20:10:08 +00:00
skodak
d7a61f65c1 MDL-10985 improved form validation in xml grade import 2007-09-26 19:34:54 +00:00
skodak
89489cfe94 MDL-11460 2007-09-26 19:25:50 +00:00
tjhunt
fba3ea31bc MDL-8682: Pressing enter when answering a short answer question can submit the wrong one. To fix this, I have disabled the enter key unless the keyboard focus is on a submit button (or inside a text box or HTML editor).
MDL-9451: Quiz answers can be lost if user navigates before page reloads. I am not totally sure I have fixed this, but I hope so. I moved the printing of the hidden form field with the list of questions on the page to the end of the form, so no answers will be processed unless the whole form loaded. Note that you could still lose data, but only if the page takes a really long time to load and you answer the first question and click submit before the whole quiz is loaded.

MDL-11463: The quiz uses two different timers, which is silly. I have removed the javascript that was ocasionally used to put a timer in the browser's title bar. Now we only use the one in the page for all cases.

Because MDL-8682 also needed javascript, I renamed timer.js to quiz.js so it could be a library of all the quiz's JavaScript, and started including it properly with require_js.
2007-09-26 18:15:31 +00:00
skodak
1843999a77 MDL-10985 merged the xml and xmlurl grade import plug-in 2007-09-26 18:11:48 +00:00
tjhunt
c6f9234ce3 Comment out an if (ajaxenabled()) check that was stopping any javascript included with require_js before print_header from being included, (but not js included afterwareds). See
http://moodle.org/mod/forum/discuss.php?d=81050 for discussion.
2007-09-26 17:48:27 +00:00
skodak
8925adab08 fix of disabledIf fix :-( 2007-09-26 17:30:24 +00:00
skodak
b6b1d1cac1 MDL-11460 new function moodleform->get_file_content($elname) in case we need to get content of uploaded files 2007-09-26 16:53:26 +00:00
skodak
4b282c641f fixed disabledif conditions 2007-09-26 16:49:37 +00:00
tjhunt
f59dba8497 MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
nfreear
d2bd42498c Follow-up for MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually. Reorder. 2007-09-26 12:53:04 +00:00
nfreear
b741d2ef95 Fixes "Notice: Undefined property: stdClass::$hideactivitytypenavlink..." 2007-09-26 12:44:35 +00:00
nicolasconnault
206f995349 Fixing OU report issues 2007-09-26 12:25:16 +00:00
moodler
ee8652f3de Not a pretty fix but it gets the preferences out of the way where users won't keep hitting the wrong submit 2007-09-26 11:42:36 +00:00
moodler
2f99f1da14 Fixed the HTML editor being too wide for the messaging window MDL-11242 2007-09-26 11:21:54 +00:00
sam_marshall
cdaa941032 MDL-11455 renamed function I just added, to make it more consistent (sorry) 2007-09-26 11:19:41 +00:00
sam_marshall
18d43e964b MDL-11455 Added function and option to grouplib (also corrected another comment) 2007-09-26 11:13:09 +00:00
skodak
c22e335d80 MDL-9636 fixed many sql injections in grade import code 2007-09-26 11:02:36 +00:00
nfreear
07916f13cc Follow-up for MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually, only in styling. Prefer "This week" to "Current week" 2007-09-26 10:57:46 +00:00
skodak
235b07fb64 MDL-9636 grade_items are now limited to current course only - can not import into other courses anymore 2007-09-26 10:54:09 +00:00
sam_marshall
d15da061a1 Corrected inaccurate comment (said 'group IDs' when it actually returns group objects) 2007-09-26 10:16:25 +00:00
tjhunt
44888f691a Add $Id$ tags. 2007-09-26 10:13:23 +00:00
tjhunt
8d503f7557 Get rid of duplicate $Id$ tags. 2007-09-26 10:11:13 +00:00
tjhunt
7e7b6825ef MDL-11446 - when a set of radio buttons is a required field, don't colour the lables of all the individual radio buttons red. 2007-09-26 10:02:00 +00:00
skodak
e9dea7af66 MDL-9636 corrected the creation of new manual grade items, added source parameter 2007-09-26 10:00:51 +00:00