34 Commits

Author SHA1 Message Date
michaelpenne
114f47a79e NEW FEATURE: Activity Link allows the teacher to display a link to another activity, which is in the same course,
at the end of the Lesson.
2005-11-07 19:56:08 +00:00
michaelpenne
3eca6cf1bf NEW FEATURE: Media file now works with web pages and with text and html files. Also, the pop-up
window size is configurable as well as an optional close button at the bottom of the window.
2005-10-28 22:45:47 +00:00
michaelpenne
62eda6ea18 NEW: Progress bar option. Now a progress bar can be optionally displayed at the bottom of the lesson page.
NEW: Display Left Menu IF.  The left menu will only display if the student has a grade better than the one set in the lesson settings.  This is nice to allow only students who are reviewing the lesson to have access to the left menu.

BUG FIX: In Windows IE, the content was being aligned center.  Now, the content is explicitly aligned to left as default.
BUG FIX: High Scores variable was not spelled correctly at the End of Lesson.

ADDED: Div tags around branch tables.  This will allow users to choose to display them or not or move them around

CHANGED: converted more of the links to the stylized button.  Also, removed a lot of forms and javascript and replaced it with links with the variables in the href.
CHANGED: the slide show styles have been moved to the style sheet.
CHANGED: removed the CDC comments

Other minor changes have been made to the code as well.
2005-10-24 23:06:43 +00:00
patrickslee
4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
michaelpenne
afbc9cbdc3 I think I have a solution for the problems with matching question type and upgrading moodle from 1.4.x to 1.5+.
View bug 3468 and this forum post for more information: http://moodle.org/mod/forum/discuss.php?d=27354
2005-07-14 20:00:45 +00:00
michaelpenne
ee3f227560 New Feature: Lesson Dependency
In a lesson's settings one can now set the current lesson to be dependent on another lesson in the same course.  Then, the user can set the conditions for the dependency.  Currently the conditions are time spent, grade better than X, and completed (yes/no).
2005-06-30 21:11:02 +00:00
michaelpenne
f26cef7c22 Minor changes to support the new media file feature. 2005-06-15 23:35:11 +00:00
michaelpenne
71ba4dce3c Discovered a bug with lesson grades. While calculating the grade, intval was used to truncate the decimals from the grade. intavl is now replaced with round. round will now round the grade to 5 decimal places. The database only holds int(3). So, this has been changed to float to hold decimal numbers. We have found this to be much more accurate when converting the stored percentage in the database back to a point value (before this fix, users were getting numbers like 46.5 points instead of their original 47 points due to an inaccurate percent value). Files changed for this fix include:
locallib.php
report.php
version.php
view.php
db/mysql.php
db/mysql.sql
db/postgres7.php
db/postgres7.sql
2005-06-09 21:24:17 +00:00
stronk7
ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
michaelpenne
d9ef9b836d fixed some prefixes, not sure how this didnt get noticed before ;) 2005-01-28 19:31:41 +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
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
paca70
f3133619f0 Upgrades for protgresql. 2004-10-22 14:56:49 +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
e5c6a35c22 Fixed the primary key problem in the mysql. 2004-09-16 16:20:59 +00:00
michaelpenne
5e7856af58 Added a lot of new features to lesson mod. Check them out :)
MarkNielsen
2004-09-15 20:32:24 +00:00
gustav_delius
41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
rkingdon
0f9b19dd91 Correcting field name usemaxgrade in update files. 2004-04-02 16:16:21 +00:00
rkingdon
45c27c7e4b Optional use of the HTML editor. 2004-04-01 16:56:56 +00:00
paca70
392b116c73 Replaced ` with "
CVS: ----------------------------------------------------------------------
2004-03-31 16:00:06 +00:00
rkingdon
e2a9adcc57 Version 2 and 3 updates. 2004-03-27 05:01:22 +00:00
rkingdon
9e93d4d03f Version 3 update 2004-03-27 04:15:29 +00:00
moodler
9ef4f2323d Fix up some old Beta sites that may have lessons 2004-03-20 13:16:04 +00:00
rkingdon
c4f17346dd Corrected typo. 2004-02-26 17:19:00 +00:00
rkingdon
394c97c88b Support for extra question types added; Flash Card style lessons now an
option.
2004-02-26 16:54:47 +00:00
stronk7
8dad6a690f Opps, returning to version 1.3 (before I put two lines in CVS
by mistake). I'll inform Ray about that needed actions and let him
to decide. Sorry :-(
2004-02-22 19:19:02 +00:00
stronk7
c6c8272ae7 Now lesson logs are restored too!! 2004-02-22 19:11:09 +00:00
paca70
b92d1a68a5 First versions for postgres7. 2004-02-19 09:03:34 +00:00
moodler
9232405d8a SOme improvements to logging 2004-02-16 12:20:40 +00:00
moodler
c10a04e82d Log display 2004-02-16 08:45:58 +00:00
moodler
bbcbc0fecc Adding the Lesson module to the main CVS. Nice job Ray!
Still needs PostgreSQL support and wider testing
2004-02-16 05:41:13 +00:00