michaelpenne
8e7cf8d4c9
[Fixed] Activity linking was not useing the course module id correctly.
2006-02-06 20:49:03 +00:00
michaelpenne
6ef1c83de6
[Fixed] Display error in Windows IE. Slideshow div would move on link rollover. This is now fixed.
2006-01-13 21:24:52 +00:00
michaelpenne
aeb8148a57
[Changed] Now when a teacher edits a page with the "Edit page contents" button and then saves or cancels, s/he gets redirected back to the lesson navigation. This will help to streamline the editing
...
[Fixed] The cancel button on the edit page now works.
2006-01-13 18:41:37 +00:00
defacer
7f9def8fa9
XHTML fix
2005-11-23 22:31:52 +00:00
michaelpenne
acab90991a
BUG FIX: progress bar now does not break when student reviews the lesson.
...
BUG FIX: matching question type upgrade script now supports quotes.
CHANGED: Improved labels for form elements to improve accessibility.
NEW: added a skip navigation link for left menu.
2005-11-16 22:35:46 +00:00
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
c83dca2287
BUG FIX: Double print of content in branch tables with slide show on
2005-10-28 18:55:58 +00:00
michaelpenne
3c34ce6802
reverted back some divs, minor change
2005-10-26 21:48:24 +00:00
michaelpenne
fb0f70908b
BUG FIX: if one is a teacher, the left menu is always displayed.
2005-10-26 21:43:48 +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
michaelpenne
b6a64b0295
Removed a notice warning when lessons are created in a course with no category (eg: home page)
2005-10-14 19:25:11 +00:00
michaelpenne
4e644e8d50
Reverted grading back to 1.4.X for when custom scoring is turned OFF
2005-10-07 20:33:39 +00:00
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
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
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
michaelpenne
b46d9213ba
Added styles to the next and previous buttons on branch tables to allow customization
2005-09-21 21:00:36 +00:00
michaelpenne
e83348c6f0
FIXED: Removed Notice Warning. Sometimes an attempt's answerid field is not set because the answer that the student entered does not match any of the answers for the question. This error comes up for Numerical and Short answer question types.
2005-08-29 22:04:13 +00:00
michaelpenne
2be4ee62c1
Bug 3531 fixed
2005-07-12 23:07:31 +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
de8598a908
FIXED: at End of Lesson with review on produced two warnings. Now they are gone
2005-06-29 18:08:37 +00:00
michaelpenne
7250297f1b
changed the name for the popups, IE was failing with long names
2005-06-16 21:18:37 +00:00
michaelpenne
3f46783677
took out the 80%, not sure if it should be there or not ;)
2005-06-16 17:41:12 +00:00
michaelpenne
a972bb821f
with slideshow off: set the width for print_simple_box to 80% for the page content
2005-06-16 17:38:37 +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
michaelpenne
fff91cc994
updated the link to the grade book
2005-06-06 17:23:35 +00:00
michaelpenne
cfcdb4b56e
added a > to a table tag
2005-05-24 21:21:21 +00:00
michaelpenne
be154395e8
when editing a lesson for the first time, added a link to importppt.php in the list of options
2005-05-24 20:28:20 +00:00
stronk7
271fea974f
Tabs are out.
...
(all the module was using them, please change your editor settings to 4 spaces)
2005-05-16 22:41:19 +00:00
michaelpenne
1db0647ccd
highscores will not display with practice lesson on because no grade records are entered. Also, on teacher view, when the question content is printed it uses FORMAT_HTML now
2005-05-06 23:57:20 +00:00
michaelpenne
9638a1f496
tried to make editing a lesson look nicer. Added generalbox class to tables and used tabs for selecting question types
2005-05-03 23:30:40 +00:00
michaelpenne
f5c864efff
moved View Lesson Statistics and Grade Essay Questions links in teacher view to top right corner. Also, lesson stats link displays how many users have taken the lesson and grade essay link displays how many essays need to be graded and how many essays that need to be sent out still
2005-05-03 22:26:01 +00:00
stronk7
378b613d8e
Some changes to add format_text() to answers
...
and feedback across all the module.
Note: Essay questions and their teacher's feedback. I'm not
pretty sure it they should support the format_text() too. And
currently, they are cleaned at input, so it is impossible
to write <lang> or <span> tags with them!
2005-04-29 18:32:13 +00:00
stronk7
68dfc4deb6
Now lesson_pages->title supports filterall
2005-04-26 22:30:40 +00:00
michaelpenne
e5ee4adfd4
FIX: removed the unsetting of a SESSION variable that kept track of logins for lesson (password protected). This allows for reviewing of lessons that have passwords. Only downside, once logged in to a lesson, dont need to reenter password for that login session. Prolly not a problem
2005-04-26 21:24:06 +00:00
michaelpenne
544a4b8a4d
FIX: quotes in matching questions were not grading correctly. Used htmlspecialchars on the values in the select box in view.php and then use stripslashes on the answers in continue.php
2005-04-26 20:37:34 +00:00
stronk7
0a2c2599b6
Now lesson->name supports filterall
2005-04-24 16:46:51 +00:00
michaelpenne
86b7a42880
now if you leave the lesson the the middle of a bunch of branch tables, you will return to the last one you answered. Also, if show grades is off in course settings, the lesson will process and store the grade for the student but then redirect the student to the course page immediatly.
2005-04-05 22:42:34 +00:00
moodler
6656bf0af1
Security fixes
...
Fixed up styles handling to be more standard (the themes include them
already so no need for modules to do it)
2005-03-30 03:07:39 +00:00
stronk7
28b09d7057
Now hidden lessons cannot be viewed.
...
Thanks to Javier Gil detecting it. Bug 2733.
(http://moodle.org/bugs/bug.php?op=show&bugid=2733 )
2005-03-12 18:00:05 +00:00
michaelpenne
d0b8bcdc8b
updategrade now cleans params correctly now (i hope)
2005-03-10 20:42:09 +00:00
stronk7
ac8e16be13
Bye. Now all those tabs are out
2005-03-05 00:09:39 +00:00
michaelpenne
c022b4964f
changed the time code, now the timer table keeps track of time spent per attempt per lesson for each student. It is also used for timed tests. Also, moved check navigation link so it wont show up when there are no lesson pages.
2005-02-25 19:10:17 +00:00
michaelpenne
49584784ac
fixed up leftmenu some more
2005-02-23 00:52:29 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
michaelpenne
d72b5b56dc
I think just array/object initialization
2005-02-09 22:31:36 +00:00
moodler
fafd89a0f1
Removed $THEMEs and stuff.
...
I'm a little worried about this spaghetti code ... it's a mess!
2005-02-09 15:36:29 +00:00
moodler
a710d8c616
Improved feedback after an action (on redirect) and also put a
...
navigation check link up the top.
2005-02-09 15:21:56 +00:00