michaelpenne
5aeebbc894
re-arranged a lot of code. Only branch tables appear in slide show mode. Display left and slideshow works with tables now instead of stylesheets (helps with browser compatibility). Some XHTML fixes. Fixed grading essay questions for non-custom scoreing. Reformated a lot of output
2005-02-04 19:39:18 +00:00
michaelpenne
ea6c76e0f2
removed a lot of styles because left menu and slideshow work in a table instead of styles. This helps with compatibility with more browsers
2005-02-04 19:35:43 +00:00
michaelpenne
9d1bd908f5
fixed the clock formating.
2005-02-04 19:34:22 +00:00
michaelpenne
62d5291318
this is Petrs security fix for import
2005-02-04 19:33:33 +00:00
michaelpenne
9127f2494d
fixed a clean param function call
2005-02-04 19:31:24 +00:00
michaelpenne
b7daa75d08
most changes in continue section. Took it out of slideshow. Made some display changes with display left (not style sheet dependent now)
2005-02-04 19:30:19 +00:00
moodler
3ce16d70d7
Removed unmatched closing tag
2005-01-29 10:17:59 +00:00
michaelpenne
d9ef9b836d
fixed some prefixes, not sure how this didnt get noticed before ;)
2005-01-28 19:31:41 +00:00
michaelpenne
f862f00d54
variable cleaning and sesskey updates
2005-01-27 21:36:12 +00:00
michaelpenne
0733cc0062
made a change to lesson_clean_data_submitted and added some xhtml compliance fixes
2005-01-27 21:35:37 +00:00
michaelpenne
d6847e5d95
uncommented the require style sheet (was there a problem?), also rearranged lesson settings into categories.
2005-01-27 21:33:35 +00:00
michaelpenne
07fe38c02b
added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function (forgot comments before)
2005-01-26 00:30:46 +00:00
michaelpenne
57bfe93dca
added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function
2005-01-26 00:25:20 +00:00
michaelpenne
eb65aeb7fd
security updates: parameter cleaning
2005-01-26 00:22:51 +00:00
stronk7
1082105205
Modify sesskey behaviour. SC#73
2005-01-22 18:53:44 +00:00
michaelpenne
29a014c05a
corrected the sesskey code
2005-01-21 23:13:53 +00:00
michaelpenne
4ea3ce2fcb
added sesskey code to remove the sesskey error from updating the lesson from view.php
2005-01-21 19:02:57 +00:00
michaelpenne
bca6b842ca
fix class stats for essay questions
2004-12-06 20:33:44 +00:00
michaelpenne
8061400e0f
updated essay and short answer code to work with quotes (single and double)
2004-12-01 21:02:07 +00:00
michaelpenne
611e79fd75
updated essay code to work with quotes being used in user answer and teacher response
2004-12-01 21:00:49 +00:00
mjollnir_
33a55a6d55
Merged from MOODLE_14_STABLE: Indexes for lesson and version bump (honoring partial freeze)
2004-11-19 03:13:05 +00:00
michaelpenne
324da715f2
updated lesson_calculate_ongoing_score to match the grading algorithm used in view.php. Also suppressed a warning in lesson_print_tree_link_menu function.
2004-11-17 01:05:39 +00:00
michaelpenne
8bca120ff0
Changed the grading algorithm. Now it divides points earned by total points possible. Before was dividing points earned by max grade. Also updated essay grading to work much more reliably and fixed some formatting problems with essay emails.
2004-11-17 01:02:14 +00:00
moodler
2a488ba553
Some XHTML compatibility changes
2004-11-04 09:24:51 +00:00
moodler
df5da3fc88
Fixed missing prefix
2004-11-04 08:55:19 +00:00
paca70
5b9ce58cdc
Corrected typo in mysql.sql
...
Added support for postgresql.
BTW is it posible to use table_column() function also with mysql, that would make
mysql-code easily portable to other database-files.
2004-11-02 08:51:24 +00:00
michaelpenne
9390ae0017
added fields: useranswer field in lesson_attempts, and added modattempts to lesson and lesson_default tables, and removed essay table creation
2004-11-01 20:47:08 +00:00
michaelpenne
8f4c2d41e4
added alter table commands to insert useranswer field in lesson_attempts, and added modattempts to lesson and lesson_default tables
2004-11-01 20:44:06 +00:00
michaelpenne
2e75518667
added a link to report, changed conditions for displaying essay link, modified the essay functions to reflect the new view of an essay question, and updated view.php to work with modattempts option
2004-11-01 20:41:55 +00:00
michaelpenne
eb73cd47e0
moved output from inside this file, to lesson.php and view.php. Also now uses lang file.
2004-11-01 20:39:30 +00:00
michaelpenne
f50e2abc74
can restore the new backup code now
2004-11-01 20:37:16 +00:00
michaelpenne
37eeba778f
report displays statistics regarding users attempts for a particular lesson. If a student has attempted a lesson, a link will appear when you edit the lesson to view statistics. This feature works best with the newest version of lesson because lesson now retains more information regarding how the user answered a given question. Old lesson attempts will not display correctly.
2004-11-01 20:35:45 +00:00
michaelpenne
d01e2b0ba2
added a new setting which is modattempts
2004-11-01 20:27:28 +00:00
michaelpenne
9959aab238
on line #277 , return null instead of throwing an error
2004-11-01 20:25:42 +00:00
michaelpenne
ecb00e05e2
increased the lesson version number
2004-11-01 20:21:21 +00:00
michaelpenne
b986908256
changed lesson_calculate_ongoing_score function and added some comments
2004-11-01 20:18:26 +00:00
michaelpenne
db22702089
endofcluster pages are not displayed anymore, shortanswer wrong answers are interpreted correctly, added user answer tracking to attempts so it can be used later by report.php, essays are no longer insterted into an essay table... now kept in the useranswer field in attempts, fixed a problem with grading numerical questions, modified to work with modattempts option, fixed a problem with grading matching questions and fixed addpage so that it displays multichoice with the multianswer option
2004-11-01 20:15:11 +00:00
michaelpenne
493c24e5a8
backup now actually backs up. Includes all of our database changes
2004-11-01 19:53:06 +00:00
paca70
f3133619f0
Upgrades for protgresql.
2004-10-22 14:56:49 +00:00
moodler
1e448f63f4
Merged fix from stable
2004-09-29 06:58:21 +00:00
michaelpenne
800abfe61d
fixed a wrong lang call on line #1176
2004-09-28 19:22:30 +00:00
michaelpenne
c732188674
changed $pages[$count][0] to $pageid on line #617
2004-09-28 19:15:20 +00:00
dhawes
5620acd80a
Some double quote strings converted to single quote literals and conversion of many tabs to spaces - inspired by error in associative array dereferencing found by ottenhoff and noted in comment to bug 1981
2004-09-24 23:10:49 +00:00
michaelpenne
033c143250
put in Sebastien Michels change on line #911
2004-09-23 20:30:00 +00:00
michaelpenne
909e6c79d8
Fixed a bug regarding cluster jumps. Before, if end of cluster's jump was next page, it would throw an error.
2004-09-22 19:14:51 +00:00
michaelpenne
1663b64f1e
changed the order of db updates. now the order is old to new.
2004-09-21 22:16:46 +00:00
michaelpenne
7143a2841e
added an include for lib.php
...
changed the display of page titles
changed matching such that if two matching items match to the same answer, that answer only apprears once in the drop down menu.
Changed how the grade essay question link apprears. Only appears if there is an essay to grade.
2004-09-21 22:15:30 +00:00
michaelpenne
3de88244c4
added option to delete a users attempt records. Sends an email if delete was seccessful or not.
2004-09-21 22:13:08 +00:00
michaelpenne
1535c81ba3
added code to handle deleting of user attempts
2004-09-21 22:12:04 +00:00
michaelpenne
d19d9ef16d
Fixed some problems with matching
2004-09-21 22:11:00 +00:00