3749 Commits

Author SHA1 Message Date
michaelpenne
d6941aff55 Recoded most of the left menu:
Got rid of a table
Restructured and added more div tags in the left menu (much more logical)
Reworked the styles for the left menu in the styles sheet (everything should be customizable via style sheet)
More compatible with MacIE5
Added styles to the individual links in the menu (allows styling the for currently selected page and for all the rest)
Cleaned up the left menu link generation in locallib.php
2005-10-05 22:45:38 +00:00
stronk7
d75584e3e6 Now entries containing apostrophes can be exported to main glossay
and deleted without problems. Bug 4136.
(http://moodle.org/bugs/bug.php?op=show&bugid=4136)

Merged from MOODLE_15_STABLE
2005-10-05 18:27:40 +00:00
gbateson
6cadcaf077 attempt.php now includes view.php for "mobile" outputformat; added checks, hints and score for "mobile" outputformat 2005-10-05 13:00:42 +00:00
gbateson
4fcd13b2b4 simplified logic which handles passing of invalid (non-numeric) atrtemptid 2005-10-05 03:49:35 +00:00
gbateson
5ceaebac4f modified handling of JCross question numbers in hotpot_add_attempt_details() 2005-10-05 03:47:50 +00:00
mjollnir_
5cde495031 Merged from MOODLE_15_STABLE (ish): Fixing the mass migrate postgres upgrade to be silent in quiz. Added a fix to a previous rename table that breaks pg_dump & pg_restore (incorrectly named sequence) 2005-10-05 01:36:59 +00:00
michaelpenne
b8437c1cbc Removed filtering on page contents, answers and responses for lesson pages and their answers (this includes removing parameter cleaning and noclean in format_text).
Also, fixed some warning errors in action/updatepage.php.
2005-10-03 21:29:05 +00:00
michaelpenne
8b87bbde6c BIG FIX: "Edit Page Contents" button for when $pageid is empty (first page) 2005-10-03 19:46:44 +00:00
gbateson
5237207862 added some reporting for HP5 (v5 and v6) quizzes; improved reporting on JCross and JQuiz multichoice; some modifications to prepare for upcoming "mobile" output format; corrected positioning bug when IE displays feedback box on long reading 2005-10-03 00:06:45 +00:00
patrickslee
9db357c08b Improved number rounding for grades fix (Merged from MOODLE_15_STABLE 2005-10-02 22:03:36 +00:00
stronk7
4cce92bdb4 Make some extra chacks because there were some problems
with invalid manifests and PHP5.
2005-10-01 21:51:26 +00:00
gustav_delius
e4ec114a07 fixed a help button 2005-10-01 13:36:50 +00:00
michaelpenne
544121b12d Switched buttons in lesson navigation to stylized links similar (well, the same rather for default) to the home button in the footer. This will allow for easy (hopefully) personalized customization of the buttons in lesson (ex: background images, colors, etc).
styles.php: added new styles, added comments and cleaned it up
view.php: converted the buttons for each question type to the new button standard.  Also recoded branch table button layout generation.
action/continue.php: updated the buttons there as well.
2005-09-28 21:55:05 +00:00
gbateson
b045850b40 improved the display of "Give Up" button and <IFRAME> navigation buttons (however <IFRAME> still does not resize on FireFox) 2005-09-28 03:14:54 +00:00
stronk7
af0b56397d Minor bug with some unclosed tags solved. 2005-09-27 16:09:58 +00:00
gbateson
76a72c55b8 use while loop instead of foreach loop during regrade, to allow for the possibility of splitting a regrade and so avoid "maximum execution time exceeded" errors 2005-09-27 04:46:28 +00:00
bobopinna
95b58efe16 Downgraded Moodle requirements to Moodle 1.5 2005-09-26 15:16:49 +00:00
bobopinna
77f18d3936 Added the new popup window mode 2005-09-26 15:15:07 +00:00
bobopinna
27a10b8dd8 Fixed a problem with version datamodel 2005-09-26 15:08:39 +00:00
gbateson
e2f9f968cc slight modificaition to the function which updates from v1.2.0 or v1.2.1 to v1.2.2, so as to catch all incorrectly labelled "in progress" attempts 2005-09-26 11:33:53 +00:00
gbateson
4e31156d03 when updating from v2.1.0 or 2.1.1, check there is no more than one "in progress" attempt per user for each quiz, and if there is such an attempt, it must be the most recent attempt on the quiz by that user 2005-09-26 01:27:31 +00:00
gbateson
51b2d9910b switch output_formats v3, v4, v5 and moved "hotpot_flush" function to "db/update_to_v2.php" 2005-09-26 00:44:52 +00:00
stronk7
1c8564642d xml:base attribute can be inside the manifest tag too. Thanks
to SCORM specifications clarifying this IMS CP detail! :-)
2005-09-24 17:59:51 +00:00
stronk7
52966535a1 Small hack to see Table of Contents correctly both under UTF-8 and
ISO-8859-1 sites. We will delete this once Moodle was migrated to UTF-8.
2005-09-23 22:41:40 +00:00
stronk7
1d317869c8 Changed a bit how <xml:base> works, instead of priorizate one of them,
simply concatenate them.
2005-09-23 22:25:59 +00:00
stronk7
d86a923ba5 Now the IMS CP resource works fine with packages using the <xml:basde> tag
(both at global and individual levels, following the priorization specs)
2005-09-23 00:21:26 +00:00
gbateson
77cf1e9060 ensure %-signs in "reportpercentscore" are doubled for sprintf (only applies to Moodle 1.4 and less) 2005-09-22 07:32:56 +00:00
gbateson
1e5a7649c3 allow teacher to select reports on single students 2005-09-22 06:38:41 +00:00
gbateson
bb380677cd modified reports to allow rowspan and colspan settings to work with "remove_column" function 2005-09-22 04:40:45 +00:00
gbateson
0c59601c11 changed some variable names to improve readability:
$i, $ii, $iii => $str_start, $cdata_start, $cdata_end,
 $hp->files => $hp->references
2005-09-22 01:19:00 +00:00
stronk7
50d83d8f05 <span> tags are now allowed inside post->subject. Bug 4099.
(http://moodle.org/bugs/bug.php?op=show&bugid=4099)

Merged from MOODLE_15_STABLE
2005-09-21 21:29:09 +00:00
michaelpenne
b46d9213ba Added styles to the next and previous buttons on branch tables to allow customization 2005-09-21 21:00:36 +00:00
urs_hunkler
508308fb7c Added CSS properties for Firefox for fixed placement of the timer. It is a preliminarily fix. Please follow Bug #4053. 2005-09-21 14:23:13 +00:00
stronk7
9b50609c8e Error messges improved & detect some exceptions ins the manifest file
(strange chars)
2005-09-21 12:34:50 +00:00
gbateson
d4e351cd8b SQL to update clickreportid must be done one statement at a time 2005-09-21 11:53:04 +00:00
gbateson
1ee38bed41 when adding a "chain" of HotPots, check quiz specified in "Next" button has not already been added 2005-09-21 11:51:07 +00:00
stronk7
406e4672f7 Problem with reference parameters solved under PHP 4.x. Bug 4102.
(http://moodle.org/bugs/bug.php?op=show&bugid=4102)
2005-09-21 10:27:04 +00:00
gbateson
2393e715d6 renumbered steps 1,2,3,3,4 => 1,2,3,4,5
signalled steps 3 and 4 as not required for Moodle 1.5 and later
2005-09-21 00:25:51 +00:00
stronk7
7fe60b0c76 Now the ALL link in the paging bar is under the
glossary->showall setting control. Bug 4072.
(http://moodle.org/bugs/bug.php?op=show&bugid=4072)

Merged from MOODLE_15_STABLE
2005-09-20 17:19:44 +00:00
gbateson
6241666438 removed XSS hole caused by urldecode 2005-09-20 11:48:50 +00:00
thepurpleblob
ac04332685 Removed check for student/teacher on submit and replaced with check for (not)
guest, as (a) it didn't stop guests and (b) it broke the studentview mode
2005-09-20 09:22:06 +00:00
gbateson
4b83220717 Improved the setting of quiz name and summary for quiz chains 2005-09-20 07:12:00 +00:00
michaelpenne
cfdfadecd3 Changes the save button from 'Save' to 'Save Changes'. More moodley :) 2005-09-19 22:40:46 +00:00
michaelpenne
503114809f Added backup/restore code for essay question type. In the process of testing, fixed several other bugs
in the quiz restore code regarding state restoration.
2005-09-19 22:38:18 +00:00
michaelpenne
275161455f When one deletes a course, essay records in the quiz_essay are now deleted 2005-09-19 22:35:03 +00:00
michaelpenne
4f1b940454 The two .sql scripts were missing the uniqueid column in the quiz_attempts table. 2005-09-19 19:12:35 +00:00
stronk7
baceaf91f0 First version of the IMS CP resource module.
Known limitations:
    - IMS Metadata is not loaded (soon it will be).
    - IMS submanifests are not supported (is anybody using them?).
    - Need to convert loaded data to SITE->charset, have to think a bit about it.

But it loads IMS CP packages like a charm! ;-)
2005-09-19 16:53:02 +00:00
gbateson
7882cdaf79 improved handling of Hot Potatoes navigation buttons 2005-09-19 06:29:14 +00:00
patrickslee
7b2523bdba Added some number rounding for grades to prevent PostgreSQL errors (Merged from MOODLE_15_STABLE mod/quiz/locallib.php) 2005-09-19 00:26:23 +00:00
patrickslee
25c4cc57f8 Corrected some table/field names (Merged from MOODLE_15_STABLE) 2005-09-19 00:25:11 +00:00