10953 Commits

Author SHA1 Message Date
thepurpleblob
bb5e13d514 factored out function to see if question is used in quiz into the library 2005-01-27 16:10:25 +00:00
urs_hunkler
89e9f3608b Sorted and commented CSS acording to the standard CSS files. Almost ready for a first go. 2005-01-27 12:35:48 +00:00
urs_hunkler
d796e6d839 Minor changes. 2005-01-27 12:34:28 +00:00
thepurpleblob
ddd8f87f7a multianswerchoice questions added to example questions. 2005-01-27 11:24:26 +00:00
thepurpleblob
2d4aa134d5 Addition code to handle 'multianswerchoice' type Learnwise questions. 2005-01-27 11:22:45 +00:00
mits
d175f50f97 polished. 2005-01-27 08:25:07 +00:00
martinlanghoff
af4e9e5fd4 Merged from MOODLE_14_STABLE - Reverting validation in current_language() due to performance concerns. 2005-01-27 07:10:41 +00:00
defacer
744fd5bb3b Styles for doc/contents.php. 2005-01-27 05:21:00 +00:00
defacer
e78bd550b2 End the page with correct HTML. 2005-01-27 05:20:31 +00:00
defacer
5b13d65b07 Fixed SC#83 and the HTML to boot. I 'll add some styles to bring the
end result back to normal.
2005-01-27 05:01:16 +00:00
defacer
9c581405ab More HTML and CSS fun with the new block.
Incidentally, does Mozilla have a bug here? It won't apply the text-align
property to those TDs which have been given a class through a COLGROUP.
IE does it correctly all the way, and Firefox applies the other properties
but seems to take exception at the text-align. Weird.
2005-01-27 04:19:56 +00:00
defacer
3779fd556e Out goes the ORDER BY grade + 0 hack, now that grade is a float.
Also, fixed a logic error with sorting in group mode.
2005-01-27 03:53:20 +00:00
martinlanghoff
b6c93894fb Merged from MOODLE_14_STABLE - Stronger validation of form data in user/edit, and validation of lang in current_language() -- closes SC#67 2005-01-27 03:51:33 +00:00
defacer
7a652b5f2b Switching back to an interger-rounded retrieved best grade. Will probably
be more human-friendly on screen.

e.g. "What does 66.67 out of 100 mean?"
2005-01-27 03:14:56 +00:00
defacer
28926a08e9 Changing that despicable grade column from mdl_quiz_grades to a
floating point data type, as it should be.
2005-01-27 03:10:57 +00:00
defacer
35f45a0d83 It seems that grades are saved with two decimal points of precision while
they are being retrieved as integers. Changed it to two decimals everywhere
and continuing to go about it...
2005-01-27 02:45:38 +00:00
defacer
cb8057dee2 Semantically it's better if quiz_get_best_grade returns NULL
if there is no such grade.
2005-01-27 02:39:15 +00:00
mjollnir_
873bf8758f Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*! 2005-01-27 02:35:10 +00:00
mjollnir_
f8688e0f37 Removing debug error_log calls in uploadlib 2005-01-27 02:30:45 +00:00
defacer
d5838a4b20 Double quotes to single and blah blah. 2005-01-27 02:30:32 +00:00
mjollnir_
e3a232138a Fix for add_to_log to stop notification of invalid call to isteacher. Some actions aren't associated with a course and therefore isteacher shouldn't get called 2005-01-27 02:29:53 +00:00
defacer
9d6773603d Minor beautification, plus a detail: if the grade is 0.0, this function
would return a grade of 0, which is obviously not the intent here.
2005-01-27 02:28:04 +00:00
defacer
e7a935aafa This was pulling out all those records and doing absolutely nothing
with them. Sanitized the place a bit.
2005-01-27 02:26:00 +00:00
mjollnir_
f63a559570 Fixing bug #2419 - missing global $CFG in upgrade for choice resulting in missing prefix 2005-01-27 02:17:35 +00:00
dhawes
c4370fbfa4 fixed function name 2005-01-27 01:59:43 +00:00
dhawes
d58a3c8a3d removed excess paren, again - still a type-o 2005-01-27 01:57:30 +00:00
dhawes
2a16ea3a43 removed excess param - type-o 2005-01-27 01:55:02 +00:00
dhawes
b021c82d82 using rss_unhtmlentities for channel and item title as well as for item description 2005-01-27 01:43:29 +00:00
dhawes
0bae4f8c0f Moved function from blog/lib to rsslib. unhtmlentities is required to liberate some rss feed information from the clutches of encoding. 2005-01-27 01:24:33 +00:00
dhawes
319f73c933 Another bug discovered and squashed by Dan Marsden. Reversed logic fixed when editing feeds. 2005-01-27 00:55:13 +00:00
mits
692666f2ee README changed a little. 2005-01-26 23:19:01 +00:00
defacer
eb111397cd Polishing the styles for the quiz_results block a bit. 2005-01-26 22:31:42 +00:00
defacer
ba05c3aeeb More language strings for the quiz_results block. I think that will be all. 2005-01-26 22:23:39 +00:00
defacer
00a4237f24 Correcting a mistake: hide the block if there are no results for that quiz. 2005-01-26 22:22:55 +00:00
defacer
6b4dc5a31b New: The block now works in group mode too!
Bugfix: Grades were not being displayed correctly as percentages.
2005-01-26 22:14:22 +00:00
urs_hunkler
90a149ff14 Sorted and commented CSS acording to the standard CSS files. Not yet ready. 2005-01-26 21:45:19 +00:00
dlnsk
30458b5411 Major changes 2005-01-26 21:21:16 +00:00
urs_hunkler
7005a81c11 Optimized the Structure to make it even more "readable". 2005-01-26 20:18:17 +00:00
defacer
41dafe04ce Provisional fix for the "100% < anything else" bug.
If it's compatible with Postgres, then cool!
2005-01-26 19:59:08 +00:00
mits
dfbffa05b3 new help files translated. 2005-01-26 17:33:16 +00:00
koenr
d3ce500ab7 changed "samenvatting" (from course summary) to "beschrijving" - more intuitive 2005-01-26 17:06:40 +00:00
mits
80003aa00e polished. 2005-01-26 16:47:09 +00:00
mits
e749f65065 translated some.
new translated file added.
2005-01-26 16:39:52 +00:00
urs_hunkler
331411de3c CSS properties supplemented to deal with unwanted post modernism effects ;-) 2005-01-26 16:26:24 +00:00
urs_hunkler
772e78be99 I've deleted the hard coded distance (<br />) and added CSS properties in the CSS files to define the distance between the sideblocks. 2005-01-26 15:57:00 +00:00
koenr
633305b4c9 missing strings 2005-01-26 15:33:50 +00:00
defacer
eaba9c8510 Adding that nifty BODY id and class detection code to pages... I have the
feeling that this is the way to go, as more Moodle things will be converted
to use $PAGE in the future.
2005-01-26 15:33:50 +00:00
urs_hunkler
992b59719f Sorted and commented CSS. Now you find an intro with a short overview, a short index and the info where to place new CSS. It was a quite nitpicking work, so please help and look at it and tell me, if everything is all right - sort order, do you find anything fast, etc. 2005-01-26 15:10:47 +00:00
koenr
ef86247e18 missing strings 2005-01-26 15:08:38 +00:00
koenr
93d882dfe9 missing string 2005-01-26 14:50:58 +00:00