Compare commits

...

5163 Commits

Author SHA1 Message Date
moodler bc9cec3cd6 Updated version for release 1.5 2005-06-06 05:21:11 +00:00
moodler f9cff66906 Merged all the changes in HEAD until now 2005-06-06 05:04:31 +00:00
ikawhero 5450baa28a Added a 'Save Changes' button to the top of the page for those of us too
lazy to scroll!
2005-06-06 03:35:28 +00:00
ikawhero 422eaecc13 Check array is initialised. Bug 3424. 2005-06-06 00:39:35 +00:00
moodler e10ed4e667 file preferences.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:48 +0000 2005-06-06 00:13:12 +00:00
moodler ecfbaad4b4 file preferences.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:28 +0000 2005-06-06 00:13:12 +00:00
ikawhero e4cedd797a Errors will now return to course page instead of site. Related to Bug 3418. 2005-06-05 23:57:19 +00:00
gustav_delius 9dadc1a89e Regrading now used the proper session mechanism. Also it now works with old-style attempts which have only a single state. 2005-06-05 20:37:52 +00:00
moodler 5b0ae9d41c file student.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:13 +0000 2005-06-05 20:33:47 +00:00
gustav_delius 2ac3cee674 Restoring of user attempts and states disabled for now, see bug 3159 2005-06-05 20:25:04 +00:00
gustav_delius f3bb54f36f Fixed typo 2005-06-05 20:19:17 +00:00
moodler e8edd40064 file exceptions.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:13 +0000 2005-06-05 19:56:09 +00:00
moodler b1120b07c9 file letter.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:13 +0000 2005-06-05 19:56:09 +00:00
moodler 00fcb704d3 file weight.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:13 +0000 2005-06-05 19:56:09 +00:00
moodler 2b1ebff73c file preferences.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:13 +0000 2005-06-05 19:56:09 +00:00
moodler 26549e7692 file category.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:13 +0000 2005-06-05 19:56:08 +00:00
moodler efd780a339 file teacher.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:13 +0000 2005-06-05 19:24:45 +00:00
urs_hunkler 0c4a965346 mainly corretion for a disply problem of the course page in MSIE plus some minor changes. 2005-06-05 16:38:01 +00:00
gustav_delius 7371dc44d0 removed some unnecessary fields 2005-06-05 15:52:18 +00:00
gustav_delius 16a8215aa1 just fixing some comments 2005-06-05 15:37:22 +00:00
gustav_delius 6d0ea08227 taken out a notice to temporarily fix bug 3130 2005-06-05 15:08:34 +00:00
gustav_delius 85a6b27786 Fixed the calculated question editing wizard temporarily for Moodle 1.5 until Julian gets his new version ready. 2005-06-05 14:14:54 +00:00
gustav_delius db7f11c3d7 fixed some typos 2005-06-05 13:59:37 +00:00
gustav_delius 98133a3eec Random questions now store both the wrapped question id and the response in the same state record, essentially going back to Julian's model. 2005-06-05 13:22:03 +00:00
moodler 52de50d2d5 Just a small fix for people tracking betas 2005-06-05 13:11:05 +00:00
gustav_delius 122299654f Improved the display of readonly form fields in questions so that they are no longer grey on grey 2005-06-05 12:03:50 +00:00
gustav_delius 52fa982eba Change to when newly created states get saved
Changes to what is printed during regrade
2005-06-05 11:49:32 +00:00
stronk7 5eab4b5c43 Removed reference to Journal (Diario in es) 2005-06-05 10:09:32 +00:00
stronk7 e68e7af8ed Merged from HEAD... 2005-06-05 09:46:33 +00:00
moodler 2e52e3c14b file gradinggrade.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:30 +0000 2005-06-05 08:55:11 +00:00
moodler 2be7e8b347 file grading.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:30 +0000 2005-06-05 08:49:33 +00:00
moodler b8187e5ae0 file grade.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:30 +0000 2005-06-05 08:44:38 +00:00
thepurpleblob 74be4f9a8d Removed reference to Journals. 2005-06-05 07:37:16 +00:00
moodler cb21e292fa file penalty.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:31 +0000 2005-06-05 07:31:24 +00:00
moodler 3a8e6b5f4b file adaptive.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:31 +0000 2005-06-05 07:31:24 +00:00
thepurpleblob cdd11103b7 Removed reference to Journal 2005-06-05 07:24:46 +00:00
thepurpleblob dab41ccfdc Removed reference to Journal. 2005-06-05 07:11:44 +00:00
thepurpleblob 49e8438753 Removed references to Journal. 2005-06-05 06:51:09 +00:00
thepurpleblob 12c3f08cb0 Removed reference to journals. 2005-06-05 06:47:02 +00:00
thepurpleblob 2f6b3b1966 Removed references to journals. 2005-06-05 06:44:09 +00:00
moodler 9d39272ded Added support for $CFG->allowobjectembed in the GUI 2005-06-05 05:39:25 +00:00
moodler 14bc8df569 Added $CFG->allowobjectembed in weblib.php so that these can be selected by admin 2005-06-05 05:25:02 +00:00
moodler 6dca5725ea file nextpageaction.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:49 +0000 2005-06-05 03:48:41 +00:00
moodler bf3932fc42 file nextpageaction.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:29 +0000 2005-06-05 03:48:40 +00:00
moodler 2c8a7e32db Turn off script access for autoembedded flash SC126 2005-06-05 03:31:44 +00:00
gustav_delius 3c76674f76 More graceful behaviour when there are not enough questions for the random questions. 2005-06-04 22:43:28 +00:00
ecastrolt fba559da7a *** empty log message *** 2005-06-04 21:07:57 +00:00
moodler 468f3c1cc4 file webquest.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:16 +0000 2005-06-04 20:05:32 +00:00
moodler fe0df5f546 file tex.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:16 +0000 2005-06-04 20:05:32 +00:00
moodler 370454c947 file workshop.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:16 +0000 2005-06-04 20:05:32 +00:00
moodler 3010db0e48 file wiki.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:16 +0000 2005-06-04 20:05:32 +00:00
moodler ae6a28706b file survey.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:16 +0000 2005-06-04 20:05:32 +00:00
moodler 63fd025955 file scorm.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:16 +0000 2005-06-04 20:05:32 +00:00
moodler f5e2a57092 file resource.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:16 +0000 2005-06-04 20:05:32 +00:00
moodler 1edf4fcaa6 file mediaplugin.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:32 +00:00
moodler 191ac5e692 file questionnaire.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:32 +00:00
moodler ad50e44876 file label.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:32 +00:00
moodler 1a833b187a file multilang.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:32 +00:00
moodler 5983511872 file message.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:32 +00:00
moodler df644c8811 file pix.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:32 +00:00
moodler 52183b89b1 file lesson.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:32 +00:00
moodler cfe70c4f90 file exercise.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:31 +00:00
moodler 98a68126ed file journal.php.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:31 +00:00
moodler 39538ed31a file grades.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:31 +00:00
moodler 42bdd31e68 file hotpot.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:31 +00:00
moodler d0fa39395c file install.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:31 +00:00
moodler 737d922645 file glossary.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:15 +0000 2005-06-04 20:05:31 +00:00
moodler 5e3b40221a file block_rss_client.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler fd91ea6371 file block_course_list.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler cee15d365b file countries.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler c29cc45005 file block_online_users.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 2db4405ca0 file attendance.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 2e3d0ff372 file editor.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler fe2c9820e8 file algebra.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 72df247c50 file censor.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler d35f4bcabd file enrol_paypal.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler a46eb2ee08 file enrol_ldap.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 18ac802f51 file dialogue.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler d520a0a173 file emailprotect.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler e264c29fa1 file appointment.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 406d542d00 file block_html.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler a02176516b file block_course_summary.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 27b0d869e6 file admin.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 21971c4ed0 file calendar.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler e1c24a9dba file block_social_activities.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler dcb1b0cbdf file enrol_database.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 9c94bb15aa file enrol_flatfile.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler bec8a5ca4b file error.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler cee8d7fb63 file block_quiz_results.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler 5a67edcc09 file enrol_internal.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
moodler c5f0945604 file block_section_links.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:14 +0000 2005-06-04 20:05:31 +00:00
defacer ff642e93ba Fixing all Tidy warnings in this page. This has to be A Good Thing. 2005-06-04 17:43:52 +00:00
gustav_delius 5ebe26c7d0 fixed typo 2005-06-04 17:22:00 +00:00
gustav_delius a616b09790 The versioning code will not be in Moodle 1.5 2005-06-04 17:13:26 +00:00
stronk7 e64dfa80dd Changed name of the container category a bit and avoided one notice. 2005-06-04 15:37:40 +00:00
gustav_delius 4a4d46cade slight improvement of layout 2005-06-04 11:40:57 +00:00
moodler 905746771f file quiz_analysis.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:05 +0000 2005-06-04 11:25:51 +00:00
moodler 82a838920f file block_search_forums.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:03 +0000 2005-06-04 11:25:51 +00:00
moodler d913dc4244 file enrol_authorize.php was added on branch MOODLE_15_STABLE on 2005-06-06 05:04:03 +0000 2005-06-04 11:25:51 +00:00
gustav_delius 4aa3ac1609 Print notice on preview when secure window will be used for students
Also improved some language strings
2005-06-04 11:19:48 +00:00
gustav_delius 775d4dd817 Print notice on preview when secure window will be used for students 2005-06-04 11:16:37 +00:00
gustav_delius e0b0ef395f Show link to attempts list only if student attemtps exist. 2005-06-04 11:10:36 +00:00
mindforge a21fc2b7c9 Cleaned up and documented regrading code. 2005-06-04 11:04:00 +00:00
mindforge aee2784751 Manual regrading page implemented. 2005-06-04 10:58:31 +00:00
ikawhero 3e41bf36a3 Link to add new courses only shown to course creators when there are no
courses available. Bug 3420.
2005-06-04 10:39:57 +00:00
urs_hunkler cf26a12c62 corrected width of the middle column in course view. 2005-06-04 09:16:20 +00:00
gustav_delius 90abc87934 attempts.php has moved to report/overview/report.php 2005-06-04 09:10:13 +00:00
gustav_delius 8c040068ca Removed the quiz upgrade warning. 2005-06-04 09:07:40 +00:00
gustav_delius 67a8ef4235 removing the old statistics reports 2005-06-04 08:58:16 +00:00
gustav_delius c17f91905a put back the overview report folder 2005-06-04 08:55:37 +00:00
gustav_delius 1b2457c312 added regrading page 2005-06-04 08:54:56 +00:00
gustav_delius 2fbd81b02d Fixed bug 3410. Admins are no longer shown ALL categories in drop-down menu. 2005-06-04 08:47:33 +00:00
gustav_delius e729020eda Improve alignment in table in mod.html for IE
Missing questions lead to notice rather than fatal error
Attempts report now moved to reports/overview
put in empty regrading page for Julian to complete
Moved some of the styles out of styles.php into standard style
Fixed error on reviewquestion.php
put infobox on reviewquestion.php
fixed <form> tag on item analysis report
2005-06-04 08:30:49 +00:00
defacer 6e296332ca Fix for bug 3316: Now students which have attempted the quiz but have
since been unenrolled from the course are shown with a dimmed style.
2005-06-04 00:18:57 +00:00
defacer 94640580f3 Forgot to prepend country codes to the teacher list as well when sorting. 2005-06-03 23:40:19 +00:00
defacer 113130bd32 Adding one new string: "Show $a per page" 2005-06-03 23:31:06 +00:00
defacer 1443433431 CSS styles for the revamped user/index.php 2005-06-03 23:26:31 +00:00
defacer 4fd2dff9fe A big big big patch:
Converted the students table to use the new table class

Fixed bug 3114: when sorting by country, prepend country code to the country name

Fixed behavior of autohiding teacher list; now there is a hide/show icon to be
consistent with the rest of Moodle

Fixed "show all" option so that the user can control it instead of relying on auto behavior

Fixed HTML, removed all inline styles

Improved accessibility (alt tags for images)

Updated obsolete optional_variable calls to optional_param

Several cosmetic and other improvements I 've already forgotten :P
2005-06-03 23:19:12 +00:00
defacer 680da3b4af Added function that exports current selection for first/last initial
Added extra CSS class to initial bars (can now differentiate first/last)
2005-06-03 22:46:54 +00:00
moodler dc0d77760a file maxpages.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:49 +0000 2005-06-03 21:53:41 +00:00
moodler c700b6c43b file review.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:49 +0000 2005-06-03 21:53:41 +00:00
moodler adb2f6e2fc file highscores.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:49 +0000 2005-06-03 21:53:41 +00:00
moodler def727dc7d file maxpages.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:29 +0000 2005-06-03 21:53:41 +00:00
moodler c5d16299de file review.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:29 +0000 2005-06-03 21:53:41 +00:00
moodler 93b2625047 file highscores.html was added on branch MOODLE_15_STABLE on 2005-06-06 05:03:28 +0000 2005-06-03 21:53:41 +00:00
gustav_delius b769175004 The popup window didn't always close. 2005-06-03 20:43:50 +00:00
stronk7 816f68c8aa Upgraded backup/restore TODO list. Only two points remains open:
- SCORM: restore. See bug 3404.
- QUIZ: 1.5 <=> 1.5 backup and restore. Gustav's team is polishing it.

Bump to 1.5 (Final)
2005-06-03 17:43:46 +00:00
stronk7 c3f0763f7b Added support for forum->trackingtype 2005-06-03 17:35:27 +00:00
moodler e0dcb5734f Merged many language files from HEAD 2005-06-03 17:17:15 +00:00
stronk7 321aae1d8b Small typo, preventing group events to be restored properly.
Records in backup_ids table must use the name of the table
without the prefix as name. Bug 3360. Thanks Jon.
(http://moodle.org/bugs/bug.php?op=show&bugid=3360)
2005-06-03 16:43:26 +00:00
ikawhero 9bb32eb744 Meaningful string shown in breadcrumb and heading when editing site topic.
Bug 3408.
2005-06-03 14:41:35 +00:00
mindforge 2c20f70dca Fix for bug #3357. Random questions now check properly if a question is already in use. 2005-06-03 12:56:53 +00:00
stronk7 a3247baa3a Bump!
Deletion (or move to site course) of orphan categories
executed in the upgrade process. Now we shouldn't have
such orphans anymore! B-)

Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Important NOTE: In the upgrade code for postgreSQL I've included
                some steps that weren't up to date. They seem to
                standard SQL code but they should be tested
                properly.... hope all works!
2005-06-03 12:49:16 +00:00
stronk7 c0624b017b Deletion (or move to site course) of orphan categories
executed in the upgrade process. Now we shouldn't have
such orphans anymore! B-)

Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Important NOTE: In the upgrade code for postgreSQL I've included
                some steps that weren't up to date. They seem to
                standard SQL code but they should be tested
                properly.... hope all works!
2005-06-03 12:47:44 +00:00
moodler 81b1951adf Labels can now have apostrophes again! :-) bug 3411 2005-06-03 12:21:16 +00:00
moodler 73c1140d6a Fix for Bug 3036. (SE) 2005-06-03 08:15:38 +00:00
moodler 20fe7276ff Merged French from HEAD 2005-06-03 05:25:09 +00:00
moodler dd8fb6e848 file autocontinue.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler 1ece975598 file browsemode.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler 4308feffbd file height.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler 66674833f6 file maxgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler 578462059e file width.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler bd8b6c6f0e file summary.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler e5e43b42ec file package.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler f309507a9f file grademethod.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-06-03 03:55:38 +00:00
moodler 5c3cf81dfb file navigation.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
moodler 5bf11225c4 file analysistable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
moodler c10f0b5df7 file reportselector.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
moodler abac5c2107 file mediaplayers.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
moodler d6c5e20610 file forceplugins.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
moodler b9b4610906 file responsestable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
moodler 03231ca0b3 file outputformat.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
moodler 6d53e3b77d file shownextquiz.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-06-03 03:55:38 +00:00
martinlanghoff a0b22b3218 auth/ldap : minor html fix 2005-06-03 03:41:16 +00:00
moodler 0db7057a78 file browsemode.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-06-02 22:31:41 +00:00
moodler 7bc02fa10a file maxgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-06-02 22:31:41 +00:00
moodler 01737697a4 file grademethod.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-06-02 22:31:41 +00:00
moodler 2eb6412ef8 file maxgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-06-02 22:31:40 +00:00
moodler 4fad751ed9 file grademethod.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-06-02 22:31:40 +00:00
moodler e32e7ca09c file browsemode.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-06-02 22:31:34 +00:00
moodler da7d308c32 Disable Attendance in core tables because the module has been deleted 2005-06-02 15:01:12 +00:00
moodler 4a625f17af Remove attendance from 1.5 too 2005-06-02 14:59:38 +00:00
exe-cutor 9fa1dad004 Adapted Shibboleth authentication to new field lock/update mechanism by Martin 2005-06-02 14:34:22 +00:00
moodler 651dfa878e file itemanalysis.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-06-02 13:57:26 +00:00
urs_hunkler 50da41e264 some theme optimizations: manly font-sizes and the list pages. 2005-06-02 12:31:35 +00:00
martinlanghoff 6406bef13e Fixed typo in configuration of ldap_memberattribute for RFC2307-style LDAP servers. Should fix handling of iscreator group. Thanks to Teemu Haapoja for the diagnosis and fix. 2005-06-02 09:55:06 +00:00
martinlanghoff 5a2cfa7efb Version bump triggers config_plugin migration for locks and field mapping. 2005-06-02 04:25:36 +00:00
moodler 0bb30298d0 file nelements.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:18 +00:00
moodler 37553f8493 file managing2.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:18 +00:00
moodler 1761c44531 file regrading.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:18 +00:00
moodler d1869b995e file managing.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:18 +00:00
moodler 5e01a18606 file gradingstrategy.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:18 +00:00
moodler 1ef00c891f file password.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:18 +00:00
moodler 2d910a2d08 file gradinggrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:18 +00:00
moodler 3b61c3c5d6 file elements.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:17 +00:00
moodler 17dec907b9 file grade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:17 +00:00
moodler c90daf0b4b file comparisonofassessments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-06-02 02:46:17 +00:00
moodler a69f876e76 file removepages.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler a960f39fbb file wikitype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 474ce18912 file strippages.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 6c8f0ed5a8 file initialcontent.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 5ace54167e file htmlmode.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler d981f1b6e3 file wikilinkoptions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 0810574be1 file ewikiacceptbinary.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler ee5b1788f7 file setpageflags.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 9a6222dd38 file revertpages.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 46cc45f293 file checklinks.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 8e8380fb97 file revertauthorfieldpattern.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 5aef10640e file wikiname.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler b34d0917a6 file howtowiki.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler 1067cb28f1 file wikiusage.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler f94e02f057 file studentadminoptions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-06-02 02:46:17 +00:00
moodler fec8049d34 file leaguetable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler a111b749fc file finalgrades.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler f42449f77e file nelements.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler cc13541244 file takeownership.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler d67ad45602 file submissionofdescriptions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 0ef063825f file moreinfo.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 09be6630de file usemax.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 26b9be1d7a file regrading.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 10692d97e6 file leaguetablenames.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler f327821e4e file grade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler b9fc85815e file usepassword.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 312f8b5410 file specimen.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 6d163e8a59 file grading.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 888faa0559 file managing.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 62dec3d6b5 file gradingstrategy.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 06979a542b file password.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 2f4ae7848b file gradinggrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:06 +0000 2005-06-02 02:46:17 +00:00
moodler 9199bfc986 file elements.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler 3fde815636 file administration.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler ea6787cb2f file comparisonofassessments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler 4f0f9f52c6 file info.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler e628acf30d file dialoguetype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler 97d94ab7f2 file addsubject.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler 675522cb1b file multiple.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler 69f2570655 file deleteafter.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler 9206c92895 file closedialogue.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler d3f8a394bc file maildefault.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-06-02 02:46:17 +00:00
moodler de735d30a8 file reportselector.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-06-02 00:52:14 +00:00
moodler 8afa0586cc file reportselector.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:23 +0000 2005-06-02 00:52:14 +00:00
gustav_delius 72a054b9f9 Fixed bug 3393 2005-06-01 20:07:50 +00:00
zibas 643f215f0a file xsl_emulate_xslt.inc was added on branch MOODLE_15_STABLE on 2005-06-07 14:21:19 +0000 2005-06-01 19:32:52 +00:00
moodler 6acfcce9a8 file itemanalysis.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:55 +0000 2005-06-01 19:24:17 +00:00
gustav_delius 6be3c99802 replaced some error() by redirect() 2005-06-01 18:34:24 +00:00
gustav_delius 20101a6092 Improved error messages a bit 2005-06-01 18:16:52 +00:00
moodler 4d044e6e84 SQL should not assume mdl_ prefix on tables (bug 3390) 2005-06-01 08:08:37 +00:00
martinlanghoff d08c400d31 auth fieldlocks: smarter handling of UI strings for user fields 2005-06-01 08:05:28 +00:00
martinlanghoff 770764f392 config_plugins settings migration -- this is a DB upgrade block 2005-06-01 07:47:49 +00:00
martinlanghoff 4f6af1254b get_config() now preserves CFG if DB fails or is empty 2005-06-01 06:57:09 +00:00
martinlanghoff e3cd7f35b9 config_plugin with auth/shibboleth
* config.html now uses print_auth_lock_options()
 * config.html better handling of default vars, and removed some warnings
 * lib.php uses new config_plugin vars
2005-06-01 06:23:44 +00:00
martinlanghoff 2ba609cc8c config_plugin work
* lang updates and lang-related fixes
 * auth/db uses the new convention
2005-06-01 06:01:29 +00:00
gustav_delius 3d7a1cbf2b A missing ! led to bug 3377 2005-06-01 05:56:46 +00:00
martinlanghoff b50eee807b Almost there with config_plugins work!
* More solid checking for auth GET/POST var.
 * print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * user mapping options have moved to config_plugins table
 * LDAP module has migrated to using new field mapping vars -- simplified config.html a lot
 * strings are mostly resolved
 * a bit of work pending on CAS and DB modules
 * need an upgrade path for field-mapping config entries -- limited to LDAP only
2005-06-01 04:44:17 +00:00
martinlanghoff 6b64601101 Bumping the revision for the config_plugins table. 2005-06-01 02:28:33 +00:00
moodler 28d21ce79e file gradingstrategy.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:27 +0000 2005-06-01 01:15:06 +00:00
moodler 07387b3124 file gradingstrategy.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-06-01 01:15:06 +00:00
moodler df699778c4 file autocontinue.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler 2d7915885a file browsemode.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler 9d24e151bc file height.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler 9fbed4dc26 file maxgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler 9896fa3de5 file mods.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler ea5cb3bbde file width.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler 732216d72a file summary.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler b08068e829 file package.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler 1622a2d06f file grademethod.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 23:34:37 +00:00
moodler 0d4a213943 Better handling of dates when timedue isn't set 2005-05-31 23:28:08 +00:00
moodler 98823d2ac0 Hide due date when there isn;t one 2005-05-31 23:18:54 +00:00
moodler facf76eede Added event handling from trunk 2005-05-31 23:02:44 +00:00
moodler 41591a4a17 file categories_edit.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 22:48:21 +00:00
moodler cd22423ceb file penalty.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 22:48:21 +00:00
moodler 479c8e5958 file penaltyscheme.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 22:48:21 +00:00
moodler 271228d527 file analysisoptions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 22:48:21 +00:00
moodler d592dc462d file questionsperpage.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 22:48:21 +00:00
moodler bfaf3c876b file adaptive.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 22:48:21 +00:00
moodler 3954fbf809 file rqp.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:15 +0000 2005-05-31 22:48:21 +00:00
stronk7 c63bcbf27c Complete refactor of quiz_delete_course()
Now this function works following this:
- Iterate over every quiz category in the course (following parent-child relationships).
- If the category is being used*, move it to site level (under a container category) and
      mark it as published.
- If the category isn't being used, remove** it completely (questions, instances...) and
      re-parent its child categories.
- Feedback is shown in a table detailing all the changes performed.

* One category is being used if it has one question that is being used in any quiz,
  independently of its publish status.
** Removal of categories (and associated questions) has benn improved but, it won't
  be perfect until bug 3366 was solved.

Tested against some large courses with reused questions and multiple levels of
categories. Seems to work but

PLEASE TEST IT AND SEND ANY FEEDBACK TO BUG 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Exactly this function is going to be used in the upgrade script to solve
the orphan categories issue and it must work perfectly!
2005-05-31 22:31:22 +00:00
stronk7 0242dc70f3 Four new strings added to show the work done
against quiz_categories when a course is deleted.
Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)
2005-05-31 21:26:09 +00:00
moodler 25957101a8 file responsestable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-31 20:23:27 +00:00
moodler 6d079b698f file responsestable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:23 +0000 2005-05-31 20:23:27 +00:00
stronk7 0456f1c62a Simplify the quizzes_category_used() function.
I was using the $excluded parameter to avoid
loops between categories. A->B->A. Think we can
assume such loops won't exist, so I've deleted
the $excluded use.
2005-05-31 16:30:36 +00:00
thepurpleblob 5c6c7224eb Took out dos line endings 2005-05-31 15:17:20 +00:00
thepurpleblob a40014f758 Removed spurious aligns in <input> tags for optional units - now formats
properly in Apple Safari
2005-05-31 14:45:05 +00:00
thepurpleblob 53b9b145ab Fixed incorrect !important tags in CSS 2005-05-31 14:21:28 +00:00
thepurpleblob ded3459821 'Fixed' quizzes_category_used declaration to make it work. Based on it only
being called in one place. Might need a 'proper' fix though, but this gets us
moving!
2005-05-31 13:34:15 +00:00
thepurpleblob 331b64ac3f Removed uneccessary call-time pass by reference. 2005-05-31 10:11:00 +00:00
thepurpleblob b89246267b Checks import/export class file actually exists before trying to include it. 2005-05-31 10:02:48 +00:00
martinlanghoff cdbba24134 First cut of field locks support. functional but missing strings and support for LDAP/DB modules.
- Extended set_config()
- Implemented get_config() which takes over $CFG loading in setup.php
- admin/auth.php has special handling if post vars starting in pluginconfig_
- admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
- user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
2005-05-31 05:36:41 +00:00
moodler fa84313875 file quiz_analysis.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:06 +0000 2005-05-31 05:13:33 +00:00
moodler e2d02f322e file timezones.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:06 +0000 2005-05-31 05:13:33 +00:00
moodler 2b545bff3b file block_search_forums.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:05 +0000 2005-05-31 05:13:33 +00:00
moodler ec0e8976e9 file block_glossary_random.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:05 +0000 2005-05-31 05:13:33 +00:00
moodler 24ad970192 file grades.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:05 +0000 2005-05-31 05:13:33 +00:00
moodler 83bf0c7ac3 file block_html.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:05 +0000 2005-05-31 05:13:33 +00:00
moodler 2a55ad8736 file block_quiz_results.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:05 +0000 2005-05-31 05:13:33 +00:00
moodler 25b68ad11e Fix for SC122 2005-05-31 04:36:04 +00:00
moodler d347fbefd6 file qtype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-05-31 01:48:07 +00:00
moodler 6124af76ab file questionnaireid.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-05-31 01:48:07 +00:00
moodler 893e4ecc77 file qmanage.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-05-31 01:48:07 +00:00
moodler f5925fe29a file respondenttype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:08 +0000 2005-05-31 01:48:07 +00:00
moodler d07e7183e6 file casesensitive.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler c82589c6b5 file editalways.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 2c0436b1a6 file importcategories.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler a1e04405ff file aliases2.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 0516af71ef file globalglossary.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 8f459f900b file usedynalink.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 866885022f file aliases.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 350ad0ef85 file entbypage.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 6b73dbaa20 file rssarticles.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 291f7bd8ba file studentcanpost.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 40fb06a8d0 file allowprintview.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler c4563fe0fb file shows.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 17c9ed588d file mainglossary.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 9480b8f1f4 file linkcategory.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 6c45d66129 file allowduplicatedentries.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler ae29b65979 file destination.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler e43dd3defa file defaultapproval.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 02c71b5a1e file filetoimport.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler b6f1f29147 file rsstype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 6b9ab9e4fc file attachment.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler cffd20cede file usedynalinkentry.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 3372fd30ff file description.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 8353441838 file allowcomments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 5d213075c3 file displayformat.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler 5da1448d69 file fullmatch.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-31 01:48:07 +00:00
moodler cc082cb176 file dynsection.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-31 01:48:07 +00:00
moodler 53e1d700bf file hours.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-31 01:48:07 +00:00
moodler b9441c6e63 file maxgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-31 01:48:07 +00:00
moodler 98aa5c1e21 file choosedays.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-31 01:48:07 +00:00
moodler fa43dc51f8 file grade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-31 01:48:07 +00:00
moodler ef405b2a1b file autoattend.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-31 01:48:07 +00:00
moodler 58c4dc24c7 file penaltyscheme.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-31 00:12:27 +00:00
moodler 741ee69fad file questionsperpage.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-31 00:12:27 +00:00
moodler 754e6ee60b file penaltyscheme.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-05-31 00:12:27 +00:00
moodler 780d107619 file questionsperpage.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-05-31 00:12:27 +00:00
stronk7 61842c3a01 Added the sort_categories_by_tree() function that
returns an ordered array of categories following
the parent-child relationships. It doesn't forget
any category and returns all the categories passed
although their parent were incorrect. Try to build
as much tree structure as possible.
2005-05-30 23:56:38 +00:00
mjollnir_ 8c28ed7838 Fixing up problem in generate_email_processing_address -- using sitesecret rather than siteidentifier 2005-05-30 23:25:56 +00:00
martinlanghoff 8bfac5b93d Fixed field lenght in config_plugins 2005-05-30 22:30:50 +00:00
stronk7 6d64a7091d Deleting one debug message... 2005-05-30 22:27:20 +00:00
stronk7 22ad0a2e45 Now the quizzes_category_used() function supports searching
for uses recursively plus an array of excluded categories.

Needed to solve bug 2459...in progress.
2005-05-30 22:25:52 +00:00
moodler e8eaff0171 file analysisoptions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:55 +0000 2005-05-30 22:07:12 +00:00
moodler f3bfb270af Fixed _new with _blank 2005-05-30 18:42:41 +00:00
moodler 260d699c17 Added limit of 900 characters to subject line, to prevent overflows 2005-05-30 18:09:03 +00:00
defacer bb25fc1bca Fix for bug 3364:
The Great Global $course Hack strikes again. I had to put in another instance
of the hack for course themes to work in the "calendar" part of the course.

Hopefully some day we 'll do all that "correctly"! (search for "hack" in
weblib and despair).
2005-05-30 13:31:44 +00:00
defacer 7bc4158521 More correct handling of group events, we cannot simply omit them because
the course has "no groups" UNLESS groupmodeforce == 1 as well.

Sadly, this severely weakens the performace optimizations :(

See bug 3303 for an example of what the problem was before.
2005-05-30 12:40:44 +00:00
mudrd8mz a0028106e3 Included fix by Jaime Villate posted Sunday, 8 May 2005, 10:45 PM 2005-05-30 09:31:28 +00:00
martinlanghoff fc0ee03121 Capture the outcome of the config_plugins table creation. 2005-05-30 05:24:19 +00:00
martinlanghoff 987d846223 Created config_plugins table to manage configuration entries on a per-module/plugin. This breaks the rules a little bit, but it has been discussed with MD. 2005-05-30 05:10:22 +00:00
martinlanghoff e7c83f42ef enrol/ldap offers enrol_allowinternal config option as it should. 2005-05-30 03:51:07 +00:00
moodler c8198e1311 file summary.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-30 01:49:53 +00:00
moodler 17620a4193 file package.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-30 01:49:53 +00:00
moodler 61b7abf279 file summary.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-05-30 01:49:52 +00:00
moodler 4be10f9c9d file package.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-05-30 01:49:52 +00:00
watcanz 606f29ff1d styles_layout.css updated for new sideblocks code. header.html removed logo. 2005-05-30 00:02:22 +00:00
ecastrolt 6a43c2aae4 *** empty log message *** 2005-05-29 20:50:14 +00:00
ecastrolt 29a4e4e556 *** empty log message *** 2005-05-29 19:45:14 +00:00
ecastrolt c65086aab0 *** empty log message *** 2005-05-29 19:36:41 +00:00
stronk7 6d85897f87 Added the quizzes_category_used() to detect the list of
quizzes that are using questions from one category.
It relies in the quizzes_question_used() function. Will
be use in the 'orphan_categories' bug (#2459)

(http://moodle.org/bugs/bug.php?op=show&bugid=2459)
2005-05-29 18:58:14 +00:00
stronk7 83c5e8f6b1 format_string() applied once deleting courses...
Merged from HEAD
2005-05-29 17:32:18 +00:00
moodler 3d8a508910 Fix for bug 3350 where older SESSION->wantsurl was hanging around 2005-05-29 07:58:37 +00:00
moodler cb9b40a576 file book.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:14 +0000 2005-05-29 07:07:18 +00:00
moodler e21964e8b0 file timerestrict.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-05-29 06:48:37 +00:00
moodler d15938ce5f file limit.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-05-29 06:48:37 +00:00
moodler 22f52e2bf3 file options.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-05-29 06:48:37 +00:00
moodler b6f8c22bc3 file chatting.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:05 +0000 2005-05-29 06:48:36 +00:00
moodler c89d8d7636 file resubmit.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-29 06:48:36 +00:00
moodler a17794496c file commentinline.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-29 06:48:36 +00:00
moodler e545ae1876 file types.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-29 06:48:36 +00:00
moodler 236ec5b9b6 file assignmenttype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-29 06:48:36 +00:00
moodler bae75cb826 file emailteachers.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-29 06:48:36 +00:00
moodler 89552fc789 file search.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:04 +0000 2005-05-29 06:48:36 +00:00
moodler 3684c9f4e2 file authchange.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:03 +0000 2005-05-29 06:48:36 +00:00
moodler db3a8b8a59 file advancedsettings.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:03 +0000 2005-05-29 06:48:36 +00:00
moodler 2b82654492 file cost.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:03 +0000 2005-05-29 06:48:36 +00:00
moodler bb4e105b49 FIxed a problem when stripping terms from search string for highlighting 2005-05-29 04:04:31 +00:00
defacer 1819221450 Now tablelib allows the GET variables that control sorting etc. to be
configured. Essential in order to allow two independent tables in the same
screen, which is required for /user/index.php.
2005-05-28 21:22:45 +00:00
defacer 4ac7b06a76 Revisited blocks administration page!
* Incompatible blocks which have been disabled during the upgrade
     from Moodle 1.4 can now be deleted.

   * Incompatible blocks (if any) are presented in a separate table
     and are clearly marked as such.

   * Using the new table class.

   * Improved visuals.

   * Fixed HTML and updated obsolete coding conventions all around.
2005-05-28 18:36:01 +00:00
defacer 379298d6ae NEW STRING ADDED for admin/blocks.php
One string we no longer use removed.
2005-05-28 18:28:26 +00:00
defacer 49307babf5 New styles for the revisited admin/blocks page, coming up next. 2005-05-28 18:22:28 +00:00
moodler ac6e8f1133 $CFG->ignoresesskey can override all sesskey checking 2005-05-28 14:02:53 +00:00
moodler ce34811cdd Addes mms protocol 2005-05-28 13:29:37 +00:00
moodler 51f2f92ca5 file trackingtype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:14 +0000 2005-05-28 08:58:56 +00:00
moodler 3bcee5d4c7 Fixed a missing global 2005-05-28 06:38:10 +00:00
moodler 07a5d7cb3e file penalty.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-28 01:27:05 +00:00
moodler 7adc79d42c file penalty.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:24 +0000 2005-05-28 01:27:05 +00:00
moodler 069577e929 file ungradedassessments_teacher.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler cffe2e51bd file usepassword.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:13 +0000 2005-05-28 01:04:34 +00:00
moodler 317dbb6f67 file submissionofexamples.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 0c06ed4263 file selfassessment.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler abb8d37084 file leaguetable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler f0cffb1e49 file resubmit.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 16b96bf3c9 file gradingsubmissions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler e47e30a11f file overallocation.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 4431f7188f file nattachments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 7f6d1637d0 file includeteachersgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 7e01657166 file nassessmentsofteachersexamples.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 51cb63459b file includeself.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 5992f232aa file ungradedassessments_student.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 688d2f7d5b file teacherweight.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler b5cb37d9ea file specimen.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler e892f04d05 file showinggrades.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 01c784002a file nassessmentsofstudentsubmissions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 267a7811fc file ungradedassessments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:34 +00:00
moodler 0ac29d7f60 file gradingassessments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:33 +00:00
moodler c975e6afad file finalgrades.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:33 +00:00
moodler 80118a25eb file breakdownoffinalgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:33 +00:00
moodler 13bc6270d6 file calculatingfinalgrade.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:33 +00:00
moodler 85b2ee359b file editingacomment.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:33 +00:00
moodler 9cd2e8b3d4 file grading.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:12 +0000 2005-05-28 01:04:33 +00:00
moodler 2dcc168e63 file assessmentofexamples.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-05-28 01:04:33 +00:00
moodler 05f64e893d file addcommenttobank.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-05-28 01:04:33 +00:00
moodler f40c81f9b7 file analysisofassessments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-05-28 01:04:33 +00:00
moodler fac82b6f2a file agreeassessments.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-05-28 01:04:33 +00:00
moodler d55bcca3a5 file assignmenttype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-05-28 01:04:33 +00:00
moodler bbc338767a file addingacomment.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-05-28 01:04:33 +00:00
moodler e88d8a3aa4 file anonymous.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:11 +0000 2005-05-28 01:04:33 +00:00
urs_hunkler bb0ceba26d I removed the inlinestyle for the userentry in the sideblock "online user" and added the class "listentry" to the div. The properties of th inline style are now defined in styles_layout.css and stylews_fonts.css. 2005-05-27 17:24:27 +00:00
moodler 2b63e793a2 file analysistable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-27 17:18:47 +00:00
moodler e0514c228d file analysistable.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:23 +0000 2005-05-27 17:18:47 +00:00
moodler 8f92195276 Added an extra style based on the glossary id which might allow
some nice effects.  This idea should probably be extended later,
perhaps with the ability to define the style in the glossary itself.
2005-05-27 14:56:43 +00:00
moodler 4a21ecc113 file block_search_forums.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:19 +0000 2005-05-27 12:25:38 +00:00
moodler 3217988a86 file emailprotect.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:19 +0000 2005-05-27 12:25:38 +00:00
bobopinna 65497822b9 Added AICC API to bug fix a problem with AICC package launch 2005-05-27 09:07:56 +00:00
bobopinna 5bd1036974 file aicc.js.php was added on branch MOODLE_15_STABLE on 2005-05-27 09:07:56 +0000 2005-05-27 09:05:04 +00:00
moodler 01d08c35d6 file quiz_analysis.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:00 +0000 2005-05-27 07:39:59 +00:00
moodler 8415a420df file authchange.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:14 +0000 2005-05-26 23:05:29 +00:00
moodler fa614c0451 file cost.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:14 +0000 2005-05-26 22:40:02 +00:00
moodler 532231e9e8 file retake.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-26 20:46:47 +00:00
moodler 98dba5cea6 file retake.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:23 +0000 2005-05-26 20:46:47 +00:00
moodler d29f2368de file slideshow.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-26 18:50:09 +00:00
moodler 234c4e5276 file slideshow.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:23 +0000 2005-05-26 18:50:09 +00:00
moodler f5e5206c00 file useeditor.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:26 +0000 2005-05-26 17:30:03 +00:00
moodler d19c7d4459 file useeditor.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:23 +0000 2005-05-26 17:30:03 +00:00
moodler 50e20544b7 Merged stability fix from HEAD 2005-05-26 15:25:47 +00:00
moodler a4f3ee5b1e New string for registration 2005-05-26 14:45:15 +00:00
moodler 192d6a6ea9 A little note for admins looking in the source who might be really annoyed. :-) 2005-05-26 14:44:51 +00:00
moodler 705e3a7f76 Registration is now a bit more in-your-face.
Every six months you get prompted by a slightly annoying button on
the admin page to re-register.  Once you've done so it disappears.
2005-05-26 14:43:31 +00:00
moodler d716e12ac4 More little fixes for the calendar days thing 2005-05-26 12:53:11 +00:00
moodler e8b9d71f03 Fixed Strange calls to get_string for weekdays in calendar
http://moodle.org/mod/forum/discuss.php?d=24476
2005-05-26 12:33:10 +00:00
ethem aabfe78ed5 $CFG 2005-05-26 11:22:30 +00:00
bobopinna e41e727022 Fixed some bugs. Now AICC seems to work. 2005-05-26 10:01:56 +00:00
ethem fcee2e9780 Fixing enrol_allowinternal. 2005-05-26 07:35:45 +00:00
gustav_delius 94acf297c6 Better name for the new function 2005-05-26 07:18:25 +00:00
gustav_delius b94257273c Disabled versioning and re-grading until it is fixed. 2005-05-26 07:11:20 +00:00
moodler fc071f0cfc file adaptive.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:55 +0000 2005-05-25 22:17:18 +00:00
gustav_delius 6680874953 reverted to version before Julian's attempt at fixing bug 3311 2005-05-25 21:41:39 +00:00
defacer dbf8f55057 Er, fix for bug 3334 once more.
If at first you don't succeed...
2005-05-25 17:54:58 +00:00
moodler 477647c885 Updated from HEAD 2005-05-25 16:29:16 +00:00
moodler 8fe1a6a72f file grades.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:59 +0000 2005-05-25 16:28:09 +00:00
moodler 6f1a4d5f55 file lesson.php was added on branch MOODLE_15_STABLE on 2005-06-03 17:16:59 +0000 2005-05-25 16:28:09 +00:00
moodler f96e334571 SOme cleaning up of the code 2005-05-25 16:25:43 +00:00
defacer 14b7da1527 Fixing the other half of bug 3334. 2005-05-25 14:26:28 +00:00
defacer 101415b202 Fixing one half of bug 3334 with the patch provided by the reporter.
Also fixing another unfriendly behavior in that screen.
2005-05-25 14:22:05 +00:00
gustav_delius 11e9ca5af1 updated database creation by exporting from my database that was created by updating from 1.4 2005-05-25 06:02:03 +00:00
moodler a4369a6ac4 file penaltyscheme.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:09 +0000 2005-05-25 02:24:44 +00:00
moodler f0eda67f46 file questionsperpage.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-05-25 02:24:44 +00:00
moodler 3ea6ab6652 file rqp.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:10 +0000 2005-05-25 02:24:44 +00:00
moodler 4597517cf5 file penalty.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:09 +0000 2005-05-25 02:24:44 +00:00
moodler d7a8d13cb4 file itemanalysis.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:09 +0000 2005-05-25 02:24:44 +00:00
moodler 289d8f834b file analysisoptions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:09 +0000 2005-05-25 02:24:44 +00:00
moodler cb219861eb file adaptive.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:09 +0000 2005-05-25 02:24:44 +00:00
moodler 206f13e19a file ratings.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler 141f2eb969 file rssarticles.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler 54c362fdaf file maxattachmentsize.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler b7f3681c1d file forumtype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler c71b977964 file subscription2.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler f86849b8e5 file subscription.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler 0d07ff6170 file allowdiscussions.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler cf1db6bad7 file rsstype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler 7e85d1188a file attachment.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
moodler 76de166ee1 file trackingtype.html was added on branch MOODLE_15_STABLE on 2005-06-03 17:17:07 +0000 2005-05-25 02:24:44 +00:00
defacer 76e2cb0a9b Backporting changes from HEAD 2005-05-24 18:58:02 +00:00
moodler 1b0649d558 Moved some things from People block to Administration. Each of them
will probably be tweaked a little more still.
2005-05-24 16:55:48 +00:00
thepurpleblob 05ac097e4c Now includes missing text re. missingword format suppporting short answer questions. 2005-05-24 16:53:34 +00:00
gustav_delius 4c21136a5b fixed bug 3329 2005-05-24 16:07:10 +00:00
bobopinna d38835ab1b Fixed some typo and bugs
Added support to Moodle 1.4 backup
2005-05-24 15:29:51 +00:00
thepurpleblob b0fe38fc78 Put addslashes around question name - truncate at unlucky point could break sql. 2005-05-24 15:17:07 +00:00
julmis ce2e784b47 Adding buttons:
- nolink
- search and replace
2005-05-24 14:21:00 +00:00
gustav_delius 9114cce39b file report.php was added on branch MOODLE_15_STABLE on 2005-06-04 08:54:56 +0000 2005-05-06 06:24:04 +00:00
gustav_delius 0d00dc375f file report.php was added on branch MOODLE_15_STABLE on 2005-06-04 08:55:37 +0000 2005-05-06 06:24:04 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
stronk7 e3058eb3d4 Now postgresql version is properly checked. 2006-01-19 11:10:26 +00:00
mits 8834437a92 making expression more soften, changed translation of "ALL" from Kanji character to Japanese syllabary characters.
meaning is same.
2006-01-19 10:25:49 +00:00
moodler dfe9354f2e db changes to data_content table 2006-01-19 09:06:22 +00:00
moodler 7972cc46bd Updated language strings
Committed by Vy-Shane Sin Fat
2006-01-19 08:59:30 +00:00
moodler 176e5c6c8e Made updating a field use PARAM_NOTAG instead of PARAM_ALPHA
Committed by Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-19 08:51:34 +00:00
mits e7d1cf7ddb making expression more soften, changed translation of "ALL" from Kanji character to Japanese syllabary characters.
meaning is same.
2006-01-19 08:23:37 +00:00
moodler bfadc7ef00 New field for menus 2006-01-19 08:22:01 +00:00
moodler f5d4ea3242 New field type for radio buttons 2006-01-19 08:18:27 +00:00
moodler 6bd4ccef92 bug fixes 2006-01-19 07:26:45 +00:00
moodler 12836b50a4 a lot of bug fixes 2006-01-19 06:45:14 +00:00
mits 070cdc9634 translated Environment strings. 2006-01-19 06:27:44 +00:00
mits 90865da680 it's better to use standard css file name. 2006-01-19 05:53:15 +00:00
moodler 99c5cb5052 bug fixes 2006-01-19 05:48:07 +00:00
moodler 11921822d5 fixing "default" bug 2006-01-19 05:28:53 +00:00
moodler 2762ca176d fixing typos 2006-01-19 03:55:02 +00:00
moodler 5054fba2cc fixing some typos 2006-01-19 03:32:47 +00:00
moodler add19b0736 Cleaned up test code.
Committed by Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-19 03:11:12 +00:00
moodler 2eac7ec168 Removed submit online assignment button for guest. (bug: 4604) 2006-01-19 02:41:11 +00:00
mits ce9380ac1e removed dupulicate styles. 2006-01-19 00:59:46 +00:00
mits 88c64e0bab removed duplicate styles.
Thank you Eloy for good suggestion!
2006-01-19 00:40:46 +00:00
stronk7 0df0a87214 Now course shortname is searched too, to avoid duplicates over it.
Bug 4607
(http://moodle.org/bugs/bug.php?op=show&bugid=4607)

Merged from MOODLE_15_STABLE
2006-01-19 00:23:01 +00:00
stronk7 9e6433925d Now I've one online teacher. Her name is Helen. Thanks! 2006-01-18 23:35:31 +00:00
mits 8657f7c831 Added one style to display the Environment results table based on standard theme. 2006-01-18 23:20:53 +00:00
stronk7 0b8f6e056b Environment strings added. 2006-01-18 23:07:10 +00:00
stronk7 e909788dae Now a final box is showed at the end of the report. 2006-01-18 23:06:20 +00:00
stronk7 2455eace43 Page finished. Now it's possible to check current and future
moodle versions... PostgreSQL people, check it against your
servers, please.
In 1-2 days I'll merge this changes to 15_STABLE, to allow
moodlers to pre-check their environments...
2006-01-18 23:05:07 +00:00
stronk7 da03cdc4b6 Added one style to display the Environment results table. 2006-01-18 19:28:20 +00:00
stronk7 049c0f4a8a Now we are able to print a pretty table with results
of the whole test.
2006-01-18 19:14:54 +00:00
stronk7 ca9bfcd048 New string available in langconfig.php: oldcharset 2006-01-18 16:06:09 +00:00
martignoni a1261eed65 Guests can no longer submit online assignment (Bug4604) 2006-01-18 15:37:57 +00:00
martignoni e86eeb4be5 Fixing wishlist bug # 4357 and french wording 2006-01-18 15:36:16 +00:00
martignoni 3b9582eb76 Introducing: managed posted forums. 2006-01-18 15:32:09 +00:00
martignoni c80c20380f auth/db and password-generation - required strings. 2006-01-18 15:29:29 +00:00
martignoni f78648426a Cache strings for my moodle, don't call get_string over and over again 2006-01-18 15:15:54 +00:00
martignoni 5485a994d1 Introducing: managed posted forums. 2006-01-18 15:14:35 +00:00
martignoni 8c5d74d7f6 New forum type: question and answer 2006-01-18 15:08:06 +00:00
martignoni 8dacd4a3dd admin/uploaduser: missing strings fixups 2006-01-18 14:57:13 +00:00
martignoni fdbcb5cef2 admin/uploaduser fixes and enhancements 2006-01-18 14:56:18 +00:00
martignoni 3133b438dd Committing lang files associated to auth/radius 2006-01-18 14:38:16 +00:00
martignoni d94a3ef84f auth/db and password-generation - required strings. 2006-01-18 14:27:55 +00:00
martignoni 9079d89a9d Admin/uploaduser fixups - lowercase oldusername and fix missing strings 2006-01-18 14:05:59 +00:00
martignoni ec01d4d214 Admin/uploaduser fixes and enhancements 2006-01-18 14:04:37 +00:00
martignoni 792a0a574a Added options to control course autocreation 2006-01-18 13:58:27 +00:00
martignoni 924f6970c9 Added some headers to the config page 2006-01-18 13:54:45 +00:00
martignoni 7e2f74231a [New] lang entry for when no course modules are in a course (for mod.html) 2006-01-18 13:47:38 +00:00
martignoni 4f8a666157 Quiz confirmation popup is now for limited attempts and/or timelimit, or a combination of the above 2006-01-18 13:45:48 +00:00
moodler b4ede3f342 Committing icon.gif. This is just a temporary icon. We need to replace it eventually.
Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-18 08:36:15 +00:00
moodler 9e1ae324f9 Textarea field type support for the data module.
Committed by Vy-Shane <vyshane@moodle.com>
2006-01-18 08:31:14 +00:00
toyomoyo 9b52161279 some small fix 2006-01-18 08:02:16 +00:00
toyomoyo 816039b5fa adding back up and restore functionality, but the user back up and restore part is not working yet 2006-01-18 06:58:50 +00:00
mits 0c49ab89c0 translated a new string for assignment. 2006-01-18 05:09:09 +00:00
moodler f7de547886 Guests can no longer submit an online assignment (Bug 4604) 2006-01-18 04:45:12 +00:00
moodler fcafeb6a9b Guests can no longer submit online assignment (Bug4604) 2006-01-18 04:34:55 +00:00
patrickslee cc86131d78 Fixed embargoed time settings is not kept in the form when re-editing by error 2006-01-18 04:14:50 +00:00
mits 46dce76ab2 polished. 2006-01-18 02:47:14 +00:00
stronk7 2984a975f9 Just work in progress... 2006-01-18 00:23:57 +00:00
mits 3e1aea5348 translated a new string. 2006-01-18 00:11:55 +00:00
mjollnir_ e49c4d3075 Fixing wishlist bug # 4357: different icon & wording in admin block for metacourse importstudents 2006-01-17 23:54:14 +00:00
mjollnir_ 824f1c40fc cache category_parent_visible so as to avoid doing millions of database queries 2006-01-17 23:46:42 +00:00
mits 24488c4752 changed based on /lang/en/forum.php:
"Cache strings for my moodle, don't call get_string over and over again"
2006-01-17 23:45:39 +00:00
mjollnir_ 5aa23eead3 Cache strings for my moodle, don't call get_string over and over again 2006-01-17 22:03:48 +00:00
mjollnir_ 454be164a3 My moodle forum overview small bugfix, counting new posts should not count adding discussions 2006-01-17 20:59:19 +00:00
mjollnir_ 185cfb095b Reworked the My Moodle course overview API to be MUCH more efficient.
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for.  This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
gbateson c5e66883ed use clean_filename for filename of text file download 2006-01-17 13:24:13 +00:00
gbateson 47edd30ca7 uses 4-spaces (Moodle standard) instead of tabs for code indenting 2006-01-17 13:15:16 +00:00
gbateson 43b4804860 micro increment version number to 2.1.8 2006-01-17 12:49:25 +00:00
gbateson 6ed5989c4a in "hotpot" table, rename "microreporting" field to "clickreporting" (PostgreSQL only) 2006-01-17 12:48:37 +00:00
gbateson 8d4632772a mysql does not need to call "hotpot_update_to_v2_1_6()" or "hotpot_update_to_v2_1_8()" functions 2006-01-17 12:46:26 +00:00
mits bdbe7b3cc3 polished. 2006-01-17 10:47:16 +00:00
mits 9aecf1c865 polished. 2006-01-17 10:42:24 +00:00
moodler f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
moodler 9833289841 Added default values for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:10:56 +00:00
gbateson 20870c450b allow user to set encoding when "lib/excellib.class.php" is not available 2006-01-17 05:45:01 +00:00
dlnsk a4f13903dc ? "?" 2006-01-17 05:01:36 +00:00
dlnsk 6a6f46ed8f ? ? "? ? ?" 2006-01-17 05:00:31 +00:00
gbateson 747c22c5e8 microincrement version number to 2.1.7 2006-01-17 04:31:08 +00:00
toyomoyo ab638383d2 bug fix for 4594 2006-01-17 04:29:33 +00:00
gbateson f78640f467 fixed Excel reports to work with new "excellib.class.php" and fixed Excel and Text reports to handle multicolumn and multirow cells 2006-01-17 04:16:37 +00:00
mjollnir_ b12d055a8f Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405 2006-01-17 00:21:29 +00:00
martinlanghoff 1ab3490ec9 admin/uploaduser: fix password update bug, safer renames, optimized execution
This patch bundles 3 changes:

    + password inserts/updates were not being md5()d
    + skip the user altogether when the rename fails, to
      avoid clobbering the existing user account
    + get_courses() has moved outside the main loop so
      it is called only once -- huge difference in
      performance and number of DB queries
2006-01-16 23:54:52 +00:00
stronk7 572f46d3d2 This is going to be the frontend. Just reseting the file
to its minimum for now.
2006-01-16 23:31:05 +00:00
stronk7 f58b518fec After thinking a bit about it, this file is, exactly,
one library, so add it here. The admin/environment.php
will be the interface to handle all this stuff. ;-)
2006-01-16 23:25:14 +00:00
mjollnir_ 460ec53664 Added missing fields in restore for embargoed announcements 2006-01-16 22:55:18 +00:00
skodak 68913aecd0 ignore set_time_limit() errors 2006-01-16 22:55:17 +00:00
mits 2f84eb91dd polished. 2006-01-16 22:34:39 +00:00
skodak 8914cb828c ignore ini_set() result 2006-01-16 22:23:52 +00:00
skodak 4c8c65ecd5 added byteserving, fixed cookieless mode, changed timeout handling, minor code cleanup 2006-01-16 22:21:41 +00:00
stronk7 9bdc03bc06 Added the higer level check_moodle_environment()
It's the only one to be used from the rest of code.
Changed recommended to optional.
2006-01-16 22:07:59 +00:00
stronk7 36372e0cde Changed recommended to optional. 2006-01-16 22:06:15 +00:00
mjollnir_ f332bd025c Added cast to string in choose_from_menu_nested as well as choose_from_menu 2006-01-16 21:50:57 +00:00
stronk7 21ee1ca9f7 The logic is now completed and DB, PHP and PHP_EXTENSIONS
can be checked, so I commit this.
Just starting to build the presentation layer of the stuff.
2006-01-16 19:32:14 +00:00
stronk7 302c93aec4 Put some real data about reqs, both for 1.5 and 1.6. 2006-01-16 19:29:50 +00:00
stronk7 5deb5563f5 fit PHP_EXTENSION under PHP_EXTENSIONS container. 2006-01-16 18:08:11 +00:00
andreabix b384ef6a6c Typo corrected. Thanks to Daniele Cordella 2006-01-16 15:55:32 +00:00
mits 44963ec934 translated 2 new help files and some strings for forum. 2006-01-16 15:31:32 +00:00
stronk7 95e8227bb9 Initial model of Moodle compatibility matrix to be
checked from admin, install and upgrade. Now it includes
one "false" version to be able to test it.
2006-01-16 13:53:30 +00:00
stronk7 79cccd507d Added categoryboxcontent to properly display the list of categories. 2006-01-16 11:08:23 +00:00
stronk7 ff4651e6e5 Part of Bug 4583. Now insert_record() always unset the primary key
(instead of the first, non-cached, invocation). Also, modified one
condition with no sense now. Needs testing (specially from PostgreSQL,
although it should work and the bug would be solved.
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:36:59 +00:00
stronk7 b1a88d0413 Part of Bug 4583. Now backup tables are moodle-style compliant.
Also, the 4th parameter used in insert_record() has been erased
to avoid the bug itself. PortgreSQL upgrade not tested!
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:23:48 +00:00
mjollnir_ b22008bae0 after discussion with Eloy: Always strip controlchars in xml_tag_safe_content 2006-01-16 09:07:30 +00:00
mjollnir_ bd905b4568 Backing out type checking in choose_from_menu and choose_from_menu nested. Perhaps will add casting to string on both sides later 2006-01-16 09:05:23 +00:00
mjollnir_ abfd14da26 Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;) 2006-01-16 08:59:20 +00:00
mjollnir_ df1b52e8bb Contextual help for participants list 'with selected users' actions 2006-01-16 08:52:21 +00:00
mjollnir_ a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
moodler bdebe6c40c this is the db migration script, this is not called at the moment, please do not call this script as it is only in testing stage. 2006-01-16 07:59:04 +00:00
moodler 5d7a2722d5 more bugs 2006-01-16 07:57:56 +00:00
martinlanghoff 18147bc254 lib/datalib.php - fixed missing return and global $CFG
Tidyup after merging Tim Hunt's patches.
2006-01-16 06:35:58 +00:00
ikawhero 89c870e7b2 Quiz summary text shouldn't be cleaned as only entered by teacher
Merged from stable
2006-01-16 06:29:51 +00:00
martinlanghoff d53c5dfc63 lib/datalib.php: Fixed a problem that get_recordset() does not return results
Author: Patrick Li <patrick@catalyst.net.nz>
2006-01-16 06:26:47 +00:00
martinlanghoff eb856e3b4d lib/datalib.php [5/6] Make other methods that obtain a record set use the
appropriate get_recordset* function, instead of duplicating
code.

Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:24:53 +00:00
martinlanghoff 26c0a58702 lib/datalib.php [5/6] Make the get_records*_menu family of functions use the
get_recordset* functions, instead of duplicating code.


Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:23:17 +00:00
martinlanghoff 9b277c0d80 lib/datalib.php [4/6] Make the get_records* family of functions use the
get_recordset* functions, instead of duplicating code.

Note: I've replaced the @deprecated tokens in phpdoc with an indication
that the get_records* calls are valid as convenience calls. The
get_recordset*() calls should be considered for performance and memory
footprint, but are not mandatory.

In a sense, deprecating get_records*() would mean a commitment to remove
them within X number of versions, which I am not sure we will do. Now,
if phpdoc has a @discouraged token, I'd like to hear about it ;-)

Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:17:38 +00:00
martinlanghoff 1184063286 lib/datalib.php [3/6] Move all instances of code that processes the
(..., $field1, $value1, $field2, $value2, $field3, $value3, ...)
part of argument lists to a common method, and improve the
comments relating to those arguments on calling methods.

Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:07:57 +00:00
martinlanghoff 0934b9def8 lib/datalib.php [2/6] Version of Martin Langhoff's patch to add the get_recordset_*
family of methods.

Author: Martin Langhoff <martin@catalyst.net.nz> && Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:05:43 +00:00
martinlanghoff d4c54cd6a6 lib/datalib.php [1/6] Remove unreachable code (break statements after returns in switches).
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:04:09 +00:00
mits 942d9298bf translated new strings for RADIUS. 2006-01-16 05:42:51 +00:00
mjollnir_ 325a76ead3 Fixing missing prefix (copy & paste error) in forum type upgrade from very recent commit 2006-01-16 05:36:33 +00:00
mits 88b75aebf7 translated new strings for New forum type. 2006-01-16 05:33:21 +00:00
martinlanghoff 9d9912f351 auth/radius: adding attribution 2006-01-16 05:25:37 +00:00
martinlanghoff b099203d37 Committing lang files associated to auth/radius -- a module contributed by Clive Gould <clive@ce.bromley.ac.uk> 2006-01-16 05:24:08 +00:00
martinlanghoff 381ad73cec lang/en/auth.php 2006-01-16 05:21:50 +00:00
mits 4fc8dce4bf translated for New forum type. 2006-01-16 05:17:43 +00:00
mits 09ece2b7b6 polished some and translated new strings. 2006-01-16 04:58:43 +00:00
mjollnir_ 098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
moodler e746e4dd99 added missing semicolon in &nbsp (bug#4592) 2006-01-16 04:29:41 +00:00
martinlanghoff 2037106308 Merged from MOODLE_15_STABLE - readfile_chunked() - do not timeout on slow (dial up) clients, and flush buffers explicitly to avoid hogging memory when ob is on 2006-01-16 04:02:28 +00:00
martinlanghoff 1f84d800af admin/uploaduser: missing strings fixups 2006-01-16 03:43:41 +00:00
martinlanghoff d8559098ff admin/uploaduser fixups - lowercase oldusername and fix missing strings 2006-01-16 03:16:08 +00:00
mjollnir_ 950c35a96c Changing the limit for drop down menus on the log page to something reasonable (1000) 2006-01-16 03:15:48 +00:00
martinlanghoff a2ce7344de admin/uploaduser fixes and enhancements
Several fixes and enhancements:

 + No longer fail due to timeouts or memory limits. And let apache know
   that we're a memory hog so it can clean up after us.

 + Add support for user account updates (optional)

 + Add support for user account renames (optional)

 + Cleaned up the logic that deals with creation and failure

 + More robust error handling

 + Use optional_param() -- no longer depends on register_globals
   -- when do we switch that off?

 + Added the relevant documentation.
2006-01-16 03:15:32 +00:00
martinlanghoff 5f8ca5dfb6 enrol/db: Better warning when the user record is missing. 2006-01-16 03:12:55 +00:00
martinlanghoff 6ee745f7ec enrol/database: Fix for stupid SQL escaping error. 2006-01-16 03:12:10 +00:00
martinlanghoff 2642328505 enrol/database -- course autocreation now follows new configuration variables 2006-01-16 03:11:46 +00:00
martinlanghoff 32d9287f89 enrol/database -- added options to control course autocreation 2006-01-16 03:10:39 +00:00
martinlanghoff e1c1a4a88f enrol/database - added some headers to the config page 2006-01-16 03:09:32 +00:00
martinlanghoff 491651f448 enrol/database - now with added sync and course autocreation
Added an external script to invoke automatic enrol-unenrol. It also
will autocreate courses based on a template.
2006-01-16 03:08:50 +00:00
martinlanghoff 061fb2e7c3 datalib: teach moodle to pull an array from a column
the new get_fieldset_sql() gets around the nastiness in get_recordset()
that treats the first column as the unique key of the recordset. You can
now request a column from a table, or a set of values as a set of 1 field
records.
2006-01-16 03:07:23 +00:00
martinlanghoff 92ab8e50d4 enrol/database tidyup: cleanup mysql hack if connect errors out 2006-01-16 03:04:31 +00:00
martinlanghoff 3e353d3622 enrol/database tidyup: wrap one line 2006-01-16 03:03:59 +00:00
martinlanghoff 388cbbfb8e enrol/database: split out db connection/disconnection to separate methods
Split them out in preparation for a sync method -- encapsulates the
nasty MySQL hack.
2006-01-16 03:03:21 +00:00
mjollnir_ d5250d2f13 RSS client block: users can now add their own rss feeds and pick from their feeds and admin feeds. users don't see feeds added by other nonadmin users. this is probably only useful for my moodle since they can't edit any other pages 2006-01-16 03:02:42 +00:00
martinlanghoff 33a9fd4745 Added auth_db_sync_users.php 2006-01-16 03:02:30 +00:00
moodler 7b0b5c14be added missing semicolon in &nbsp (bug#4592) 2006-01-16 03:01:28 +00:00
martinlanghoff 6e45da59d1 auth/db and password-generation - required strings. 2006-01-16 02:54:56 +00:00
martinlanghoff ae57432404 auth/db now support internal passwords and sync_users() 2006-01-16 02:54:16 +00:00
martinlanghoff e3b6b2b083 User uploads allow missing password
User upload now has an option to allow missing passwords to be accepted -
if we have an email field available. Cron will pick up those users, and call
setnew_password_and_mail() for them.

Effective way to spam your way through life...
2006-01-16 02:53:19 +00:00
martinlanghoff 99a14a54e8 setnew_password_and_mail() gives users a tmp passwords and emails a notice. 2006-01-16 02:51:02 +00:00
mjollnir_ a9e1e4c850 Backup xml tags now support attributes and a new function for xml content to be safe utf-8. Eloy can you please review this patch? 2006-01-16 02:37:19 +00:00
toyomoyo 85ef664d10 bug fixes 2006-01-16 02:26:54 +00:00
toyomoyo f9952852b1 adding more xmls 2006-01-16 01:56:21 +00:00
mjollnir_ a94baeaf20 Abstracted all the stuff that gets backup prefs from request, and put
it into session. This makes it easier to add a new stages
	and not have to write hidden fields and such like
2006-01-16 00:39:01 +00:00
mits 11c8a91aeb polished. 2006-01-15 23:29:47 +00:00
mits a464f013ea modified expression of "time limit".
meaning is same.
2006-01-15 23:11:33 +00:00
mjollnir_ 9f23133b04 Add instances to info/mods in scheduled backup so they can be granularly restore from 2006-01-15 22:46:51 +00:00
mjollnir_ f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
mits f16021da64 polished. 2006-01-15 20:57:38 +00:00
mits 202d709875 polished. 2006-01-15 19:09:15 +00:00
stronk7 c34855c2ed Now ewiki supports initial load of contents from course file area.
Original preg_match() was a bit strange so I've replaced it with
clean_filename() + !is_dir() check. Bug 3830.
(http://moodle.org/bugs/bug.php?op=show&bugid=3830)

Merged from MOODLE_15_STABLE
2006-01-15 11:58:46 +00:00
defacer ce432524ee Changing the naming scheme for auto-generated HTML ids here; due to copy/paste
this might have resulted in non-unique ids in the same page.

REALLY small print issue... isn't it unbelievable what you might find when
digging into CVS for a completely unrelated reason? :-)
2006-01-15 02:32:04 +00:00
gbateson ff4fad2701 improved readability of "foreign key could not be updated" error message 2006-01-15 02:08:34 +00:00
defacer 85e0be2aaa Seems I got the only remaining instance of set_default(),
so it's time to draw the curtains.
2006-01-15 01:52:07 +00:00
gbateson 249daa5d3c if foreign keys are missing, backup will not abort, but record will not be restored 2006-01-15 01:47:08 +00:00
defacer 3ce130eac5 When creating/editing events, it seems that the current/existing timestart
is not pre-filled in the forms. This is a regression, no idea how and when
it happened. Investigating...

First of all let's get rid of this "HACK! Don't use!" function...
2006-01-15 01:44:08 +00:00
mits 57e7a07902 polished. 2006-01-14 16:12:04 +00:00
mits 113b2a6af7 polished. 2006-01-14 16:07:00 +00:00
mits cc3ed06824 polished. 2006-01-14 13:43:21 +00:00
stronk7 cfae73b6b4 [BugFix] Bug #4586 in the moodle bug tracker
Please, dont forget to apply bug fixes to head too. ;-)

Merged from MOODLE_15_STABLE
2006-01-14 11:27:52 +00:00
gbateson 1a4969431c optimzed SQL query in hotpot_get_participants to return only user ids (not whole user record) 2006-01-14 04:04:57 +00:00
mits dbddead152 polished. 2006-01-14 01:37:25 +00:00
mits 9d54253970 translated a new string for lesson. 2006-01-13 23:39:25 +00:00
mits 589f8f75f1 making expression soften, changed "when" from Kanji character to Japanese syllabary characters.
meaning is same.
2006-01-13 23:30:40 +00:00
gbateson b84defd2ad corrected spelling of "Potatatoes" to "Potatoes" on some table comments 2006-01-13 23:07:47 +00:00
michaelpenne b4f4f09ca8 [Fixed] Fails gracefully when no course modules are found.
[Fixed] Does not remove other modules from the activity link options due to same ids.
2006-01-13 21:57:42 +00:00
michaelpenne dfd02fa5d2 [New] lang entry for when no course modules are in a course (for mod.html) 2006-01-13 21:55:21 +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
mits a323daf788 modified based on standard theme. 2006-01-13 19:32:03 +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 42f9b64b80 On second thought, we can be a bit more diplomatic with this one.
The best of both worlds, but a hack is a hack. ;-)
2006-01-13 16:28:19 +00:00
defacer 24acdc993b Fixing a bug, see http://moodle.org/mod/forum/discuss.php?d=37545
Instead of grabbing variables defined by the course format with
global $var; the block now recomputes them itself.

Of course this also introduces a (significant?) performance hit.

I think it's much preferable to "live with" the hit until a good
solution is developed rather than have a hacky solution that could
break anytime for any obscure reason (case in point). Objections?
2006-01-13 16:20:40 +00:00
defacer b5f1b8b10e Super-basic export to iCal functionality, still very raw. But works! 2006-01-13 15:34:30 +00:00
defacer e58e1a9474 XHTML fixes for the administration page, plus a couple assorted styles. 2006-01-13 15:30:24 +00:00
defacer 1198996db6 Some XHTML fixes I had lying around. 2006-01-13 15:15:19 +00:00
defacer f3b6ac1539 Incoming: Bennu library to be used for iCal imports/exports. 2006-01-13 15:06:25 +00:00
stronk7 5eedb21ee1 Always search for languages in both directories, else, one could
be stroking the other.
2006-01-13 14:43:51 +00:00
stronk7 2c76ad371b This was causing some disruption in tests because "SET CHARSET" changes
conection charset to default DB charset and not to the specified 'utf8'.
2006-01-13 14:26:53 +00:00
drabureesh ac4d156c33 Latest Arabic Translation update. By: Dr. Ali H. Abureesh 2006-01-13 13:33:00 +00:00
gbateson 49b67b7be1 corrected the spelling of "Potatatoes" to "Potatoes" in the comments of several tables 2006-01-13 08:44:40 +00:00
gbateson e42fa8c5da add questions_name_idx and strings_stirng _idx 2006-01-13 08:37:10 +00:00
gbateson abe2308eab if starttime and endtime are empty, set them to zero 2006-01-13 07:57:50 +00:00
gbateson 729b2dfad2 remove unused microreportid field from postgre7 database 2006-01-13 07:56:33 +00:00
toyomoyo e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00
gbateson 85e537d4f9 add, delete and rename certain fields and indexes that were not correctly setup by postgres7.sql 2006-01-13 06:08:27 +00:00
mits 2d01f21790 polished. 2006-01-13 05:59:30 +00:00
mits a5809f56db polished. 2006-01-13 05:15:55 +00:00
mjollnir_ 20258a2e43 Added in a check for php5 before including uni_soap.php5 - for some reason it was getting through and being included in my php 4.3 something 2006-01-13 04:51:39 +00:00
mits 14c6c50113 modified for Granular backup & restore. 2006-01-13 04:46:37 +00:00
mjollnir_ 3ccbb6eb9d Preventing fatal errors from libraries getting included more than once. Please remember to use require_once ! 2006-01-13 04:35:21 +00:00
mjollnir_ 1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
mjollnir_ 0f4e83c173 Fixing up a problem in chat login - ip address is lastip not lastIP - member variables are case sensitive 2006-01-13 03:09:24 +00:00
mits 534f4439f0 polished. 2006-01-13 00:06:29 +00:00
mjollnir_ be2ae09442 Replaced mysql specific comments with generic ones in hotpot sql 2006-01-12 23:28:20 +00:00
mits 5458c1daa8 polished. 2006-01-12 20:58:10 +00:00
mits cf2fa23fb5 polished. 2006-01-12 20:26:04 +00:00
mjollnir_ b44a6e5a04 Fixed a fatal error in scorm locallib 2006-01-12 20:05:34 +00:00
bobopinna 810390bcf2 Fixed some theme skinning bugs.
Now every theme can modify scorm's icons.
2006-01-12 11:29:16 +00:00
mits 8677ae444b polished.
translated new help files for SCORM.
2006-01-12 10:42:30 +00:00
bobopinna e453c6e130 First traslation 2006-01-12 09:11:43 +00:00
bobopinna cd5811bc97 Added missing helps 2006-01-12 09:08:58 +00:00
mjollnir_ fbcbd77c85 Fixing bug # 4567: warning in get_my_courses 2006-01-12 02:55:59 +00:00
toyomoyo 7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
mits dc1acc9bcb polished. 2006-01-12 00:31:28 +00:00
mits 8dcb43dbc5 polished. 2006-01-11 18:59:57 +00:00
mits 2f49e961af polished. 2006-01-11 17:49:12 +00:00
mits 8fd10d154d polished. 2006-01-11 17:37:06 +00:00
mits 331c615a8c polished. 2006-01-11 17:24:29 +00:00
stronk7 f4ba785b13 Solved one problem with frames and activitynames filter.
(http://moodle.org/mod/forum/discuss.php?d=28382)

Merged from MOODLE_15_STABLE
2006-01-11 15:22:13 +00:00
mits f32fc8264d translated new strings for quiz limited attempts. 2006-01-11 06:23:33 +00:00
moodler 35da89c2f6 Change solution for bug 4540. See: http://moodle.org/mod/forum/discuss.php?d=29588 2006-01-11 06:18:46 +00:00
mits e86686ee16 added ".error" based on standard theme. 2006-01-11 06:13:55 +00:00
toyomoyo 153185152a adding new field and bug fix 2006-01-11 03:05:34 +00:00
toyomoyo 7098681423 adding new fields in xml, and bug fixes 2006-01-11 03:04:57 +00:00
mjollnir_ 4534774cc8 New style for errors (useful for form validation) (standard theme) 2006-01-11 02:33:50 +00:00
mjollnir_ 82c859921b Added selectall/deselectall to files/index.php 2006-01-11 02:26:26 +00:00
mjollnir_ 1404079794 added useful function array_is_nested to moodlelib;
added choose_from_menu_nested which takes a nested array and prints
<optgroup> for first level of array and then <option> under that
2006-01-11 02:22:16 +00:00
mjollnir_ d0d272e758 A few changes to weblib - print_checkbox can now return and have script elements, choose_from_menu does type comparisons when testing for selected, added print_textfield function 2006-01-11 02:14:37 +00:00
toyomoyo c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
mjollnir_ 2422dc936a Quiz confirmation popup is now for limited attempts and/or timelimit, or a combination of the above 2006-01-11 01:00:34 +00:00
mits 46d0a7617f polished. 2006-01-10 23:49:10 +00:00
patrickslee d815d6ab96 Removed a block of local-specific code. They are not going upstream. 2006-01-10 21:30:21 +00:00
bobopinna aedbddfd31 Added multi attempt management
Readded popup menu structure mode
Fixed autocontinue/nav.event with XHTML code
2006-01-10 15:42:36 +00:00
mits b449858177 polished. 2006-01-10 11:16:01 +00:00
moodler ee8c71c235 added array_unique($installedfilters) so that no redundant filter is stored in DB 2006-01-10 04:11:56 +00:00
gbateson 3ebf4ea79e change relative URLs in stylsheets to absolute URLs 2006-01-10 04:06:38 +00:00
moodler 562452486d Adding feature for resizeable flash object (Bug #: 4540) 2006-01-10 02:33:58 +00:00
mjollnir_ 79a1029455 Merged from MOODLE_15_STABLE: Metacourse unenrolling: fixes bug #4541 2006-01-10 01:19:44 +00:00
mits 863a910364 polished. 2006-01-09 20:42:25 +00:00
mits aa61fabbcb making expression soften, changed "Further","more" from Kanji character to Japanese syllabary characters.
meaning is same.
2006-01-09 17:32:09 +00:00
mits a4de9c637f polished. 2006-01-09 12:22:32 +00:00
mits eb06570c50 polished. 2006-01-09 10:42:02 +00:00
toyomoyo fb7b685530 adding utf8 support scripts 2006-01-09 06:12:18 +00:00
toyomoyo 1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
patrickslee bbbb201364 Wrong default data for $CFG->changepassword
Merged from MOODLE_15_STABLE
2006-01-09 03:54:11 +00:00
toyomoyo 6e113a156a formatting etc 2006-01-09 02:06:51 +00:00
moodler 6db498061f Fixed bug #4536 : error in optional_param 2006-01-09 01:55:42 +00:00
toyomoyo fed1f84eac bug fix for #4504 2006-01-09 01:25:11 +00:00
ralf-bonn 15c0df00e2 added strings and new files 2006-01-08 20:14:49 +00:00
gbateson c5295983e6 removed unnecessary tabs at end of lines 2006-01-08 05:53:49 +00:00
gbateson 6166591d01 changes to allow JQuiz in mobile format 2006-01-08 05:43:03 +00:00
gbateson eab7bfe215 defined PARAM_CLEAN if necessary (for mobile template on Moodle<=1.4) 2006-01-08 05:34:31 +00:00
mits a34f24f3c4 re-translated 'item analysis'. 2006-01-07 17:38:38 +00:00
stronk7 dee5beecd7 If both mbstring and iconv are not present, use recode
as last resort to perform charset conversions before using
internal libraries.
2006-01-07 17:15:47 +00:00
koenr fabeaa5418 for now changed 'test' to 'quiz' according discussion http://moodle.org/mod/forum/discuss.php?d=37085 2006-01-07 16:46:39 +00:00
koenr 9c2f200df2 New Swedish language files from Anders 2006-01-07 15:04:27 +00:00
stronk7 10c581fcc6 We were being too much strict and concepts can contain quotes and
other characters. Bug 4543.
(http://moodle.org/bugs/bug.php?op=show&bugid=4543)

Merged from MOODLE_15_STABLE
2006-01-07 12:31:48 +00:00
stronk7 7123515431 Now glossary pivot should be working fine under every charset. 2006-01-07 12:11:52 +00:00
koenr 5112f02cbe new strings from caroly 2006-01-07 10:59:14 +00:00
stronk7 7d5ab7e2ed Avoid one notice. 2006-01-07 10:44:44 +00:00
stronk7 72452dc1ea HEAD install is working again... 2006-01-07 10:15:04 +00:00
stronk7 2412b5ab1b Avoid one notice if the dataroot/lang dir doesn't exist. 2006-01-07 10:00:49 +00:00
mits 424cdc2613 polished.
translated a help file for workshop.
2006-01-07 09:04:45 +00:00
mits 4ec568c012 polished. 2006-01-06 17:29:59 +00:00
mits 833715b53d polished. 2006-01-06 16:49:03 +00:00
ethem 896cb03bf4 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2006-01-06 14:15:33 +00:00
ethem 66ba9796d4 Moving some constants to const.php. 2006-01-06 12:14:17 +00:00
martignoni 07ce491499 Typo corrected 2006-01-06 10:39:51 +00:00
martignoni bdf07b79ca Added some strings for lang management 2006-01-06 10:37:20 +00:00
martignoni 9810fa0fe9 Needed strings to support email charsets. 2006-01-06 10:28:08 +00:00
martignoni cb16be8446 Address Verification System (AVS). 2006-01-06 10:21:27 +00:00
martignoni cfda14d100 Added some missing strings 2006-01-06 10:15:36 +00:00
moodler ed55f76bb5 Nicer presentation of quiz questions (merged from stable) 2006-01-06 07:26:25 +00:00
mits 16f1dc71c2 translated new strings for Language Import Utility. 2006-01-06 05:43:24 +00:00
moodler fdbc5bb8a3 Fixed Bug #4533 - Max upload size at course level ignored 2006-01-06 05:16:23 +00:00
toyomoyo 2e7efb7b39 added some strings for lang management 2006-01-06 02:15:07 +00:00
toyomoyo 1a71d8074c some changes to lang pack management 2006-01-06 02:14:16 +00:00
mits ac00b9977d translated new strings for e-mail charset.
Thank you Eloy.
What a great work!!
2006-01-05 17:38:39 +00:00
stronk7 6a5ba270c4 Needed strings to support email charsets. 2006-01-05 17:23:26 +00:00
stronk7 04d4d63368 Allow to define some globals about mail encodings.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 17:17:40 +00:00
stronk7 2b2b378f7f Now users, if allowed, can select their prefered email encoding.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 17:11:31 +00:00
stronk7 2bc0b7a0c4 Now ewiki should work pretty fine under any charset. UTF-8 included,
of course!

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:53:03 +00:00
stronk7 9661a2d321 Now Survey is using the new Excel generation API.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:47:45 +00:00
stronk7 84e4d32e37 More uses for current_charset()
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:46:19 +00:00
stronk7 092a022695 More uses for current_charset().
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:44:55 +00:00
stronk7 8867a3bb88 Now Quiz is using the new Excel generation API.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:43:05 +00:00
stronk7 31d3283ee7 Now Hotpot is using the new Excel generation API.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:38:20 +00:00
stronk7 a983f05a39 Now the group by initial should work under multibyte strings.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:35:13 +00:00
stronk7 b089856647 Now Choice is using the new Excel generation API
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:33:29 +00:00
stronk7 b49f9e8932 And chat is using current_charset() too.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:31:29 +00:00
ethem a1c967cc73 Address Verification System (AVS). 2006-01-05 16:28:34 +00:00
stronk7 1884f2a6a7 Now it's possible to configure what is going to be counted (words or letters)
because some languages don't have word separators.

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:27:20 +00:00
stronk7 3264a617a0 Message system now use current_charset().
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:19:26 +00:00
stronk7 46115724f5 New current_charset() function added.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:04:26 +00:00
mits 1d5295b62b translated a new string for Authorize.net. 2006-01-05 15:59:49 +00:00
stronk7 0dd23062c9 Adding new defaults for email encoding.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 15:59:16 +00:00
stronk7 865e9a828c Now gradebook is using the new Excel generation API.
Added some !empty() checks to avoid excel file corruption
where there aren't users or grades.

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 15:49:21 +00:00
stronk7 c738a0920f Nobody is now calling get_string_from_file(). And the multilang filter supports
utf8 langs too

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 15:46:01 +00:00
ethem 4bfda899b6 Address Verification System (AVS). 2006-01-05 14:30:49 +00:00
ethem e1e35bb0a5 Address Verification System string. 2006-01-05 14:29:34 +00:00
stronk7 4ec4f25c7d Now doc index uses current_charset()
TODO: Modif. to document_file() to support both 1.6 lang packs and
      having them stored in moodledata!!!

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:34:31 +00:00
stronk7 7af4b62b57 Now OLD course grades page is using the new Excel generation API.
Should we delete this??????

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:32:04 +00:00
lonecatz 7c273939dc Translate more strings 2006-01-05 13:16:35 +00:00
stronk7 7124cc16e7 Now rss_unhtmlentities() is not used anymore!
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:13:06 +00:00
mits dd7af6cff2 translated new strings for scorm. 2006-01-05 10:26:51 +00:00
lonecatz c6437da3bc Translate more strings 2006-01-05 09:15:24 +00:00
bobopinna d051bc2002 Added some missing string 2006-01-05 08:25:31 +00:00
bobopinna c9cc211bd2 Fixed a bad function call 2006-01-05 08:24:53 +00:00
moodler df018181b6 Updated tags file 2006-01-05 07:51:10 +00:00
moodler 85f393ea4d Just updating some old changes here 2006-01-05 07:14:14 +00:00
moodler 39ee02a3b1 Various old fixes that had not been checked in 2006-01-05 07:09:35 +00:00
moodler d3f9f1f85d Moving some functions to setuplib.php so they are first 2006-01-05 07:08:10 +00:00
toyomoyo f66a6ab716 language list file to keep in /lib, in case user can't use fopen, this list is read to get a list of possible languages to download from download.moodle.org 2006-01-05 06:53:05 +00:00
moodler fb5928bddd Temporarily restored rss_unhtmlentities that was recently removed by Eloy.
Eloy, you may want to check this... The RSS client block was using this function.
2006-01-05 06:51:46 +00:00
moodler ef26f27869 Change string name in admin list 2006-01-05 06:30:54 +00:00
moodler 0b5f5c0de0 Some old fix, that wasn't checked in 2006-01-05 06:30:12 +00:00
moodler 3699264c68 Something old needing checking in 2006-01-05 06:28:57 +00:00
mits 3a398afcf1 translated a new string for Authorize.net. 2006-01-05 05:16:04 +00:00
ethem e74d4dc1b4 Send warning email to admins X days ago
how many status of 'authorized/pending capture' transaction is there,
 before transactions have expired.
2006-01-04 18:16:39 +00:00
mits ebc763c95c polished.
translated new strings for Authorize.net.
2006-01-04 16:10:36 +00:00
martignoni 92758d8094 Some forgotten strings 2006-01-04 16:01:41 +00:00
mits d2106e57e5 polished. 2006-01-04 15:59:11 +00:00
martignoni 820a80dd4c One forgotten string :-) 2006-01-04 15:39:02 +00:00
martignoni cf41139ee2 Small typo corrected 2006-01-04 15:18:38 +00:00
martignoni 11a562f96d Expire transaction after 30 days. 2006-01-04 15:15:31 +00:00
martignoni ca44c3795f Config an_review_day renamed to an_capture_day.
Inform admin will be expired transactions 2 days ago.
Help for an_review and an_capture_day to admins.
2006-01-04 15:14:53 +00:00
ethem 2adf93c833 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2006-01-04 15:10:23 +00:00
martignoni bc71193626 Better wording for "capture" 2006-01-04 10:41:43 +00:00
martignoni c3b4ebe34a Settlement and order status strings. 2006-01-04 10:39:29 +00:00
martignoni dbb2322e62 Participation report - check for course modules and print an error if there are none. 2006-01-04 10:28:01 +00:00
martignoni ccf3ebee43 Some strings for lang pack import utility 2006-01-04 10:25:11 +00:00
martignoni fe7a3c2560 Correction suggested by Laurent Lagriffoul. Credit goes to him 2006-01-04 08:33:04 +00:00
martignoni 556a000807 Typo corrected thanks to Joseph R?zeau 2006-01-04 08:26:33 +00:00
ethem 8a92768d71 Sql fix. 2006-01-04 08:25:16 +00:00
moodler 6aaa17c7cc Merging language-pack-related updates from Eloy's MOODLE_16_UTF8 branch.
Do not use that branch any more!!
2006-01-04 08:23:42 +00:00
martignoni 678943cba7 Correction of a bug discovered and corrected by Olivier CATTEAU. 2006-01-04 08:22:13 +00:00
moodler 32b2ada2de Fixed some parameters - Christian 2006-01-04 08:21:07 +00:00
toyomoyo 16ee05ad8f merged, limit of students displayed = 20 2006-01-04 05:22:53 +00:00
toyomoyo 4d1b2016fd merged, bug fix for #4431 2006-01-04 03:08:08 +00:00
martinlanghoff e2e6b166df Merged from MOODLE_15_STABLE - AdoDB tests cleanup after Secunia Advisory SA18267 2006-01-03 20:53:15 +00:00
martinlanghoff ed5cc66d5d Merged from MOODLE_15_STABLE: Fix for Secunia Advisory SA18267 - plus logging of suspicious activity 2006-01-03 20:42:39 +00:00
vthung 517cc94ce0 Modified some strings 2006-01-03 16:28:13 +00:00
vthung dda047da73 Oops, some errors with UTF_8 2006-01-03 16:23:03 +00:00
vthung e76a8d2211 Oops, some errors with UTF_8 2006-01-03 16:05:17 +00:00
vthung b326b3e8d7 Added some new strings 2006-01-03 15:49:27 +00:00
vthung 0925ada5ae Modified some strings 2006-01-03 15:08:29 +00:00
ethem ea370453c2 Expire transaction after 30 days. 2006-01-03 11:21:18 +00:00
ethem 241fbcf510 Config an_review_day renamed to an_capture_day.
Inform admin will be expired transactions 2 days ago.
Help for an_review and an_capture_day to admins.
2006-01-03 10:23:28 +00:00
mits 023af16e19 polished.
translated a help file for workshop.
2006-01-02 21:01:06 +00:00
mits 69c9120466 polished.
translated a help file for workshop.
2006-01-02 17:41:16 +00:00
mits 1e1140cb9b polished. 2006-01-02 15:05:10 +00:00
gbateson 69407d9549 allow import from HP5 quizzes (including JBC and old JQuiz) 2006-01-02 14:33:29 +00:00
mits a1e0436b8e polished. 2006-01-02 13:53:27 +00:00
barias ab9bfb5601 Minor updates in spanish translation 2006-01-02 10:07:22 +00:00
ethem 6aa31974bd Inform students in cron function. 2006-01-02 09:45:07 +00:00
ethem 4014910e29 enrol_authorize_refunds must be updated, not enrol_authorize. 2006-01-02 09:34:10 +00:00
ethem dfb9c29043 Settlement date. 2006-01-02 09:30:35 +00:00
mits 6ff09b748a polished. 2006-01-02 00:42:46 +00:00
vthung 39b1c90427 Added some new strings 2006-01-01 14:38:16 +00:00
vthung c85e9910d1 Added a new string 2006-01-01 13:37:04 +00:00
gbateson b18fd5ca39 added unicode support (all Hot Potatoes quiz types) 2006-01-01 12:03:51 +00:00
vthung 4e302ae4c6 Modified some strings 2005-12-31 18:06:27 +00:00
vthung 38a491feb3 Modified some strings 2005-12-31 17:59:39 +00:00
gbateson 2072cc7100 for JCloze import, defaultgrade (per gap)= 1, and defaultgrade (per exercise) = number of gaps 2005-12-31 14:52:18 +00:00
gbateson 2ccf56f90d fixed import of JCloze into quiz module as a MULTIANSWER question 2005-12-31 10:38:57 +00:00
mits 7320159ddb translated a help file for workshop. 2005-12-31 02:29:59 +00:00
mits fe517ac620 polished. 2005-12-30 19:04:49 +00:00
skodak c59733ef80 improved comments for parameter types (PARAM_XXX) 2005-12-30 15:54:19 +00:00
mits ae44cf80cf polished. 2005-12-30 03:51:57 +00:00
carlesbellver a4dbd476f0 Ajudes Moodle 1.6 2005-12-29 09:05:02 +00:00
carlesbellver 9d6074d5a3 Missatges Moodle 1.6 2005-12-29 09:01:46 +00:00
skodak 1c2a71d3fa fixed $cfg->forceloginforprofiles logic SC#207; should be backported to STABLE after some more testing... 2005-12-28 19:54:08 +00:00
skodak 16303ee905 fixed session fixation prevention that was broken after cookieless patch SC#205 2005-12-28 19:05:46 +00:00
ethem 9e1c2ba45c No need anymore some database fields. 2005-12-28 16:53:23 +00:00
carlesbellver 18ab5c16d2 Modul wiki i ajudes: correccions 2005-12-28 12:52:38 +00:00
carlesbellver 03c1292b8f *** empty log message *** 2005-12-28 09:38:36 +00:00
carlesbellver d7e3c5c7e4 *** empty log message *** 2005-12-28 08:27:36 +00:00
ethem 3defa4ae6b New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-12-27 12:37:57 +00:00
mits b756f6f301 translated new strings for Authorize.net. 2005-12-26 20:34:09 +00:00
ethem 62d98252ac New authorize.net module is more powerful. :)
- Review order:

   Review order before processing the credit card.

- Auto-Capture:
   If auto-capture enabled the credit card will be captured
   after an_review_day later, then student will be enrolled
   to course, otherwise it will be expired or
   admin must accept/deny payment.

   NOTE: Set-up Transaction Cut-Off Time correctly.
         When the last transaction is picked up for settlement?

- Payment Management:

   Accept/Deny/Refund payments: cvs:/moodle/enrol/authorize/index.php

- TO DO: Batch upload: It will sync authorize.net and moodle from csv file.
2005-12-26 19:21:37 +00:00
ethem 8cb3ad198f New strings for payment management: enrol/authorize/index.php. 2005-12-26 18:48:41 +00:00
lonecatz 89e00bcfef new translation 2005-12-26 15:40:44 +00:00
scop22 498e675e03 Changing 'locale' string in Unicode Korean language pack to explicitly reference utf8 to solve date formatting problem 2005-12-26 14:26:29 +00:00
lonecatz cde304b323 Fix a typo bug. 2005-12-26 13:19:15 +00:00
carlesbellver 599adf55a6 *** empty log message *** 2005-12-26 12:02:33 +00:00
moodler 48fddabb4f Merged typo fix from stable 2005-12-26 08:44:59 +00:00
carlesbellver 50fa89df87 *** empty log message *** 2005-12-26 08:37:34 +00:00
carlesbellver f5120f157a *** empty log message *** 2005-12-26 07:36:51 +00:00
carlesbellver ced73449a6 *** empty log message *** 2005-12-26 07:19:55 +00:00
dlnsk 6a47401943 *** empty log message *** 2005-12-25 22:20:00 +00:00
scop22 d327788e27 Committing two more files to the Korean Unicode language pack inadvertently left out in the last commit 2005-12-25 19:38:40 +00:00
scop22 f5b2463db2 Committing many new files to Korean EUC-KR encoded language pack to keep up-to-date with Korean UTF8 language pack; hope this will not be necessary too much longer! 2005-12-25 19:25:39 +00:00
dlnsk 56bd5ef4ce Wiki removed 2005-12-25 19:04:56 +00:00
dlnsk 447ac17f16 *** empty log message *** 2005-12-25 18:39:48 +00:00
dlnsk a59c806261 New strings 2005-12-25 18:11:41 +00:00
scop22 d83a1d806a Changing the 'thislanguage' string in moodle.php to NCR encoding 2005-12-25 17:16:14 +00:00
scop22 d10baaa732 Committing many new help files to the Korean Unicode Lanuguage Pack 2005-12-25 16:38:43 +00:00
scop22 2fcf2e1110 Committing newly tranlsated files to Korean UTF8 language pack; also two updated files included 2005-12-25 16:09:42 +00:00
mits 3b26b44208 translated a new Moodle Documentation. 2005-12-24 23:32:31 +00:00
mits e5cbf530d6 changed language name from English to NCR. 2005-12-24 20:53:37 +00:00
carlesbellver 4043ae1c78 *** empty log message *** 2005-12-23 12:45:45 +00:00
dlnsk 447b48a993 Improved by Ne Nashev 2005-12-23 11:53:34 +00:00
carlesbellver f7da122288 SCORM: correccions i ajudes 2005-12-23 10:58:47 +00:00
mits faaa253cec translated new strings for lang pack import utility. 2005-12-23 08:22:00 +00:00
toyomoyo e11dd87248 merged, bug #4504 2005-12-23 06:38:04 +00:00
toyomoyo d8688c0d26 cookieless patch for quiz 2005-12-23 06:29:39 +00:00
toyomoyo 16f859c161 some strings for lang pack import utility 2005-12-23 02:29:12 +00:00
toyomoyo bb5c34a144 bug fixes and sesskey checks 2005-12-23 02:28:24 +00:00
mits 4e31d75ada translated new strings for Authorize.net. 2005-12-22 20:45:25 +00:00
ethem 3a8766e6fd Settlement and order status strings. 2005-12-22 20:04:28 +00:00
ethem 095affdedc AN_STATUS_EXPIRE fix. 2005-12-22 19:15:34 +00:00
ethem 224abcd63f Settlement and order status strings. 2005-12-22 16:55:45 +00:00
ethem 378082c25f them fix. :) 2005-12-22 16:32:12 +00:00
ethem 0ccf08fe1d Settlement date. 2005-12-22 15:24:05 +00:00
carlesbellver aac4707d05 *** empty log message *** 2005-12-22 13:09:43 +00:00
carlesbellver 549b709dcb Ajudes: help/scorm/mods.html help/scorm/index.html help/scorm/size.html help/scorm/summary.html 2005-12-22 12:48:35 +00:00
carlesbellver fb2fccc034 Mes ajudes: help/cost.html help/authchange.html 2005-12-22 11:42:58 +00:00
moodler e6bacdc55c Merged bugfix for bug 4431 from stable 2005-12-22 10:09:21 +00:00
dlnsk 8321c7b1d5 Short week days changed 2005-12-22 05:20:43 +00:00
toyomoyo 82fe65f20b merge merge merge 2005-12-22 01:47:41 +00:00
moodler e9c996745b Missing sesskey parameter. Merged from Stable. (SE) 2005-12-22 00:17:00 +00:00
mits e33e44c03b polished. 2005-12-21 18:58:12 +00:00
carlesbellver 56d845282e *** empty log message *** 2005-12-21 16:16:26 +00:00
mits 3b3a88367b polished. 2005-12-21 11:46:25 +00:00
toyomoyo fc7fc3c005 merged, wrong param type for $page 2005-12-21 03:26:19 +00:00
toyomoyo 33c3578684 changed get_list_of_languages, now checking *_local lang folders, also getting $string['thislanguage'] string from langconfig.php for 1.6 unicode packs 2005-12-21 02:06:25 +00:00
toyomoyo 9db8228397 more bug fix 2005-12-21 02:02:35 +00:00
toyomoyo 436c8dffcf . 2005-12-21 00:57:46 +00:00
patrickslee 23b5a13df5 Fixed a problem creating single discussion forum related to mailnow 2005-12-20 23:27:25 +00:00
mits 51006e6a18 polished. 2005-12-20 22:51:31 +00:00
mjollnir_ ddf1935f30 For pinned blocks (that don't have a pageid), make one up on the fly (Fixes bug #4497) 2005-12-20 20:55:37 +00:00
mits e578df9141 Fixing bug #4496: strings to long in lang file based on /lang/en. 2005-12-20 20:43:26 +00:00
mjollnir_ 6f61d7b985 Postgres compatibility in scorm db upgrade 2005-12-20 20:39:52 +00:00
mjollnir_ cc17b250d8 Fixing bug #4496: strings to long in lang file 2005-12-20 20:19:17 +00:00
moodler 0f561844e7 Someone included two copies of forum_get_separate_modules() 2005-12-20 08:47:20 +00:00
toyomoyo f962f6bf7b language import utility 2005-12-20 08:34:52 +00:00
toyomoyo 073286f06f merged fix for bug #4431 2005-12-20 05:22:59 +00:00
mits 6bff3c2747 polished.
translated a new string for Participation report.
2005-12-20 00:43:27 +00:00
mjollnir_ f3815a9547 Participation report - check for course modules and print an error if there are none. 2005-12-20 00:21:38 +00:00
stronk7 ac7462f1bb Changed one string that was breaking 1.6 hotpot module. 2005-12-19 19:46:55 +00:00
andreabix 284e2b903a Modifica termine: Insegnante -> Docente 2005-12-19 19:13:03 +00:00
stronk7 94b8ca49a9 file excellib.class.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:59:47 +00:00
andreabix a4794723d3 Aggiornamento traduzione di Claudio Maggi 2005-12-19 18:56:28 +00:00
stronk7 c33eceeb6e file Worksheet.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:08 +00:00
stronk7 c481be86a9 file README.txt was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 e1bba4b26a file PEAR.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 3640e73186 file OLE.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 2c258e4ff1 file Workbook.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 6b3d841534 file Validator.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 923963d7d7 file BIFFwriter.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 a571129410 file Parser.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 006b6e4b02 file Format.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 fd55003258 file Writer.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 203df2decf file PPS.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 e2fd903214 file Root.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
stronk7 29bc463b4a file File.php was initially added on branch MOODLE_16_UTF8. 2005-12-19 18:56:07 +00:00
mits 6fd34e3559 polished. 2005-12-19 03:23:09 +00:00
toyomoyo 0afb2f2fb4 merged, bug fix for 4490 2005-12-19 02:12:49 +00:00
koenr 45913b5bbf updated strings
new helpfiles
2005-12-18 22:15:47 +00:00
koenr b09354f5cf new helpfile 2005-12-18 21:46:20 +00:00
koenr 50ddd5e1a1 New language pack: hr_utf8 by
Jasmin Klindzic
jasmin@ffzg.hr

Dragan Dosen
ddosen@ffzg.hr
2005-12-18 14:55:56 +00:00
koenr cc35561b11 New langpack: Croatian from
Jasmin Klindzic
jasmin@ffzg.hr

Dragan Dosen
ddosen@ffzg.hr

An utf-8 version is also on it's way - just some cleaning to do ;-)
2005-12-18 00:40:16 +00:00
defacer 8eefd42e7e Oops. Forgot some debug code in there. 2005-12-17 04:53:50 +00:00
defacer 1130633117 NEW FEATURE:
Per-block access controls for creating and editing block instances. Defaults
behave the same as before, and the framework has final say as before.

See relevant discussion at http://moodle.org/mod/forum/discuss.php?d=36444



Other minor changes: Converted "continue" to "break" inside switch statements
(more to the point, although equivalent), change erroneous (but harmless)
"return false" to "break" on failed addition of block instance, removed some
inline comments from block_base (they were duplicated in PHPdoc)
2005-12-17 04:37:55 +00:00
defacer a9033ad5f8 Faster block_method_result(), my back-of-the-envelope benchmarks say that
call_user_func is about 3 times faster than eval(). Which is no surpise. ;-)

Faster block_load_class() by checking if the block class is already present
instead of relying on require_once() and include_once() which have include
paths and other nasties to take into account.
2005-12-17 03:09:13 +00:00
mits bd8be2bb38 polished. 2005-12-16 20:54:26 +00:00
mits f58d00dc8a polished. 2005-12-16 20:46:25 +00:00
mits 07f787cb4c polished. 2005-12-16 16:46:17 +00:00
barias d7b49f0432 Latest changes in spanish translation, updated to v. 1.5.3+ 2005-12-16 15:58:04 +00:00
mits f94825c0b7 translated a Moodle Documentation. 2005-12-16 15:31:40 +00:00
martignoni c01588f945 One new config help string. 2005-12-16 14:05:47 +00:00
martignoni bb2fcc3da6 To count letters in languages without word separators. 2005-12-16 14:03:39 +00:00
martignoni 2f0a9dc804 Typo corrected 2005-12-16 13:55:16 +00:00
ethem 1eabaf73fa & fix. 2005-12-16 08:13:10 +00:00
toyomoyo c07a004c40 merged, fixed a bug that student can't remove wiki pages in group mode 2005-12-16 07:19:59 +00:00
mits 9153ea7d0a polished. 2005-12-15 23:58:48 +00:00
mits 42c6e4b13b polished. 2005-12-15 23:42:11 +00:00
mits b642b30052 polished. 2005-12-15 22:18:23 +00:00
mits 405fdbb03d translated new two strings.
polished an assignment help file.
2005-12-15 20:54:05 +00:00
stronk7 b801615e0d One new config help string. 2005-12-15 18:11:16 +00:00
stronk7 a4372a9b5f To count letters in languages without word separators. 2005-12-15 18:05:58 +00:00
martignoni 1f7aed6169 Other correction, suggested by Joseph R?zeau 2005-12-15 15:55:31 +00:00
martignoni 9939ec2c11 Correction, credit goes to Joseph R?zeau 2005-12-15 15:53:33 +00:00
martignoni 00059d621c Small correction, suggested by Joseph R?zeau 2005-12-15 15:42:51 +00:00
martignoni 2a6297a36a Typo corrected, credit goes to Joseph R?zeau 2005-12-15 14:29:53 +00:00
martignoni 4ead6a7021 Site frontpage now supports displaying of all avaliable options with ordering 2005-12-15 12:22:09 +00:00
martignoni c5583a1fd6 Your payment is pending for this course with this order number $a->orderid. 2005-12-15 12:18:50 +00:00
koenr fb84de6d6b few new help-files and strings 2005-12-14 23:20:17 +00:00
koenr 5bc85fdba8 minor beauty pollish 2005-12-14 23:18:21 +00:00
mits 77d59e7992 modifeid based on /en/moodle.php change. 2005-12-14 22:38:39 +00:00
koenr a704085997 new strings 2005-12-14 22:18:10 +00:00
koenr 23e081012a first version - not yet tested in real situation ! 2005-12-14 22:14:20 +00:00
koenr 2c6030f0b7 few more somali strings 2005-12-14 22:09:25 +00:00
koenr 3297e04387 stupid error was messing up help file :-( 2005-12-14 21:55:33 +00:00
patrickslee e1638d616c Site frontpage now supports displaying of all avaliable options with ordering 2005-12-14 21:42:44 +00:00
andreabix ce53176735 Minor fix: $string['groupremovemembers'] 2005-12-14 18:27:53 +00:00
ethem 1f71e2b91d More description, more documentation. 2005-12-14 15:47:37 +00:00
dhawes 9420ae5bc2 updating magpie to version 0.72 2005-12-14 01:07:54 +00:00
dhawes 0117998b3d got aroundoptional_param problem with PARAM_URL munging rss:// and feed:// urls 2005-12-14 00:51:34 +00:00
dhawes 9273dc56c1 upgraded Snoopy to version 1.2.3 - see http://www.sec-consult.com/216.html 2005-12-13 23:38:47 +00:00
dhawes 68d2d83622 moving Snoopy references to moodle/lib/snoopy/Snoopy.class.inc 2005-12-13 23:35:54 +00:00
dhawes e53b6045fe updating magpie to version 0.72 2005-12-13 23:34:21 +00:00
koenr ae4b4fdd1a new doc files - needed some xhtml polishing - hope I didn't break anything 2005-12-13 22:54:02 +00:00
koenr 0eb0354598 New strings and help files from Karoly 2005-12-13 22:29:09 +00:00
patrickslee 0986271ba2 Moved the new functions added for Bug #4074 to datalib.php 2005-12-13 19:31:48 +00:00
stronk7 7c1222573d Updated to newest version. Solved one important bug.
(http://bugs.typo3.org/view.php?id=2020)

Merged from MOODLE_16_UTF8
2005-12-13 17:21:53 +00:00
andreabix b4b963e752 Updated bad line separators chars 2005-12-13 08:39:31 +00:00
dlnsk d949428c92 variable name 2005-12-13 06:55:07 +00:00
patrickslee 7fb0fec757 Fixed courses and subcategories in an invisible category being visible (Bug #4074)
This patch is different from the one form MOODLE_15_STABLE as it used the stored path in category data.
2005-12-13 04:05:04 +00:00
dhawes 80be7ee37e minor phpdoc update 2005-12-13 03:44:08 +00:00
dhawes 735b85670a correct malformed phpdoc function comments, rearranged phpdoc comments associated with wrong globals, and removed some tab characters 2005-12-13 02:21:02 +00:00
ethem a108dc4af5 added amount & currency fields for new transaction. 2005-12-12 17:42:05 +00:00
ethem d6ed7dae6a CREDIT & VOID implementation.
TO DO:
- admin.php for course payment management.
- Transaction cut-off time
2005-12-12 17:32:00 +00:00
andreabix dbe1f37949 Updated special characters 2005-12-12 12:01:53 +00:00
andreabix b4a9d9a00d Changed Cancel transaltion using Annulla 2005-12-12 11:44:29 +00:00
mits 1aa3ca8afc polished. 2005-12-12 10:05:55 +00:00
martinlanghoff ff2cbb73a9 Merged from MOODLE_15_STABLE - auth/ldap: Fix support for AD -- thanks to Inaki, in more than one sense ;-) 2005-12-12 04:58:11 +00:00
martinlanghoff 11eb0ee62c mod/data: tidyup of Postgres schema -- thanks to Nigel McNie 2005-12-12 03:32:55 +00:00
martinlanghoff d57f7fda7c mod/scorm: fixed syntax errors (switch to an editor that balances brackets, mate ;-) -- credits to Nigel McNie 2005-12-12 03:26:54 +00:00
martinlanghoff 39132bce56 auth/cas: fixed syntax errors in cast -- credits to Nigel McNie 2005-12-12 03:22:09 +00:00
mjollnir_ 05b18caf51 Merged as MOODLE_15_STABLE: Accounts that are created with no authentication shouldn't allow non alphanumeric usernames, fixing in login/index.php as the auth library can't pass error messages. Fixes bug #4192 2005-12-12 03:17:08 +00:00
mjollnir_ dcfb30bb16 Merged from MOODLE_15_STABLE: Fixing a fatal error in updating a wiki (lib.php included twice ) 2005-12-11 21:29:56 +00:00
patrickslee c7ac6225cc Fixed missing closing parentheses in forum_search_posts() for embargoed announcements 2005-12-11 20:19:35 +00:00
andreabix 54be69d0af Updated a and e vocals with accents 2005-12-10 19:08:44 +00:00
dhawes f5ecb599ec PHPDoc todo tags added to functions called out as close to EOL 2005-12-10 16:40:23 +00:00
mits fba7fcd8ee polished.
translated a new string.
2005-12-09 22:47:47 +00:00
ethem d802ddcd3e Your payment is pending for this course with this order number $a->orderid. 2005-12-09 13:08:11 +00:00
ethem 9e80f003fc REVIEW ORDER FEATURE:
- AUTH_ONLY transaction is used if review enabled.
- CRON captures credit card $an_review_day later.
- VOID and CREDIT weren't implemented yet.
- TO DO: admin.php for course payment management.
- TO DO: batch upload...
2005-12-09 12:00:28 +00:00
toyomoyo cba644c902 merged fixed for #4455 2005-12-09 05:29:42 +00:00
martignoni 1607a868a0 Some changes to reflect actual status 2005-12-08 11:03:01 +00:00
moodler aff9fe5e11 Rolled back, bug Bug #4431 hasnt been fixed 2005-12-08 06:48:50 +00:00
moodler d0087b2f5c Adding if statement to verify whether user can see postings or not (Bug #4431) 2005-12-08 05:01:57 +00:00
mits fa7be56710 polished. 2005-12-08 04:23:27 +00:00
defacer ccfa3918de Merge from STABLE:
XHTML fix, pointed out by James Ballard here:
http://moodle.org/mod/forum/discuss.php?d=35830

(Also just found out it's bug 4451)
2005-12-07 15:01:02 +00:00
carlesbellver 4e0793d598 *** empty log message *** 2005-12-07 13:04:52 +00:00
ethem 4bc2251693 Default values. 2005-12-07 13:03:47 +00:00
carlesbellver 123114ee92 LAMS 2005-12-07 09:21:40 +00:00
moodler aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
moodler 3a6b53e80d Replaced optional_var with optional_param 2005-12-07 03:30:59 +00:00
moodler a844e88fff Removed optional_var 2005-12-07 03:19:20 +00:00
mits 1dbaf9d032 Changed a word "window" from "UINDOU" to "UiNDOU"in whole Japanese lang pack. 2005-12-07 01:18:44 +00:00
gustav_delius 9a609e0934 Removed some code that had not function and produced a warning. Merged from STABLE 2005-12-07 00:09:31 +00:00
ralf-bonn 068be677f4 German Lang-Quality-Action. Thanks to Robert. 2005-12-06 22:49:35 +00:00
patrickslee 7352cd1caa Fixed an SQL query compatibility issue in quiz module
Merged form MOODLE_15_STABLE
2005-12-06 21:13:20 +00:00
patrickslee a935cf4cdf Fixed a typo in quiz_category_object->output_edit_single_table()
Merged from MOODLE_15_STABLE
2005-12-06 21:01:54 +00:00
martignoni dfafac3fb2 Added one string needed by IMS CP 2005-12-06 14:42:17 +00:00
martignoni ded42258b5 Better fix to change_password.php - primary admin can change their OWN password,
the form displays the error for other admins trying to change the primary
password (before it failed silently) and external auth admin change password
works too!
2005-12-06 14:38:03 +00:00
mits b2f41f2c03 translated a new string for IMS CP. 2005-12-06 10:54:29 +00:00
stronk7 760eefb641 Some strings are now properly displayed. End of work in IMS for now. 2005-12-06 10:41:24 +00:00
stronk7 a2920a439d Added one string needed by IMS CP 2005-12-06 10:39:22 +00:00
stronk7 2396b0d0c2 Fixed one typo-bug! :-P 2005-12-06 10:28:53 +00:00
stronk7 4e7a03f68e Added suport to read submanifests (not deployed yet but loaded) 2005-12-06 10:22:52 +00:00
stronk7 bf74b55720 Check the IMS package has been deployed before delete dir. 2005-12-06 10:17:03 +00:00
mits d5b6f40348 polished. 2005-12-06 09:54:49 +00:00
moodler 8a2e09584f Removed optional_variable 2005-12-06 05:47:58 +00:00
moodler 22ef40b0a4 Removed optional_param 2005-12-06 05:16:07 +00:00
moodler a570256968 Changing from optional_variable to optional_param 2005-12-06 04:53:28 +00:00
stronk7 5e6c566167 Now IMS Content Packaging resources are deleted properly
(both DB records and deply files under moddata)
2005-12-06 00:12:56 +00:00
stronk7 f0c6abbfe9 Now delete_instance() in resource classes receives the
full $resource record instead of the $id alone. Needed
to be able to specialize such method in some resource types.

Merged from MOODLE_15_STABLE
2005-12-06 00:02:40 +00:00
carlesbellver 985e77f16e *** empty log message *** 2005-12-05 11:05:56 +00:00
mits e07238e664 polished. 2005-12-05 10:07:21 +00:00
carlesbellver 54e07c7fd1 *** empty log message *** 2005-12-05 09:32:21 +00:00
moodler 68c88622ac fixed a little search bug >_< 2005-12-05 08:56:48 +00:00
moodler 7f8edff98c Merged from stable, added autocomplete=off
(Bug #4423 - Short Answer Quiz Q's Saving Form Entries)
2005-12-05 06:15:53 +00:00
moodler f8432d2500 Merged from stable (Bug #4423 - Short Answer Quiz Q's Saving Form Entries) 2005-12-05 06:11:26 +00:00
moodler 5a0345c2e1 Merged parameter fixes from stable 2005-12-05 04:53:57 +00:00
moodler c992ff85c2 Merged parameter fixes from STABLE 2005-12-05 04:36:25 +00:00
moodler fc64d5cf2c Merged param fixes from stable, even though they were already here :-) 2005-12-05 04:23:50 +00:00
moodler 27b219f16c fix for XSS exploit in search 2005-12-05 03:11:32 +00:00
toyomoyo fd78420b78 patch for cookieless sessions 2005-12-05 02:24:45 +00:00
mits 3878294615 translated a new string for primary admin's password. 2005-12-04 23:17:26 +00:00
mjollnir_ f3180d6e70 Better fix to change_password.php - primary admin can change their OWN password, the form displays the error for other admins trying to change the primary password (before it failed silently) and external auth admin change password works too! 2005-12-04 23:01:25 +00:00
mjollnir_ 9b4082cd1f Backing out last patch - needs fixing differently 2005-12-04 22:42:28 +00:00
mjollnir_ f3929d413c Merged from MOODLE_15_STABLE: Fixing problem where admins couldn't change their password (with external auth) 2005-12-04 22:30:35 +00:00
martignoni e159d1be10 Authorize.net Setting section strings. 2005-12-04 21:05:17 +00:00
ralf-bonn f820cd60c9 German Lang-Quality-Action. Thanks to Fredi Gertsch 2005-12-04 17:44:41 +00:00
koenr 4ae9069a9c there we go again 2005-12-04 15:06:04 +00:00
koenr 65a897d640 New Somali strings from Mohammed. 2005-12-04 15:00:36 +00:00
martignoni 536e4d47f2 Workaround wink emoticon insertion problem with HTML Editor. Thanks to Joseph R?zeau. 2005-12-04 09:45:06 +00:00
barias eabf36cad5 *** empty log message *** 2005-12-03 23:49:26 +00:00
ralf-bonn 45c0cd867d error corrections 2005-12-03 18:41:22 +00:00
ralf-bonn b0a6dfebeb German Lang-Quality-Action. Thanks to all. 2005-12-03 18:18:06 +00:00
defacer 1645749057 Correcting the way of setting lowbound <= $var <= highbound,
spotted by Petr (SC#203).
2005-12-03 13:12:09 +00:00
ethem 857eab4d20 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-12-03 12:04:27 +00:00
mits 6b821e508e translated new Authorize.net Setting section strings. 2005-12-03 12:01:19 +00:00
ethem a56d86dd3d Default values must be default values. :) 2005-12-03 11:43:04 +00:00
ethem 07af257354 Credit card types moved to enrol.html. 2005-12-03 11:19:17 +00:00
ethem df12ac18e2 Authorize.net Setting sections... 2005-12-03 11:17:03 +00:00
ethem 2a3918625d Authorize.net Setting section strings. 2005-12-03 11:13:11 +00:00
lonecatz 43c64824a4 new translation from sunner@hit 2005-12-03 05:38:48 +00:00
mits 5262b23458 polished. 2005-12-02 10:56:24 +00:00
moodler 3d4b223a85 NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.

Please take a look and file bugs in the bug tracker under "Database module".

We urgently need
    - new icons for existing field types
    - testing on PostgreSQL install


Coming soon (?):

    - Many more field types:  calculation, checkbox, relation, date, datetime,
                              time, email, group, list, user, number, richtext
      (Please let us know if you are interested in developing any of these)

    - A way to save and restore "presets", which are field/template sets

    - Backup/Restore support

    - Groups Support

    - RSS support

Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
moodler 410a24c09e Merged Hannes Gassert's code for podcasting support more or less without changes.
http://opensource.mediagonal.ch/moodle/patches/podcasting/
2005-12-02 07:07:44 +00:00
toyomoyo b506bb51e4 merged bug fix for 4400 2005-12-02 02:37:01 +00:00
toyomoyo a266c90455 fixes bug 4400 2005-12-02 02:26:39 +00:00
patrickslee 8b116048fd Fixed a problem that unable to post a new discussion related to mailnow 2005-12-01 20:50:22 +00:00
koenr 85efa8418c some new strings for dutch 2005-11-30 21:53:40 +00:00
patrickslee 9cb909397e Fixed "hardcoded" table background color of the bulk e-mail form 2005-11-30 21:33:27 +00:00
patrickslee 6ae342e599 Added backup procedures for embargoed announcements 2005-11-29 22:23:00 +00:00
mits 29363f53f8 polished. 2005-11-29 20:45:26 +00:00
mits 367749f500 polished. 2005-11-29 18:16:27 +00:00
martignoni 904192c156 Ought to mention the improved assignment grading! 2005-11-29 15:02:14 +00:00
bobopinna 47de120cbf Added multiple attempts support 2005-11-29 14:54:39 +00:00
bobopinna 558bed05be Fixed bug 4379 2005-11-29 14:53:11 +00:00
bobopinna b9749d4aa5 Fixed block size dimension 2005-11-29 14:42:54 +00:00
martignoni cd0bab6c7b New report - course participation. Integrated with messaging system, same as participants list. 2005-11-29 14:36:27 +00:00
martignoni 510e138d60 Typo corrected 2005-11-29 14:31:10 +00:00
martignoni de5f17d8f4 New report - course participation. Integrated with messaging system, same as participants list. 2005-11-29 14:30:44 +00:00
martignoni 139357475f Added some non-breaking spaces 2005-11-29 14:25:28 +00:00
martignoni 61b03992eb Users can now subscribe/unsubscribe to all forums in a course from the forum list 2005-11-29 14:18:10 +00:00
mits 922b9302fe polished. 2005-11-29 11:44:09 +00:00
mits bea1ac3dfc polished. 2005-11-29 11:42:41 +00:00
ethem 76ead0f238 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-11-29 09:52:17 +00:00
patrickslee 8ab5ca2f94 Refined some wording and logic for extend enrolment period 2005-11-29 04:04:16 +00:00
patrickslee 986935e9b7 Fixed some problem that extend user enrolment is not working properly 2005-11-29 04:03:25 +00:00
mits 027761ded9 translated a new help file and new strings for participation report. 2005-11-28 23:37:09 +00:00
mits d79d1012ce modified based on standard theme. 2005-11-28 20:57:52 +00:00
mjollnir_ 4820a99e87 New report - course participation. Integrated with messaging system, same as participants list. 2005-11-28 20:50:15 +00:00
ethem 2579027bd7 expiry notify 2005-11-28 09:50:00 +00:00
ethem 71a761d6f3 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-11-28 09:47:24 +00:00
andreabix d3e0489dec Fixes missing .highlight class 2005-11-28 08:44:57 +00:00
mits a4fbbec067 translated new strings for forum. 2005-11-28 04:40:03 +00:00
moodler 0bfa18bce2 Added extra CSS hooks to distinguish different correctness responses 2005-11-28 04:33:08 +00:00
patrickslee 03877b049e Users can now subscribe/unsubscribe to all forums in a course from the forum list 2005-11-28 03:11:05 +00:00
toyomoyo 9a3d715ffd merged from stable, bug fix for #4366 2005-11-28 02:29:19 +00:00
toyomoyo 8f23e33bf7 merged from stable, makes autologin guest possible at site level 2005-11-28 02:23:11 +00:00
mits 8939f45e13 polished: font-family and font-size. 2005-11-27 22:46:04 +00:00
gniske 7716753856 Added missing strings 2005-11-27 21:12:40 +00:00
martignoni f24ba9f670 New string 'memberincourse' 2005-11-27 20:40:08 +00:00
papita deaee6085e correcting links 2005-11-27 20:37:41 +00:00
martignoni 32d254a9fc New feature: Configureable visibility of fields in Participants page 2005-11-27 20:35:15 +00:00
martignoni 3c90cb280f Revert erroneous change 2005-11-27 20:27:36 +00:00
koenr 3da548d112 A lot of new helpfiles and strings from Finjon Kiang
(however I'm not sure it's usefull with the upcoming utf8-(r)evolution)
2005-11-27 20:19:11 +00:00
martignoni 0f43bc0d75 Added Petr's code for some checking for the insecure situation of
- register_globals = on  and
  - magic_quotes_gpc = off
2005-11-27 20:11:16 +00:00
martignoni 889568bffc New strings for security warning 2005-11-27 20:04:04 +00:00
gniske e6442182a7 Added missing strings 2005-11-27 19:51:25 +00:00
gniske 3944e6cb7d Created new language file 2005-11-27 19:35:21 +00:00
mits 7b8a532eda polished. 2005-11-27 18:23:23 +00:00
papita 7048789467 adding name of contributors 2005-11-27 17:42:42 +00:00
papita dd6173c608 typos and improvements by Anise 2005-11-27 17:37:06 +00:00
papita b1b0690e2f new documwnt by edgar amorim 2005-11-27 17:05:41 +00:00
papita 43f91cceff adding new files by rubens serafim 2005-11-27 16:48:41 +00:00
papita 381ed4502c new files by jose valdivia leon, reviewed by paula de waal 2005-11-27 16:30:40 +00:00
papita 22a6056dfc UPDATING README WITH WARNING: LATEST BRASILIAN VERSIONS ARE ALMOST NEVER INCLUDED IN THE OFFICIAL LATEST RELEASES PLEASE REFER DIRECTLY TO CVS IF YOU NEED THE UPDATED VERSIONS 2005-11-27 15:56:39 +00:00
papita eb1ae2fce3 adding missing strings to 1.5.3 version 2005-11-27 15:37:36 +00:00
gniske ab1db06afd Added missing strings 2005-11-27 11:55:34 +00:00
gniske 85e74d9f13 Added missing strings 2005-11-27 10:24:53 +00:00
lonecatz b9740d2c4a translate more strings 2005-11-27 04:14:51 +00:00
mits 93513f9989 polished. 2005-11-27 01:25:43 +00:00
gniske b4704d7d0e Addet missing strings 2005-11-26 23:44:01 +00:00
barias 12f8b8f48c Latest changes in spanish translation, updated to v. 1.5.3+ 2005-11-26 20:35:04 +00:00
barias 1c72a7d05f Latest changes in spanish translation, updated to v. 1.5.3+ 2005-11-26 14:41:49 +00:00
barias d147539fe4 Updated to v. 1.5.3+ 2005-11-26 12:18:05 +00:00
defacer 00d94a2001 Fix for bug 4371 (also SC#199):
Now manually created users with admin privileges and force change password
cannot change their username with impunity.
2005-11-26 00:58:53 +00:00
gbateson d4ef3c5aaf JMatch: allow extra, unused RHS items 2005-11-25 23:01:15 +00:00
gbateson 01a8d9bd6f corrected scoring and finishing of JMatch with unused RHS items 2005-11-25 13:04:38 +00:00
koenr c89df414e7 fixed 'thislanguage' 2005-11-25 10:53:16 +00:00
koenr 3a3d8c7c9a Strange error: duplicated header 2005-11-25 10:46:01 +00:00
minkowski 23681a9c65 Thai for 1.6 dev 2005-11-25 10:34:21 +00:00
mits 26379acb5a replaced <dl> with <div class="indent"> based on lang/en/help/hotpot 2005-11-25 10:09:58 +00:00
toyomoyo 15b3db1236 fix for bug 4067 2005-11-25 08:41:16 +00:00
toyomoyo ba43f6673a fix for bug 4067 - allow user to upload when assignment not yet marked 2005-11-25 08:31:31 +00:00
mits 0cbede388d translated a new string for group. 2005-11-25 08:08:57 +00:00
moodler afa3507ca2 fix for bug #4314 2005-11-25 07:11:20 +00:00
gbateson 39fe163a32 replaced <DL> with <DIV class="indent"> and removed bad-newlines which caused double spacing in HTML source 2005-11-25 03:59:44 +00:00
moodler ae5c975ac3 changed 'People not in a group' to 'People in the course' 2005-11-25 03:00:11 +00:00
ethem c5cc140090 an_review_day can not be negative. 2005-11-24 13:07:35 +00:00
mits 51cd1f7044 polished. 2005-11-24 10:52:27 +00:00
mits d5090dd91f polished. 2005-11-24 10:50:02 +00:00
mits 2a83d4792c polished. 2005-11-24 10:48:05 +00:00
ralf-bonn 32fc871409 some corrected strings 2005-11-24 08:26:25 +00:00
gbateson 71a10ef2ad removed bad newlines (\r\r\n) which caused double-spacing in HTML/JS/CSS source 2005-11-24 07:00:33 +00:00
gbateson 02aff07d3b removed bad newlines (\r\r\n) which caused double-spacing in PHP source 2005-11-24 06:44:25 +00:00
gbateson 64b4e0f155 removed bad newlines, which caused double-spacing in PHP source 2005-11-24 05:40:36 +00:00
gbateson 2cc57707a8 fix bad newlines which caused double spacing 2005-11-24 05:16:19 +00:00
moodler 6bd9fe3912 fix for bug #4206 2005-11-24 02:50:05 +00:00
koenr e3e7f2bf96 fixed
-$string['popup'] = 'Show quiz in a \"secure\" window';
+$string['popup'] = 'Show quiz in a &quot;secure&quot; window';
for all langpacks
2005-11-23 23:53:25 +00:00
defacer 13f64465e1 Removing some code which looks _very_ dead to me (traced its origins back
to when the Blocks2 stuff was first committed).

Unless I have forgotten something important and this breaks stuff horribly
somewhere, then it should be taken out from many other standard blocks as well!
2005-11-23 23:40:26 +00:00
defacer a7ef57d4da Making section links point to #section-NNN instead of #NNN 2005-11-23 23:16:24 +00:00
defacer 4baeb9b028 Removing the <a name="2"></a> anchors from course sections (used with links,
e.g. /course/view.php?id=2#4). We already have elements with id="section-XXX",
so I made all links I could possibly grep for point to those.

All this for XHTML (won't Tidy ever be content?)
2005-11-23 23:14:25 +00:00
defacer 4d4e738f7c Fixing line endings 2005-11-23 22:47:35 +00:00
defacer 296c94b134 Begone, evil <font> tag 2005-11-23 22:33:33 +00:00
defacer 7f9def8fa9 XHTML fix 2005-11-23 22:31:52 +00:00
mits ae3fd26382 polished. 2005-11-23 22:25:59 +00:00
defacer 64f36986b6 The bug where an event was not created for closing-time-only-supplied
quizzes also existed when updating a quiz instance (not only adding)...
2005-11-23 22:22:44 +00:00
defacer 018881d4a9 Fixing invalind value for cellpadding ("5px") 2005-11-23 22:14:57 +00:00
defacer 3d6fc45229 Fixing defaults (copy/paste error) -- this printed notices with debug=on and
actually mangled the "create lesson instance" query so badly that you could
not add lessons!
2005-11-23 22:11:50 +00:00
defacer 001996c2f2 Fix for bug 4358:
No "Quiz closes" event was created for quizzes which ONLY had a closing date
2005-11-23 21:34:48 +00:00
defacer d0eafce594 These quotes were going into (quoted) HTML attributes and breaking XHTML. 2005-11-23 21:21:30 +00:00
defacer 9173a5671c Searching around in the langfile, it seems that these are the correct
strings for the helpbuttons' title attribute. I added the first helpbutton
back in as well (exists in 1.5.3+ but not in HEAD???).
2005-11-23 21:16:47 +00:00
defacer 8635a2824a Fixing one get_string() that didn't specify the Quiz langfile, and changing
another to be uniform with the help file title.

Some things in the langfile need fixing too, coming right up.
2005-11-23 21:00:40 +00:00
carlesbellver e5bd6e63d0 *** empty log message *** 2005-11-23 14:30:08 +00:00
dlnsk 62387de3df Self-Grading 2005-11-23 12:05:17 +00:00
stronk7 140b7eb5db Log actions must be strored to DB without &amp;
print_log() takes care of it! Bug 3853.
(http://moodle.org/bugs/bug.php?op=show&bugid=3853)

Merged from MOODLE_15_STABLE
2005-11-23 09:46:25 +00:00
andreabix dece984da0 Traduzione di Daniela Davi 2005-11-22 16:07:10 +00:00
martignoni a5b91969a6 Small correction for clarity in submission date
Some non-breaking spaces added
2005-11-22 10:18:50 +00:00
adamtpaw d4c77bf1d7 added $ in emailteachermail 2005-11-22 09:27:41 +00:00
adamtpaw 2e0dd342f5 added $ in emailteachermailhtml 2005-11-22 09:24:03 +00:00
patrickslee 0f620d4bf2 Some mailing related Embargoed Announcements fixes.
* The forum cron only mails posts those are created within the past two days, in which case posts those are scheduled to shown after more than two days will be ignored and not been mailed out.

* When cron is marking old posts as mailed, it supposes everything is mailed so just marks everything older than now as mailed. We DO NOT want our delayed posts been marked as mailed.
2005-11-22 04:08:02 +00:00
moodler 6220058b16 fixes bug #4354 2005-11-22 03:45:48 +00:00
moodler 0063abee89 spacing issue 2005-11-22 02:58:45 +00:00
moodler 16a1fed4d2 spacing issues 2005-11-22 02:55:55 +00:00
moodler 35d781d9a7 -fixed not adding teachers to groups
-allow users to be in multiple groups through uploading
2005-11-22 02:37:47 +00:00
stronk7 91121c8904 shorten_text() AFTER format properly. See bug 4355.
(http://moodle.org/bugs/bug.php?op=show&bugid=4355)

Merged from MOODLE_15_STABLE
2005-11-21 15:42:19 +00:00
ethem ce32fe3aa7 x_invoice_num implementation... 2005-11-21 14:09:52 +00:00
stronk7 ec6bee0f8e Prevent a warning when params is empty. Bug 4328.
(http://moodle.org/bugs/bug.php?op=show&bugid=4328)
2005-11-21 13:13:23 +00:00
mits 9fd29f8d21 polished. 2005-11-21 09:46:03 +00:00
carlesbellver 0e2bb43d04 *** empty log message *** 2005-11-21 07:57:37 +00:00
martignoni 06abb1cd50 Typo corrected thanks to Jean-Yves Chambrin 2005-11-21 07:43:02 +00:00
martignoni 4ab4f2a870 Typo corrected, thanks to Jean-Yves Chambrin 2005-11-21 07:37:23 +00:00
ethem add17a1248 Documentation 2005-11-21 07:33:04 +00:00
mits 7c99d48e25 polished.
translated release note for Moodle 1.5.3.
2005-11-21 06:58:37 +00:00
mits be1ec64234 polished. 2005-11-20 22:44:21 +00:00
mits 07e2ef1393 translated a new string for admin.
Moodle Japanese translation is 3 years today :)
2005-11-20 22:37:39 +00:00
mjollnir_ 04d38a9dc4 Removing incomplete mi_nt- Maori Ngai Tahu - request from Dan Marsden - will be re-added later when complete 2005-11-20 22:16:49 +00:00
mjollnir_ 69d3257259 Sorry - this language pack is Maori - Tainui 2005-11-20 22:13:10 +00:00
patrickslee 3468d58a1b New feature: Configureable visibility of fields in Participants page
A new configuration variable is avaliable to limit which fields normal user can see about other users. Teachers/admins can still see the full info.

This provides some degree of privacy for students.
2005-11-20 21:29:59 +00:00
mjollnir_ 00b5340f94 mi_utf8 should be considered Maori - Tainui rather than just Maori 2005-11-20 20:07:29 +00:00
koenr f9ee8943ed Removed untranslated files 2005-11-19 22:13:58 +00:00
koenr bb7cedc655 Removing untranslated files... 2005-11-19 21:52:20 +00:00
koenr 4d52651f73 Removed untranslated files
Removed untranslated strings
Checked XHTMLcompliance
2005-11-19 21:46:27 +00:00
stronk7 a35ae3ef8c Now the section "jumpto" menu (showed in collapse mode), supports
the multilang filter. Bug 4341.
(http://moodle.org/bugs/bug.php?op=show&bugid=4341)

Merged from MOODLE_15_STABLE
2005-11-19 20:13:33 +00:00
stronk7 fd5f0feba5 Print performance info if exists and $CFG->perfdebug is enabled.
Merged from MOODLE_15_STABLE
2005-11-19 18:23:07 +00:00
gbateson de0eca74b0 Sequitur improvments: corrected score and added counts for number of correct and wrong clicks 2005-11-19 16:23:47 +00:00
moodler 81532b92f2 Merged bug 4351 fix from stable 2005-11-19 15:39:31 +00:00
gustav_delius ac17ef1162 Replaced PARAM_TEXT (which does not exist) by PARAM_CLEAN. Someone who knows more about the search capability on this page might want to tightent that up.
$wheresearch was not initialised, leading to php notice.
2005-11-19 13:19:34 +00:00
ethem fac20332c1 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-11-19 12:32:27 +00:00
gustav_delius d9bd40280c Correcting corrupted line endings 2005-11-19 11:08:51 +00:00
gbateson 14f793ba98 micro-incremented version number to 2.1.5 2005-11-19 02:10:15 +00:00
gbateson 72e5f837c8 incremented version number and added one more sponsor 2005-11-19 02:09:26 +00:00
gbateson 7ba55121e7 corrected JMatch reporting and added intermediate reporting of TexToys Rhubarb quizzes 2005-11-19 02:02:13 +00:00
stronk7 c8837a48a4 Solved bug found when trying to backup all users!
(http://moodle.org/mod/forum/discuss.php?d=27105)
2005-11-19 00:27:57 +00:00
mjollnir_ e366107f67 Merged from MOODLE_15_STABLE: Fixing bug 4345: merging problem when fixing bug 4303 2005-11-18 21:03:05 +00:00
stronk7 e1a8393153 Mimic changes from "Ought to mention the improved assignment grading!" 2005-11-18 16:20:43 +00:00
dlnsk ca3d257d1c New strings 2005-11-18 12:38:34 +00:00
dlnsk e50067ffc9 Improved by Ne Nashev 2005-11-18 12:33:04 +00:00
barias fb0690001f Minor updates in spanish translation 2005-11-18 11:10:49 +00:00
barias f3aa72b411 Latest spanish translation 2005-11-18 11:02:18 +00:00
skodak d5f8920f04 xxx_param() fix; merged from MOODLE_15_STABLE 2005-11-18 10:57:36 +00:00
skodak 39e1190567 some more fixes for assignment grading; merged from MOODLE_15_STABLE 2005-11-18 10:31:46 +00:00
mits 74b244937f polished. 2005-11-18 09:26:35 +00:00
carlesbellver 884631c309 *** empty log message *** 2005-11-18 09:05:45 +00:00
carlesbellver 973ffa3420 *** empty log message *** 2005-11-18 07:31:36 +00:00
gbateson 0e143b3514 allow "penalties" to be returned from Rottmeier Find-It quizzes 2005-11-18 06:07:02 +00:00
patrickslee 0fcac008cb Reverted changes in ver 1.401, as this is ultimately fixed by bumping the version number 2005-11-18 05:34:29 +00:00
patrickslee 6dce1da9e7 Put some initial values in new forum posting form 2005-11-18 05:23:35 +00:00
moodler 4ad916da57 Bump version to upgrade db for Patrick's new feature 2005-11-18 05:02:07 +00:00
mits b74243877f fixed based on standard. 2005-11-18 04:55:44 +00:00
patrickslee f3f1b00d8e Wrong logical operators used in SQL statements 2005-11-18 04:43:46 +00:00
patrickslee 6af7cc2206 Moved Embargoed Announcements related search into SQL. So that paging/counting for the search results will be accurate. 2005-11-18 04:35:14 +00:00
mjollnir_ f53fba389a If tablelib is going to do fullname voodoo, it should allow us to make the default order field something that makes up fullname (ie, firstname/lastname) 2005-11-18 04:19:58 +00:00
moodler c38c0e3b7b fix for bug #4336 2005-11-18 03:19:22 +00:00
patrickslee 60f515a257 Added HTMLArea editor to the Description box in the Edit Profile area 2005-11-18 01:45:20 +00:00
gbateson daa08c4e4c remove [] from clue button text in JCloze (HP default is [?], so additional [] are not needed) 2005-11-18 01:13:31 +00:00
mjollnir_ c0abecb822 New version of mi_utf8 following comments from Eloy 2005-11-17 22:50:56 +00:00
koenr ac10be2160 adding missing strings 2005-11-17 22:26:55 +00:00
koenr f470f758b0 various small modifications, especially the translation for metacourse.
Gave up to finde a decent word for it - use a description now
2005-11-17 22:05:02 +00:00
koenr 0292cd5ff5 pollish 2005-11-17 21:47:01 +00:00
mjollnir_ 2e910d21c7 Fixed typo in lams postgres creation 2005-11-17 21:36:55 +00:00
mits 67b1c6ab0b translated new strings. 2005-11-17 21:19:01 +00:00
koenr 956331aa0f one letter too much
This reads well
2005-11-17 20:44:43 +00:00
mits e10341ecd7 fixed based on standard theme.
Thank you!!
2005-11-17 20:33:17 +00:00
julmis 3e7fa1f8cb Merging from stable 2005-11-17 19:33:48 +00:00
stronk7 9203b5a851 A bit later, but here it's release info. 2005-11-17 18:01:03 +00:00
martignoni f549bf4505 Release notes for 1.5.3 2005-11-17 13:31:42 +00:00
julmis 8da03148ee Merging from stable.
Added required_param or optional_param.
2005-11-17 10:37:41 +00:00
martignoni 119534750a Add a last access filter to the participants list - show users inactive for more than x time period 2005-11-17 10:20:56 +00:00
martignoni 498346c116 Adding the LAMS integration code. 2005-11-17 10:19:27 +00:00
martignoni 0d54ff7aee New lang entries for skip navigation link 2005-11-17 10:10:54 +00:00
martignoni c786ddfda6 New lang entries for Activity Link setting 2005-11-17 09:48:49 +00:00
martignoni 696409414e Fixing bug 4303 - quiz reports dying on large enrolments - getting all users
into an array and imploding it into an IN() replaced with joins. This changes
the functionality SLIGHTLY in two ways - 1. show students with no attempts now
JUST shows students with no attempts, rather than both.  Show students with
no attempts is now disabled for the site course as is not really relevant and
could be ridiculously large
2005-11-17 09:39:54 +00:00
martignoni 324226891e Fixing up the missing perfdebug string in admin, turning perf on in the default footer using $CFG->perfdebug 2005-11-17 09:36:52 +00:00
mits ccde0d31cc translated new strings. 2005-11-17 09:09:51 +00:00
moodler 44c5b65036 Merged from stable 2005-11-17 07:57:00 +00:00
moodler f0d5c0dd5e Merged new string from stable for globalquoteswarning 2005-11-17 07:17:36 +00:00
moodler 4ab3acc45d language changes 2005-11-17 07:14:57 +00:00
moodler 4d46a3f062 Merged new globals check into install from stable 2005-11-17 07:14:03 +00:00
moodler 2c242af5fe Language string tidy up (SE) 2005-11-17 06:47:52 +00:00
moodler cb776114a2 Tidying up (SE) 2005-11-17 06:46:20 +00:00
moodler 2deebecdc5 Merged Petr's fixes for SC189 from STABLE 2005-11-17 06:45:40 +00:00
moodler 4f8f216f6b Merged from stable 2005-11-17 06:40:12 +00:00
patrickslee 9a0f8502f5 Allow tutors to be added in bulk email list.
In addition, if any tutor in the list is not subscribed to the teacher forum they will be subscribed automatically.

Also show hidden tutors as well when a teacher is viewing the participants list.

And some small bug fixes
2005-11-17 03:37:30 +00:00
mjollnir_ e4103b6a59 &amp; instead of & in participants list base url (from last commit - make participants list searchable) 2005-11-17 03:10:53 +00:00
mjollnir_ f1e24e7a1b Make participants list searchable 2005-11-17 03:09:07 +00:00
mjollnir_ 31b7133683 Add a last access filter to the participants list - show users inactive for more than x time period 2005-11-17 02:46:27 +00:00
mjollnir_ e87d42e013 Merged from MOODLE_15_STABLE: Fixing misnamed variable in forgot password link in login block 2005-11-17 02:30:53 +00:00
mjollnir_ 1b4fe47b08 Merged from MOODLE_15_STABLE: Pulling in a missing global CFG in datalib:execute_sql (affects CFG->dblogerror) 2005-11-17 02:27:05 +00:00
mjollnir_ 41238653e1 Maori translation! Translated by OSCINZ (http://eduforge.org/projects/oscinz) 2005-11-17 01:20:41 +00:00
stronk7 e9631716af Bump! 1.5.3 release notes! 2005-11-17 00:15:47 +00:00
stronk7 533229c481 Now courses are viewable by idnumber. Credits to Paolo Oprandi.
(http://moodle.org/mod/forum/discuss.php?d=18442)

Merged from MOODLE_15_STABLE
2005-11-16 23:21:36 +00:00
mits 0c8a2d561d polished.
translated new strings.
2005-11-16 23:21:09 +00:00
stronk7 5510ae0f27 Some typos solved. :-|
Merged from MOODLE_15_STABLE
2005-11-16 23:05:09 +00:00
skodak 5a36be8ce6 Fixed bug #4038 encoding problems when grading; merged from MOODLE_15_STABLE 2005-11-16 22:57:44 +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 fc4532d9a0 new lang entries for skip navigation link 2005-11-16 22:32:17 +00:00
mjollnir_ 29fbf0d5b8 My moodle - forums shouldn't print the forum header and all their nothing new stuff. Only talk when you've got something to say ;) 2005-11-16 22:20:43 +00:00
barias 9a109f1224 Latest spanish translation 2005-11-16 20:40:23 +00:00
stronk7 1f6d63e8d1 Updated a bit to explain how the multilang filter works.
Merged from MOODLE_15_STABLE
2005-11-16 19:51:37 +00:00
mjollnir_ 68d9654316 Display fix to stats 2005-11-16 19:49:07 +00:00
koenr dad42486fc Fixes, necessary for conversion to utf8
Big5 is a two-byte/character encoded language wich uses sometimes the byte for backslash in the definition of a character.
This causes trouble with the embeded moodle language editor. Please use only plain text editor to edit these language files
Go for it Eloy!.This should work.
2005-11-16 19:38:59 +00:00
mits e24677a7d7 translated new strings for LAMS. 2005-11-16 18:38:16 +00:00
andreabix 32ba6051e3 Traduzione di Paolo Porcaro 2005-11-16 17:18:29 +00:00
skodak 3ce42559d3 added basic validation of jump parameter; merged from MOODLE_15_STABLE 2005-11-16 16:47:17 +00:00
andreabix 6bd59d5d95 Traduzione di Onofrio Maggi 2005-11-16 16:40:07 +00:00
skodak baf4b75fe5 quoting typo; merged from MOODLE_15_STABLE 2005-11-16 16:35:21 +00:00
skodak 77f4b17be8 cleaning of parameter name before use SC#188; merged from MOODLE_15_STABLE 2005-11-16 15:22:21 +00:00
moodler d8f4ca20cd Adding the LAMS integration code. Can everyone please test thoroughly.
Cheers, Shane.
2005-11-16 08:21:19 +00:00
moodler ab64cf733c User-submitted fixes
Josep Maria Boneu Castells
Enginyeria inform?tica
our site is: www.aulacep.net
2005-11-16 07:39:34 +00:00
dlnsk 1fdaec6f01 *** empty log message *** 2005-11-16 03:04:23 +00:00
mjollnir_ 4907efae2b Merged from MOODLE_15_STABLE: Another fix to the perf printing patch from earlier. I didn't realise that 'no' in the context of perf means 7 ;) 2005-11-16 02:12:12 +00:00
mjollnir_ 526cdd63a0 Merged from MOODLE_15_STABLE: Fixing merging problem in the quiz report fix ealier - disabling wrong checkbox for site course quizes 2005-11-16 01:38:07 +00:00
skodak 16907e5366 no page flip after fastgrade saving, allow hiding of grade or comment column when fastgrading, do not update db when no changes in fastgrade; merged from MOODLE_15_STABLE 2005-11-15 23:48:04 +00:00
mits cdb17c86f1 polished. 2005-11-15 23:35:28 +00:00
skodak 4d7c4f7f5c Do not use set_default() and isset_param(), becasue those ugly hacks will be removed SOON!! 2005-11-15 23:32:22 +00:00
mits d9d0456f51 translated new strings. 2005-11-15 23:30:31 +00:00
skodak 5d7a9f5669 PARAM_BOOL now detects on and off values + UNCHECKED_VARS detection; merged from MOODLE_15_STABLE 2005-11-15 23:28:10 +00:00
mits 8b3908b4e6 fixed based on standard theme.
Thank you!!
2005-11-15 23:20:18 +00:00
mjollnir_ 39a2761465 Merged from MOODLE_15_STABLE: Fixing bug 4303 - quiz reports dying on large enrolments - getting all users into an array and imploding it into an IN() replaced with joins. This changes the functionality SLIGHTLY in two ways - 1. show students with no attempts now JUST shows students with no attempts, rather than both. Show students with no attempts is now disabled for the site course as is not really relevant and could be ridiculously large 2005-11-15 22:23:43 +00:00
patrickslee 9edf8e04e5 More restrictions on enrol/unenrol of meta courses. Thanks to Bug #4057
Merged from MOODLE_15_STABLE
2005-11-15 21:55:13 +00:00
skodak 84d8c4086e cleaning of parameter name before use SC#188; merged from MOODLE_15_STABLE 2005-11-15 21:49:30 +00:00
skodak 550c8b9cc2 Bug #4049 - Gradebook: Category names with a dot in them don't work correctly; merged from MOODLE_15_STABLE 2005-11-15 21:41:51 +00:00
mjollnir_ d1f1e3f899 Merged from MOODLE_15_STABLE: perf configvar & footer 2005-11-15 21:34:53 +00:00
mits 1f58604b51 translated a new moodle documentation. 2005-11-15 18:42:52 +00:00
skodak 04eb5d5243 XSS prevention in older PHP versions SC#190; merged from MOODLE_15_STABLE 2005-11-15 18:21:22 +00:00
bobopinna 133c5c2792 General review to support XHTML Strict
First step in multi-attempt feature (requested by SCORM 2004)
Removed javascript use as much as possible in button and link
2005-11-15 08:10:26 +00:00
mits 25fc86593c adde ie specific rule based on standard. 2005-11-15 04:10:50 +00:00
patrickslee b7cd70e017 Added an IE specific rule in layout CSS to prevent command icons hidden behind HTMLArea generated tables
When inserting table in HTMLArea, if the table is set to align to left or right, IE will make the table float so the command button will be hidden behind it.

So a IE specific rule is added in layout CSS to set command buttons clear on both side. This will apply to all themes based on the standard layout. And other browsers are not affected/needed.

Merged from MOODLE_15_STABLE
2005-11-15 03:07:59 +00:00
skodak 24e202cd4f added register_globals off as recommended setting; merged from MOODLE_15_STABLE 2005-11-14 22:58:02 +00:00
skodak 578dcc4019 add GLOBALS overwrite protection and improved magic_quotes_gpc hack SC#191, SC#184, SC#92; merged together with Jon's last patch from MOODLE_15_STABLE
also removed the broken unregister_globals() function
2005-11-14 22:53:44 +00:00
defacer 94cda02214 file unchecked_vars.php was initially added on branch MOODLE_15_STABLE. 2005-11-14 16:21:41 +00:00
thepurpleblob 286174bddf $CFG->filterall has a setting on the filters admin page, so isn't
needed in here any more.
2005-11-14 15:36:01 +00:00
martignoni 7b803ae4e5 New feature: Embargoed Announcements 2005-11-14 12:56:58 +00:00
gbateson 72e0b1f534 correct score calculation in TexToys Rhubarb 2005-11-14 11:32:40 +00:00
mits 5c4b04d97e polished. 2005-11-14 09:14:31 +00:00
defacer 136f43dcda Missing footers, XHTML warnings.
I suppose the "home page" button is not a problem, as the "continue" button
is very obvious on screen.
2005-11-14 04:33:25 +00:00
skodak 91dcec3e79 temporary fix for XSS SC#189; merged from MOODLE_15_STABLE 2005-11-14 00:12:04 +00:00
mjollnir_ bacd847b35 Fixing last commit - mysql upgrade - table_column defaults to 0 for default rather than empty string and mysql doesn't want to allow 0 for defaults for type text columns 2005-11-13 22:58:26 +00:00
patrickslee abbb3308a2 Made forum search page aware of Embargoed Announcements 2005-11-13 22:52:23 +00:00
mjollnir_ 79598cf025 Fixing bug 4244: length of rss title changed to TEXT in db and truncated to 64+ ... in block content. Also fixed BAD BUG where the function name for rss_client block upgrade was misnamed - this would have meant that db no upgrades ran for this block 2005-11-13 22:50:45 +00:00
mjollnir_ 860cea3526 Merged from MOODLE_15_STABLE: Getting directory sizes with du - use escapeshellarg on the file/directory as unzipping files on the server can result in filenames that need escaping 2005-11-13 21:19:23 +00:00
urs_hunkler e236ac3c7c Merged from 1.5. Changed $CFG-theme to current_theme() to make the theme working as course or session theme, see Bug #4315 2005-11-13 17:44:23 +00:00
mits c6eb9eb06d polished. 2005-11-13 06:07:20 +00:00
defacer 9013e4ad73 Now get_sql_sort can be called static-function-imitation style as well.
Necessary to solve SC#187 gracefully.
2005-11-13 04:42:21 +00:00
defacer 02828119f6 OK, trying to write about this in the SC made me think, thinking made me
find the solution. No hacks, no replicating the table object, I just tweaked
the table class itself to help us.

I 'll post at SC#187 about this, but the bug is now totally fixed.
2005-11-13 04:30:50 +00:00
defacer 86f6539591 Removing code block which, upon closer inspection, does nothing at all.
This is obviously a copy/paste artifact from mod/quiz/report/overview/report.php,
but notice that over there is non-trivial processing going on over there with the
sortorder array!

The sortorder can be used directly in queries, just stick an "ORDER BY " in front.
2005-11-13 04:01:41 +00:00
defacer 9894b8246c Gone through the code carefully. Committed what is basically Skodak's patch
at SC#187 postid 1104 with a small addition, EXCEPT the //HACK ALERT part.

Where does that leave us? The popup does not die anymore, BUT:

1. It throws a notice about $sort not being defined (to be expected)
2. It doesn't use the correct sortorder ($sort is not defined, so default sort)

Please see the discussion at SC#187 before doing more work on this.
2005-11-13 03:37:40 +00:00
defacer 5b48244f24 Carefully going through the code now...
Changing get_records_sql() for one record ALWAYS and associated foreach() to
a get_record_sql() without foreach. Please be considerate with copy/paste. ;-)
2005-11-13 03:20:35 +00:00
defacer c9977d055d Been playing around Assignment a bit, and Tidy kept complaining... 2005-11-13 02:50:46 +00:00
koenr 29adeb91d0 modified charset to windows-1251 like the rest of the lang pack
Converting to utf8 should run this way...
2005-11-12 20:02:21 +00:00
koenr 9d778166bd corrected locale: as far as I could find it should be ko_KR 2005-11-12 19:21:16 +00:00
lonecatz a2e86964b6 new translation and fix by sunner@hit 2005-11-12 03:08:15 +00:00
defacer 4fdabdc36f Merging from STABLE:
Better retrieval of table sortorder when not done directly through
the table class, see SC#187.
2005-11-12 03:04:11 +00:00
koenr e60b454b50 ..and back out again - it's empty and doesn't belong here either 2005-11-12 01:17:07 +00:00
koenr 8da9fecaaa new language pack from Tormod Aagaard <thormodr@start.no>
nynorsk
2005-11-12 01:10:24 +00:00
koenr 83957a4a28 new strings from karoly 2005-11-12 01:05:28 +00:00
koenr 0e5f6c1860 deleted troublecausing unnecessary file
contact adress in readme not valid
2005-11-12 00:22:42 +00:00
koenr 4c04c35ea4 since this is a textdocument, only ascii possible - sorry 2005-11-12 00:20:05 +00:00
koenr fb68d75270 locale wrong 2005-11-12 00:16:45 +00:00
gbateson e791e20949 get clue button text from quiz XML file (hitherto, it was always been set to "?") 2005-11-11 06:34:51 +00:00
mits 9d020a118b translated a new help file for meta course. 2005-11-11 04:47:21 +00:00
mits 95230af766 polished. 2005-11-11 04:30:40 +00:00
mits 6c7ef1eb35 polished.
translated new strings and a help file for forum display period.
2005-11-11 02:25:00 +00:00
patrickslee 2d71936b74 Database changes for Embargoed Announcements 2005-11-11 02:04:14 +00:00
skodak 2b38a593f0 fixed simple header bug #3406, patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-11 01:25:38 +00:00
dhawes 35ba289440 bug 4244. Replaced rss_edit with rssedit keyword everywhere. Also added string replace for any feed:// or rss:// url strings with http:// 2005-11-10 23:34:28 +00:00
dhawes ab848302ee bug 4244. extended max title entry field length to 128 from 64. replaced rss_edit with rssedit keyword everywhere. 2005-11-10 23:33:03 +00:00
patrickslee fbc21e82be New feature: Embargoed Announcements 2005-11-10 22:50:03 +00:00
skodak cca4a82f8c fixed loglive paging related bug #4116, patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-10 22:22:52 +00:00
skodak c851eb9411 fixed paging related bug #2715, based on patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-10 22:08:35 +00:00
skodak ad489e94c3 fixed login block at http://site/index.php when secure forms on - bug #4305; merged from MOODLE_15_STABLE 2005-11-10 21:41:10 +00:00
patrickslee 3f0a8eb0cc Fixed a misspelling in help index (Merged from MOODLE_15_STABLE) 2005-11-10 20:46:35 +00:00
patrickslee d7bd3f2991 Added contextual help for meta course (Merged from MOODLE_15_STABLE) 2005-11-10 20:44:47 +00:00
patrickslee 4f1ce12946 file metacourse.html was initially added on branch MOODLE_15_STABLE. 2005-11-10 20:40:56 +00:00
skodak 90e7e9870c typo bug #4308; merged from MOODLE_15_STABLE 2005-11-10 10:18:21 +00:00
gbateson 7867d9dbce fix error on line 700 when student displays hotpot/index.php 2005-11-10 09:00:17 +00:00
moodler 6911cc8880 Merged in the new ADOdb 4.66 from STABLE 2005-11-10 08:06:07 +00:00
moodler acbdae5b0f file adodb-pdo_pgsql.inc.php was initially added on branch MOODLE_15_STABLE. 2005-11-10 08:04:34 +00:00
moodler 5e8c8224b4 file adodb-postgres8.inc.php was initially added on branch MOODLE_15_STABLE. 2005-11-10 08:04:34 +00:00
moodler bdb7d0d0f0 file adodb-pdo_mysql.inc.php was initially added on branch MOODLE_15_STABLE. 2005-11-10 08:04:34 +00:00
moodler aa94bf78d7 file adodb-sybase_ase.inc.php was initially added on branch MOODLE_15_STABLE. 2005-11-10 08:04:34 +00:00
moodler 4928fc7fca file adodb-pdo_oci.inc.php was initially added on branch MOODLE_15_STABLE. 2005-11-10 08:04:34 +00:00
moodler 36448c00ed file adodb-uk1251.inc.php was initially added on branch MOODLE_15_STABLE. 2005-11-10 08:04:34 +00:00
patrickslee d65ae7fb77 Converted forum help index file to linux line breaks (Merged from MOODLE_15_STABLE) 2005-11-10 03:30:17 +00:00
skodak 200c19fb8c cleaning as assignment types SC#182 continued; merged from MOODLE_15_STABLE 2005-11-10 00:22:57 +00:00
skodak de4564ee09 fixed incorrect assignment grades in gradebook when custom scales bug #4279; merged from MOODLE_15_STABLE 2005-11-09 22:39:29 +00:00
skodak c86aa2a479 fixed grades display in assignment/index.php when using different scales; merged from MOODLE_15_STABLE 2005-11-09 22:25:38 +00:00
skodak 5055a3e3d3 fixed grading when secure forms on bug #4300; merged from MOODLE_15_STABLE 2005-11-09 21:37:15 +00:00
moodler 1747ee05bd Removing PJs "temporary" test code. Mine kept printing errors ... why? 2005-11-09 06:00:48 +00:00
moodler b48fd7b59a added function popupchecker to help checking with popup blockers 2005-11-09 02:18:50 +00:00
moodler 704fbf6e1b added pop up blocker checker 2005-11-09 02:17:26 +00:00
moodler 233de2e316 added popup checker in quiz 2005-11-09 02:16:13 +00:00
mits 6023081dd6 translated a new help file for hotpot. 2005-11-09 02:06:22 +00:00
gbateson f07576b09c new help file explaining "clickreport" setting (added in HotPot v2.1) 2005-11-09 00:44:42 +00:00
mjollnir_ 7d5258795c (re)fixing bug #4199: import course activities offering non taught courses to import from. got lost in the course import rewrite 2005-11-08 20:51:27 +00:00
stronk7 9704c86631 Split line into two separated commands to allow people with
chmod disabled to run backup/restore code. Credits go to
Grigory Rubtsov. Bug 4299.
(http://moodle.org/bugs/bug.php?op=show&bugid=4299)

Merged from MOODLE_15_STABLE
2005-11-08 19:33:21 +00:00
andreabix c999ea82e0 Traduzione di Onofrio Maggi 2005-11-08 16:14:19 +00:00
andreabix c0143120e0 Traduzione di Onofrio Maggi, Bobo Pinna 2005-11-08 16:10:28 +00:00
andreabix 7d1dc09db9 Traduzione di Antonio Fini 2005-11-08 16:02:42 +00:00
andreabix fdf08348d6 Traduzione di Daniela Davi 2005-11-08 15:51:07 +00:00
martignoni 2de798ed88 Typos corrected, thanks to Alain Kerdelhu? 2005-11-08 15:23:55 +00:00
mits 3a62b681aa Polished.
Translated a new help file for upload group.
2005-11-08 08:21:05 +00:00
gbateson 29781718a6 changes to allow quizzes in tail of HotPot chains to be visible 2005-11-08 07:48:10 +00:00
mits 7025d5fae5 Translated new additions to uploadusers format (for teachers) based on en. 2005-11-08 07:39:30 +00:00
moodler 7b8cc33964 Moodle now cleans out accounts that never get completed bug 3309 2005-11-08 07:24:11 +00:00
moodler fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00
moodler fe59ecbff9 New help file to cover new additions to uploadusers format (for teachers) 2005-11-08 07:06:40 +00:00
moodler 91b74d3ef4 This got missed before, it's part of the new course/import changes 2005-11-08 07:01:12 +00:00
moodler 8604a1f884 Added encryption to the select form names so that it's a lot more
difficult to cheat on these questions by looking at HTML source.   SC178
2005-11-08 06:56:34 +00:00
moodler 69ef01c00d We don't show unenrolled users in quiz reports normally 2005-11-08 06:52:32 +00:00
mits c5684cd720 polished. 2005-11-08 05:54:27 +00:00
moodler cd7d299942 Tidying ... 2005-11-08 05:14:52 +00:00
patrickslee db0a8174c6 Made action_redir.php take posted parameters, fixing a problem in IE that when trying to add a lot user (say 150+) to the actions this fails to work 2005-11-08 02:34:19 +00:00
mits c2695737d2 polished. 2005-11-07 23:03:03 +00:00
mits e6eba0d473 polished. 2005-11-07 22:52:47 +00:00
mits ee5346165e polished. 2005-11-07 21:43:20 +00:00
mits 5d3feb0f19 translated new strings and a help file for lesson. 2005-11-07 21:06:53 +00:00
michaelpenne 47c5c434d2 new help file for activity link setting 2005-11-07 20:00:14 +00:00
michaelpenne 2a9b05b9fd New lang entries for Activity Link setting 2005-11-07 19:58:15 +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
moodler 6db0b948cc fix for bug 4284 2005-11-07 05:49:23 +00:00
mjollnir_ aba94550ad fixing a bogus warning in upload lib about no file selected when allownull is on 2005-11-07 02:43:34 +00:00
mits ff9ace83d1 polished. 2005-11-07 02:21:29 +00:00
martinlanghoff a4e3e98f08 Merged from MOODLE_15_STABLE - Updated the definition of member for AD - thanks to Inaki for the tip! 2005-11-07 01:00:05 +00:00
martinlanghoff 068cdffd11 user/edit: Better error handling when loading auth libs.
Check with empty() to avoid casting the string to int, and provide
useful info in the debug log.

Merged from MOODLE_15_STABLE
2005-11-07 00:55:10 +00:00
martinlanghoff 85523834e7 auth/ldap: Better warnings and handling of updaging multi-source LDAP fields
+ Raise a warning if the auth_ldap_get_entries for one user record
   returns more than one record (!?)
 + Resolved some subtle bugs when updating a remote LDAP repo from user
   updates. The logic is now simpler too.
 + Simplified the code that compares old/new values

Merged from MOODLE_15_STABLE
2005-11-07 00:53:07 +00:00
stronk7 0fd4f40714 Now both empty search strings and 1 letter search strings works fine in
the glossary. Terms are hilighted properly (but 1 letter terms, because
it's a hilight limitation). Bug 4274.
(http://moodle.org/bugs/bug.php?op=show&bugid=4274)

Merged from MOODLE_15_STABLE
2005-11-06 20:06:05 +00:00
dlnsk 38cc92ccb4 ? ? ? ? 5 ? 2005 2005-11-06 15:17:00 +00:00
lonecatz 568c1bea9b some bug fix by sunner@hit 2005-11-06 09:41:20 +00:00
drabureesh e0d6a32627 Arabic Translation new update by Dr. Ali H. Abureesh, Nov. 5th, 05 2005-11-06 05:20:29 +00:00
defacer c0b507d118 I was going through the code here and found out that it's completely missing
the point, it could be much tighter and easier to understand. So here's the
candidate replacement code plus some assertions, I intend to let it run for
some time and if no assertion errors come up (they shouldn't) do the replace.

This was almost my very first Moodle code. Isn't experience wonderful? ;-)
2005-11-06 03:20:30 +00:00
skodak 00b61a661a fixed bug 3532 - canceling of activity movement thanks to jcodina; merged from MOODLE_15_STABLE 2005-11-05 22:06:27 +00:00
martignoni 89fe478d88 Made the number of modules a litter loser, so there's room for extra modules 2005-11-05 18:07:25 +00:00
martignoni fbc040998a New plugin structure for code that imports stuff into a course
Old import.php is now import/activities and we've added a new plugin
for importing groups from an external file
2005-11-05 18:03:57 +00:00
martignoni c909e26571 Adding missing stats string; fixing weird bug for when stats starts processing from now rather than all 2005-11-05 18:01:33 +00:00
martignoni b59efeb707 Fixing up the assignment grading interface to make it more usable.
- grade buttons are now links
  - popup window has teacher comments at the top
  - popup window can now cycle through all users without leaving the window
  - new quickgrading feature to grade inline in one go
  - can choose page size
2005-11-05 18:00:28 +00:00
martignoni 1f764c8c28 Admin setting for stats: ranked courses get userthreshold 2005-11-05 17:57:34 +00:00
stronk7 7b6f4f9c1f Fixed encoding of page title of framed IMS CP resources
(mimic of skodak's work in other frames)
2005-11-05 16:19:23 +00:00
stronk7 848e39fa98 Minor update (from en) 2005-11-05 15:52:38 +00:00
koenr 0d7ec8eaff pollish 2005-11-05 15:29:21 +00:00
skodak bac472e019 messaging - fixed page encoding in headers; merged from MOODLE_15_STABLE 2005-11-05 10:50:35 +00:00
mits 7415831fce polished. 2005-11-05 10:31:52 +00:00
mits 3625dcf158 translated new strings for import plugin. 2005-11-05 08:19:18 +00:00
moodler f8b3c0f484 New plugin structure for code that imports stuff into a course
Old import.php is now import/activities and we've added a new plugin
for importing groups from an external file
2005-11-05 08:06:36 +00:00
mits 038d8e8a44 polished. 2005-11-05 07:26:05 +00:00
moodler 2340e991c2 Added Yu's extensions to support assignation of teachers and non-editing teachers 2005-11-05 07:02:49 +00:00
mits 887a4f3af5 polished. 2005-11-05 01:55:55 +00:00
koenr b86f80a9dc polishing 2005-11-04 20:44:01 +00:00
koenr 5e9279ebcb Made the number of modules a litter loser, so there's room for extra modules 2005-11-04 18:57:58 +00:00
skodak 539d335c2f fixed bug #4030 - filemtime for time modified; merged from MOODLE_15_STABLE 2005-11-04 11:32:48 +00:00
skodak 6a21526c0c fixed choose disappearing after file delete; merged from MOODLE_15_STABLE 2005-11-04 10:56:36 +00:00
skodak 9c5afdf214 fixed encoding of page title of framed resources; merged from MOODLE_15_STABLE 2005-11-04 10:00:28 +00:00
moodler 082215e68e Merged fixes from stable 2005-11-04 06:50:30 +00:00
moodler e768aabed0 fixes bug #4268 2005-11-04 06:48:39 +00:00
mjollnir_ aff2944e78 Changes to uploadlib to deal better with multiple file uploads (I don't think anywhere in moodle is using this yet, but it's much nicer now) 2005-11-04 04:26:29 +00:00
mits 490d36a430 translated two new strings. 2005-11-04 04:23:56 +00:00
gbateson d4817b7317 fixed undefined index line 147 in "remove_column" function 2005-11-04 02:16:40 +00:00
mjollnir_ 9afaefaa1f Adding threshold to most active courses (Weighted) 2005-11-04 00:51:42 +00:00
skodak 4c19b6ec04 fixed input validation in admin and formating+cleaning in diff and editing SC#160; merged from MOODLE_15_STABLE 2005-11-03 23:47:28 +00:00
mjollnir_ e7202b3fd2 Adding missing stats string; fixing weird bug for when stats starts processing from now rather than all 2005-11-03 22:57:14 +00:00
mjollnir_ 7b89e1898f Admin setting for stats: ranked courses get userthreshold 2005-11-03 22:45:35 +00:00
mjollnir_ ce4a0f541f Adding default for new stats value for threshold to defaults file 2005-11-03 22:44:29 +00:00
mjollnir_ e15df3562f Stats display fix for ranked courses: enrolments and active users should
be max() not sum()
2005-11-03 22:22:05 +00:00
ralf-bonn 251e7dd18c German Lang-Quality-Action. Thanks to Dag Klimas 2005-11-03 22:12:47 +00:00
mits efa309e66e polished for resource html, text visibility. 2005-11-03 22:03:51 +00:00
mits 673fe3eba8 polished. 2005-11-03 20:27:39 +00:00
ralf-bonn 1ca3a52349 new german docs 2005-11-03 19:19:25 +00:00
ralf-bonn 0cfec9dc69 added strings 2005-11-03 19:18:50 +00:00
ralf-bonn e0fd2a6e59 Thanks Guido 2005-11-03 18:43:02 +00:00
koenr 6050b29718 new strings and helpfiles for grading enhancements 2005-11-03 18:12:26 +00:00
mits 2095ca31cc translated a new string. 2005-11-03 12:17:56 +00:00
mits 5125723f35 polished. 2005-11-03 12:10:33 +00:00
martignoni e3e330c345 Some typographical tweaks 2005-11-03 12:08:21 +00:00
mits 9a00d440e1 polished. 2005-11-03 12:01:18 +00:00
martignoni 3c40ab61e1 Fixing bug 4199: course import offering courses not a teacher in to import from. 2005-11-03 10:56:08 +00:00
mits 84b69d8c0f polished. 2005-11-03 10:05:42 +00:00
moodler a81662279f Merged fix for bug 4146 from stable 2005-11-03 09:40:23 +00:00
mits ee310d7942 polished.
translated new strings and 2 new fiels for assignment.
2005-11-03 08:31:11 +00:00
carlesbellver 0f63e689a0 *** empty log message *** 2005-11-03 07:53:55 +00:00
moodler 9bf660b326 Merged new assignment grading interface fixes from STABLE 2005-11-03 06:25:00 +00:00
moodler 7c8ffef4f6 file quickgrade.html was initially added on branch MOODLE_15_STABLE. 2005-11-03 06:19:29 +00:00
moodler 6ab9efa126 file pagesize.html was initially added on branch MOODLE_15_STABLE. 2005-11-03 06:19:29 +00:00
moodler 25e5dbf9e7 Merged tabindex forchoose_from_menu from stable 2005-11-03 05:12:12 +00:00
koenr e168c90403 new string 2005-11-03 00:47:30 +00:00
koenr f7fd2f30a9 new help files 2005-11-03 00:44:23 +00:00
mjollnir_ 42307c47b2 Fixing bug 4259: statslib infinite loop on php 5.1 date/time changes. Credit: Samuli Karevaara (great catch!) 2005-11-02 22:20:35 +00:00
mits 9cf41cd87a polished. 2005-11-02 22:12:40 +00:00
mits 9e014fe23c polished.
translated a new help file for lesson.
2005-11-02 22:01:31 +00:00
mjollnir_ 723d3fb591 Further to bug 4199: just select courses we're an editing teacher in, not just all courses we're a teacher in 2005-11-02 21:26:10 +00:00
michaelpenne 16fa48c83e The Lesson dependency help button was pointing to the wrong help file. 2005-11-02 21:22:16 +00:00
michaelpenne af13355ada New help file for lesson dependency. 2005-11-02 21:21:03 +00:00
mjollnir_ 0b3d293737 Fixing bug 4199: course import offering courses not a teacher in to import from. Will merge to stable after confirmation from bug reporter. 2005-11-02 21:09:12 +00:00
michaelpenne 8d726b04aa Added content to the help file. 2005-11-02 20:41:26 +00:00
patrickslee 20fdb1b755 Fixed a wrong call to add_teacher in LDAP plugin (Merged from MOODLE_15_STABLE) 2005-11-02 20:35:32 +00:00
koenr dc109497d4 re-entered firstdayofweek string 2005-11-02 20:29:36 +00:00
koenr 394897fae0 added first day of week string 2005-11-02 20:18:25 +00:00
ralf-bonn 9ee945270f new german docs 2005-11-02 19:29:37 +00:00
ralf-bonn 55849506d2 Changing from the german quality process of the language files 2005-11-02 18:58:27 +00:00
ralf-bonn cd3346ed4b error corrections 2005-11-02 18:42:29 +00:00
skodak 9cc78ee196 Fixed course searching with quotes - SC#180; merged from MOODLE_15_STABLE + other fixes in HEAD only 2005-11-02 15:36:57 +00:00
martignoni 553fb8d843 Updated theme short documentation 2005-11-02 13:42:05 +00:00
martignoni 98fe8f153c Added some Shibboleth error messages 2005-11-02 13:17:11 +00:00
martignoni 891fab406e Block normal users to gain access to meta courses 2005-11-02 13:08:53 +00:00
martignoni 9d6f77f44d Added message for "error_invalidquiztype" (used in mod/hotpot/attempt.php) 2005-11-02 13:06:56 +00:00
martignoni c8487fb6df My moodle page should not be available to guests and offer a full login 2005-11-02 13:05:05 +00:00
martignoni 6b929019c8 Few lang entries for the new features for media file 2005-11-02 13:03:33 +00:00
martignoni 6973917622 Cronjob: override admin user timezone to moodle default timezone 2005-11-02 12:58:58 +00:00
mits e63c74bad3 polished. 2005-11-02 11:48:20 +00:00
mits 8ec780f342 polished. 2005-11-02 05:19:00 +00:00
moodler 80b91e8b63 Print standard course module settings 2005-11-02 04:00:46 +00:00
mjollnir_ f6a5aa18f2 Merged from MOODLE_15_STABLE: Fixing warning in course import (part of bug 4199) 2005-11-02 02:26:53 +00:00
mits 5d7b9212f2 polished. 2005-11-02 02:24:21 +00:00
ralf-bonn 29b76573d0 text corrections 2005-11-01 20:27:55 +00:00
ralf-bonn 1b8196f9d3 text corrections 2005-11-01 20:14:39 +00:00
ralf-bonn 8b1900a610 text corrections 2005-11-01 19:48:03 +00:00
stronk7 713efedc31 Changed one call to gethostbyaddr() to use numeric
ip instead. Such information is only stored in DB
(page->author) and not critical at all. Suggested
by Derry in http://moodle.org/mod/forum/discuss.php?d=32171
because it was causing important delays when clients
weren't DNS-registered.

Merged from MOODLE_15_STABLE
2005-11-01 17:47:20 +00:00
skodak ad822b36d9 fixed access rights of creators during restore SC#177; merged from MOODLE_15_STABLE 2005-11-01 17:25:02 +00:00
djachenko 39ed9e51e6 "" 2005-11-01 17:21:04 +00:00
stronk7 84ce25456e Latest changes from the "en" version updated. 2005-11-01 16:33:48 +00:00
skodak 7c13eb5c8f fixed course ID and quoting of the search string SC#179; merged from MOODLE_15_STABLE 2005-11-01 15:59:20 +00:00
mits 7cefbc9ba5 reverted two false changes based on en/docs/credits.html. 2005-11-01 13:48:58 +00:00
urs_hunkler c4433d7c0a reverted two false changes. Thanks for your kind information Eloy. 2005-11-01 13:08:31 +00:00
mits d0794f411a updated based on en/credits.html 2005-11-01 12:37:27 +00:00
ralf-bonn a328b09fc0 text corrections 2005-11-01 12:19:14 +00:00
urs_hunkler 14a930ba2b updated theme short docu and theme credits 2005-11-01 11:45:08 +00:00
koenr 399aa3161a keeping up with new stirngs 2005-11-01 08:16:46 +00:00
koenr e5f1d0c80c new strings 2005-11-01 08:13:23 +00:00
koenr 88afc297c7 missing / in <br /> 2005-11-01 08:12:54 +00:00
koenr 9ffa6a1937 removed empty parentlanguage string 2005-11-01 07:55:54 +00:00
koenr 538e296096 stripped out the parentlanguage string wich points to a language pack in a different characterset - can't imagine that works good 2005-11-01 07:54:39 +00:00
koenr c8862bdc97 cleaning out some garbage before the <?php 2005-11-01 07:15:07 +00:00
moodler 6573940cc3 Merged from stable 2005-11-01 06:53:57 +00:00
mits 05288b9cf6 polished. 2005-11-01 04:14:44 +00:00
moodler 708b521a6d Merged changes from STABLE.
Not sure I did the right thing on questiontypes/calculated/questiontype.php
Hope I didn't create a bug there.

(can people please remember to merge changes into head whenever they change stable?)
2005-11-01 03:29:58 +00:00
moodler 1e462286f7 Merged addslash fixes from STABLE 2005-11-01 02:51:06 +00:00
ralf-bonn 767c137012 added strings 2005-10-31 22:58:18 +00:00
skodak 6cbaa56a69 fixed warnings and param cleaning, prevention of mailing of empty reports SC#147; merged from MOODLE_15_STABLE 2005-10-31 22:49:13 +00:00
mits f1e3c1276a translated new strings for Shibboleth. 2005-10-31 22:37:47 +00:00
barias 0bc1e97fe4 Minor updates in spanish translation 2005-10-31 22:31:50 +00:00
skodak 93eb1250c2 fixed slashing of javascript strings SC#174; merged from MOODLE_15_STABLE 2005-10-31 22:13:23 +00:00
patrickslee 56144efaac Block normal users to gain access to meta courses (Merged from MOODLE_15_STABLE) 2005-10-31 20:38:54 +00:00
exe-cutor 49465c358a *** empty log message *** 2005-10-31 15:51:17 +00:00
exe-cutor 2c4e3d9514 Added some Shibboleth error messages 2005-10-31 15:49:53 +00:00
vthung ccd0173457 Modified a string 2005-10-31 14:37:56 +00:00
gustav_delius 4bb36a97ce subscribing always requires the user to be logged in, even for forums on the home page. 2005-10-31 14:21:29 +00:00
vthung 0477716518 Modified a string 2005-10-31 14:08:39 +00:00
moodler 3cf4fa0cea Ooops. 2005-10-31 08:35:14 +00:00
moodler 6a08340572 Language key [[guestno]] corrected to [[guestsno]] (bug 4254). 2005-10-31 07:44:47 +00:00
moodler 3ad24ceaeb Fixed typo so dateto uri parameter works. 2005-10-31 07:33:04 +00:00
moodler a2bed05944 Fix for bug 4242/4243. Optimize insert_record. 2005-10-31 06:25:17 +00:00
moodler fd5d7fad8b Fixed a bug in isediting() which ignored the $user parameter. 2005-10-31 06:06:41 +00:00
mits e56290c045 polished. 2005-10-31 02:41:04 +00:00
defacer 3f754e638c Fixing a typo ("=" to "=>") which killed my Moodle after grabbing the latest CVS. 2005-10-31 01:58:42 +00:00
barias b2eede33a6 Minor updates in spanish translation 2005-10-30 23:59:13 +00:00
mits ac7ba409e7 translated a new string for hotpot. 2005-10-30 23:54:22 +00:00
gbateson 3028876068 added message for "error_invalidquiztype" (used in mod/hotpot/attempt.php) 2005-10-30 23:37:39 +00:00
gbateson 1e2b831839 add PARAM_ALPHANUM for Moodle 1.4 and less 2005-10-30 23:32:07 +00:00
gbateson b24a1f7fe5 improved detection of $quiztype for "mobile" output format 2005-10-30 23:31:33 +00:00
patrickslee bbeff3c84e file enrol.html was initially added on branch MOODLE_16_MULTIENROL. 2005-10-30 22:33:10 +00:00
patrickslee 29702043a9 file enrol.php was initially added on branch MOODLE_16_MULTIENROL. 2005-10-30 22:33:10 +00:00
skodak 454727f6c1 fixed warnings/errors in latest PHP versions; merge from MOODLE_15_STABLE 2005-10-30 22:16:41 +00:00
patrickslee 7fa92da9fa Reverting commits just made. This should be in MOODLE_16_MULTIENROL 2005-10-30 22:13:26 +00:00
koenr 5e52f1cdb8 new helpfile 2005-10-30 21:50:09 +00:00
patrickslee 739f3e5067 DB upgrade script to clean up enrol field for user_students and user_teachers (Merged from MOODLE_15_STABLE) 2005-10-30 21:36:44 +00:00
mjollnir_ 78c7303cb4 Fixing warnings in statslib. Bug # 4252, credit: samuli dot karevaara at lamk dot fi 2005-10-30 20:39:16 +00:00
koenr af2a64601f new helpfile 2005-10-30 20:37:38 +00:00
mits 70ba93cd20 polished.
translated a new string for my.php.
2005-10-30 20:32:54 +00:00
mjollnir_ 092dcfa418 In the case of my moodle we don't want to redirect to referrer on 'no',
referrer will 90% of the time be the my moodle page. Redirect to wwwroot
instead
2005-10-30 20:20:09 +00:00
mjollnir_ fdaa600675 My moodle page should not be available to guests and offer a full login 2005-10-30 20:10:43 +00:00
koenr 18d0b22c11 small letters for XHTML 2005-10-30 19:44:51 +00:00
koenr bc2ef247b6 more new strings 2005-10-30 18:52:06 +00:00
koenr ef8ddb6b92 new strings 2005-10-30 18:38:54 +00:00
vthung 4bf78cc895 Modified a string 2005-10-30 15:01:24 +00:00
mits 98638d67c5 polished. 2005-10-30 05:40:34 +00:00
mits 90bd9a9e3e polished. 2005-10-30 05:30:37 +00:00
defacer 044cdea0c6 Removing MY_MOODLE_FORMAT constant, we just play along with relative paths. 2005-10-30 01:10:08 +00:00
mits 121d525dfc polished. 2005-10-29 23:40:12 +00:00
skodak 8fd23ca2e2 fixed sql quoting SC#145; merged from MOODLE_15_STABLE 2005-10-29 21:53:33 +00:00
skodak cda94ae1b8 fixed cleaning before editing SC#163; merged from MOODLE_15_STABLE 2005-10-29 21:40:41 +00:00
skodak e7a4715302 fixed caching + cleanup in format_text() SC#172; merged from MOODLE_15_STABLE 2005-10-29 21:32:09 +00:00
mits 1734c8ca7a changed large calendar bgcolor to #FFFFFF for visibility. 2005-10-29 20:47:13 +00:00
defacer e7898f26eb Fix for bug 4251:
Removing second copy of applicable_formats() function (copy/paste typo).
2005-10-29 18:58:05 +00:00
skodak 2d5b322c0f fixed script parameters + some warnings SC#150; merged from MOODLE_15_STABLE 2005-10-29 16:45:58 +00:00
skodak 870e3cad2c fix for preferred_width_xx initialization SC#169; merged from MOODLE_15_STABLE 2005-10-29 16:36:15 +00:00
skodak 8871ccdce4 cleaning of parameter, initialized variable SC#168; merged from MOODLE_15_STABLE 2005-10-29 16:18:18 +00:00
mits 948b6d681c polished. 2005-10-29 12:31:26 +00:00
mits 76c53d5dd1 translated new strings for lesson.
Added a new help file for lesson.
2005-10-28 23:07:05 +00:00
michaelpenne 48ff749817 new help file for media setting in lesson 2005-10-28 22:47:46 +00:00
michaelpenne 7e163dc942 New lang entries for the new features for media file 2005-10-28 22:46:50 +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
mits 525bb31f37 translated a modified help file. 2005-10-28 22:40:25 +00:00
mits 3572229400 whole help files polish done. 2005-10-28 21:24:37 +00:00
koenr 9ac214f309 new language pack: Hindi, by Utkarshraj Atmaram 2005-10-28 21:14:25 +00:00
koenr 3f2f3d7eb4 and another one forgot to commit 2005-10-28 19:05:35 +00:00
mits ea96ff3827 polished. 2005-10-28 19:04:39 +00:00
koenr 6428f1b7cd forgot to commit - sorry Eloy 2005-10-28 19:03:45 +00:00
mits 0bb4b58860 polished. 2005-10-28 18:58:22 +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
mits ea73388a93 translated a updated string. 2005-10-28 17:49:40 +00:00
mjollnir_ 527883218c Participants block shouldn't be shown for my moodle; guests don't want my moodle redirect, fixing page title in edit block instance in my moodle 2005-10-28 04:11:17 +00:00
moodler fcf5aebf0f Fix for incorrect order of question numbers when downloading detailed
results as Excel spreadsheet. Merged from STABLE. (SE)
2005-10-28 03:54:33 +00:00
patrickslee 2f5fe55234 Fixed dis-ordered displaying for quiz overview report when no soring is specified (Merged from MOODLE_15_STABLE) 2005-10-28 02:22:34 +00:00
mjollnir_ 404fe839d6 Stats date display should use moodle timezone and not show time of day, date is enough 2005-10-28 01:36:59 +00:00
mjollnir_ 1330905958 Cronjob: override admin user timezone to moodle default timezone 2005-10-28 01:33:32 +00:00
koenr cc76ca16e8 deleted parentlanguage string 2005-10-27 22:41:07 +00:00
mjollnir_ 6e5620607f Fixing merging issue with stats: userfields that only exist in our branch removed 2005-10-27 22:14:53 +00:00
mits 1c9fda2dca polished. 2005-10-27 20:57:33 +00:00
mjollnir_ 4d8e4c38ae Better time handling for stats - ignores dst and no longer relies on 1 day to be +(60*60*24). Also fixes mysql incompatibility in reporting with ::real - bug # 4241 2005-10-27 20:41:49 +00:00
martignoni e9b778112f Typo corrected thanks to Fabrice Noelant 2005-10-27 20:13:50 +00:00
patrickslee c5c03efb26 Corrected a postgresql definition error. Thanks to Juro Chlebec 2005-10-27 19:55:19 +00:00
mits c7d1d7f7f9 polished. 2005-10-27 18:52:26 +00:00
andreabix 55e67410e6 Traduzione di Daniela Davi 2005-10-27 16:40:11 +00:00
andreabix 5f723060a7 Traduzione di Paolo Porcaro 2005-10-27 16:12:57 +00:00
andreabix 89c5bf79cb Traduzione di Antonio Fini 2005-10-27 16:09:19 +00:00
martignoni 808d4bccd4 Small tweaks 2005-10-27 12:20:37 +00:00
moodler 003ab11db4 Updated license info :-) 2005-10-27 06:33:44 +00:00
mits 0faefe9fc1 polished. 2005-10-27 03:32:33 +00:00
mits 54e80bf94b polished. 2005-10-27 02:32:27 +00:00
patrickslee c0ee465b4c Fixed a mis-usage (typo?) of get_admin() in paypal module. (Merged from MOODLE_15_STABLE) 2005-10-27 02:20:59 +00:00
stronk7 8317e82773 The "parentlanguage" string was wrong. Solved. 2005-10-26 23:11:57 +00:00
michaelpenne 0017b962e6 BUG FIX: essay response was still hard coded in. Replaced it with a get_string call 2005-10-26 23:11:26 +00:00
patrickslee c74ae30cc8 Added default argument value for grade_category_select() to prevent error when calling without arguments (Merged From MOODLE_15_STABLE) 2005-10-26 22:30:11 +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
mjollnir_ 41f7a86012 Merged from MOODLE_15_STABLE: Now the login block uses the same logic for forgot password as the login page does 2005-10-26 21:19:01 +00:00
mits 84362aec67 polished. 2005-10-26 18:57:36 +00:00
martignoni fdf7ca2f9b Typo corrected (thanks to Alain Kerdelhu?) 2005-10-26 18:24:30 +00:00
defacer c2c194eeaf Fixing all incoming parameters when editing course groups as per SC#171. 2005-10-26 13:44:56 +00:00
carlesbellver 0dd8f2223b *** empty log message *** 2005-10-26 11:39:43 +00:00
koenr 87b97baa6c new helpfile 2005-10-26 09:16:45 +00:00
mjollnir_ 81a5d9ca41 Fixing small bug that adds Label to add activity module dropdown all the time. should only be added to activity module when resource is restricted and label is not 2005-10-26 02:05:08 +00:00
mits f5b792be2a polished. 2005-10-25 23:02:51 +00:00
mits ce8dab9923 polished. 2005-10-25 22:49:24 +00:00
mits 9849e13990 missing indent 2005-10-25 22:16:40 +00:00
koenr aa9808b4dd missing > 2005-10-25 21:59:16 +00:00
martignoni 24e0dff516 Flash video string 2005-10-25 21:21:12 +00:00
martignoni c3c0bd31c6 Updated module 2005-10-25 21:19:56 +00:00
martignoni 0b51901229 Added a few new lang file entries for new lesson features 2005-10-25 21:08:19 +00:00
mits 8b7c8bdee0 Updated with the new module name for scorm. 2005-10-25 15:10:41 +00:00
mits 79dd73d19e translated one new string for admin.php. 2005-10-25 13:37:19 +00:00
moodler 4d7c093e12 FLV player source 2005-10-25 07:42:22 +00:00
moodler 135655e8ae Flash video string 2005-10-25 07:40:31 +00:00
moodler d07851e131 Added support for FLV. Might need to replace the FLV player
if we don't get explicit permission for this one.

Thanks to Julian Ridden for the code!
2005-10-25 07:40:09 +00:00
mits 175f8a766d updated and translated new strings for scorm. 2005-10-25 07:28:33 +00:00
bobopinna 42fea6b3d2 Updated with the new module name 2005-10-25 07:21:28 +00:00
bobopinna a808a398a2 Updated module name 2005-10-25 07:09:31 +00:00
bobopinna 9763c576be Filled some missing string and translated some new files 2005-10-25 06:52:34 +00:00
rcantada fb2c511841 typo 2005-10-25 04:56:18 +00:00
defacer 970f144ef4 A slight improvement for my last edit, which could trigger a small bug.
I should go out and drink more often, it helps debugging! ;-)
2005-10-25 01:55:21 +00:00
mits f785985e67 translated news strings and a help file for lesson.
modified a help file for lesson.
2005-10-24 23:52:54 +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 96074defc5 updated displayleft.html and adding a new help file 2005-10-24 22:49:18 +00:00
michaelpenne 11d5760f1c added a few new lang file entries for new lesson features 2005-10-24 22:48:00 +00:00
mits cba3df0af6 fixed xhtml 2005-10-24 22:44:41 +00:00
koenr 7a744e5e21 new helpfile 2005-10-24 21:47:15 +00:00
koenr b377ebe8c5 xhtml compliant now 2005-10-24 21:46:40 +00:00
koenr c07dc4a8bc some tweaking 2005-10-24 21:46:00 +00:00
koenr c29664b47d bunch of typo's 2005-10-24 21:37:04 +00:00
koenr 24c213ece8 fixed xhtml 2005-10-24 21:33:02 +00:00
mits b4496fcaeb fixed XHTML-compliance based on /lang/en/help/filters.html. 2005-10-24 21:12:30 +00:00
koenr 76a6b70baf fixed XHTML-compliance 2005-10-24 20:57:45 +00:00
barias 27b033e1e0 Fixed some 'typos' 2005-10-24 20:56:35 +00:00
defacer 72989350be Fix for bug 3794:
Times in chat messages are now displayed correctly to all users, with each
user's timezone and DST status taken into account.
2005-10-24 17:30:56 +00:00
defacer b2b68362c2 I just worked with a few functions which had misleading or no PHPdoc
comments, so it was a good excuse to fix the situation a bit.
2005-10-24 17:25:29 +00:00
defacer c5a4a13a24 Fix for bug 4203:
When adding recurring events, if the event title contained an apostrophe
then only the first event of the series would get created. Tricky bad
interaction with add_to_log, the reporter for this should get a prize. ;-)
2005-10-24 17:13:57 +00:00
julmis b59648908f Merging from MOODLE_15_STABLE
- Fix for Bug #4201, cursor movement on IE.
2005-10-24 14:15:36 +00:00
rcantada 2a5454600f new strings, typo cleanup 2005-10-24 12:29:52 +00:00
mits 45bd59aa9d polished. 2005-10-24 01:49:56 +00:00
mits 802e72fa5b fixed typo. 2005-10-23 22:55:12 +00:00
koenr c487c8b97d New helpfiles 2005-10-23 22:30:05 +00:00
koenr 35b4217cf6 Another typo. I notice the html is not valid due to wrong use of the <ul> tag. Will
change this - first catch some sleep
2005-10-23 22:28:16 +00:00
koenr 1a7dbd8070 typo 2005-10-23 22:16:26 +00:00
mits 1ad8ec21d9 translated all strings for scheduler. 2005-10-23 21:29:41 +00:00
koenr d943fdb59f Lots of new strings for dutch 2005-10-23 21:26:51 +00:00
ralf-bonn 283ce14da3 new german docs 2005-10-23 20:22:32 +00:00
koenr b75a13bd66 typo 2005-10-23 19:46:11 +00:00
ralf-bonn bd14a42211 new german docs 2005-10-23 19:18:12 +00:00
ralf-bonn f99228e0b5 text corrections 2005-10-23 19:17:09 +00:00
mits 0b7eab5965 polished. 2005-10-23 19:05:21 +00:00
mits e2b2d6df48 translated strings for scheduler. 2005-10-23 19:01:36 +00:00
mits ea37ca5a9e translated a help file for scheduler. 2005-10-23 18:46:34 +00:00
mits 11dd9738d2 changed charset.
charset of "help/summaries.html" was "shift_jis" not "EUC-JP".

Thank you Eloy!
2005-10-23 16:59:27 +00:00
gbateson efc49e0f65 replace relative URLs in <embed> tags 2005-10-23 11:41:40 +00:00
mits c219a89e1a polished. 2005-10-22 22:24:19 +00:00
mits d78a79f973 polished. 2005-10-22 20:58:41 +00:00
mits 9321bf8408 Added sample to "firstname" and "surname" string to avoid user registration mistake.
We use surname -> firstname,  not firstname -> surname in Japan.
2005-10-22 20:49:28 +00:00
stronk7 b8a84ae782 Methods aren't static due to the Typo3 structure. 2005-10-22 16:16:39 +00:00
urs_hunkler 09b6a59785 merged from 1.5 2005-10-22 15:46:30 +00:00
barias bc9c0baab9 Latest help files 2005-10-22 13:11:25 +00:00
martignoni 27cabedd09 Better message for no data for stats - now we have statscatchup mode we don't need to know about waiting a week 2005-10-22 12:23:23 +00:00
martignoni 751f6b27a2 My moodle sticky block config now generic, can be used for any pagetype.
Currently implemented: course-view (and my moodle, of course)
2005-10-22 12:22:00 +00:00
martignoni eba79699a1 Missing strings for new stats report, new link in admin/index.php for admin reports 2005-10-22 12:20:52 +00:00
martignoni 7ceceec209 Initial commit for multi enrolment plugin feature (this time for real) 2005-10-22 12:15:33 +00:00
martignoni 832b362e91 y moodle sticky block config now generic, can be used for any pagetype.
Currently implemented: course-view (and my moodle, of course)
2005-10-22 12:10:08 +00:00
martignoni 5a593e9699 Wrote some brief notices for the new enrolment configuration panel 2005-10-22 12:07:23 +00:00
barias ad97fc13cb Latest help files 2005-10-21 23:45:08 +00:00
koenr 162ed0d30a few strings added 2005-10-21 23:42:37 +00:00
barias 98a4ef1ac5 *** empty log message *** 2005-10-21 22:33:09 +00:00
mits 8826c49e69 polished. 2005-10-21 17:54:20 +00:00
moodler 999aa80783 added addslashes as per bug number 4213 2005-10-21 09:24:15 +00:00
gustav_delius e2fff6460d Many links to assess.php were missing $cm->id 2005-10-21 07:11:04 +00:00
mits 9f1d7554c1 polished.
translated a help file for hotpot.
2005-10-21 01:48:10 +00:00
defacer e5ada99f2b Merged from STABLE:
Fix for bug 4127:

In the course participants page, selecting an initials filter in one course
and then moving to another (the filter would propagate) could result in few
or no results being displayed. The teacher would then have no way of
resetting the filter and viewing all (or possibly any) participants.

Fixed by making each course participant page independent. They no longer
share sort orders, collapsed column state, or initials filters.
2005-10-21 01:18:30 +00:00
defacer d515b72998 Merging from STABLE:
Fix for bug 4143:

If a user was a teacher, they didn't see any events from courses
where they were students.

I 'm back at looooooong last! :)
2005-10-21 00:29:14 +00:00
ralf-bonn 9609ebe517 new german docs 2005-10-20 19:26:09 +00:00
barias 1f5efd05a8 Latest help files 2005-10-20 18:16:00 +00:00
bobopinna 619c2998ac Updated by Claudio Maggi 2005-10-20 12:49:03 +00:00
bobopinna 83d5f08f08 Updated to Moodle 1.6 dev 2005-10-20 12:26:30 +00:00
koenr 33430daa1e missing space - hope this works 2005-10-20 10:17:24 +00:00
bobopinna c14c46d5a3 Updated to Moodle 1.6 dev 2005-10-20 10:08:01 +00:00
mits be7a119882 polished. 2005-10-20 07:22:46 +00:00
carlesbellver d18e1eb6a5 *** empty log message *** 2005-10-20 06:05:45 +00:00
moodler 5d72075dfc latest version of tags 2005-10-20 01:31:21 +00:00
mjollnir_ 65f05987fd Merged from MOODLE_15_STABLE: Fixing bug 4199: import course data should only allow you to import from a course that you're already a teacher in, unless you're at least a creator 2005-10-20 00:19:42 +00:00
thepurpleblob 188130e59d file authentication.html was initially added on branch MOODLE_16_AUTHREFACTOR. 2005-10-19 14:27:46 +00:00
gbateson 730b36aa31 allow student to review results (if teacher allows it) 2005-10-19 09:56:39 +00:00
ralf-bonn d87397eb57 new german helpfiles 2005-10-19 07:48:07 +00:00
ralf-bonn 43816cbd42 Changed text 2005-10-19 07:44:52 +00:00
carlesbellver 9293552d22 *** empty log message *** 2005-10-19 06:25:56 +00:00
mits 960a828795 polished.
translated "Enrolment expiry notification" related help files.
2005-10-18 21:17:49 +00:00
ralf-bonn 40a28f5531 text corrections 2005-10-18 19:01:27 +00:00
ralf-bonn d45135bf98 text corrections 2005-10-18 18:54:06 +00:00
thepurpleblob a0bb4fcd3a Put in missing parameter type. 2005-10-18 15:32:20 +00:00
thepurpleblob ba2afbafe1 Fixed some typos and dodgy XHTML. 2005-10-18 15:30:08 +00:00
ralf-bonn b7869ef796 better wording 2005-10-18 06:55:33 +00:00
carlesbellver 935050f6c9 *** empty log message *** 2005-10-18 06:45:18 +00:00
martinlanghoff a670108e0f Merged from MOODLE_15_STABLE - If wwwroot is unset, log something before dying 2005-10-18 03:31:13 +00:00
mits ceea4a57f0 fixed moodle.php based on /lang/en change.
translated a help file for questionnaire.
2005-10-18 00:14:00 +00:00
mjollnir_ c9c8db2dac better message for no data for stats - now we have statscatchup mode we don't need to know about waiting a week 2005-10-17 23:17:54 +00:00
barias 91695d87d0 Minor updates in spanish translation 2005-10-17 21:11:45 +00:00
ralf-bonn 6cb9999722 new german docs 2005-10-17 19:43:11 +00:00
stronk7 779dc9aca1 Initial commit of Typo3 charset libraries and Moodle's textlib.class code.
Merged from MOODLE_15_STABLE
2005-10-17 15:48:46 +00:00
stronk7 acf879d685 file textlib.class.php was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:37:42 +00:00
stronk7 3db6ab002c file class.t3lib_div.php was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:37:12 +00:00
stronk7 6e58a014c1 file class.t3lib_cs.php was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:37:12 +00:00
stronk7 4daba5fca2 file windows-1255.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 d8eef0fa4d file windows-1253.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 162650d4a8 file windows-1254.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 3c36b314ea file windows-1256.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 5f7175208b file windows-1252.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 64b0e344ad file windows-874.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 3e3a5cd7b7 file readme.txt was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 f007981734 file windows-1250.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 5db486baad file windows-1251.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 749c839f4a file windows-1258.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 10daf45435 file windows-1257.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 a2717a9c25 file shift_jis.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:41 +00:00
stronk7 91547a79d2 file iso-8859-14.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 c4a208aab4 file iso-8859-10.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 29b82c50e0 file ascii.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 d56693ee23 file iso-8859-5.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 d4ad192f9a file iso-8859-13.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 461b9c9a8e file iso-8859-8.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 ada238adef file iso-8859-4.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 af1df3bb12 file iso-8859-11.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 a54cc2c6f0 file iso-8859-16.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 23cc125066 file gb2312.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 05e95643df file koi8-r.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 38c64f071d file euc-kr.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 d29ee98b31 file big5.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 f5ce6384ae file iso-8859-6.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 9d24031a0a file iso-8859-2.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 5c8ca4cd30 file iso-8859-1.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 3f2b28a43b file iso-8859-15.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 7258896a88 file iso-8859-3.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 94e6f8e415 file iso-8859-9.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 c10c2e0684 file iso-8859-7.tbl was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:35:40 +00:00
stronk7 1fef2dbf09 file SpecialCasing.txt was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:33:56 +00:00
stronk7 47a513c667 file Translit.txt was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:33:56 +00:00
stronk7 2ef164f7e8 file UnicodeData.txt was initially added on branch MOODLE_15_STABLE. 2005-10-17 15:33:56 +00:00
mits a0ec54ff0a added README2.txt to /lang/ja/fonts and /lang/ja_utf8/fonts. 2005-10-17 15:29:28 +00:00
koenr b297abe5c4 characterset changed to the same as tagalog 2005-10-17 14:35:24 +00:00
mits 36f1fd1ac4 polished. 2005-10-17 12:28:22 +00:00
gustav_delius d92a995811 Fixing misprint leading to fatal error 2005-10-17 07:59:47 +00:00
ralf-bonn 55e2e2ec68 new german helpfiles 2005-10-17 06:43:13 +00:00
mits dbf7f9ff18 translated new strings for admin related. 2005-10-17 06:07:23 +00:00
patrickslee 3f7f17bfa1 Fixed a small bug which displays quiz name incorrectly in quiz regrade report 2005-10-17 01:18:04 +00:00
mjollnir_ 1217708363 My moodle sticky block config now generic, can be used for any pagetype.
Currently implemented: course-view (and my moodle, of course)
2005-10-16 22:34:25 +00:00
mjollnir_ b32145b87c Missing strings for new stats report, new link in admin/index.php for admin reports 2005-10-16 22:13:35 +00:00
tomaz 0e44f95af3 spelling & typos 2005-10-16 21:10:45 +00:00
mjollnir_ 3eb9babc71 Some fixes to stats (performance) and new reports for ranking courses based on usage/particpation 2005-10-16 20:55:40 +00:00
ralf-bonn 6afc9be340 new german docs 2005-10-16 20:21:45 +00:00
mits fb74a052e3 updated PclZip, based on en. 2005-10-16 19:10:54 +00:00
mits 86947a95f5 polished help files for questionnaire.
translated a help file for questionnaire.
2005-10-16 19:04:49 +00:00
mits 831a27ddc2 polished help files for questionnaire.
translated new strings and a help file for questionnaire.
2005-10-16 17:39:21 +00:00
mits 59e28bcae8 polished. 2005-10-16 15:45:11 +00:00
mits 3d5cbab4c1 translated a help file for questionnaire. 2005-10-16 15:41:29 +00:00
stronk7 d0fad6f1ae Fixed one important bug in restore of gradebook that was
preventing it to finish in a lot of situations.
(http://moodle.org/mod/forum/discuss.php?d=31461)

Merged from MOODLE_15_STABLE
2005-10-16 11:32:57 +00:00
mits 36a23a9e8f polished help files for questionnaire.
translated new strings and a help file for questionnaire.
2005-10-15 21:56:47 +00:00
mits dbe16bebf5 translated a help file for lesson. 2005-10-15 18:53:15 +00:00
stronk7 46867914ef Solve some wrong CVS Id tags
Merged from MOODLE_15_STABLE
2005-10-15 10:40:36 +00:00
stronk7 3043912d9b Commiting some old unmerged changes. 2005-10-15 10:30:15 +00:00
stronk7 3a9bad19e8 Updated a bit PclZip version (ES) 2005-10-15 10:03:11 +00:00
stronk7 a9bc1cda61 Updated a bit PclZip version 2005-10-15 10:02:29 +00:00
stronk7 bdb4cd6b2b Updated to 2.4 Final. From notes: This resolve a lots of bad formated archive errors.
Merged from MOODLE_15_STABLE
2005-10-15 09:58:36 +00:00
rcantada 39c05c25fc correction of context error in workshop, update of licence translation,
new lesson
help file
2005-10-15 09:43:50 +00:00
rcantada 6f3bb9bfd0 correction of context error in workshop, corrected translation of
licence and fsf address update, new lesson helpfile
2005-10-15 09:39:55 +00:00
ralf-bonn 35836bc7c1 added strings 2005-10-14 21:58:47 +00:00
ralf-bonn bf3e888aa0 *** empty log message *** 2005-10-14 21:57:44 +00:00
koenr 03091ee91c latest updates from Karoly: Nearly complete 2005-10-14 20:18:27 +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
carlesbellver 194845a9dd *** empty log message *** 2005-10-14 12:02:46 +00:00
carlesbellver 192b034407 *** empty log message *** 2005-10-14 11:29:23 +00:00
bobopinna 1347b1c10b Updated css for playscorm.php 2005-10-14 07:02:51 +00:00
bobopinna 105058b390 Revised all html code.
Fixed to be XHTML Strict
2005-10-14 07:00:06 +00:00
mits 2378e67d62 translated a help file for lesson. 2005-10-14 05:22:27 +00:00
patrickslee 5390cbb7fc On a rare case courses will have duplicate sections those have the same id. Added some code to re-order sections if this is found when moving sections (Merged from MOODLE_15_STABLE) 2005-10-14 03:12:41 +00:00
stronk7 33e9836968 Solve copy/paste bug. Now items are properly checked. 2005-10-13 22:02:44 +00:00
mjollnir_ e19db11055 course_request.password should be varchar(50) not text. bug 4180 2005-10-13 21:12:13 +00:00
skodak 67afdb1121 quick fix for the problems with p() and s() - SC#167; merged from MOODLE_15_STABLE 2005-10-13 20:12:23 +00:00
andreabix 9f07894223 Fixed "Quiz Not Close" problem using Italian Language Pack. Fix from Onofrio Claudio Maggi 2005-10-13 15:19:06 +00:00
bobopinna 4b5a6dff0a Fixed a bug in a javascript string. 2005-10-13 13:42:26 +00:00
martignoni 427bf87d39 Initial commit for multi enrolment plugin feature 2005-10-13 08:50:54 +00:00
mjollnir_ 3a317277b6 Many small fixes to stats, including aggregate activity across all courses when querying for SITEID 2005-10-13 03:16:11 +00:00
gbateson f74a8cc6ce corrected spelling in sponsor details 2005-10-12 22:00:54 +00:00
patrickslee 23c690efce Fixed a small paging problem in course search page 2005-10-12 22:00:14 +00:00
michaelpenne 225cffd6e1 New help file for Importing PowerPoint Files 2005-10-12 20:16:04 +00:00
stronk7 92c8e57b51 SC#162
Merged from MOODLE_15_STABLE
2005-10-12 19:25:50 +00:00
gbateson 0c4d3fd7f2 micro version increase to 2.1.4 2005-10-12 12:20:58 +00:00
gbateson a9919f5460 added list of (two) sponsors 2005-10-12 12:19:55 +00:00
rcantada 834ce08e70 i failed to set thischarset to utf-8 again, grrrr! 2005-10-12 10:23:59 +00:00
rcantada 2d23f7a03e new help files, new strings, minor changes in survey and workshop 2005-10-12 10:17:55 +00:00
gbateson 7957e323ff corrected the setting of "ignored" fields on mobile output format 2005-10-12 07:11:14 +00:00
gbateson 6d8ddde3f3 insert modified submission form for mobile phone output 2005-10-12 07:08:54 +00:00
gbateson 1ebc0e6238 allow non alphanumeric chars in filenames when searching for relative URLs, and added $HOTPOT_QUIZTYPE array to map numeric quiz type to text description 2005-10-12 07:07:30 +00:00
mits 6bf1d27cec translated strings for hotpot. 2005-10-12 05:07:23 +00:00
patrickslee fa18e81b12 Course search page now handles course show/hide actions itself so that user can stay at the same page after action is performed 2005-10-12 03:11:49 +00:00
patrickslee ee0378bdb8 Fixed some paging bar problems in course search page 2005-10-12 02:35:58 +00:00
mjollnir_ db48e8d1f0 Merged from MOODLE_15_STABLE: Execute some updates silently (dropping non existent columns in workshop) bug 2964 2005-10-12 02:15:42 +00:00
patrickslee 80bfd47024 Made clean_param() supports recursive cleanup of arrays 2005-10-12 01:29:34 +00:00
mjollnir_ 56eb871c39 Added enrolment key to course requests - fixes wishlist bug 4170 2005-10-12 01:17:03 +00:00
patrickslee fb2cf7eb67 Fixed some bad coding style as pointed by Petr 2005-10-11 23:11:02 +00:00
vthung 6888396c68 Appended some new strings 2005-10-11 15:19:52 +00:00
scop22 f73d82a1dd Committing EUC-KR language pack converted from UTF8 including many new help and docs files. 2005-10-11 13:39:58 +00:00
scop22 dbcfd408dd Many new help and documentation files added to ko_utf8, along with some updates of string files. 2005-10-11 08:32:25 +00:00
mjollnir_ 5ed4dd5a76 Stats: many bug fixes found while running over a very large dataset... 2005-10-11 01:20:37 +00:00
patrickslee aef46c081f Fixed various bugs in add_teacher() those caused the function not populating record correctly (Merged from MOODLE_15_STABLE) 2005-10-10 21:41:21 +00:00
mjollnir_ 8b658d8abf Stats: fixing a display problem 2005-10-10 20:17:07 +00:00
ethem 5e46fb5801 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-10-10 13:40:51 +00:00
mits 541d93638a polished. 2005-10-10 06:38:51 +00:00
mits 543e488782 polished. 2005-10-10 05:30:05 +00:00
patrickslee 18c3baa2fc Make messageselect.php remembers messages typed after actions performed 2005-10-10 02:08:50 +00:00
mjollnir_ 4900433c84 More fixes to stats to do with runtimes 2005-10-10 00:46:44 +00:00
koenr d456d4554d some strings for 1.6 2005-10-09 22:52:20 +00:00
skodak bf8dd2d2d4 fixed parameter use SC#157; merge from MOODLE_15_STABLE 2005-10-09 19:51:14 +00:00
skodak bdc04ca9e1 fixed indent - SC#158; merged from MOODLE_15_STABLE 2005-10-09 19:41:34 +00:00
skodak a6d933bea7 missing semicolon - merged from MOODLE_15_STABLE 2005-10-09 18:29:34 +00:00
mits 8cf0b151cf polished. 2005-10-09 14:26:43 +00:00
koenr b5f2470275 Hungarian translation - should now be XHTML compliant. Thanks Karoly 2005-10-09 08:28:07 +00:00
koenr a7e459fd61 Filipinian translation by julian lilio 2005-10-09 08:08:10 +00:00
skodak 1adf55c5cd better input validation - SC#165; merged from MOODLE_15_STABLE 2005-10-09 07:12:58 +00:00
mits 29840b7897 polished. 2005-10-09 01:55:27 +00:00
mits fd41791c0b changed forum related color. 2005-10-09 00:56:35 +00:00
mits a8aec226a1 polished. 2005-10-09 00:33:26 +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
gbateson 4af510f604 detect mobile phone browsers and use mobile format if required and available 2005-10-07 05:31:11 +00:00
patrickslee 50f7962a38 file courseenrolmentplugins.html was initially added on branch MOODLE_16_MULTIENROL. 2005-10-07 02:36:59 +00:00
patrickslee a79c89e043 file enrol_config.php was initially added on branch MOODLE_16_MULTIENROL. 2005-10-07 02:36:58 +00:00
mits b57a91e30a polished. 2005-10-07 02:22:32 +00:00
mits 479f53f493 polished. 2005-10-07 02:07:41 +00:00
gbateson b1db3c9018 add get_file_contents for php<4.2, use get_file_contents($filepath) instead of fread($fp, filesize($filepath)) 2005-10-07 01:56:33 +00:00
gbateson 2116866547 use get_file_contents($filepath) instead of fread($fp, filesize($filepath)) 2005-10-07 01:52:19 +00:00
gbateson 1d0bbc406e fixed setting of name+summary from quiz when adding all files in a folder as a chain 2005-10-06 23:59:08 +00:00
koenr 3bc08839f3 bug 3920 2005-10-06 18:26:52 +00:00
stronk7 d662b0a070 Typo. Bug 3917. Credits for liling! B-)
(http://moodle.org/bugs/bug.php?op=show&bugid=3917)

Merged from MOODLE_15_STABLE
2005-10-06 17:40:43 +00:00
stronk7 5db72c050f Now hidden courses are showed dimmed in the restore process. Bug 4152.
(http://moodle.org/bugs/bug.php?op=show&bugid=4152)

Merged from MOODLE_15_STABLE
2005-10-06 17:22:52 +00:00
koenr c128ee426f type 2005-10-06 15:38:16 +00:00
martignoni caf531fe03 Suppression of 'checkall' and 'checknone' 2005-10-06 15:22:23 +00:00
martignoni c54c62885d Added new string for duplicate emails in lost password recovery. 2005-10-06 15:19:45 +00:00
mits ea78e7b5c3 translated a new string for moodle.php. 2005-10-06 09:25:03 +00:00
thepurpleblob 1b1aa14cc9 Added new string for duplicate emails in lost password recovery. 2005-10-06 09:08:41 +00:00
thepurpleblob 869b144e66 Added check for duplicate emails. 2005-10-06 09:08:02 +00:00
moodler eb3bf78354 Space, the final frontier 2005-10-06 08:21:55 +00:00
moodler 5a666f05d5 Fixed link for editing RSS feeds when there isn't one yet 2005-10-06 08:21:14 +00:00
c_schmitz a764f97b59 First check-in 2005-10-06 08:17:10 +00:00
c_schmitz 05b3cf6cc1 Updated wording of some translations 2005-10-06 08:13:55 +00:00
mits 1135dbb7ba polished. 2005-10-06 03:25:46 +00:00
martinlanghoff 33b29afb8f Merged from MOODLE_15_STABLE - Fix for bug 3141 - Can't update external data with LDAP authentication 2005-10-06 02:24:03 +00:00
martinlanghoff 16582b8500 Merged from MOODLE_15_STABLE - Fix for bug 3992 - LDAP password including a quote does not work - credits go to Kita 2005-10-06 02:19:38 +00:00
martinlanghoff 8be24a07d0 auth/ldap: Merging pending patches from MOODLE_15_STABLE 2005-10-06 02:11:34 +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
patrickslee 0f24c257b6 Modified some words to be more generic 2005-10-05 22:22:03 +00:00
patrickslee 5e2c3024a3 Added javascript check before submitting form when using drop down menu 2005-10-05 21:44:03 +00:00
koenr df244d6616 Shortened to fit the interface better 2005-10-05 20:20:18 +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
paca70 06b6ac3c5a Some update 2005-10-05 15:57:01 +00:00
villate 6824d2845f Shortened hitsoncourse, to make it fit in the log graph 2005-10-05 15:40:37 +00:00
martignoni 3906fc6cba New feature: Course enrollable control with date range 2005-10-05 14:37:57 +00:00
martignoni bf90af3c93 Added string for lost password recovery changes 2005-10-05 14:18:28 +00:00
martignoni b2b0e2194a Committing missing stats string 2005-10-05 14:12:43 +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
mudrd8mz ae11b653f1 Translated from scratch 2005-10-05 10:58:08 +00:00
mudrd8mz c72ef37bd5 Some updates for current 1.5.2+ version. No big changes. 2005-10-05 10:16:39 +00:00
moodler 4a7948ce16 Ported handy button from 1.5 that somehow didn't get merged before 2005-10-05 08:21:50 +00:00
barias 78a7d400d5 Minor updates in spanish translation 2005-10-05 08:18:51 +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
tomaz bc0908e6af spelling 2005-10-05 00:19:38 +00:00
mits ff8fa8f361 polished. 2005-10-04 21:55:49 +00:00
patrickslee 9c03df05af Used a proper function to update configuration setting 2005-10-04 21:38:40 +00:00
mjollnir_ 5560ed98c8 Various fixes to stats after our attempts to run it on a large real dataset 2005-10-04 20:25:31 +00:00
thepurpleblob 1fc53fadc2 Added missing $Id 2005-10-04 12:29:04 +00:00
mits 171c54bf30 translated new strings and a help file for course enrollable. 2005-10-04 07:39:52 +00:00
patrickslee f89033b111 New feature: Course enrollable control with date range 2005-10-04 01:59:19 +00:00
rcantada 1910d66ce9 updated hotpot help files & /doc/coding.html 2005-10-04 01:48:31 +00:00
rcantada 565ad06791 new help files, updated doc/coding.html & charsets of docs 2005-10-04 01:45:43 +00:00
mits 6f6f616ef2 translated a new string for error.php. 2005-10-03 22:29:40 +00:00
mjollnir_ f156a4699b Committing missing stats string 2005-10-03 22:12:46 +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
mits a2ac79adec translated a new string for moodle.php. 2005-10-03 21:01:42 +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
martignoni 21e1e6b4fe New feature: Notify teachers/students of expirying enrolments 2005-10-03 14:55:21 +00:00
martignoni 34926d6b48 New feature to extend student enrolment period and improvements to the action list in participants list 2005-10-03 14:44:24 +00:00
martignoni 43e29a974f When teacher has "student view" on the login string changes to "Your are logged in as name in student view (Logout)", note the new 'in student view'. Discussed in bug 4113 2005-10-03 14:40:45 +00:00
martignoni 68acb834e3 Added some strings for improved (multiple auth friendly) password handling. 2005-10-03 14:38:42 +00:00
thepurpleblob 1daf4153e0 Added string for lost password recovery changes 2005-10-03 13:39:45 +00:00
bobopinna 4f7a365175 Fixed some string and updated all the others 2005-10-03 12:55:59 +00:00
martignoni 129f36c52b Added additional error string 2005-10-03 09:53:49 +00:00
martignoni 868088963a new session timeout handling 2005-10-03 09:52:05 +00:00
martignoni 2bdfbf6138 Added some generic errors. 2005-10-03 09:50:45 +00:00
martignoni 3c369eb909 Added some strings for improved (multiple auth friendly) password handling. 2005-10-03 09:42:41 +00:00
thepurpleblob 5f77cd823c Change password button displayed according to user's actual authentication method, not
default setting.
2005-10-03 09:24:47 +00:00
thepurpleblob 807913a608 Fixed typo. 2005-10-03 09:11:19 +00:00
villate 0d1356d9c8 Corrected a typo 2005-10-03 07:57:23 +00:00
tomaz 9cd533d3e3 typo fixed 2005-10-03 07:43:13 +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
mits 63f3eed596 translated new strings for moodle.php. 2005-10-03 00:04:51 +00:00
stronk7 d134c3dc5e Updated to the very last version of Snoopy. Solves one potential
bug and deletes some harcoded output.

I've seen that, under 1.5, the old 1.0 version remains. Should we
update it too?
2005-10-02 22:12:42 +00:00
patrickslee 9db357c08b Improved number rounding for grades fix (Merged from MOODLE_15_STABLE 2005-10-02 22:03:36 +00:00
patrickslee f29e785b69 Default enrolment expiry notification to off 2005-10-02 21:41:31 +00:00
patrickslee 7246c2d142 New feature: Notify teachers/students of expirying enrolments 2005-10-02 21:37:54 +00:00
stronk7 3de938d705 Added one check to test that the zipfile in unzip_file() is real! 2005-10-02 18:40:13 +00:00
dhawes f00679f5da removed comparisons to NULL and added isset() calls instead as per JP's suggestion 2005-10-02 17:45:20 +00:00
defacer 9bd49dfa3b Code readability improvements and fixed a notice 2005-10-02 15:46:06 +00:00
dhawes 8f858bd1f9 attempt to fix bug 3980 - asking JP and Penny to test 2005-10-02 14:30:05 +00:00
dhawes 8096d88daf cosmetic change - some spacing and tabs updated 2005-10-02 13:59:12 +00:00
dhawes c40082bff8 fixed copy/paste error in php comment tag 2005-10-02 13:52:50 +00:00
dhawes d112f80a22 simple addition - just included : tag in all files for rss_client block. no need to merge, not a bug fix 2005-10-02 13:48:33 +00:00
mits d17a39d6ae modified. 2005-10-02 10:34:14 +00:00
rcantada 5f1fca9b8a new help files 2005-10-02 02:46:50 +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
mits 194594871f polished. 2005-10-01 17:03:13 +00:00
dlnsk d498918d09 Changed by Alexandre Belousov 2005-10-01 15:43:42 +00:00
gustav_delius e4ec114a07 fixed a help button 2005-10-01 13:36:50 +00:00
barias b94c022246 Minor updates in spanish translation 2005-10-01 10:22:22 +00:00
julmis 7237be41af Merging from MOODLE_15_STABLE
- adding charset to header
2005-10-01 00:50:52 +00:00
julmis 10c836228d Merging from MOODLE_15_STABLE
- added gz_handler for a bit faster page load.
2005-10-01 00:13:12 +00:00
martignoni 6957b7bc59 Added some IMS CP strings plus some generic errors. 2005-09-30 15:23:19 +00:00
martignoni 125f4a65fa Remaining of new text messages for HotPot v2.1 2005-09-30 15:17:55 +00:00
adamtpaw 17c1240f99 Translation for moodle 1.5 2005-09-30 13:14:33 +00:00
adamtpaw cd03dc1b04 Translation for Moodle 1.5 2005-09-30 12:59:59 +00:00
tomaz 27901dc4e4 typo fixed 2005-09-30 12:21:03 +00:00
thepurpleblob ce9256f186 Added $Id$ tag properly (I hope) 2005-09-30 11:09:17 +00:00
tomaz 8ccb9ed6ab *** empty log message *** 2005-09-30 10:51:40 +00:00
tomaz 01acf90954 first time Help sl_utf8 2005-09-30 09:03:02 +00:00
mits 1feebbd8a6 polished. 2005-09-30 04:44:45 +00:00
tomaz ebff678026 first time Help sl_utf8 2005-09-30 01:48:52 +00:00
mjollnir_ 243a4e75b8 New 404 handler for a custompix fallback 2005-09-30 00:39:58 +00:00
rcantada 5e33e7616d new help files, new strings 2005-09-30 00:17:29 +00:00
rcantada 6afcce4a3f new string file 2005-09-30 00:11:30 +00:00
rcantada a4ab6ad89c new help files 2005-09-30 00:10:13 +00:00
mjollnir_ 2b287cacba Merged from MOODLE_15_STABLE : Much better namespace collision fix to apacheloguser thing 2005-09-29 23:40:14 +00:00
tomaz 9238584876 typo fixed, thanks to Borut Golob 2005-09-29 23:20:46 +00:00
koenr 05e069384f few new strings 2005-09-29 22:32:00 +00:00
mjollnir_ 72194b0aa3 Merged from MOODLE_15_STABLE: Fixing up the log apache user patch from the otherday - problem with variable scope 2005-09-29 21:54:03 +00:00
ralf-bonn 012abe04a5 text corrections 2005-09-29 21:19:47 +00:00
ralf-bonn a218626af3 text corrections 2005-09-29 21:00:50 +00:00
stronk7 360ceb487b Modified clone() method to work better under PHP 4. Credit goes to Julian.
Merged from MOODLE_15_STABLE
2005-09-29 16:38:26 +00:00
mits bac448767e translated new strings for enrolment. 2005-09-29 15:58:16 +00:00
gustav_delius 9c22e022cb Now uses print_user_picture() instead of custom code 2005-09-29 14:26:25 +00:00
patrickslee 6746bb8ad4 New feature to extend student enrolment period and improvements to the action list in participants list 2005-09-29 06:30:58 +00:00
patrickslee d937f3ab19 Removed a block of redundant code in participants list (Merged from MOODLE_15_STABLE) 2005-09-29 01:41:50 +00:00
mjollnir_ bc83fd0c4a Adding defaults for new config options. Fixes bug 4107 2005-09-29 00:33:12 +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
koenr f9ce5ca522 missing readme 2005-09-28 20:25:47 +00:00
koenr ea8c2cd6c1 removing thischarset, thislanguage, thisdirection and parentlanguage form files wich
cant have it
Thanks to Eloy for spotting this
2005-09-28 20:08:29 +00:00
koenr ee9ac4f290 another one found :-)
fixed the line endings too
2005-09-28 19:43:44 +00:00
koenr 9348262e39 removed thischarset, parentlanguage, thislanguage form files where it shouldn't be.
Probably introduced by the old editor bug.
Also removed a few empty files.
Credits to Eloy for spotting this
2005-09-28 19:37:55 +00:00
koenr 74679b2a3f changed charset to iso-8859-1
credits to Eloy for tracking this :-)
2005-09-28 19:27:26 +00:00
tomaz e57d6e7818 *** empty log message *** 2005-09-28 14:54:58 +00:00
mits 8b6be6c2f4 fixed weekdates color. 2005-09-28 12:44:25 +00:00
koenr d59b270bc7 New language pack: Somali
by Mohamed Abdi <somalister@gmail.com>
2005-09-28 11:43:52 +00:00
mjollnir_ 140c139e56 Various stats fixes - including putting the link to stats in admin block - which somebody had accidently (I presume) backed out during a conflict 2005-09-28 06:07:40 +00:00
rcantada a0c063ff7f new strings, new help file 2005-09-28 04:08:49 +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
mjollnir_ 3bb2ac0668 Backing out broken last patch - bug 4119 2005-09-28 02:58:05 +00:00
mjollnir_ 9c5b82dd34 Fixing various small silly things in stats - runtime stuff and a couple PHP notices 2005-09-28 02:36:44 +00:00
mjollnir_ aff2511993 Don't clear out old daily logs unless the run was complete. 2005-09-27 21:09:10 +00:00
mits a3a031ce80 translated a new string for grades. 2005-09-27 17:48:37 +00:00
michaelpenne 9bde557ccb added additional error string 2005-09-27 17:36:46 +00:00
michaelpenne e6d0653dc1 Fixed extraneous code, modified for PHP5 compliance, added isteacher() check 2005-09-27 17:36:22 +00:00
stronk7 af0b56397d Minor bug with some unclosed tags solved. 2005-09-27 16:09:58 +00:00
adamtpaw 644c927fae file authchange.html was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:27:58 +00:00
adamtpaw 16493548aa file advancedsettings.html was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:27:58 +00:00
adamtpaw f8f1ca1970 file search.html was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:27:58 +00:00
adamtpaw 7aa5e5486c file cost.html was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:27:58 +00:00
adamtpaw df3ca66df9 file directorypaths.html was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:27:58 +00:00
adamtpaw c0d7df5ff7 file quiz_responses.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 84e0d98ac5 file quiz_analysis.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw f2b8349ba3 file timezones.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 9ca5c5f3cf file block_rss_client.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 77e2516c8e file block_search_forums.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 2116eb1783 file block_glossary_random.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 05e4c64ee7 file enrol_ldap.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 0786ea1c5e file emailprotect.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 4ac274d179 file grades.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw eae55bcaed file block_html.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 0c88c45af8 file enrol_authorize.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw af3ec71f0a file block_quiz_results.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw f851b20061 file message.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 24f8ca2a99 file currencies.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
adamtpaw 8e8f2a3ad9 file book.php was initially added on branch MOODLE_15_STABLE. 2005-09-27 13:16:54 +00:00
martignoni ab4e833975 Error in 'configenablerssfeeds' found by Joseph R?zeau 2005-09-27 13:05:38 +00:00
barias 0060c0e5bb Minor updates in spanish translation 2005-09-27 12:22:57 +00:00
thepurpleblob da7a785be5 Fix for bug #4120. Replaced missing assignment. On behalf of Dave Scotson. 2005-09-27 10:33:29 +00:00
rcantada 419a679231 doh! forgot to set thischarset to utf8 2005-09-27 09:21:34 +00:00
mjollnir_ 96e19e7b67 Merged from MOODLE_15_STABLE: Logging apache user now takes into account loginas 2005-09-27 05:25:23 +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
rcantada b8584ba9d8 new strings 2005-09-27 03:28:14 +00:00
mits 809b856ee8 translated few strings for hotpot. 2005-09-26 21:02:52 +00:00
bobopinna 345e9bd215 Several update by Onofrio Maggi 2005-09-26 15:19:31 +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
mits 12c39877d6 translated a new string for student view. 2005-09-26 12:21:57 +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
gustav_delius 5c3706b27d When teacher has "student view" on then the login string changes to ""Your are logged in as name in student view (Logout)", note the new 'in student view'. Discussed in bug 4113 2005-09-26 10:00:14 +00:00
carlesbellver c55355b6c8 *** empty log message *** 2005-09-26 09:38:27 +00:00
gustav_delius 232b3ccc09 Turn editing on link in admin block was missing sesskey, fixing bug 4013 2005-09-26 09:26:06 +00:00
mits 5641846c9f polished. 2005-09-26 05:16:04 +00:00
mits fd2e1e963d polished. 2005-09-26 05:03:00 +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
gustav_delius 1c349f7fa2 fix to isstudent() for student view feature, see bug 4113 2005-09-25 21:44:09 +00:00
gustav_delius b1c9e0998a Allow underscore and hypen in module names 2005-09-25 20:46:43 +00:00
ethem 54afe05f20 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-09-25 18:49:21 +00:00
gustav_delius 57bc53c652 Made student view work also for admins.
Also modified isstudent() function to take student view into account.
2005-09-25 17:30:51 +00:00
rcantada 73cff34c90 new strings 2005-09-25 07:08:36 +00:00
mits ce184be61e polished. 2005-09-25 00:53:56 +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
gustav_delius b4dd061d7a When adding a large number of courses to a metacourse the timelimit needs to be reset regularly in order to avoid the 30 second timeout. 2005-09-24 17:56:33 +00:00
mits ee473d7357 translated a new string. 2005-09-24 13:12:22 +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
skodak 1c6932d825 new session timeout handling + gecko fix in moodlelib.php - merged from MOODLE_15_STABLE 2005-09-23 18:38:50 +00:00
skodak 751e91c888 new session timeout handling 2005-09-23 18:25:51 +00:00
mits 1dadc68526 translated a help file and strings for hotpot module. 2005-09-23 17:48:15 +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
barias c300e6246d Minor updates in spanish translation 2005-09-22 23:57:05 +00:00
mits c1f0b676b7 translated new strings related to lost password. 2005-09-22 18:34:34 +00:00
mits b7d8b126aa translated new strings related to lost-password. 2005-09-22 18:13:06 +00:00
thepurpleblob 7ac15a921a Change password url is now one-per-auth-method rather than just one for
the whole site. Password change help field also added (one per auth too).
This is to support improved lost password handling (ie, multiple authentication)
2005-09-22 15:12:31 +00:00
thepurpleblob 3605843255 New version of forgot_password.php. Now correctly handles password change
for the users 'actual' authentication type rather than whatever the
Moodle default happens to be.
User must now be found first so link in login screen is now just fixed.
2005-09-22 14:52:56 +00:00
thepurpleblob 541ff6ab16 Change of plan. Change password stuff moved to admin/auth.php 2005-09-22 14:19:39 +00:00
thepurpleblob 88e0c93d26 Added some strings for improved (multiple auth friendly) password handling. 2005-09-22 14:10:48 +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 75efc0a090 added explanation of the new "Single Student" report content option 2005-09-22 06:41:33 +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
thepurpleblob fd9c86c592 Whoops - should have been a text field
...and fixed some more dodgy xhtml on <input> tags.
2005-09-21 15:19:53 +00:00
thepurpleblob 522b9982c7 Changed config initialisation so it doesn't use optional_variable() function.
Fixed a couple of non-xhtml <br>s
Added authchangepasswordurl config parameter (ongoing improvements to
'multiple' auth methods functionality)
2005-09-21 14:58:41 +00:00
djachenko b906f34b8b "" 2005-09-21 14:55:21 +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
mits 4fe8dfaddc translated new strings associated with IMS. 2005-09-21 13:22:03 +00:00
stronk7 9b50609c8e Error messges improved & detect some exceptions ins the manifest file
(strange chars)
2005-09-21 12:34:50 +00:00
stronk7 7f95046d15 Added some IMS CP strings plus some generic errors.
If somebody can check them...it isn't one of my skills! ;-)
2005-09-21 12:33:27 +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
mits 166eb40cac translated a help file for workshop. 2005-09-21 05:26:53 +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
julmis 132ba6df91 Merged from MOODLE_15_STABLE
- added xxs fix optional_param for id.
2005-09-20 08:59:18 +00:00
barias 5ccf09bda1 Minor updates in spanish translation 2005-09-20 08:24:23 +00:00
gbateson 4b83220717 Improved the setting of quiz name and summary for quiz chains 2005-09-20 07:12:00 +00:00
mits fb5fac3caa translated new strings and help files for resource. 2005-09-20 03:51:17 +00:00
mits 380d1b6e92 added some based on standard theme. 2005-09-20 02:47:31 +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
koenr 028bde7f74 New strings from Karoly. Thanks! 2005-09-19 21:10:47 +00:00
mchurch 19216ba3d8 Prevent a wearning message from being displayed around the modules menu on
a fresh install of Moodle.
2005-09-19 20:56:36 +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
martignoni 67d7841f81 First run of new text messages for HotPot v2.1 2005-09-19 17:40:40 +00:00
skodak 85e006261a fixed IE and https problems; merged from MOODLE_15_STABLE 2005-09-19 17:13:06 +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
stronk7 93f7a9e3fc Added some strings for the new IMS CP resource type. 2005-09-19 16:39:47 +00:00
martignoni e2df0752c9 Added string for 'importmaxerror' 2005-09-19 16:39:05 +00:00
stronk7 1d23983d7e Added some styles for the new IMS CP resource type. 2005-09-19 16:34:47 +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
dlnsk 30eb86ca36 *** empty log message *** 2005-09-17 17:45:50 +00:00
dlnsk aa21904c49 file quiz_analysis.php was initially added on branch MOODLE_15_STABLE. 2005-09-17 17:41:10 +00:00
dlnsk d5f6d91c6c file dfwiki.php was initially added on branch MOODLE_15_STABLE. 2005-09-17 17:41:10 +00:00
gustav_delius dbc72c9959 Fix for bug 3995 2005-09-17 13:09:43 +00:00
mits db6ee942d1 Fiexed based on en language pack fix as below.
"Fix for bug 4019 and some other XHTML issues"
2005-09-17 13:04:03 +00:00
gustav_delius a567590ba5 Fix for bug 4019 2005-09-17 12:33:29 +00:00
gustav_delius dc151b29af Merged from STABLE 2005-09-17 12:31:36 +00:00
gustav_delius c3f806312f Fix for bug 4052 2005-09-17 12:10:35 +00:00
mits 6b92a64c4f translated new strings for hotpot. 2005-09-17 11:17:25 +00:00
mits 9ba6dcdc15 translated a help file for hotpot. 2005-09-16 19:04:23 +00:00
mits 8729ee1902 polished.
translated a help file for workshop.
2005-09-16 18:14:49 +00:00
mits a51e038e85 translated new strings and help files for hotpot. 2005-09-16 14:37:33 +00:00
gbateson 4b4a288247 Fixed bug for student view of index.php
Replaced use of DIRECTORY_SEPARATOR constant with '/'
2005-09-16 11:57:25 +00:00
mits d9a124d9d9 translated a new string for quiz. 2005-09-16 10:13:35 +00:00
mindforge 943ccdb7df Merged changes from 1.5 2005-09-16 10:13:18 +00:00
thepurpleblob 3861020201 Merged from STABLE 2005-09-16 09:46:59 +00:00
thepurpleblob 3c6c0e2522 Merged from STABLE 2005-09-16 09:32:00 +00:00
ethem bfd971d4eb New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-09-16 09:30:10 +00:00
mindforge e8d2c01660 Merged changes from 1.5 2005-09-16 09:25:42 +00:00
gbateson cdf4e40668 some changes to hellp files for HotPot v2.1 2005-09-16 07:57:56 +00:00
gbateson 3b47d3b69f New text messages for HotPot v2.1 2005-09-16 07:55:58 +00:00
martignoni e4df1ed1f8 One forgotten space 2005-09-16 07:50:44 +00:00
gbateson ab45e35e90 the v6 folder has been moved into the "templates" folder for HotPot v2.1 2005-09-16 07:48:16 +00:00
gbateson 57f35d211e changes to database and most scripts to allow enhancements for HotPot v2.1
- click-by-click reporting
  - manipulate "chains" of hotpot activities
  - standardized reporting across all quiz types
  - several smaller features
2005-09-16 07:24:12 +00:00
gustav_delius 4df4ca3eea Fix for bug 4077 2005-09-16 07:06:14 +00:00
bobopinna 244af018aa Fixed a typo added some stringS 2005-09-16 06:50:53 +00:00
gbateson 410229b604 changes to database and most scripts to allow enhancements for HotPot v2.1
- click-by-click reporting
  - manipulate "chains" of hotpot activities
  - standardized reporting across all quiz types
  - several smaller features
2005-09-16 02:55:56 +00:00
moodler 1c02f70deb Added Filipino. There is no two letter code for it so we are using the country code 2005-09-16 02:25:22 +00:00
koenr e86cad2cd5 Changed Nieuws-feed to In het nieuws on suggestion by Jan Dierckx 2005-09-15 20:52:32 +00:00
koenr 4e4930e9e1 Changed komende activiteit to binnenkort on suggestion by Jan Dierckx 2005-09-15 20:39:50 +00:00
koenr 4fbaca7f74 and already a typo :-( 2005-09-15 20:30:47 +00:00
koenr a980dedf9d A lot of new strings... 2005-09-15 20:26:15 +00:00
koenr 902c0998cf Trying to make metacourses more clear for the users 2005-09-15 19:31:30 +00:00
martignoni 46fefcd34b Added dropdown to allow sorting the question list on the quiz editing page in different ways. 2005-09-15 14:21:58 +00:00
martignoni 9f360b9b4c Added string for 'oldpassword' 2005-09-15 14:15:57 +00:00
martignoni 3a730070d3 Added forcepasswordchangenotice string. 2005-09-15 14:09:02 +00:00
barias 1a7bd5b654 Minor updates in spanish translation 2005-09-15 08:23:11 +00:00
ethem 16d28508a3 Some new strings for the new "anonymous result" feature... 2005-09-14 14:31:32 +00:00
ethem 5a8925719b Friendlier forum information in overview in my moodle 2005-09-14 14:28:07 +00:00
ethem e995dc848a Better explanation 2005-09-14 14:24:40 +00:00
ethem fc412a3b53 Added string for 'oldpassword' 2005-09-14 14:16:08 +00:00
thepurpleblob 3b37739ba9 merged from STABLE. 2005-09-14 12:55:17 +00:00
mits 90662f01f5 polished.
translated new strings for quiz.
2005-09-14 12:26:31 +00:00
mindforge f8180ec8d8 Merged from 1.5. 2005-09-14 11:17:24 +00:00
moodler ea30fc5c0b Incorrect value being passed to header function.
Merged from stable. (SE)
2005-09-14 07:25:48 +00:00
mits 5c83ba9edc polished.
translated new strings for password on moodle.php.
2005-09-14 02:15:47 +00:00
mjollnir_ 47c8939975 Merged from MOODLE_15_STABLE: Login block should be more discerning about offering signup link. Fixed to be more in line with the login page 2005-09-13 22:51:49 +00:00
thepurpleblob 737cb9a274 Added string for 'oldpassword' 2005-09-13 15:14:18 +00:00
thepurpleblob 269c5dbbfb Change 'old' password prompt to make it more intuitive to users 2005-09-13 15:12:48 +00:00
thepurpleblob 39e6cfeced Added forcepasswordchangenotice string. 2005-09-13 15:09:35 +00:00
thepurpleblob fc23641e7d Add more user friendly explanation if user is forced to change password
on first login.
2005-09-13 15:03:52 +00:00
thepurpleblob b1f65701ed merged from STABLE. 2005-09-13 13:50:52 +00:00
martignoni 8b0a14c15d Typo corrected, thanks to Joseph R?zeau 2005-09-13 13:29:54 +00:00
martignoni 40c47beaea Added strings to support filtermatchoneperpage and filtermatchonepertext admin
settings.
2005-09-13 08:43:44 +00:00
djachenko db74f5c828 ? ? 2005-09-13 08:41:47 +00:00
bobopinna 45b700159a Added direct import of manifest files.
Now is possible to select in the package field a imsmanifest.xml file
2005-09-13 07:00:16 +00:00
bobopinna e112e31851 Included support for guest users.
Now guest, teacher and admin (not student) can play scorm package without save tracks.
2005-09-13 06:50:55 +00:00
bobopinna e45ecd37d5 Modified debug mode: now only andmin view api communication alert when debug mode is on 2005-09-13 06:47:08 +00:00
mits bfd1b78f1d polished some.
translated new strings for filter in admin.php.
2005-09-13 00:12:43 +00:00
martignoni ec313f4a6c Typo corrected thanks to D. Bodin 2005-09-12 21:30:40 +00:00
skodak 9b76b4519e formal RFC151 compliance; merged from MOODLE_15_STABLE 2005-09-12 18:45:40 +00:00
thepurpleblob 1d0b462c57 Added strings to support filtermatchoneperpage and filtermatchonepertext admin
settings.
2005-09-12 14:36:34 +00:00
thepurpleblob 1ae63ba704 Added settings options for filtermatchoneperpage and filtermatchonepertext. 2005-09-12 14:26:52 +00:00
thepurpleblob 16d11a6908 Added defaults (off) for filtermatchoneperpage and filtermatchonepertext. 2005-09-12 14:23:03 +00:00
djachenko f63dcea3c6 "" 2005-09-12 10:56:54 +00:00
moodler ad5d16e04b Added some checking of GD functionality before using functions, see bug 4040 2005-09-12 07:57:16 +00:00
stronk7 2f0754ba3b Added support for new styles in chat window.
Merged from MOODLE_15_MERGED
2005-09-11 10:03:35 +00:00
mits 0b3f9ede65 polished. 2005-09-11 07:27:13 +00:00
stronk7 aa5c32fda7 Extended theme support to the chat window. Bug 3376.
(http://moodle.org/bugs/bug.php?op=show&bugid=3376)

Merged from MOODLE_15_STABLE
2005-09-10 22:57:21 +00:00
mits 30583306f9 polished. 2005-09-10 22:51:40 +00:00
adamtpaw c2c01ba483 New translation for new version of Moodle 2005-09-10 21:39:33 +00:00
mits e9b5241425 polished based on standard theme. 2005-09-10 20:54:42 +00:00
martignoni 113c51b39a Some modifications 2005-09-10 19:36:12 +00:00
urs_hunkler 5ecbff7916 Eloy added hooks to the chat mes frame. I adde the basic CSS properties and values for colors and positioning to the "Modules: Chat" sections of the two CSS files. 2005-09-10 18:35:49 +00:00
stronk7 df8d3e66f4 Now both p() and s() respect html entities.
(and some unmerged silent headers)

Merged from MOODLE_15_STABLE
2005-09-10 11:07:09 +00:00
mits b4d6179c4d polished. 2005-09-10 11:01:31 +00:00
martignoni 6cf080efa5 Remaining of the wiki help files 2005-09-09 20:41:13 +00:00
moodler b9709905c7 Merged CSS fix for bug 4045 from stable 2005-09-09 16:52:47 +00:00
moodler 50fcf8cf0d Added ID to help CSS targeting of activity module editing forms for each module 2005-09-09 16:23:11 +00:00
moodler 20affd1593 Merged fixes for zero date displays in assignments 2005-09-09 16:17:43 +00:00
skodak 4dfa092564 new handling of session timeouts - part 1; merged from MOODLE_15_STABLE 2005-09-09 15:14:48 +00:00
koenr a6feb392fd Backup save time fixed bug 4041 2005-09-09 13:32:40 +00:00
carlesbellver fc3063690c *** empty log message *** 2005-09-09 12:28:45 +00:00
skodak 9259cb73bc reverting previous patch - see http://moodle.org/mod/forum/discuss.php?d=26970 2005-09-09 12:07:13 +00:00
carlesbellver c764ee5f50 *** empty log message *** 2005-09-09 11:27:02 +00:00
mits 80b539c00c translated a help file for workshop. 2005-09-09 02:14:02 +00:00
gbateson 856624f977 added "$question->usecase = 0;" for JMatch and JQuiz quizzes (other quizzes already set this property) 2005-09-09 01:19:30 +00:00
martinlanghoff 98ee505608 Merged from MOODLE_15_STABLE - auth/ldap: fixed typo in auth_user_activate() - bug #3594 - thanks to ze @ nbox.org 2005-09-09 00:28:09 +00:00
mits e9346acae8 polished. 2005-09-08 23:17:17 +00:00
mjollnir_ 9284a728b7 Merged from MOODLE_15_STABLE: Much more sophisticated IP address cleansing 2005-09-08 23:04:23 +00:00
mjollnir_ 212f79a5e9 Fix to bug 4026 and 3913. Credit: jjg7 at humboldt dot edu 2005-09-08 21:30:42 +00:00
mindforge acd48843a9 Merged from 1.5 stable 2005-09-08 18:13:19 +00:00
mits a07ffbc08b polished. 2005-09-08 12:36:52 +00:00
mits e46ae1d164 polished. 2005-09-08 12:11:12 +00:00
mits b3103eb1cb translated a help file for workshop. 2005-09-08 12:02:51 +00:00
mindforge 46ef1cf1de Merged changes from 1.5 2005-09-08 11:43:18 +00:00
martinlanghoff 8456874ab3 Merged from MOODLE_15_STABLE - Fix for bug 4031 -- fix typo 2005-09-07 23:24:29 +00:00
martinlanghoff a96354b582 Merged from MOODLE_15_STABLE - Fix for bug 4031 -- stupid mistake of using get_record_select() when I mean get_record() - see the bug entry for more details 2005-09-07 22:49:32 +00:00
mjollnir_ a9b3afb7b1 Merged from MOODLE_15_STABLE: Performance fix: in postgres, sometimes indexes are not used because of type casting. block_instance.pageid is a big int field so the index wasn't being used. Wrapping in '' prevents the typecast. See http://www.postgresql.org/docs/7.4/interactive/datatype.html#DATATYPE-INT for more information 2005-09-07 22:00:55 +00:00
adamtpaw 85430e94cc file usepassword.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw e8841b934e file gradinggrade.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 06961f10a5 file trackingtype.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 9f64078f99 file lessondefault.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 72d47f5fc7 file height.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 406fc9d42b file maxtime.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 0cb5c07327 file timed.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw c4fcfc739f file width.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 5ac81bf7ab file maxhighscores.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 4a5f805ce4 file slideshow.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 54d9dc91ae file practice.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw cd2e5296aa file index.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw e642fd4d5e file bgcolor.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 24bb491f0e file deleteattempts.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 526c99a9f4 file review.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 66b7d89803 file highscores.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw f529f74b8f file tree.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw efd1806b03 file password.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 52ac3de476 file displayleft.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 8623e13ce1 file modattempts.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 9230ee575e file custom.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 71262f44a2 file limit.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw dbd5e1286e file aliases2.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 753f25a50d file allowprintview.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 6f778a6340 file attachment.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw ca234be52c file analysistable.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:20:24 +00:00
adamtpaw 5f315a3098 file emailteachers.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:14:29 +00:00
adamtpaw b537e1e1cc file commentinline.html was initially added on branch MOODLE_15_STABLE. 2005-09-07 19:14:29 +00:00
stronk7 324d97ca65 Some RSS readers seems to have problems with that wrong p tag.
Merged from MOODLE_15_STABLE
2005-09-07 17:07:52 +00:00
mindforge 3809825467 Fix for the issue described in http://moodle.org/mod/forum/discuss.php?d=30192 2005-09-07 14:08:14 +00:00
carlesbellver 73138df43a *** empty log message *** 2005-09-07 09:58:35 +00:00
martignoni a9ba164c3b First run of wiki help files, thanks to Val?ry Fremaux 2005-09-07 09:51:35 +00:00
thepurpleblob 47b85b4a83 Hard coded yes/no strings now properly looked up. Bug #3993 2005-09-07 09:51:15 +00:00
c_schmitz 8c3fb67fa9 Small Bugfixes where paragraph ? sign was used instead of $ sign 2005-09-07 09:47:59 +00:00
c_schmitz f856b4f362 Small Bugfix 2005-09-07 09:37:01 +00:00
c_schmitz ba6117d3ff Added missing help files in lesson module. 2005-09-07 08:47:21 +00:00
martinlanghoff e91902556f Merged from MOODLE_15_STABLE - enrol/db - bug 3912 - Re-add the enrolment to $user->student[] - should fix things for good. 2005-09-07 06:39:30 +00:00
martinlanghoff fd734f6165 Merged from MOODLE_15_STABLE - Fix for bug 4011 -- a MySQL specific workaround did not work with database names with hyphens, and broke the whole plugin for other databases. This patch fixes both issues. 2005-09-07 06:12:40 +00:00
mjollnir_ 95d71ad3a3 Fixed a warning for empty array in forum print_overview for my moodle 2005-09-07 05:43:27 +00:00
mjollnir_ 7686b6b1d0 Merged from MOODLE_15_STABLE (ish): better fix to messaging problem query 2005-09-07 04:43:47 +00:00
patrickslee dd875f1aa2 Finally the *correct* fix for the looping problem. Thanks to Penny (Merged from MOODLE_15_STABLE) 2005-09-07 04:23:37 +00:00
martinlanghoff 9d866ae0f1 Merged from MOODLE_15_STABLE - make_categories_list(): initialize variables correctly to cover up for broken call convention. Passing unset variables by ref to be populated is a BAD idea. Do The Right Thing and Return your function output or there'll be no dessert for you. 2005-09-06 22:29:16 +00:00
patrickslee 488b94689d The report_session_error() fix does not work all the times. Proper fix here.(Merged from MOODLE_15_STABLE) 2005-09-06 22:16:27 +00:00
mjollnir_ 3bff4935eb Merged from MOODLE_15_STABLE: Further tidyup to the cleanremoteaddr function I added - some thing were getting through 2005-09-06 21:34:02 +00:00
mjollnir_ 1807d0a953 Merged from MOODLE_15_STABLE: Backing out a previous patch of mine - bad merge with our local copy 2005-09-06 21:23:38 +00:00
mits 06924429fe polished.
translated one string.
2005-09-06 20:36:49 +00:00
papita 27fd0956b9 some new strings 2005-09-06 20:33:13 +00:00
papita 97ba9c9e5a new files by rubens serafim 2005-09-06 19:27:59 +00:00
papita 0b44fd6f57 corrections by rubens serafim 2005-09-06 18:30:54 +00:00
martignoni e3f0e2026e Friendlier forum information in overview in my moodle 2005-09-06 09:17:33 +00:00
mits 9e1a2a6990 translated a new string for forum.php. 2005-09-06 04:20:44 +00:00
mits c06368dd24 polished. 2005-09-06 04:09:33 +00:00
mjollnir_ 29dc9751e3 Friendlier forum information in overview in my moodle 2005-09-06 01:34:48 +00:00
mits c273a16bae polished. 2005-09-06 00:21:41 +00:00
patrickslee c9e2e3ffcf Fixed a rare problem that report_session_error() causes a redirection loop (Merged from MOODLE_15_STABLE) 2005-09-05 23:48:42 +00:00
stronk7 bcbebdc53b Avoid empty or unlinkable activity names.
Merged from MOODLE_15_STABLE
2005-09-05 22:34:18 +00:00
stronk7 32a50e2833 Avoid empty or unlinkable activity names
Merged from MOODLE_15_STABLE
2005-09-05 22:32:06 +00:00
koenr 540fa083d2 A lot of errorcorrections from L.Vandijck
Thanks a lot!
2005-09-05 19:46:39 +00:00
stronk7 359484a063 Wrong syntax fixed. Bug 4014.
Curiosly, the bug is in 1.4 and HEAD, but no in 1.5... Uhmmm,
be careful with those merges... ;-)

(http://moodle.org/bugs/bug.php?op=show&bugid=4014)

Merged from MOODLE_14_STABLE
2005-09-05 16:21:18 +00:00
martignoni a41bd14870 Performance fix for get_directory_size: new config option for path to du 2005-09-05 14:22:41 +00:00
thepurpleblob 343f4898ed Use correct function for heading with help attached. 2005-09-05 09:33:08 +00:00
mits 762cdf2412 translated a new string for admin.php. 2005-09-05 09:17:51 +00:00
martignoni 3ca7cbb27c Better explanation 2005-09-05 07:56:43 +00:00
mjollnir_ 51332190b9 Merged from MOODLE_15_STABLE: Performance fix for get_directory_size: new config option for path to du - if we have it, use that instead. MUCH faster on directories with a lot of files 2005-09-05 05:33:02 +00:00
moodler cdc75e602f Merged include file fix from stable 2005-09-05 05:32:49 +00:00
mits 02434fa852 translated a help file for workshop. 2005-09-05 02:35:11 +00:00
mits ac116bbbd1 polished. 2005-09-05 02:11:04 +00:00
mits 690c4a5f7c polished. 2005-09-05 02:09:32 +00:00
mjollnir_ f871698811 Reworked my moodle overview api to be more efficient. Note that this changes how mod_print_overview is called 2005-09-05 01:31:08 +00:00
mjollnir_ c9169822b2 In course overview in my moodle page, dim hidden courses 2005-09-04 22:37:46 +00:00
mits dfa57db064 polished. 2005-09-04 21:40:58 +00:00
mjollnir_ 3509dd97f0 Merged from MOODLE_15_STABLE: Fixing up a bug in the log selector to do with optionally showing all users in the dropdown when over COURSE_MAX_USERS_PER_DROPDOWN 2005-09-04 21:07:36 +00:00
mjollnir_ d7aba64b5a Trying to prevent user table allowing ordering by non-existant fields (I added for bulk IM) 2005-09-04 20:57:43 +00:00
scop22 1c660b38dd Adding help files for choice module to the Korean language pack (EUC-KR version) 2005-09-04 16:38:02 +00:00
scop22 f74224b883 Adding help files for chat module to Korean language pack (EUC-KR version) 2005-09-04 16:33:12 +00:00
scop22 8eb2e0337c Adding assignment help file to Korean language pack (EUC-KR version) 2005-09-04 16:29:13 +00:00
scop22 b46531f522 Updating files to keep up with the latest changes made in the default UTF-8 Korean language pack 2005-09-04 16:13:25 +00:00
scop22 fae1d7d36b Adding help files for choice module to Korean language pack (UTF-8 version) 2005-09-04 15:36:17 +00:00
vthung 6bd3c1fa12 Appended some new strings 2005-09-04 15:32:15 +00:00
scop22 554ce40aaa Adding help files for chat module to the Korean language pack (UTF-8 version) 2005-09-04 15:10:47 +00:00
scop22 d73e519a92 First commit of help files to the Korean UTF-8 language pack. Assignment module help files added in this transaction. 2005-09-04 15:04:19 +00:00
scop22 4d2cc8a248 Adding the latest new strings and files to the Korean language pack (unicode UTF-8 version) 2005-09-04 14:42:37 +00:00
mits 44be1ebd6e translated a help file for cvs. 2005-09-04 00:31:08 +00:00
mits b49a90c817 polished. 2005-09-03 17:14:22 +00:00
mits c6e22da8ee polished. 2005-09-03 02:12:17 +00:00
mits dbc6374a50 polished. 2005-09-03 00:59:34 +00:00
mits 3a19f74a33 polished. 2005-09-02 21:42:23 +00:00
julmis 3500c7c7b3 Merging from MOODLE_15_STABLE
Fixing array_change_key_case errors.
- Function present in version PHP 4 >= 4.2.0, PHP 5
2005-09-02 07:54:08 +00:00
martinlanghoff cb2b145f50 Merged from MOODLE_15_STABLE - auth/ldap - sync_users script bugfix x2: it was deleting fields that were not supposed to be synched to ldap and it was failing to set auth_forcepasswordchange 2005-09-02 06:56:32 +00:00
martinlanghoff 50f1b47543 Merged from MOODLE_15_STABLE - enrol/ldap - fix course auto-creation to work with the new blocks infrastructure. doh! (thanks penny!) 2005-09-02 06:52:36 +00:00
martinlanghoff 4b598ff45b Merged from MOODLE_15_STABLE - auth - bugfixes: update_userinfo() did not truncate values, and did not have proper errorhandling; user creatiwas passing an id to set_user_preference when we wanted an object 2005-09-02 06:44:02 +00:00
martinlanghoff 125b1645ff forum/trackreads - small optimization to overview 2005-09-02 06:38:45 +00:00
martinlanghoff 0ce852ecfb Merged from MOODLE_15_STABLE - forums/trackreads: Small optimizations to forum_tp_can_track_forums() 2005-09-02 06:37:18 +00:00
martinlanghoff a85168b765 Merged from MOODLE_15_STABLE - forums/trackreads: Postgres-optimized query - from many minutes to a few milliseconds 2005-09-02 06:32:18 +00:00
mits fc3aaa43bc polished. 2005-09-02 05:20:44 +00:00
mjollnir_ c69dbe691e Merged from MOODLE_15_STABLE: (ish, version numbers different): Add an index where we really need it - block_instance.pagetype 2005-09-02 05:00:59 +00:00
stronk7 f64376bfc8 Strip control chars from being sent to the XML file.
Only tab, newline and return are allowed in XML 1.0.
This feature is controlled by $CFG->backup_strip_controlchars.

Please, test it!

Merged from MOODLE_15_STABLE
2005-09-02 00:03:04 +00:00
mits b658caf303 modified based on original change. 2005-09-01 22:11:42 +00:00
ethem 3cb27d62a6 explanatory notes for autocapture. 2005-09-01 21:35:38 +00:00
papita 1c4541da03 changing module name into ESCOLHAS, adding new files, reconstructing index and code
(index in en language pack is also incomplete!)
2005-09-01 17:56:31 +00:00
papita 3a3eaf5bc8 correcting some typos 2005-09-01 17:52:26 +00:00
martignoni 31a12cd6eb Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button) 2005-09-01 15:20:29 +00:00
martignoni 3be869940d Initial checkin of stats (from processing the log table). 2005-09-01 15:19:03 +00:00
martignoni 9cfbc96de3 Payment review strings. 2005-09-01 14:40:17 +00:00
mits 01c37c7fe4 plished some.
translated new strings.
2005-09-01 14:25:53 +00:00
mjollnir_ 861efb1937 Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button) 2005-09-01 04:48:22 +00:00
mjollnir_ f2f3893c3b [STATS] Merging forgotten patch 2005-09-01 04:26:59 +00:00
mjollnir_ f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
mjollnir_ 3ec22e352c Merged from MOODLE_15_STABLE: merging check_db_compat function for backwards compatability (just in case) 2005-09-01 00:28:45 +00:00
mjollnir_ 9ea9d69744 Merged from MOODLE_15_STABLE: Fixing bug 3977: properly for HEAD since we're dropping mysql 3 support for 1.6. No need for db compatability checks here. 2005-08-31 23:58:42 +00:00
barias 98f7075f13 Latest spanish translation 2005-08-31 21:15:13 +00:00
gustav_delius 537daa79be Merged from STABLE. 2005-08-31 16:32:49 +00:00
barias 386515b045 Fixed a 'typo' 2005-08-31 09:49:23 +00:00
thepurpleblob 82cff43c85 Incorrect variable name - not sure why this worked! 2005-08-31 09:30:25 +00:00
ethem 7788ed7182 Payment review strings. 2005-08-31 08:10:53 +00:00
mjollnir_ 0283911078 Merged from MOODLE_15_STABLE: Preventing another warning. In some cases in the calendar blocks, resource filtering gets called with no courseid 2005-08-31 06:13:26 +00:00
martinlanghoff 3f26679388 Merged from MOODLE_15_STABLE - auth/db: Better support for utf-8 user data. 2005-08-31 06:01:14 +00:00
mjollnir_ 5838e5b21f Merged from MOODLE_15_STABLE: Avoid a warning when displaying multichoice quiz questions 2005-08-31 05:24:31 +00:00
mits 129a658ad0 translated a help file for workshop. 2005-08-31 03:18:10 +00:00
mjollnir_ d89d870bf5 Merged from MOODLE_15_STABE: prevent stuff being sent to the browser before config.php being included 2005-08-31 02:30:20 +00:00
mits 42c354fddd modified based on the original change. 2005-08-30 20:32:25 +00:00
dhawes ea3b979660 phpdoc comment 2005-08-30 18:34:41 +00:00
thepurpleblob cc93459372 Export now saves file in correct course file area (ie, the current one).
Export now works for published courses where the teacher is not
a teacher on the 'remote' course.
See bug #3996 and bug #3985
2005-08-30 15:13:37 +00:00
thepurpleblob 7443a8c43e Fixed a few spelling mistakes, and explained the censort function
properly.
2005-08-30 12:38:31 +00:00
bobopinna 699927cf78 Fixed next sco search 2005-08-30 11:48:22 +00:00
thepurpleblob 4478a12b56 Disabled filters are now dimmed. See bug #3994 2005-08-30 10:06:56 +00:00
moodler ca9388440a Merged bugfix 3958 into head from stable 2005-08-30 09:36:14 +00:00
thepurpleblob f21bf0639c Fixed some hard code strings. Bug #3993. 2005-08-30 08:56:50 +00:00
mindforge 263c42ad81 Improved error messages (see bug #3986). 2005-08-30 08:38:27 +00:00
barias 23d3570b5e Latest spanish translation 2005-08-30 08:20:25 +00:00
bobopinna 15d2f0ca70 Code cleaning 2005-08-30 07:29:05 +00:00
bobopinna 41d1703534 New popup mode
Fixed style sheet
2005-08-30 07:26:30 +00:00
bobopinna 3d23821ceb Fixed a typo
Fixed activity outline style sheet
Fixed a problem with next and prev sco search
Made some fix for scorm 1.3 support
2005-08-30 07:19:42 +00:00
bobopinna b1738387bf New popup mode
Fixed some amp coding
2005-08-30 07:15:54 +00:00
bobopinna 0b33f2d91b New popup launching mode 2005-08-30 07:13:02 +00:00
bobopinna 464882421a Fixed some style in order to work with course format and activity outline 2005-08-30 07:10:56 +00:00
bobopinna 6293071b9e Fixed a problem with parameter passing 2005-08-30 07:09:18 +00:00
bobopinna c36037e765 First working release 2005-08-30 07:08:28 +00:00
defacer 2280ecf537 Fix for bug 3981 (also quite lively discussed at
http://moodle.org/mod/forum/discuss.php?d=29564):

When the user was not logged in and was not a guest, DST compensation was not
being done. I guess deciding to store the computationally expensive DST cache
in $USER was a major oops on my part. I 've moved everything to $SESSION and
now it works as it should.
2005-08-30 03:27:52 +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 da2a70fadd FIXED: Bug with reporting numerical question types. 2005-08-29 19:37:33 +00:00
paca70 8eb142ed86 Merged from MOODLE_15_STABLE 2005-08-29 15:51:58 +00:00
paca70 328d3cf2a1 file mods.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 6c8849b02d file ungradedassessments.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 8a077c7e4e file password.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 6e6ba34f1a file showinggrades.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 c5899abcd8 file specimen.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 3d185c592a file teacherweight.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 f2643cec97 file usepassword.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 3909e4dd0f file ungradedassessments_student.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 126a03ec1f file regrading.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 fadeed606a file releasegrades.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 44fc80f4e7 file submissionend.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 8a33e4588c file resubmit.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 f5bd57d1c4 file submissionstart.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 2d54be7432 file ungradedassessments_teacher.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 7aaea02569 file selfassessment.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 e641358745 file submissionofexamples.html was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:47 +00:00
paca70 7434e0fe6a file block_search_forums.php was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:46 +00:00
paca70 81fbfe7749 file quiz_analysis.php was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:46 +00:00
paca70 faff8e332f file timezones.php was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:46 +00:00
paca70 13e325df00 file grades.php was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:46 +00:00
paca70 52ed2dc515 file enrol_authorize.php was initially added on branch MOODLE_15_STABLE. 2005-08-29 15:43:46 +00:00
exe-cutor a50d860ef1 Fixed a small bug that prevented guest users from log in
See: http://moodle.org/bugs/bug.php?op=show&bugid=3989
Thx to pasi.hakkinen@tut.fi
2005-08-29 15:42:26 +00:00
martignoni ac310980e3 New config setting for /my redirect and breadcrumb replacement rather than always doing it 2005-08-29 12:45:29 +00:00
mits 422835a272 translated a new string for admin.php. 2005-08-29 02:44:08 +00:00
mjollnir_ 62e4c0959b New config setting for /my redirect and breadcrumb replacement rather than always doing it 2005-08-29 02:34:17 +00:00
mits 9245f1d462 polished. 2005-08-29 02:25:13 +00:00
martignoni 63c831f88c New string (badwordsdefault) and couple of edits to do with censor filter. 2005-08-28 21:16:46 +00:00
martignoni 3aea7cc10c Some new strings for the new "anonymous result" feature. 2005-08-28 21:11:49 +00:00
papita eadfa0e3a1 new file by Ukey, completed and reviewed by Paula, code security section still in english 2005-08-28 18:01:08 +00:00
papita 8fcce2fcd5 resource help files completely renewed 2005-08-28 17:53:09 +00:00
papita 7e339323bb correcting some typos 2005-08-28 17:48:52 +00:00
papita e3717fefb2 updating code and text 2005-08-28 17:46:47 +00:00
papita 49ea7d70b4 new file by Sadao, checked by paula 2005-08-28 17:45:22 +00:00
papita 791eb08334 important update: controll in context of :filters, risorses, admin ; changing resources name to recursos instead of materiais, changing adicionar into acrescentar, changing editar into modificar 2005-08-28 17:39:57 +00:00
mits a9668cb24c polished.
translated a help file for exercise.
2005-08-28 09:17:06 +00:00
mits 14de68607d polished. 2005-08-27 17:15:48 +00:00
mits ba5fb1dabd polished.
translated a help file for exercise.
2005-08-27 15:55:18 +00:00
mits 4b5a0ae35a polished. 2005-08-27 14:23:11 +00:00
koenr efc79eaaa3 Removing empty lines everywhere, converting to DOS line feed, trying to fix bug 3987 2005-08-27 09:26:39 +00:00
mits 86880cff5d polished. 2005-08-27 04:53:22 +00:00
mits a1b5acf07a polished. 2005-08-27 04:50:24 +00:00
mits 10b2a471f4 polished. 2005-08-27 04:03:51 +00:00
mits ab8e7aa472 polished. 2005-08-27 03:57:21 +00:00
mits 115c6c5cb4 polished. 2005-08-27 01:54:00 +00:00
gustav_delius e484e8f915 Fix so that secure window closes itself even when no review is allowed, see bug 3891 2005-08-26 19:24:17 +00:00
gustav_delius aca55f679c A bit of code cleanup as suggested by Olaf Rempel in bug 3881 2005-08-26 19:12:17 +00:00
gustav_delius d78d653a34 removed unnecessary code as suggested by Olaf Rempel in bug 3850 2005-08-26 18:51:40 +00:00
gustav_delius c0bbeb675a Removed the restriction that the quiz timelimit has to be less than the session timeout 2005-08-26 18:47:24 +00:00
gustav_delius 9235fb7977 Removed the restriction that the quiz timelimit has to be less than the session timeout 2005-08-26 17:57:36 +00:00
mits 5deaca1a7e translated a new string. 2005-08-26 14:05:40 +00:00
c_schmitz 431ccea114 New translations 2005-08-26 12:24:21 +00:00
thepurpleblob d91ce7ce0a Merged from STABLE 2005-08-26 11:59:59 +00:00
gustav_delius 86831b4c69 Fixed bug 3950 2005-08-26 08:56:18 +00:00
thepurpleblob afaf622902 If no custom list is specified, the default list from the language pack
will be used instead. It works out-of-the-box (again!).
2005-08-26 08:33:59 +00:00
thepurpleblob 3327310064 New string (badwordsdefault) and couple of edits to do with censor filter. 2005-08-26 08:31:16 +00:00
gustav_delius 3db6659d2d fix for bug 3953 provided by Jean-Michel 2005-08-26 08:00:19 +00:00
phoenixfr 1e4e38857a release with automatic login and optional logout from SSO 2005-08-26 07:48:53 +00:00
phoenixfr 5ef5c0ecdd New release of php-cas 0.4.20-1 2005-08-26 07:47:04 +00:00
martinlanghoff a6d114e600 Merged from MOODLE_15_STABLE - enrolment fixes: We now have better handling of the enrol field when dealing with student enrolments. This fixes bugs 3912 and 3974. NOTE that enrol_student() now defaults to manual - this is to support the different pages that call enrol_student() to still work correctly when external enrolments are in use, by recording the enrolments as manual. Enrolment plugins are expected to know better and pass the correct parameter. 2005-08-26 06:11:38 +00:00
mjollnir_ d23d0398fe Merged from MOODLE_15_STABLE: Escape strings for database. SC # 145 2005-08-26 05:29:34 +00:00
mjollnir_ 300dfca610 Merged from MOODLE_15_STABLE: Fixing typo in call to get_record that was causing a lot of noise in the db error log 2005-08-26 04:53:39 +00:00
mjollnir_ 3bcb678ea2 Merged from MOODLE_15_STABLE: Backticks are not postgres friendly! :( 2005-08-26 04:41:48 +00:00
martinlanghoff 33a30ca9e6 Merged from MOODLE_15_STABLE - enrol/ldap - fixed default objectclass, and we can now bind non-anonymously 2005-08-26 04:11:22 +00:00
martinlanghoff c54a59435c Merged from MOODLE_15_STABLE - Long-pending rollback_sql() 2005-08-26 04:02:06 +00:00
mits 16a07a1e6b translated a new help file for filter. 2005-08-25 18:00:48 +00:00
martignoni 8fab2cd4c5 Typo corrected thanks to Etienne Roz? 2005-08-25 14:33:23 +00:00
c_schmitz d307ed4b14 Updated translations 2005-08-25 11:06:44 +00:00
mits 247c107a60 polished. 2005-08-25 11:04:35 +00:00
c_schmitz 063b2a4d32 Updated translations 2005-08-25 09:47:17 +00:00
julmis 1cefda4225 Merging from stable
- Adding escapeshellarg to aspell path
2005-08-25 07:49:39 +00:00
julmis 8af1a3af3b Merged from stable
- Adding escapeshellarg to aspell path
2005-08-25 07:48:28 +00:00
martignoni 3497a68693 Typo corrected, thanks to Jean-Yves Chambrin 2005-08-25 07:38:39 +00:00
martinlanghoff b8a0a101e5 Merged from MOODLE_15_STABLE - auth/ldap: Fixed handling of multi-source field mapping. Now fields with non-empty values have precedence over empty fields, regardless of order. Fields will be set to empty only if all ldap source fields are empty. 2005-08-25 04:58:59 +00:00
mjollnir_ 5b66416fe9 Merged from MOODLE_15_STABLE: Fixing another postgres problem. With distinct, you can't order by a field not in the select field list 2005-08-25 00:03:14 +00:00
mjollnir_ d5efb299de Merged from MOODLE_15_STABLE: Fixing typo in postgres-fixing patch from a couple days ago 2005-08-24 23:48:12 +00:00
patrickslee 8ceb09e0d6 Wrong parameter order in function definition (merged from MOODLE_15_STABLE) 2005-08-24 23:08:54 +00:00
mits 00a4408539 polished. 2005-08-24 17:24:34 +00:00
ethem 682811e048 *** empty log message *** 2005-08-24 14:59:42 +00:00
barias 4e902870b7 Minor updates in spanish translation 2005-08-24 10:02:29 +00:00
barias 05dd5ceced Latest help files 2005-08-24 10:02:00 +00:00
mits 4e759a919a translated a new help file for exercise. 2005-08-24 01:04:37 +00:00
martignoni 839c9e646b Typo corrected 2005-08-23 21:28:41 +00:00
martignoni 8e23207b53 Another improvement 2005-08-23 21:25:27 +00:00
martignoni c2413679e4 Improvement in wording 2005-08-23 21:24:03 +00:00
martignoni 02f8c68012 Better wording 2005-08-23 21:20:37 +00:00
defacer 69963aa63c Changing some hardwired 1s to SITEID. Is the madness ever going to end?
Use 1 as a magic number in code, pay the price...
2005-08-23 20:43:32 +00:00
mits a04e6f5690 translated new strings. 2005-08-23 20:09:09 +00:00
defacer 44525c6591 Repeat events are now created correctly even if the DST change boundary
is crossed between repeats.
2005-08-23 20:06:08 +00:00
defacer e796d82d1a Some new strings for the new "anonymous result" feature. 2005-08-23 19:14:00 +00:00
defacer 85311ca8d6 Now Quiz Results can be set into anonymous mode, where performance is shown
but student and group names are not disclosed. See relevant discussion at

http://moodle.org/mod/forum/discuss.php?d=29196

Version was also bumped up.

Incidentally, prefixed all defined constant names with "B_QUIZRESULTS_" to
avoid any conflicts with other things in the future.
2005-08-23 19:12:54 +00:00
mits 9de855f52a polished. 2005-08-23 19:03:11 +00:00
defacer 3cdc4597f5 Fixing copy/paste typo, caught by Howard Miller.
Penny can you please confirm that this is how it's supposed to be?
2005-08-23 18:16:06 +00:00
lonecatz 268955fed6 new translation by kid.duo@gmail.com 2005-08-23 14:55:58 +00:00
ethem e852a8440d New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-08-23 13:48:57 +00:00
ethem fd0c130a21 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-08-23 11:49:56 +00:00
thepurpleblob e1b184a489 Added descriptions of some more of the filters. 2005-08-23 10:39:37 +00:00
thepurpleblob 31d15a5997 Old version of filters page - no longer used. 2005-08-23 10:19:08 +00:00
thepurpleblob f25a87791d A start on some help for the filters admin page 2005-08-23 10:17:02 +00:00
ethem d201b055c2 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-08-23 09:25:15 +00:00
mjollnir_ d86ab8c672 Merged from MOODLE_15_STABLE: Backticks are NOT ALLOWED in postgres! 2005-08-23 06:46:50 +00:00
mjollnir_ 755c8d5870 Merged from MOODLE_15_STABLE: Fixing metacourses to work in mysql 3.23 series. At same time, set enrolment type to 'metacourse' so as not to break some external enrolment (eg ldap) plugins 2005-08-23 05:43:02 +00:00
mjollnir_ 4374ee2ca9 Fixing warnings in my moodle/ blocks /pagelib, plus moved page->edit_always to base class 2005-08-23 04:48:34 +00:00
mjollnir_ 44f90f4e04 Fixing another warning in my moodle blocks 2005-08-23 04:25:17 +00:00
mjollnir_ ee6055eb89 Fixing up the my moodle blocks to use blocks_setup instead of the old way. 2005-08-23 04:03:56 +00:00
mjollnir_ 347d7d2760 Recent activity block shouldn't go into my moode 2005-08-23 04:03:25 +00:00
mjollnir_ 90558ec4a5 Fixing warning in my moodle course overview in forums 2005-08-23 03:57:12 +00:00
defacer c0e170b2a7 My first commit since I don't remember when. Yay!
Bugfix:
Site events were being created for $course->id = 1 even when SITEID != 1.
2005-08-23 02:45:45 +00:00
mits f6889fe2db polished.
translated a help file for exercise.
2005-08-22 18:16:51 +00:00
mits 1a34e79629 translated new strings for moodle.php. 2005-08-22 17:33:53 +00:00
lashaalt e443b4b3a3 *** empty log message *** 2005-08-22 15:11:32 +00:00
martignoni bb608b9890 Initial checkin of new feature to select users from participants
page for a recipient list for sending an IM to.
2005-08-22 13:12:07 +00:00
barias 967e93cc67 Latest spanish translation 2005-08-22 12:36:21 +00:00
ethem ef42124735 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-08-22 11:59:50 +00:00
thepurpleblob a6abd71591 Added link to help file 2005-08-22 10:07:55 +00:00
martignoni 0c2dff5fe9 Fixed Turkish Lira 2005-08-22 07:34:21 +00:00
mjollnir_ f19570d0ec Initial checkin of new feature to select users from participants page for a recipient list for sending an IM to. Please test. 2005-08-22 05:44:13 +00:00
mits 70fc3b3dcd polished.
translated a help file for exercise.
2005-08-21 20:31:42 +00:00
moodler 70a6245515 Merged bug fix for cloze upgrading and also some formatting from STABLE 2005-08-21 15:44:33 +00:00
lashaalt fb12ecd292 *** empty log message *** 2005-08-21 01:49:10 +00:00
mits a32574f4c8 translated a help file for exercise. 2005-08-20 18:15:54 +00:00
mits a1ff0a6255 polished. 2005-08-20 17:55:02 +00:00
mits eab5008510 translated rest of strings for lesson. 2005-08-20 17:12:33 +00:00
papita 2ef9202877 accepting some suggestions of leonardo 2005-08-20 16:14:49 +00:00
papita 14fe4d37da Thanks for all brasilian translators added 2005-08-20 13:37:39 +00:00
mits b73aeda258 translated a help file for exercise. 2005-08-20 13:34:04 +00:00
mits d247179958 polished. 2005-08-20 12:51:28 +00:00
barias c3f923d57a Latest help files 2005-08-20 12:40:15 +00:00
mits 09594d2e0b polished. 2005-08-20 08:24:43 +00:00
mits 4398f51a50 polished. 2005-08-20 08:18:51 +00:00
papita a23e718479 new document by edgar amorim - code reviewed by paula 2005-08-19 18:58:10 +00:00
papita 79c6f871b3 repairing cvs problem ... with uploading... 2005-08-19 16:04:50 +00:00
papita 5d2e93786f adding new files and updatings, by paula 2005-08-19 16:00:51 +00:00
barias ae140ecb9d Minor updates in spanish translation 2005-08-19 11:34:24 +00:00
barias d4ffce26ae Latest spanish translation 2005-08-19 11:32:02 +00:00
ethem 374db29015 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-08-19 10:32:33 +00:00
scop22 b8108f25ea Better translation for "bynameondate" string 2005-08-19 03:23:37 +00:00
barias 9dc5c7d9bd Minor updates in spanish translation 2005-08-19 00:02:20 +00:00
mits d43157febf translated a help file for exercise. 2005-08-18 23:41:21 +00:00
mits bd489602fd polished. 2005-08-18 20:59:06 +00:00
papita 8afb1e0be5 new files and updates by Paula 2005-08-18 18:15:21 +00:00
ethem 7a684522d0 New files from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant. 2005-08-18 16:45:56 +00:00
papita 81ca657766 updating doc version 2005-08-18 16:28:07 +00:00
papita ea27b6d774 adding new help file by paula 2005-08-18 16:26:26 +00:00
papita aad7336fe3 adding new help files by paula 2005-08-18 16:24:51 +00:00
papita 63a46fa122 adding new file by paula 2005-08-18 16:21:30 +00:00
papita 0143b7345a latest updates by paula 2005-08-18 16:17:22 +00:00
mits 06a837c193 polished - based on standard theme. 2005-08-18 14:59:30 +00:00
thepurpleblob 3aac126599 StudentView button is alongside the editing button rather than underneath. 2005-08-18 09:29:19 +00:00
mjollnir_ d13dc4ac8c merged from MOODLE_15_STABLE: Clean up IP addresses from getremoteaddr. Otherwise we sometimes get weird results from proxies and inserts into mdl_log and mdl_user fail 2005-08-18 01:44:47 +00:00
martinlanghoff af08f72b3d Merged from MOODLE_15_STABLE - Blocks upgrade - reduce memory consumption by a few GB and (postgres only) halve database traffic. 2005-08-18 00:04:02 +00:00
martinlanghoff 8b9d74a633 Merged from MOODLE_15_STABLE - Added the missing $userold, now detecting updates (and pushing them out to LDAP) should work. 2005-08-17 23:54:58 +00:00
mjollnir_ c1147b7efe merged from MOODLE_15_STABLE: Fixing a postgres error. You can't sort by a field that isn't in the select list when you have distinct 2005-08-17 23:17:05 +00:00
martinlanghoff 4f03006577 Merged from MOODLE_15_STABLE - LDAP servers being down or unavailable should not prevent login - we now fail with a notice() rather than with an error() 2005-08-17 22:38:24 +00:00
mjollnir_ e7fa4c7f14 Bumping blocks version for my moodle changes 2005-08-17 22:36:55 +00:00
mits 396c1402f1 translated few strings for lesson. 2005-08-17 16:35:43 +00:00
scop22 eaa4e90d73 Updating EUC_KR language pack to keep up with the translation in the UTF-8 pack; README file also updated with more up-to-date information 2005-08-17 13:37:53 +00:00
scop22 c7e7284a21 Updated README file with more current information about this translation project 2005-08-17 13:32:29 +00:00
scop22 b5227d6f91 Adding two new files to the Korean language pack (UTF version) 2005-08-17 13:15:34 +00:00
scop22 019b43a088 A few more updated files and strings for ko_utf8 language pack to keep up-to-date 2005-08-17 10:36:46 +00:00
thepurpleblob 3f11ce14d9 Merged from STABLE 2005-08-17 10:35:37 +00:00
thepurpleblob 9bf9910e17 Merged from STABLE 2005-08-17 10:29:36 +00:00
koenr 53d70ab040 I hope I fixed a typo - please check 2005-08-17 08:39:42 +00:00
thepurpleblob 814f88c093 Removed $printfunction variable, which seems completely unused anyway (and isn't
a parameter for the function anyway)
2005-08-17 08:36:31 +00:00
mjollnir_ 5d3715d492 Removed tiny amount of unncessary code I added as part of the my moodle block stuff yesterday 2005-08-16 23:17:56 +00:00
mjollnir_ f41ef63ee6 materialized path & depth for course categories. 2005-08-16 23:15:58 +00:00
martignoni 523516fa48 Course request feature 2005-08-16 19:53:31 +00:00
martignoni cfc1f1d00b My Moodle new features 2005-08-16 19:09:06 +00:00
mits 9102af6f1b translated a new string for currencies.php. 2005-08-16 17:43:36 +00:00
mits 679fd18d4c polished. 2005-08-16 17:30:22 +00:00
moodler 4b2fd78782 Fixed Turkish Lira 2005-08-16 17:28:26 +00:00
mits 959e3264a3 translated new strings for moodle.php and admin.php. 2005-08-16 16:43:03 +00:00
vthung 5f1471f280 Appended some new strings 2005-08-16 14:05:24 +00:00
mjollnir_ 0705ff843b Course request feature. Allows normal users to 'request' courses they would like created,
and admins can approve or reject pending courses.

Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
  enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
  as well as what modules to enable for above category by default.

This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)

  Please test!
2005-08-16 06:15:49 +00:00
mits 575122f98e block_student_loan_calc renamed to block_loancalc 2005-08-16 06:13:34 +00:00
mjollnir_ 84c57908c8 renaming block_student_loan_calc to block_loancalc 2005-08-16 05:56:55 +00:00
lonecatz f2ef9cb220 new translated files 2005-08-16 05:10:12 +00:00
mits 8dd3aabb4e added 2 new lang files and translated some new strings. 2005-08-16 04:31:54 +00:00
martinlanghoff 68dc9aae15 Merged from MOODLE_15_STABLE - Unset the changepassword flag for the _right_ user, even if we are masquerading an account 2005-08-16 03:20:47 +00:00
mjollnir_ 3e920f36ff New block for student loan calculation. Doesn't contain db tables. 2005-08-16 01:45:42 +00:00
martinlanghoff 06ba0b0452 Merged from MOODLE_15_STABLE - Tell insert record we don't care about inserted id 2005-08-16 00:43:56 +00:00
mjollnir_ 0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
martinlanghoff f209eb9d34 Merged from MOODLE_15_STABLE - Enable reset password functinoality for LDAP and other external auth mechanisms as promised in the auth config page 2005-08-15 23:19:58 +00:00
patrickslee 4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
mjollnir_ 43e664cca7 Added locallib - hook to provide easier means for local customisations. Currently contains mechanism for having local db upgrades without munging the main CFG->dbtype.php scripts. 2005-08-15 22:31:22 +00:00
martignoni 3317472ff2 Tweaks to new strings 2005-08-15 22:12:09 +00:00
martignoni d921c8b07b Added string for 'studentview' 2005-08-15 22:06:34 +00:00
mits 0e4e478c90 translated a help file for exercise. 2005-08-15 17:27:08 +00:00
mits b7ada109d3 translated new strings for moodle.php. 2005-08-15 16:17:48 +00:00
thepurpleblob f85c067f85 Removed some commented out code from studentview additions. 2005-08-15 13:14:36 +00:00
thepurpleblob 15ffee79b5 Added 'studentview' button to course page. 2005-08-15 12:54:46 +00:00
thepurpleblob 367b841305 Added 'studentview' button functionality. 2005-08-15 12:53:57 +00:00
thepurpleblob c56707d80b Added strings for 'studentview' buttons 2005-08-15 12:52:55 +00:00
mindforge c19a2e4ea8 Enabling $options->correct_responses for multianswer questions. I.e. highlighting of correct answers can now be turned off. 2005-08-15 11:49:02 +00:00
mindforge 3db197cad4 Fix for the bug described in the discussions http://moodle.org/mod/forum/discuss.php?d=26526 and http://moodle.org/mod/forum/discuss.php?d=27274 2005-08-15 11:38:13 +00:00
mits 51eff0a3c7 polished. 2005-08-15 02:57:06 +00:00
danmarsden 3ddb684e57 Fixes for Bug #3876, Bug #3816 2005-08-14 21:59:09 +00:00
mits 5fb64ae283 translated two help files for lesson. 2005-08-14 17:12:38 +00:00
mits c64ed06021 polished, translated a help file for exercise. 2005-08-14 17:01:17 +00:00
vthung 3f7f065763 Appended some new strings 2005-08-14 15:15:13 +00:00
barias 7af0e4431e Minor updates in spanish translation 2005-08-14 15:12:05 +00:00
mits dc6fef9eda polished.
translated a new string for resource.
2005-08-14 14:14:29 +00:00
martignoni cf3bfc51bd New string 'showcourseblocks' 2005-08-14 09:08:47 +00:00
moodler e2cc29f41c Minor change to displaying resources with course blocks (SE) 2005-08-14 06:06:29 +00:00
moodler 1de4531afd New string for displaying course blocks with certain resources. (SE) 2005-08-14 06:00:28 +00:00
moodler a7b6e9e14d Can now display course blocks when composing a text or web page. (SE). 2005-08-14 05:57:12 +00:00
moodler 0440482f1d Two methods added to allow resources to be displayed with the course
blocks. Uses the outstanding Page class code by Jon P. (SE)
2005-08-14 05:34:56 +00:00
moodler bf9fd1b20a Merged fix from stable 2005-08-14 02:27:18 +00:00
mits 1d227cd4d6 polished. 2005-08-13 14:12:22 +00:00
mits 4edabd57b3 polished, translated a help file for exercise. 2005-08-13 13:50:25 +00:00
mits 6fed4f3369 polished, translated a help file for exercise. 2005-08-13 12:44:43 +00:00
barias 7e701287b6 *** empty log message *** 2005-08-13 10:36:15 +00:00
barias c33f99e76d Minor updates in spanish translation 2005-08-13 10:34:26 +00:00
mits ea1ca7d6dd translated some strings and a help for excercise. 2005-08-13 06:16:30 +00:00
martignoni d3562a1960 New file added 2005-08-12 10:11:04 +00:00
martignoni d469703300 Background colour should read Transparent Colour. Bug #3890 2005-08-12 09:19:29 +00:00
martignoni d6a1c1affb Added new report strings 2005-08-12 09:16:57 +00:00
koenr f749a120d0 new utf-8 language pack from wim 2005-08-12 08:21:01 +00:00
mits af6420dacf polished.
translated two help files for exercise.
2005-08-12 02:41:09 +00:00
martinlanghoff 1ec75a2446 Merged from MOODLE_15_STABLE - Temp table now matches idnumber length with username - thanks to Yves Roy for pointing this out. 2005-08-12 02:31:34 +00:00
martinlanghoff 0cce156053 Merged from MOODLE_15_STABLE - Fix calls to enrol_student() and add_teacher() where nulls were being passed erroneously - credits to jeff graham 2005-08-12 01:51:14 +00:00
patrickslee 7c56e42da0 Fixed a serious bug in table_column() that modified column not having NOT NULL for postgres (merged from 15_STABLE) 2005-08-11 23:52:11 +00:00
martinlanghoff 2a37498d85 Merged from MOODLE_15_STABLE - Fix for small syntax error that was hiding debug info from an error msg. #3527 - Credits to cangussu@gmail.com 2005-08-11 23:02:40 +00:00
martinlanghoff b957a44bb6 Merged from MOODLE_15_STABLE - Fix for using dn as idnumber - thanks to Jeff Graham - http://moodle.org/mod/forum/discuss.php?d=28840 2005-08-11 22:48:33 +00:00
mits 831e0b0255 translated new strings for scorm.
translated some strings and a new help file for exercise.
2005-08-11 17:27:17 +00:00
dhawes 706dae5e6e phpdoc additions and spacing cleanup 2005-08-11 15:27:47 +00:00
dhawes fd9576fb1b spacing tidy up 2005-08-11 12:45:38 +00:00
martignoni a4221c1d20 Some more tweaks 2005-08-11 12:16:16 +00:00
martignoni 1bca60db90 Typo corrected 2005-08-11 12:14:55 +00:00
bobopinna 6609424621 General revision of lib:
- removed some functions not more used
- modified some others
- initial PHPDoc comments add
2005-08-11 06:54:37 +00:00
bobopinna 505285110c Fixed a problem with browse mode display 2005-08-11 06:50:34 +00:00
bobopinna 32b8dbe826 Changed styles from div to table 2005-08-11 06:48:41 +00:00
bobopinna ad3614b2b1 Updated detail's report from the Stephan code (many thanks!!!! :-D) 2005-08-11 06:47:09 +00:00
bobopinna 4b46d4df9b Removed double char conversion and added PHPDoc comments 2005-08-11 06:44:45 +00:00
bobopinna 223a10ad58 Removed db store of element session_time, not required from ADL 2005-08-11 06:42:27 +00:00
bobopinna 85ca7ac13e Added new report strings 2005-08-11 06:27:40 +00:00
mits 5549f66128 translated a help file for exercise. 2005-08-11 05:09:37 +00:00
mjollnir_ 5afa0de677 Merged from MOODLE_15_STABLE: When fetching child courses for a metacourse, order by shortname (unless just counting) 2005-08-11 04:24:57 +00:00
mjollnir_ a675ec9b40 Merged from MOODLE_15_STABLE: Changing the js timer in quiz to call the form by name rather than index. People who have forms in the headers (ie logout buttons) run into problems otherwise 2005-08-11 03:38:31 +00:00
martignoni 23c75f5990 Tweaking the admin interface strings 2005-08-10 21:52:37 +00:00
urs_hunkler 120d239f57 added ".mod-quiz " to three properties because the quiz style was in conflict with other Moodle pages. 2005-08-10 20:43:20 +00:00
mits fabb362aea polished. 2005-08-10 20:17:20 +00:00
dovix 9b8f60be6a sync he_utf8 with he 2005-08-10 20:10:57 +00:00
dovix 836d13a8e5 fix some strings 2005-08-10 20:10:24 +00:00
mits af6dc3f673 translated some strings, a help file for exercise.
translated new string for admin.php.
2005-08-10 16:33:27 +00:00
mits c4b7f1b35f polished - based on standard theme. 2005-08-10 14:20:22 +00:00
thepurpleblob 82a76d38b5 Some more tweaks to LaTeX filter - see bug #3829. 2005-08-10 12:58:38 +00:00
thepurpleblob 48aefd78ed Background colour should read Transparent Colour. Bug #3890 2005-08-10 12:51:29 +00:00
thepurpleblob bd0c390ed7 Added preamble for LaTeX AMS notation to default. See bug #3829 2005-08-10 12:45:38 +00:00
thepurpleblob 56a6ee0f75 Newlines in question text now supported by inserting \n. Works with
export and import.
2005-08-10 10:58:21 +00:00
thepurpleblob 468aedfe47 Fixed bug introduced by _variable to _param change - default export
file name was not being generated due to isset rather than empty check.
2005-08-10 09:56:03 +00:00
patrickslee dbbbb588a3 Fixed a bug in postgres block upgrade script messing up with block ids (Merged from 15_STABLE) 2005-08-10 05:31:46 +00:00
mits 803b6ea4e3 polished. 2005-08-10 05:01:55 +00:00
moodler cac429bca4 Merging fix for bug 3848 from stable 2005-08-09 15:16:23 +00:00
moodler 19374e76a5 Added currency retrieval from database bug 3838 2005-08-09 15:09:29 +00:00
thepurpleblob 440dcd3123 require_variable() changed to required_param(). 2005-08-09 12:07:09 +00:00
urs_hunkler 298657f908 removed the hard coded values for .errorbox and .errorboxcontent and added the properties to the standard theme. see bug 3522 2005-08-09 09:26:56 +00:00
urs_hunkler 145d63422b removed the hard coded color for .errorbox and .errorboxcontent. see bug 3522 2005-08-09 09:25:20 +00:00
dovix 817d4db463 sync he_utf8 with he 2005-08-08 21:50:25 +00:00
dovix 2a9e0f81b4 fix Hebrew string translations + bug 3549 2005-08-08 21:47:52 +00:00
dlnsk d319a097b9 Small changes 2005-08-08 18:13:38 +00:00
dlnsk cb74c49f07 Some strings moved to admin.php 2005-08-08 18:12:23 +00:00
dlnsk b2cf24ec22 Some strings moved from moodle.php 2005-08-08 18:04:56 +00:00
papita 41d071931d upgrading files (paula) 2005-08-08 18:02:44 +00:00
mits 5c5f5f9b08 polished. 2005-08-08 17:05:27 +00:00
mits 868c863b2e translated a help file for workshop. 2005-08-08 04:00:19 +00:00
vthung 9a6a1a572e Appended some new strings 2005-08-07 10:01:44 +00:00
martignoni 6465ae7b45 Added strings for mediaplug filter settings screen. 2005-08-06 21:17:39 +00:00
mits 6d0ca736ca translated a help file for workshop. 2005-08-06 16:50:39 +00:00
ethem 91df0a9c75 New strings from Ethem Evlice (ethem AT evlice DOT com) <XHTML /> compliant... 2005-08-06 15:54:48 +00:00
mits d7cdee49ee polished. 2005-08-06 06:44:55 +00:00
mits 327e100aee polished. 2005-08-06 00:07:56 +00:00
mits 0ef26d10ee translated new strings for admin.php. 2005-08-05 15:29:09 +00:00
ethem b94448d497 Nice coding. 2005-08-05 15:05:05 +00:00
djachenko 78e7f92b51 ? ? ?, ? ? ? 1.5.
? ?, ? ? ? ?
2005-08-05 13:41:22 +00:00
thepurpleblob 3f2a955d19 Try again - adding new files for new settings screen. 2005-08-05 10:38:43 +00:00
thepurpleblob c96bdc0242 Added settings screen for mediaplugin filter. 2005-08-05 10:37:46 +00:00
thepurpleblob 16a548271e Added strings for mediaplug filter settings screen. 2005-08-05 10:35:15 +00:00
michaelpenne ee50df92a2 Fixed Bug #3652 - Gradebook catagory detail group view not working. 2005-08-04 22:07:39 +00:00
dhawes bd38247223 new (Mac OS X) disk image file type 2005-08-04 18:47:53 +00:00
dhawes 609d84e378 new .dmg format (icon to follow) and .tgz tar gzip alias 2005-08-04 18:31:59 +00:00
mits 0a7b71f94b translated a help file for workshop. 2005-08-04 16:51:32 +00:00
djachenko 1dc59bfcca "" 2005-08-04 07:16:07 +00:00
mits ae00ecfdef polished - based on standard theme. 2005-08-03 22:54:21 +00:00
stronk7 98b8eba688 Now forum-start tracking,
forum-mark read and
    forum-prune post
log actions are restored properly.
Part of bug 3582.
(http://moodle.org/bugs/bug.php?op=show&bugid=3852)

Merged from MOODLE_15_STABLE
2005-08-03 19:50:49 +00:00
stronk7 f718493562 Now course-guest, user-login and user-logout
log actions are restored properly.
Plus some problem with double &amp; entities solved.
Part of bug 3582.
(http://moodle.org/bugs/bug.php?op=show&bugid=3852)

Merged from MOODLE_15_STABLE
2005-08-03 19:04:05 +00:00
stronk7 fcd01e4571 Now chat-talk log actions are restored properly.
Part of bug 3582.
(http://moodle.org/bugs/bug.php?op=show&bugid=3852)

Merged from MOODLE_15_STABLE
2005-08-03 18:28:56 +00:00
urs_hunkler 82633a2915 I added the CLASS properties for the replaced center and font tags in the sideblock "block_online_users" to keep the text left alined. 2005-08-03 11:28:39 +00:00
urs_hunkler c448ea0671 I added the CLASS properties for the replaced center and font tags in the sideblock "block_online_users" to keep centering the text and the font size. 2005-08-03 11:10:30 +00:00
urs_hunkler 340c48485e I replaced the center and font tags in this sideblock with <div class="message">. 2005-08-03 11:07:13 +00:00
ethem 1f492294af some cleanup. 2005-08-03 10:11:16 +00:00
mits 9c559440b8 polished. 2005-08-03 01:34:07 +00:00
patrickslee 66590bd8a7 Removed/added/moved some redundant/missing/misplaced page headers/footers, merged from 15_STABLE 2005-08-03 01:24:29 +00:00
mjollnir_ 67bbc9b7de Merged from MOODLE_15_STABLE: Postgres doesn't happily convert NULL to 0 for int fields, so we set it manually. Credit: Patrick Li 2005-08-02 22:48:20 +00:00
mjollnir_ 168d73d0bd Merged from MOODLE_15_STABLE: Adding a length limit to input field in line with db field size 2005-08-02 22:40:19 +00:00
mits 9e37f99896 polished. 2005-08-02 16:00:23 +00:00
ethem 5e53ffba34 " " fix 2005-08-02 08:27:14 +00:00
ethem e2946fc1bb "," & " " fix 2005-08-02 08:23:52 +00:00
ethem c0733012cf PostgreSQL support for enrol::authorize. 2005-08-02 07:45:45 +00:00
patrickslee c87139dba8 Fixed postgres structure problem as in http://moodle.org/mod/forum/discuss.php?d=28077 2005-08-02 04:14:28 +00:00
mits 3a8f2709d8 translated a docs file. 2005-08-01 18:07:33 +00:00
moodler 5294b1d3bf Merged bug 3662 from stable 2005-08-01 16:52:05 +00:00
ethem 02457e58f4 nice icons in function get_access_icons() 2005-08-01 14:34:30 +00:00
bobopinna f15d228034 Added uft-8 to html entities encoding for non ASCII characters 2005-08-01 14:08:47 +00:00
dhawes d396889452 should be fix for bug 3478 2005-08-01 14:02:46 +00:00
bobopinna 6bcfd67887 fixed a parameter problem 2005-08-01 09:26:34 +00:00
bobopinna e1992096ae Added string_format to the title print 2005-08-01 09:25:45 +00:00
moodler 24d8f4fb7e So that we have the password handy later 2005-08-01 08:49:33 +00:00
mits 58ebc9a361 translated some strings for lesson. 2005-08-01 05:40:51 +00:00
dhawes d721fbd036 attempt to preserve on the merry go round of forms and link in rss feed creation 2005-07-31 20:04:19 +00:00
vthung e792d664dd Added grademethod.html 2005-07-31 18:11:51 +00:00
vthung 483a4757eb Added autocontinue.html 2005-07-31 18:11:02 +00:00
vthung 9203ad0d53 Added width.html 2005-07-31 18:06:02 +00:00
vthung 8210ac97d9 Added retake.html 2005-07-31 18:05:08 +00:00
vthung 4ec7fca54d Added maxattempts.html 2005-07-31 18:04:15 +00:00
vthung 29812b5820 Added jumpto.html 2005-07-31 18:03:07 +00:00
vthung 7b65a561e7 Added height.html 2005-07-31 18:01:58 +00:00
vthung eab57e7e54 Added custom.html 2005-07-31 18:00:51 +00:00
vthung 7d645ef912 Added bgcolor.html 2005-07-31 17:59:27 +00:00
vthung bc4a1bf098 Appended some new strings 2005-07-31 13:50:57 +00:00
vthung 1304413f5e Appended some new strings 2005-07-31 13:43:41 +00:00
mits 2cdc6600a4 polished. 2005-07-30 21:42:59 +00:00
martignoni c6293f9008 Added new strings for LaTeX setup screen 2005-07-30 21:18:59 +00:00
mits adb2cfbe5c re-translated revised markdown.html. 2005-07-30 19:27:03 +00:00
moodler ff8f90c759 Merged from stable 2005-07-30 15:54:32 +00:00
mits 476991829c polished. 2005-07-30 02:29:02 +00:00
martignoni 61e890fa1d Contents for the welcome.html template. 2005-07-29 20:57:29 +00:00
mits 7aafa68823 translated a help file for workshop. 2005-07-29 18:46:22 +00:00
stronk7 98ef0a1a94 Strings changed and some welcome page rework. It follows
Ray's suggestions.
2005-07-29 15:53:37 +00:00
stronk7 935516a267 Added a white-backgroung variation of the logo. 2005-07-29 15:47:46 +00:00
minkowski 3b10c9002b Thai for 1.6 dev 2005-07-29 14:56:06 +00:00
scop22 a96a53e272 Converted from ko_utf8 pack to keep euc-kr pack up-to-date 2005-07-29 14:38:07 +00:00
scop22 ce66b66382 Latest update of new strings and fixes for ko_utf8, only timezones.php left to finish 2005-07-29 14:26:04 +00:00
mikewaters 94d78cc663 Modified Files:
repository.html  - added help buttons and changed hive buttons
     resource.class.php  - hive/makelink.php added version and format options
     hive/openhive.php  - obsolete
 Added Files:
     hive/hp-footer-hive-powered.gif - hive logo
     hive/openlitebrowse.php  - new openhive option
     hive/openlitesearch.php  - new openhive option
2005-07-29 08:08:42 +00:00
mikewaters 5b561c2801 Modified Files:
hive/expired.php hive/lib.php tidy up login process
 Added Files:
 	hive/login.php  handle login request
2005-07-29 08:06:01 +00:00
koenr cc1a7a02e0 new utf-8 language pack from Ralf Krause 2005-07-29 00:12:38 +00:00
martignoni a9ac8600f3 Forgotten string 2005-07-28 20:45:21 +00:00
koenr 9516591bd1 new sl_utf8 language pack from Tomaz 2005-07-28 20:45:06 +00:00
mits c8cb19b9b2 translated a help file for workshop. 2005-07-28 15:56:12 +00:00
mits 3ae0f60b98 translated some new strings for admin.php. 2005-07-28 12:30:40 +00:00
lonecatz 8c869a3304 makes ie charset auto detection work 2005-07-28 12:11:53 +00:00
lonecatz 34ea74a980 change to unix format 2005-07-28 12:05:14 +00:00
andreabix c793c3ff04 Fixed hidden course section not changing. Now hidden sections are evidenced by a dashed line all around hidden sections. 2005-07-28 11:57:31 +00:00
thepurpleblob dd153b32fe Moved filter paths to filter settings (admin) page. 2005-07-28 09:35:05 +00:00
thepurpleblob 031b989a21 Added new strings for LaTeX setup screen 2005-07-28 07:44:56 +00:00
martignoni d9d7dbd37f Added new strings for filter settings screens. 2005-07-27 21:26:55 +00:00
urs_hunkler 0a5d69b288 merged from 1.5:
Enlarged the font-size of the calender popup and added the styles to gray out hidden sections on the course page.
My font tag hack to avoid that old font tags overwrite the styles killed all font formating in the resources written with HTML Editor. The Editor formats font sizes with font tags. It also makes pages failing the XHTML tests. Is really no other Editor out?
2005-07-27 19:45:19 +00:00
stronk7 29fcbd6e44 Installation strings (welcome) added to "es". 2005-07-27 17:52:45 +00:00
stronk7 6c083f8d93 Deleting one unused string 2005-07-27 17:36:09 +00:00
gustav_delius 36fb738b2a fix for bug 3822 provided by razzor 2005-07-27 17:22:21 +00:00
mits 69e58b3560 translated a help file for workshop. 2005-07-27 06:06:26 +00:00
stronk7 d4ff0a9de8 Show version between brackets. Cosmetical. 2005-07-26 18:25:58 +00:00
stronk7 0a2367ea9d Initial contents for the welcome.html template. 2005-07-26 18:23:59 +00:00
stronk7 88f418c8f0 Welcome template to be used by the install.php script to
show the desired info based from lang strings.

Initially used by the m4w installer can be used by the
standard one (or other 3rd part installers)
2005-07-26 18:21:52 +00:00
mits 544e19aa80 translated some new strings for admin.php. 2005-07-26 16:55:37 +00:00
urs_hunkler 661de973d5 merged from 1.5 2005-07-26 15:50:37 +00:00
ethem fe184e1819 Konuk erisimi 2005-07-26 15:44:01 +00:00
ethem d0c73b0064 Kayit anahtari 2005-07-26 15:41:00 +00:00
ethem 5bcf49947c Kayit suresi 2005-07-26 15:36:15 +00:00
ethem 745bc03ae8 Y?z ifadeleri :) 2005-07-26 15:28:57 +00:00
thepurpleblob 0ba2a83a3c Improved breadcrumb trail and removed a bunch of unused string lookups. 2005-07-26 13:28:54 +00:00
thepurpleblob 9ab25ad18f Added proper looked-up strings. 2005-07-26 13:18:32 +00:00
thepurpleblob 2ff09e973a Added new strings for filter settings screens. 2005-07-26 13:16:39 +00:00
thepurpleblob ee780c2d80 Added configuration screen for bad words list. 2005-07-26 13:06:44 +00:00
thepurpleblob bf9760c4a8 Provide setup screen for the censor bad words list. Note that for decencies
sake, I have decided to start with a blank word list rather than use the
provided one which may shock the unwary!
2005-07-26 13:05:13 +00:00
thepurpleblob f649fc24a6 TeX cache cleared when page displayed, to ensure changes actually apply. 2005-07-26 12:32:49 +00:00
bobopinna eda807b70f Fixed a problem with AICC tracking 2005-07-26 11:01:27 +00:00
thepurpleblob 8ac1d7f620 Filters admin screen can now have custom settings for filters. 2005-07-26 11:00:28 +00:00
bobopinna 3a9867d3d1 Fixed a bug in masteryscore reach evaluation 2005-07-26 10:59:44 +00:00
thepurpleblob a66d2974e6 Added facility to modify settings from admin page. Just a start... will
add more settings for tex.
2005-07-26 10:58:39 +00:00
mudrd8mz 0ef7915dc4 By Daniel Miksik 2005-07-26 08:35:45 +00:00
mits 7e014a41e0 polished. 2005-07-26 05:51:07 +00:00
dovix d5f91add54 sync with non-unicode translation 2005-07-25 18:41:58 +00:00
dovix cd9bcefec3 translate more strings 2005-07-25 18:40:38 +00:00
ethem 93ce475ba9 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant. 2005-07-25 16:42:46 +00:00
mits fcc27e1cff translated a help file for workshop. 2005-07-25 16:39:26 +00:00
ethem 103e56a501 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-07-25 16:14:51 +00:00
ethem 0c9a00c92b Added prerequisites support. 2005-07-25 16:03:32 +00:00
mits 35859d62eb polished. 2005-07-25 15:29:01 +00:00
ethem f0a4d2774b new files. 2005-07-25 15:26:02 +00:00
ethem 87e1cd3d2a process_config changes. 2005-07-25 15:03:38 +00:00
gustav_delius 49347eacc5 Fix for question numbering provided by razzor, bug 3807 2005-07-25 14:19:21 +00:00
ethem 3b405a5f3d authorize module requires get_list_of_currencies() function in moodlelib.
This function added in version 2005072200.
2005-07-25 13:17:25 +00:00
moodler 6b3318d798 Copied files from main lang directories in preparation for split 2005-07-25 11:29:23 +00:00
moodler 0274d27737 Merged changes to support install/lang 2005-07-25 11:26:03 +00:00
stronk7 4ac888b1b2 Escaping some double quotes I added recently... :-( 2005-07-25 09:17:25 +00:00
moodler 56e8032e99 Merged fix from stable when checking course->guest on site 2005-07-25 09:05:12 +00:00
thepurpleblob 8e4d40ddb9 Added version of mimetex compiled for FreeBSD. 2005-07-25 08:11:13 +00:00
mits 9c15b06865 translated a help file for workshop. 2005-07-25 07:58:06 +00:00
stronk7 bcf306f6d8 Now message forum RSS Feeds are using the category. Useful under
some RSS agregators able to group messages.
Credits go to Dmitry Pupinin.
Bug 3654
(http://moodle.org/bugs/bug.php?op=show&bugid=3654)

Merged from MOODLE_15_STABLE
2005-07-24 23:08:53 +00:00
stronk7 6d6002a07f Added support to RSS 2.0 categories.
Credits go to Dmitry Pupinin.
Bug 3654
(http://moodle.org/bugs/bug.php?op=show&bugid=3654)

Merged from MOODLE_15_STABLE
2005-07-24 23:04:58 +00:00
mits 1b025164e2 translated a help file for workshop. 2005-07-24 15:14:51 +00:00
koenr 6669c1fb09 thislanguage should be NCR notation 2005-07-24 12:56:29 +00:00
stronk7 ad6bf17871 Added the $Id$ tag
Merged from MOODLE_15_STABLE
2005-07-24 10:29:23 +00:00
stronk7 9857b53c27 Added the $Id$ tag.
Merged from MOODLE_15_STABLE
2005-07-24 10:03:30 +00:00
dovix 517f622552 sync updates with non unicode 2005-07-23 20:28:53 +00:00
mits 558fa28e84 translated 2 help files for quiz module. 2005-07-23 17:08:24 +00:00
vthung bc2ea3b6ea Added message.php 2005-07-23 16:40:08 +00:00
dovix adb6630405 updates mainly to quiz module 2005-07-23 16:30:30 +00:00
vthung 2f268379ab Appended some new strings 2005-07-23 15:56:11 +00:00
vthung ec439a1547 Added quiz_responses.php 2005-07-23 15:50:34 +00:00
mits c05404986b translated new currencies.php and help file assignmenttype.html. 2005-07-23 12:07:23 +00:00
ikawhero 0acfda862b Merged from stable.
Don't run the cleanup code if we are upgrading from a version that does
not already have an assignment type field. Bug 3801.
2005-07-23 10:53:25 +00:00
koenr 58422ddf4d As long as Moodle is not entirely UTF8 for all languages, thislanguage should remain NCR-notation. 2005-07-23 10:35:57 +00:00
koenr 3c7bb85a37 Modifications from Dovix 2005-07-23 10:30:19 +00:00
gustav_delius 59c9337e00 Merged from STABLE (only changed whitespace) 2005-07-23 09:34:39 +00:00
gustav_delius 6afbc42c4e Merged from STABLE 2005-07-23 09:31:07 +00:00
gustav_delius 376b8cd217 The fixes for the item analysis plug-in that were assembled by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27553 2005-07-23 09:12:42 +00:00
dovix 43daea7d3e fix some Hebrew strings 2005-07-23 09:01:36 +00:00
defacer 30d5bd7979 Merging from STABLE:
Fix for bug 3793:

Prevent warning message when configuring a glossary_random block in a
course which has no glossaries.
2005-07-23 00:53:55 +00:00
michaelpenne 0bdb7db93f Fixed a path problem that occurs while unzipping 2005-07-22 21:09:37 +00:00
gustav_delius c24aca42c5 Resetting the timout counter to avoid the timeouts reported at http://moodle.org/mod/forum/discuss.php?d=24790#129431 2005-07-22 20:42:16 +00:00
martignoni 388f45fb51 New plug-in 2005-07-22 20:27:50 +00:00
martignoni 6da74ee839 New report plug-in 2005-07-22 20:24:57 +00:00
martignoni afa0cb30c1 Added 'cachecontrols' string 2005-07-22 20:23:04 +00:00
ethem cb263abd73 Uses currencies.php for currency list. 2005-07-22 19:40:11 +00:00
barias e2bc5b1376 Minor updates in spanish translation 2005-07-22 19:18:43 +00:00
moodler 3d2c41f4d3 Add currency to cost 2005-07-22 18:52:58 +00:00
moodler cd9f55bec4 Added currency for new installations 2005-07-22 18:46:55 +00:00
moodler 7ad9dd54e6 Added get_list_of_currencies() 2005-07-22 17:30:05 +00:00
moodler 66473eab0e Fixed database upgrade but PHP code still needs work for this module 2005-07-22 17:25:38 +00:00
moodler f2e34253c3 Removing and re-adding currency support in courses 2005-07-22 17:19:52 +00:00
moodler f45d33ee84 Adding standard three-letter list of currency codes 2005-07-22 17:02:37 +00:00
mits a617f2ffc1 translated some new strings and added quiz_responses.php. 2005-07-22 15:28:09 +00:00
bawjaws 0f363686d9 adding a way to test the user image border removal code. Needs some speed
testing to see whether this is feasible to do during upgrade for larger
sites. Just a stand alone page (like userpix) which requires admin rights.
2005-07-22 14:12:32 +00:00
bawjaws 113a79e2b3 rolling back some functionality changes I made to user image routine, but
keeping the clean up of code that makes it clearer what's happening.
2005-07-22 14:10:07 +00:00
bawjaws 8b5e8ea943 rolling back my filename changing code to follow Martin's suggestion for
a more elegant solution to the black border. Towards that end added a
routine to zoom in on image, cropping the border (if resampling available)
 or interpolate from neighbouring pixels otherwise.
2005-07-22 14:08:05 +00:00
thepurpleblob 5b540fa98f Use 'factored out' configuration settings. 2005-07-22 13:59:19 +00:00
thepurpleblob 1d88a9644e Initialise all (new) config settings for this filter in one place. 2005-07-22 13:57:22 +00:00
thepurpleblob 5b127e24a1 New look to match blocks and modules administration.
No new functionality, but will allow provision of individual setup pages
which is coming soon.
2005-07-22 13:05:01 +00:00
thepurpleblob 94fe0f2bd5 Added 'cachecontrols' string 2005-07-22 13:00:47 +00:00
mits cc7d66b677 Changed login box, content background from #EEEEEEE to #FFFFFFF. 2005-07-22 12:31:25 +00:00
gustav_delius 80ed3fe6b0 New report plug-in contributed by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27730 2005-07-22 11:41:12 +00:00
gustav_delius 970d0fe02c Improvements contributed by Jean-Michel Vedrine, see http://moodle.org/mod/forum/post.php?reply=130818.
- you can change # of attempts per page displayed on screen
- you can download results to Excel/text file, including detailed grades if you check this option.
2005-07-22 09:43:23 +00:00
thepurpleblob 25d7779cf2 Added additional features/fixes noted in bug #3795 by Dmitry Pupinin. 2005-07-22 09:01:34 +00:00
martignoni 3e20cb563c 'showversions' added 2005-07-22 08:03:09 +00:00
mits 10ac9edb1a translated one new string for wiki.php. 2005-07-22 06:37:17 +00:00
stronk7 cc76bed843 Added one previously hardcoded string to wiki. 2005-07-21 23:41:45 +00:00
stronk7 0d1b48960a Now paging of older versions is showed and working properly. It was
really buggy! One string added to wiki lang file too. Bug 3750.
(http://moodle.org/bugs/bug.php?op=show&bugid=3750)

Merged from MOODLE_15_STABLE
2005-07-21 23:40:27 +00:00
stronk7 49d005eefa Try to maintain user preferences synchronised between DB and $USER.
Merged from MOODLE_15_STABLE
2005-07-21 18:48:26 +00:00
mits 861480ccab polished and translated a help file for workshop. 2005-07-21 17:05:03 +00:00
mits 8968d7791b Updated some, based on standard theme. 2005-07-21 17:02:52 +00:00
moodler 00684b54cc Merged tidy from stable 2005-07-21 16:44:44 +00:00
thepurpleblob 860ddcb405 Changes for revised filters administration page.
Added class 'flexible' which styles tables generated by the 'flexible tables'
class nicely.
2005-07-21 14:56:40 +00:00
moodler 3b4ff6edb6 Run the online assignment cleanup code automatically on an upgrade. (SE) 2005-07-21 10:46:37 +00:00
moodler 8bd9d5fe2e Fixes database errors from faulty Journal to Online Assignment upgrade code
from 1.4 to 1.5.1
Script can be run at any time.
(SE)
2005-07-21 10:28:30 +00:00
thepurpleblob 00b3edfdfb merged from STABLE 2005-07-21 09:26:34 +00:00
thepurpleblob 6ef8d79a3e Various small changes suggested by Dmitry Pupinin.
1. Changed formula's size
2. Formula displayed correctly in pop-up window
3. Preambula became configurable
4. Formula became transparent
2005-07-21 07:52:13 +00:00
mits f54b1dbd96 Updated some, based on standard theme. 2005-07-20 21:51:52 +00:00
martignoni 3d5893ecbb Added prerequisites support 2005-07-20 21:37:30 +00:00
scop22 14b159c094 Updating Korean language pack EUC-KR version to same level as UTF-8 pack. Some files added, others modified. 2005-07-20 18:06:43 +00:00
defacer 98f8f9c218 Adding some fields to mdl_event to facilitate iCalendar import/export.
This is a work in (sloooow) progress.
2005-07-20 17:58:33 +00:00
defacer 2ecdff7894 Merging from STABLE:
All this time, table_column() didn't handle CHAR fields correctly! :o
2005-07-20 17:47:05 +00:00
scop22 3ff488460e Adding two new files to the Korean language pack (utf8 version)
PS The log message for the previous commit should have read "Updating files for the Korean language pack (utf8 version)"
2005-07-20 17:29:29 +00:00
defacer e15e02bf98 Merging from STABLE:
Fix for bug 3637:

Certain obscure cases of using PHP accelerators (probably has to do with
OS and PHP version as well, but it's not certain) caused an error to be
displayed when importing data from "local pagelib" files with "debug" turned
on. The error was bogus, but error() stopped the page from being displayed.

Thanks to James P. Dugal the from University of Louisiana at Lafayette for
identifying and helping to solve the problem!
2005-07-20 17:23:07 +00:00
scop22 175b553664 test 2005-07-20 17:05:25 +00:00
mits 2a1b6f6fb2 translated new strings for scorm.php. 2005-07-20 15:57:36 +00:00
djachenko ec9fd459d0 "" 2005-07-20 14:44:40 +00:00
thepurpleblob 87ae01dfea Added paths for windows 2005-07-20 13:28:11 +00:00
bobopinna b967259ca5 Update Moodle release request 2005-07-20 08:51:04 +00:00
bobopinna 45d9a18aaf Updated Roadmap 2005-07-20 08:47:39 +00:00
bobopinna d771d90c8a Added prerequisites support 2005-07-20 08:46:27 +00:00
thepurpleblob e3931ca8d0 merged from STABLE 2005-07-20 08:02:56 +00:00
moodler 7f9dd6b43c Merged fix from stable 2005-07-20 06:42:57 +00:00
mits c4700e2b32 translated a help file for workshop. 2005-07-20 06:09:54 +00:00
moodler a625e5eb5c Merged multiline link fix from stable 2005-07-20 01:55:56 +00:00
mits 262fe291b3 polished. 2005-07-20 01:38:17 +00:00
defacer 164e30542d Merging from STABLE:
Slight "correctness" correction.
2005-07-19 23:45:02 +00:00
koenr 33e04d7182 new language pack from Dovix
hebrew utf-8
2005-07-19 19:20:49 +00:00
stronk7 e9bee7d9b2 Snoopy goes 1.2 (es) 2005-07-19 16:04:19 +00:00
stronk7 238e239971 Snoopy goes 1.2 2005-07-19 16:03:23 +00:00
mits e744b71697 polished. 2005-07-19 15:57:47 +00:00
martignoni a2f873fa8e Typo corrected 2005-07-19 14:16:01 +00:00
martignoni 92f55ddd0b httpsrequired string. 2005-07-19 13:08:04 +00:00
thepurpleblob 591533836e merged from STABLE
Fixed bug #3755
2005-07-19 08:01:27 +00:00
mits 0bbb961588 Polished.
Changed "Markdown" from translated Japanese to English.
I found that most of the case we use English to express "Markdown".
2005-07-19 02:31:31 +00:00
mits 4169dcf17e modified README 2005-07-19 00:19:59 +00:00
patrickslee 7a5b1fc555 Fixed when $cm is NULL, postgres still reports error. 2005-07-18 22:21:56 +00:00
mits ea62bb7695 translated a help file for workshop. 2005-07-18 18:59:45 +00:00
mits e785cce1ec polished, translated help files for workshop. 2005-07-18 18:53:09 +00:00
michaelpenne 5817312070 Fixed bug with displaying the gradebook when it is only set to show percent to students
as described here http://moodle.org/mod/forum/discuss.php?d=27521
thanks to Nikki Macfarlane for detailed info
2005-07-18 18:24:42 +00:00
mits 25a055fdf7 translated one string for enrol_authorize.php. 2005-07-18 18:12:23 +00:00
ethem 8b2f3516f2 httpsrequired string. 2005-07-18 17:08:23 +00:00
ethem 76c0b22648 More security, loginhttps must be ON. 2005-07-18 16:42:30 +00:00
martignoni 7b380626cf Remove duplicate word 2005-07-18 15:07:04 +00:00
martignoni 21f9128517 Replaced everywhere 'Discipline' with 'Cat?gorie de cours' (for 'course category') 2005-07-18 15:01:20 +00:00
moodler ebb009376a ipatlas has been moved to /iplookup/ipatlas 2005-07-18 08:08:29 +00:00
moodler 7eca967cd5 Logs now call new iplookup plugin 2005-07-18 08:07:00 +00:00
moodler f4fb66d7d9 Added new structure for iplookups (ie called from logs).
ipatlas is now just a plugin, and we can add other plugins
to the same job better.
2005-07-18 08:06:16 +00:00
moodler 07875f39ee Adding this file again to make things work .... is it used? 2005-07-18 05:34:12 +00:00
ikawhero 948511e890 Using absolute path name. 2005-07-18 05:33:27 +00:00
mits 2fc1ec6647 translated a help file for advanced markdown. 2005-07-17 20:44:05 +00:00
stronk7 363f298a3d Updated to 1.5.2 2005-07-17 19:57:03 +00:00
martignoni 09f6a8d60a Some cleaning 2005-07-17 12:37:53 +00:00
koenr 8649f177a7 new UTF-8 compatible language pack for tl. Thanks Roel. 2005-07-17 11:40:12 +00:00
koenr 4243bc3361 New strings for lt from Aidas
Klaipeda university
2005-07-17 10:30:47 +00:00
moodler 27d8712a07 Disable the Dialogue module if the directory doesn't exist anymore 2005-07-17 03:26:59 +00:00
moodler 117d398984 Removing Dialogue from main tree:
http://moodle.org/mod/forum/discuss.php?d=19017
2005-07-17 02:53:37 +00:00
martignoni ed7bd9567e Some tweaks 2005-07-16 15:19:32 +00:00
ethem 2893f750a6 Call get_course_cost once. 2005-07-16 15:15:41 +00:00
mindforge fac0f9e936 An explanation of the functions defined in questionlib.php 2005-07-16 14:16:59 +00:00
mindforge f1a73ae8b5 Added some $options options. 2005-07-16 14:10:24 +00:00
mits 737f442812 translated new release notes for Moodle 1.5.2. 2005-07-16 11:51:19 +00:00
martignoni 44d35934de Added release notes for 1.5.2 2005-07-16 11:44:48 +00:00
ethem 60ede40d86 Added some indexes for speed. 2005-07-16 11:37:39 +00:00
mindforge 2015f84104 Merged from STABLE. 2005-07-16 11:20:40 +00:00
mindforge 771c98385c Runtime objects documentation complete. 2005-07-16 09:45:11 +00:00
mindforge abdc04a1be Response storage documentation completed. 2005-07-16 09:43:49 +00:00
mits eaba23d31d polished. 2005-07-16 02:17:30 +00:00
barias b3a553047c Minor updates in spanish translation 2005-07-16 00:36:58 +00:00
rcantada f552cf18d8 put diacritical mark on translation of word open to differatiate from
translation of tomorrow
2005-07-16 00:12:51 +00:00
moodler a3f2bc7375 Copied from stable 2005-07-15 18:47:54 +00:00
moodler 8f62e7034d Copied files from stable into head 2005-07-15 18:46:08 +00:00
moodler a86a538fef Merged fixes from STABLE for submodules 2005-07-15 17:32:36 +00:00
moodler e5bd4e5832 Merged proper support for module submodules into HEAD from STABLE 2005-07-15 17:28:45 +00:00
mits dba06cf4ab translated one string for resource.php 2005-07-15 16:00:51 +00:00
ikawhero 2b0b32d8fe Return control to original script after including a custom script. Allows
more flexibility to add code to a page. If the original is to be completely
replaced, the custom script must explicitly exit.
Credit to Eloy.
2005-07-15 15:36:40 +00:00
moodler ee708245c1 Merged field width fixes from stable 2005-07-15 14:11:40 +00:00
bobopinna b5e5bbebdb Updated to Moodle 1.6 Develop 2005-07-15 12:43:29 +00:00
martignoni 01875c7fed Added string for adding links to repositories 2005-07-15 12:40:49 +00:00
bobopinna d8f1b5d578 Update to Moodle 1.6 develop 2005-07-15 12:32:43 +00:00
ralf-bonn ea6e25accb some corrected strings 2005-07-15 12:15:30 +00:00
stronk7 8c882d7ec5 Added .required to show some boxes properly.
Merged from MOODLE_15_STABLE
2005-07-15 11:37:48 +00:00
stronk7 01d6bd424a Updated preventpassindb to work properly.
(sometimes db password wasn't being updated
to 'not cached' properly).

Merged from MOODLE_15_STABLE
2005-07-15 11:19:31 +00:00
martignoni 3e16ae8604 Change wording in 'welcometocoursetext' 2005-07-15 07:57:57 +00:00
moodler a99b1e91ce More Hive stuff for integration 2005-07-15 07:37:36 +00:00
moodler 400080987e Added string for adding links to repositories 2005-07-15 07:25:53 +00:00
moodler 3714735752 Hide repository type by default 2005-07-15 07:22:23 +00:00
bobopinna f1793bda91 Fixed some problems with manifest parsing and fixed a bug in structure display 2005-07-15 07:13:11 +00:00
moodler f0fc458a82 More Hive integration 2005-07-15 06:09:34 +00:00
moodler f27149b73a use POST for Hive now as the bug is fixed 2005-07-15 05:54:00 +00:00
moodler 01af6da601 Added hooks for new SSO capability (Single-Sign-On or Second-Sign-On) 2005-07-15 04:26:18 +00:00
moodler 7d1c35e227 Latest Snoopy version 1.2 2005-07-15 04:25:27 +00:00
moodler af59d44b4f Initial working version of Hive Single-Sign-On (Second-Sign-On)
Hook for these is in authenticate_user in moodlelib.php
2005-07-15 04:24:35 +00:00
mits 7ebd68533c polished. 2005-07-15 02:12:13 +00:00
stronk7 bd251e28dd Bump. Now signup page is 100% HTTPS if required.
Merged from MOODLE_15_STABLE
2005-07-15 00:26:34 +00:00
stronk7 dbe9e34673 Bump. Now login page is 100% HTTPS if required.
Merged from MOODLE_15_STABLE
2005-07-15 00:17:34 +00:00
stronk7 8e370bb625 Bump. Now forgot password page is 100% HTTPS if required.
Merged from MOODLE_15_STABLE
2005-07-15 00:11:50 +00:00
stronk7 c4eeb30137 Added HTTPSPAGEREQUIRED support to some mail functions.
Merged from MOODLE_15_STABLE
2005-07-15 00:04:51 +00:00
ikawhero 463a92dbef Use absolute path name for include. Bug 3660. 2005-07-15 00:00:35 +00:00
stronk7 90b84141a2 Bump. Now login page is 100% HTTPS if required.
Merged from MOODLE_15_STABLE
2005-07-14 22:53:55 +00:00
stronk7 e36f3098f8 Core changes finished. Now javascripts URLs support
HTTPSPAGEREQUIRED properly. Ready to start protecting pages.

Merged from MOODLE_15_STABLE
2005-07-14 22:36:40 +00:00
stronk7 f78b1dadae Some minor changes in print_header() and page_id_and_class()
to dinamically support HTTPSPAGEREQUIRED pages.

Merged from MOODLE_15_STABLE
2005-07-14 22:29:41 +00:00
urs_hunkler 0bf66cb548 corrected Bug #3494 - Some margins are needed in some pages to separate the page content from the breadcrumb. I set margin-top:8px for the content div to set all content a bit down. I corrected the pages which had margin-top set already. 2005-07-14 20:27:30 +00:00
stronk7 9d0dd812ac HTTPSPAGEREQUIRED and CFG->httpswwwroot added to
support 100% SSL pages.

Merged from MOODLE_15_STABLE
2005-07-14 20:11:29 +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
urs_hunkler 67316e5b44 merged from 1.5 2005-07-14 19:49:26 +00:00
stronk7 d7697d0ec0 Add the httpsrequired() function to be 100% SSL in some pages.
Merged from MOODLE_15_STABLE
2005-07-14 19:44:42 +00:00
michaelpenne 8d9d840a50 attempted to make the unzipping process and initial file reading more robust 2005-07-14 19:06:29 +00:00
martignoni 748a1f11a8 One string addded. 2005-07-14 18:16:58 +00:00
martignoni 0de4fc0c73 Information about loginhttps. 2005-07-14 18:15:17 +00:00
urs_hunkler 3bfa5397d4 merged 2005-07-14 18:10:21 +00:00
mindforge 535f470186 Missed a $quiz... 2005-07-14 16:37:12 +00:00
urs_hunkler be59cfc13d merged from 1.5 2005-07-14 16:36:08 +00:00
mindforge 80f8d28a83 Merged from 1.5 2005-07-14 16:35:08 +00:00
urs_hunkler 14cab97976 file left_active.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 987c12c537 file left2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 3475772ebc file right_hover.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 317e29df65 file tabsbg2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 3dd0d4f021 file right_hover2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 0c68b23eb1 file right.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 935d5c2d82 file right_inactive.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler a6bc7a01c8 file left_hover2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler def14d92ea file left_active2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 51f670f4da file left_inactive.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler a14f670636 file tabsbg_x2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler cf707f1bd1 file right_inactive2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 08d8f22109 file left_inactive2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 0d824ee6fd file right_active2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler c94ba1de7b file right_end2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 465e248529 file right2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 1312d73692 file right_active.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 0af1304cbd file left.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 7f159b79aa file left_hover.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 86db463d5d file tabsbg.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 5445b23355 file right_end.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 643e761594 file switch_minus.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 5235ea3542 file switch_plus.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler db458c82ba file rightarrow2.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 2423ff953d file gray.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 2e6f214d83 file css.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler fb90372c88 file xhtml_1_0.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler 3b3b16cd61 file colorstrip.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler d8abb22c6c file section_508.gif was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:25 +00:00
urs_hunkler b32c797c5e file styles_pda.css was initially added on branch MOODLE_15_STABLE. 2005-07-14 16:26:24 +00:00
mits 02ad9f95f4 translated one string for auth.php 2005-07-14 16:24:17 +00:00
ethem 10da752643 International payment. All currencies are added... 2005-07-14 16:17:28 +00:00
moodler 145ec44bf7 FIx for bug 3181 - empty files are no longer created - make your own! :-) 2005-07-14 16:00:23 +00:00
stronk7 bd8a4f07f0 One help string corrected.
Merged from MOODLE_15_STABLE
2005-07-14 15:44:34 +00:00
stronk7 607635dbbc One string addded. 2005-07-14 15:42:17 +00:00
moodler 18259d4fd3 Adding the capability to replace existing scripts with customised versions.
See config-dist.php for more info.

Will add an admin interface for this later.

Shane.
2005-07-14 15:35:23 +00:00
stronk7 f5686a5839 Interface for SC#106
Merged from MOODLE_15_STABLE
2005-07-14 15:25:43 +00:00
stronk7 244b4e8f7c SC#106
Merged from MOODLE_15_STABLE
2005-07-14 15:18:51 +00:00
mits 79959c8ddf polished. 2005-07-14 14:09:38 +00:00
mits b1487a99bb translated one string for enrol_ahtorize.php. 2005-07-14 12:32:33 +00:00
mindforge 98dfb4372c Merged from MOODLE_15_STABLE. 2005-07-14 12:02:33 +00:00
martignoni f695d83eed Added 'choosemethod' string 2005-07-14 09:45:27 +00:00
gustav_delius 286a5c6e36 Fixed a table comment 2005-07-14 09:42:10 +00:00
gustav_delius 937b63b09a Merged from STABLE. 2005-07-14 09:29:35 +00:00
ethem 4d2d076fbc New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant. 2005-07-14 08:30:52 +00:00
ethem b81b5533c6 Information about loginhttps. 2005-07-14 08:22:35 +00:00
mits 26c28778d7 polished. 2005-07-14 07:34:57 +00:00
koenr 08855dee08 typo 2005-07-14 07:22:27 +00:00
gustav_delius 6869085a5e Forgot to convert a $quiz to $cmoptions. Fixes bug 3749 2005-07-14 07:00:35 +00:00
moodler 33674080d6 Merged altavista from stable 2005-07-14 04:18:59 +00:00
mits 8ebeafe582 translated a help file for workshop. 2005-07-14 02:38:11 +00:00
mits 997a29e87c translated a string for enrol_authorize. 2005-07-14 01:50:23 +00:00
koenr fe19d27ecd Various technical fixes - should be ok now 2005-07-13 21:04:33 +00:00
julmis 005daa0987 Merging ctrl + v fix from MOODLE_15_STABLE 2005-07-13 20:55:21 +00:00
ethem 6b0eddc1bb New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-07-13 20:34:03 +00:00
ethem 24904fe777 When using the Authorize module, you can now also use enrolment keys.
Good Idea.
2005-07-13 20:26:16 +00:00
bobopinna 5d65abe610 file xml2array.class.php was initially added on branch MOODLE_15_STABLE. 2005-07-13 20:13:45 +00:00
ethem 0b6174400c When using the Authorize module, you can now also use enrolment keys. 2005-07-13 19:42:51 +00:00
gustav_delius ea79f5ba09 Fixed bug reported in http://moodle.org/mod/forum/discuss.php?d=27344 2005-07-13 17:37:20 +00:00
mits 9e315959bc translated a help file for workshop. 2005-07-13 16:25:42 +00:00
moodler 4289078373 Merged no-id fix from stable 2005-07-13 14:21:54 +00:00
dlnsk 3bd023040b Changes from Nenashev 2005-07-13 08:22:32 +00:00
dlnsk 860bd4637f Added 2005-07-13 08:19:00 +00:00
dlnsk e50fbdc5d6 file message.php was initially added on branch MOODLE_15_STABLE. 2005-07-13 08:12:12 +00:00
martignoni 95d7917bf2 Fix wording for aspell help strings 2005-07-13 07:24:55 +00:00
dhawes 892c082545 converted some double quotes to single quote literals 2005-07-13 01:51:30 +00:00
michaelpenne 2be4ee62c1 Bug 3531 fixed 2005-07-12 23:07:31 +00:00
skodak b2ece19e07 fixed up link when selecting; merged from MOODLE_15_STABLE 2005-07-12 19:38:36 +00:00
skodak ca4fb81424 fixed submission logging, email notification for online; merged from MOODLE_15_STABLE 2005-07-12 19:16:19 +00:00
skodak 2a1975cbc9 removed file pop-ups; merged from MOODLE_15_STABLE 2005-07-12 18:59:21 +00:00
skodak 24fb69e111 removed file pop-ups 2; merged from MOODLE_15_STABLE 2005-07-12 18:53:14 +00:00
moodler a630afdc57 Merged multilang fix from stable again 2005-07-12 17:10:33 +00:00
mits d834bcead0 translated a help file for workshop. 2005-07-12 16:59:40 +00:00
mits e7cd405887 Updated some, based on standard theme. 2005-07-12 15:41:44 +00:00
skodak d96624ca54 removed file pop-ups; merged from MOODLE_15_STABLE 2005-07-12 15:37:21 +00:00
moodler 563fa6199d Merged "8" fixed fix 2005-07-12 15:10:47 +00:00
skodak 3554b5c2be fixed html emails; merged from MOODLE_15_STABLE 2005-07-12 14:37:34 +00:00
skodak d4156e8096 unset unmodified text fields SC#140 + popup fix; merged from MOODLE_15_STABLE 2005-07-12 13:12:24 +00:00
moodler ed9e105ed8 Merged centering fix from stable for activity intros 2005-07-12 12:42:03 +00:00
moodler 2b573acb6f Merged utf8 fix from stable 2005-07-12 12:27:55 +00:00
moodler ba17c5d47c Fix for bug 3736 for more robustness in delaing with bad lang packs 2005-07-12 11:35:30 +00:00
moodler d23026fdf6 Fixed comment copying from stable 2005-07-12 09:57:01 +00:00
moodler fd40be3e8d Merged quote fix from stable 2005-07-12 09:04:14 +00:00
skodak 69faecceaf new parameter forcedownload; merged from MOODLE_15_STABLE 2005-07-12 08:05:42 +00:00
moodler f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
moodler b779602b0e No journal on new installs, merged from stable 2005-07-12 07:11:33 +00:00
moodler fbe5a9347d file defaults.php was initially added on branch MOODLE_15_STABLE. 2005-07-12 07:10:41 +00:00
moodler d17439f7bc Merged upgrading fixes from stable 2005-07-12 06:57:58 +00:00
dhawes 68fbd8e13e more phpdoc work 2005-07-12 03:09:25 +00:00
dhawes 7290c7faf2 phpdoc work 2005-07-12 02:23:58 +00:00
dhawes bbd3f2c461 phpdoc comment work 2005-07-12 02:06:33 +00:00
mits 04a4ff7c84 translated a help file for workshop. 2005-07-11 16:37:50 +00:00
martignoni 285faf167e String 'spellcheck' added 2005-07-11 11:13:36 +00:00
mits b834c415c3 translated a help file for workshop. 2005-07-11 04:48:19 +00:00
scop22 0fe4eec8c5 Committing converted (from UTF8) EUC-KR language pack to keep it up with the latest translation work. 2005-07-10 21:44:33 +00:00
skodak f0a99707fd fixed resubmit logic and students can review their online assignment through file.php; merged from MOODLE_15_STABLE 2005-07-10 18:43:46 +00:00
skodak 9a4d45aea4 fixed bug 3606, thanks Ilshat Fattakhov; merged from MOODLE_15_STABLE 2005-07-10 17:32:03 +00:00
mits 5893ed6b4e translated a help file for workshop. 2005-07-10 15:27:08 +00:00
stronk7 a118d51709 The hardcoded limit of 1000 was breaking long pages display in Moodle.
I've changed it to a variable limit depending of the page lenght. Bug 3039.
(http://moodle.org/bugs/bug.php?op=show&bugid=3039)

Merged from MOODLE_15_STABLE
2005-07-09 16:41:58 +00:00
vthung 8eb3d6a84e Modified some strings to fit Vietnamese environment 2005-07-09 14:56:19 +00:00
skodak 815b5ca6e9 fixed $posthtml - see bug#3868; merged from MOODLE_15_STABLE 2005-07-09 13:37:36 +00:00
mits d3392ecfce polished,.
translated a help file for lesson.
2005-07-09 13:09:37 +00:00
skodak 3262ee106a fixed grading bug#1517 and some other typos; merged from MOODLE_15_STABLE 2005-07-09 12:34:08 +00:00
martignoni 177e83dd92 Typo corrected 2005-07-09 12:04:59 +00:00
martignoni 30b48fcb66 Forgotten space 2005-07-09 12:00:06 +00:00
skodak 03c40bb7ec fixed 'AS' for PostgreSQL; merged from MOODLE_15_STABLE 2005-07-09 09:43:31 +00:00
skodak f150292f82 fixed ';;' merged from MOODLE_15_STABLE 2005-07-09 09:04:50 +00:00
skodak 72693c64a6 fixed PostgreSQL warning; merged from MOODLE_15_STABLE 2005-07-09 08:24:01 +00:00
skodak 63e554d0f3 fixed s() p() for values false, number 0, and string '0'; '' from s() caused troubles in PostgreSQL; merged from MOODLE_15_STABLE 2005-07-09 07:20:52 +00:00
skodak 020b4efdd2 fixed resubmit logic; merged from MOODLE_15_STABLE 2005-07-09 07:01:32 +00:00
papita e7ef7d7ec8 new hekp files by paula 2005-07-08 15:51:00 +00:00
papita 6eabeff2b5 new hotpot and updatings by paula 2005-07-08 15:48:14 +00:00
djachenko 70a7280f5f Blackboard ? ? ?: ? ? ? ;-) 2005-07-08 13:46:57 +00:00
papita f3df500ba7 updating by paula 2005-07-08 13:32:29 +00:00
bobopinna 593648fcc7 Updated to Moodle 1.6 dev 2005-07-08 12:43:34 +00:00
mits eb337e4284 Translated release note for Moodle 1.5.1. 2005-07-08 11:50:06 +00:00
bobopinna 0539a9a500 Changed POST with optional/required_param functions 2005-07-08 09:38:13 +00:00
martignoni fc29015102 Encoding of &nbsp; corrected 2005-07-08 09:33:23 +00:00
martignoni b6515d99ec <hr /> added. Please Martin do a merge before releasing 1.5.1. 2005-07-08 09:32:11 +00:00
martignoni b5b0d6a24b Release notes for 1.5.1 2005-07-08 09:30:07 +00:00
stronk7 49b8223e0c Updated to 1.5.1 2005-07-08 08:16:19 +00:00
moodler e0f9fdbf3a Merge fix from stabl 2005-07-08 07:45:14 +00:00
moodler 042311a9cf Merged frix from stable 2005-07-08 07:42:00 +00:00
moodler b59f7bfc0d Added release notes for 1.5.1 2005-07-08 07:31:21 +00:00
bobopinna 7b8732344e changed all the POST with option/required_param functions 2005-07-08 06:56:49 +00:00
defacer 281d70ac2d Merging from STABLE:
Three improvements:

1. $nomoodlecookie = true. I just found out about this undocumented(?) hack(?)
   in lib/setup.php which is the perfect way to suppress some warnings. We
   don't need a session cookie for the chatd.

2. If allow_call_time_pass_reference is Off, socket_getpeername can't work.

3. Suppress "call time pass by reference is deprecated" messages for
   socket_getpeername, we don't have any choice here.
2005-07-08 03:51:38 +00:00
defacer 73ee7658df Allow <span> as well as <lang> in event titles; clean appropriately. 2005-07-08 03:20:54 +00:00
mits 97fc2f34ec polished.
Thanks Toshihiro KITA ( http://t-kita.net/ ), it's a great "point out".
2005-07-08 01:24:56 +00:00
gustav_delius 35bcb92150 fixed typo, see bug 3687 2005-07-08 00:21:02 +00:00
stronk7 91117d8b14 Latest changes applied. 2005-07-07 22:36:05 +00:00
gustav_delius 9bc2d82a46 Merging from STABLE 2005-07-07 18:34:12 +00:00
gustav_delius bb52d44c6a Due date and start date are now optional, as requested in bug 867 and bug 3635 2005-07-07 17:16:56 +00:00
mits a61a956c65 translated a help file for lesson. 2005-07-07 15:40:17 +00:00
gustav_delius 27d132c0f7 Fixed bug 3687 2005-07-07 14:57:28 +00:00
gustav_delius 2b46608c3a Merged from STABLE, satsifying bug 3696 2005-07-07 14:41:15 +00:00
gustav_delius 3f13a635ab Merged fix for bug 3707 from STABLE 2005-07-07 14:22:06 +00:00
thepurpleblob 26f747277b Removed set_default() calls and fixed some function calls that seem to have changed
in blocks library.
2005-07-07 14:10:19 +00:00
moodler 10942acb38 Howard, please, please check your code and stop making me do it ... 2005-07-07 14:00:58 +00:00
thepurpleblob 820a1fde46 Replaced confusing set_default() with real code. 2005-07-07 13:59:35 +00:00
koenr 2eab369628 YAT (Yet Another Typo) 2005-07-07 11:25:13 +00:00
bobopinna 261ee0b00b Fixed an update problem with the setting browsemode (changed to hidebrowse)
Added hidetoc setting to enable course structure hiding in playscorm.php
2005-07-07 09:26:12 +00:00
bobopinna 7f2f2b2d1a Fixed a typo 2005-07-07 09:24:24 +00:00
bobopinna 5c1dbdb8a4 Changed scoid passing mode from SESSION to POST to fix a problem with tracking update 2005-07-07 09:22:05 +00:00
bobopinna 144f3abebc Changed scoid pass mode from SESSION to POST to fix a problem with tracking update 2005-07-07 09:20:43 +00:00
bobopinna 73a2a50665 Added hidetoc and changed browsemode to hidemode (to fix a problem when a scorm is updated) 2005-07-07 09:16:01 +00:00
mits b24b7fad91 translated a help file for lesson. 2005-07-07 08:58:29 +00:00
scop22 380eecefda Committing two new files and some more strings to the UTF-8 Korean language pack to HEAD 2005-07-07 08:37:13 +00:00
ethem dd491d9972 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-07-07 08:22:36 +00:00
koenr c2671871bf ...and a typo 2005-07-06 20:36:30 +00:00
koenr 259ab8bba8 syncronising interface and helpfile 2005-07-06 20:35:13 +00:00
mits c34de69247 Updated some, based on standard theme. 2005-07-06 16:31:49 +00:00
bawjaws 4e95baef3c placing uploaded images in different directory from previously uploaded
images to differentiate between bordered and borderless images
2005-07-06 16:17:18 +00:00
bawjaws 34e85ecd53 new, borderless, user images 2005-07-06 16:10:05 +00:00
mits f43a9d6d47 translated a help file for workshop. 2005-07-06 16:01:33 +00:00
thepurpleblob f59e91bcf8 _variable() functions, _GET, _POST etc. changed to appropriate _param()
style functions.
2005-07-06 15:31:07 +00:00
mindforge 638267ab81 Updated terminology.html and included the contents of eventtypes.html therein. Therefore eventtypes.html is no longer needed and is removed. 2005-07-06 15:30:13 +00:00
skodak 3e7bf58a3b added word count display; merged from MOODLE_15_STABLE 2005-07-06 14:04:44 +00:00
thepurpleblob 621d2ab686 Fixed language string for show league tables. 2005-07-06 13:44:04 +00:00
martignoni 9b1181890c Simple change 2005-07-06 13:37:59 +00:00
moodler cb6682652d Removed recent border change to user pix 2005-07-06 13:29:02 +00:00
moodler 34ea06ece4 Undoing hack from David ... it can't be just switched off
without making existing sites look crap
2005-07-06 13:24:43 +00:00
moodler 18a1868bd1 Merged small fix from stable 2005-07-06 13:18:53 +00:00
thepurpleblob 1db81444e0 Upload limit now takes account of course upload limit.
Bug #3247
2005-07-06 12:14:39 +00:00
thepurpleblob 6cb48ed312 Help for 'use password' points to 'password' help as 'use password' had no
help.
2005-07-06 11:13:31 +00:00
thepurpleblob a46e8124eb Some help files incorrectly linked as some completely missing - missing
ones are just empty place holders at the moment - better than error I guess.
2005-07-06 11:10:49 +00:00
stronk7 36c8c81d39 One non-scaped quote was preventing es_es to work properly. 2005-07-06 11:00:50 +00:00
koenr 40725a2684 New files/strings 2005-07-06 10:49:27 +00:00
skodak 110bdb0e49 max upload size not shown to students; merged from MOODLE_15_STABLE 2005-07-06 10:15:33 +00:00
skodak 088ec31716 Bug #3596 - Secureforms yes breaks online assignment; merged from MOODLE_15_STABLE 2005-07-06 09:52:59 +00:00
thepurpleblob 37ef382cbe Added an optional_param() for 'topic' as it was coming from 'register_globals'
land.
2005-07-06 09:51:18 +00:00
martignoni dac5a79525 Small bug corrected (thanks to J?r?me Carujo) 2005-07-06 09:25:17 +00:00
stronk7 bb7e09a453 Latest changes merged from MOODLE_15_STABLE
Moving the MERGED tag for the whole quiz directory
as talked with Gustav...
2005-07-06 09:05:17 +00:00
skodak 53a6c4cfd8 compatibility hack for Moodle Cron, cookies not deleted, but set to "deleted"; merged from MOODLE_15_STABLE 2005-07-06 08:43:19 +00:00
gustav_delius 39e3c1f1c3 Merged from STABLE 2005-07-06 07:53:17 +00:00
koenr f8bfb35abd removed some odd characters before <?php 2005-07-06 07:06:56 +00:00
urs_hunkler b5522c9250 added class for userpic for better formatting via CSS in 2 additional lines. Same changes as in 15_STABLE. Merging produced wired version numbers??? So I added the changes here too. 2005-07-06 07:04:40 +00:00
gustav_delius 7d0fdfd794 Moved constants into constants.php so that they can be loaded where needed. 2005-07-06 06:44:18 +00:00
mits 22fa2aa8ce translated one help file for lesson. 2005-07-06 05:56:21 +00:00
thepurpleblob 9b43918fe8 Ahem - data_submitted() remark, now considerably toned down in line with
Petr Skoda's (actual) recommendation.
2005-07-06 05:27:00 +00:00
defacer c7d6e27451 Fixing a notice: $this->footer wasn't always set.
This doesn't happen in 1.5 so it must have been a regression.
2005-07-06 00:51:20 +00:00
defacer fdc36b2f98 Merging from STABLE:
Fixed the annoying "...and the 1 Journals you had..." message when you have
no Journals at all, because I was tired of seeing it.

count(false) is 1 and not 0.
2005-07-06 00:47:08 +00:00
defacer e623c7f740 Merging from STABLE:
Fix for bug 3616:

layout-table wasn't closed correctly for teachers and guests.
2005-07-06 00:36:36 +00:00
papita 1a86229596 new by praciano and paula 2005-07-05 18:04:27 +00:00
papita 48127e8e29 new by ricardo praciano 2005-07-05 18:02:45 +00:00
papita 37a04ed35a new by rubens serafim 2005-07-05 18:00:10 +00:00
papita c1c606f30e new by Sadao 2005-07-05 17:59:24 +00:00
papita 693b385760 new by edgar amorim 2005-07-05 17:58:32 +00:00
papita e3ddf07331 correcting some typos 2005-07-05 17:55:49 +00:00
skodak 96b5658136 disabled cookie check when alternate login url used; merged from MOODLE_15_STABLE 2005-07-05 17:16:21 +00:00
skodak 269ecdac44 code cleanup - see SC#129; merged from MOODLE_15_STABLE 2005-07-05 17:02:55 +00:00
stronk7 413884c736 With the latest feature I introduced to filterlib (the ability
to specify a replacement phrase instead of printing the linked
phrase I introduced a bug about text being showed with the case
of the concept instead of the case of the text under case
insensitive filtering. Detected and solved now. Bug 3688.
(http://moodle.org/bugs/bug.php?op=show&bugid=3688)

Merged from MOODLE_15_STABLE
2005-07-05 16:43:48 +00:00
mindforge 2dde39c1c2 Update to attempt.html, minor modifications to databasetables.html 2005-07-05 16:35:09 +00:00
koenr 732ba59616 new string for installer4windows 2005-07-05 15:20:31 +00:00
thepurpleblob 5a90586d36 Changed _variabl() functions to _param() functions. 2005-07-05 15:00:34 +00:00
martignoni 4172c17bb6 Completed translation 2005-07-05 14:59:06 +00:00
martignoni 8ba3e96810 New lang entries for lesson dependency feature 2005-07-05 14:30:20 +00:00
martignoni 75356414df some new strings 2005-07-05 14:23:41 +00:00
mits 5efe8044e8 translated one help file for lesson. 2005-07-05 13:12:42 +00:00
koenr 032298a671 Removed the parentlanguage string 2005-07-05 12:45:24 +00:00
thepurpleblob 156dbd6944 fixed a couple of typos and removed reference to isset_param() function,
replacing with advice as discussed with Petr Skoda
2005-07-05 11:14:31 +00:00
thepurpleblob 00592b8032 changed deprecated _variable() type functions to _param() type functions. 2005-07-05 11:02:46 +00:00
thepurpleblob 218dc7532b data_submitted() replaced with appropriate _param() style functions,
HTML output tidied up and sesskey checking added.
2005-07-05 10:53:22 +00:00
thepurpleblob c33fe7e79a Changed _variable() to _param throughout. Improved look of output HTML
and added sesskey checking.
2005-07-05 10:35:32 +00:00
skodak dd5de88921 fixed comments - SC #61; merged from MOODLE_15_STABLE 2005-07-05 08:29:07 +00:00
skodak 4c2740fc5c fixed searching - SC #61; merged from MOODLE_15_STABLE 2005-07-05 08:18:38 +00:00
skodak 4325e8604d initialize array $auth_options SC #127; merged from MOODLE_15_STABLE 2005-07-05 08:00:13 +00:00
skodak ab25ce31cf added validation for themename - see SC #101; merged from MOODLE_15_STABLE 2005-07-05 07:51:11 +00:00
skodak 472639376f merged from MOODLE_15_STABLE 2005-07-05 06:30:07 +00:00
skodak 1e4343a06d megamerge from MOODLE_15_STABLE 2005-07-05 06:03:04 +00:00
rcantada 4df630e9bf changed strings in workshop and forum due to context error. new help
files for scorma nd quiz module.
2005-07-05 02:50:03 +00:00
stronk7 bcba85618f Bump. New and improved relinking system available.
No changes at DB layer so I'm free to update the version
and maintain it syncronished with 15_STABLE, isn't it?

Merged from MOODLE_15_STABLE
2005-07-04 22:33:02 +00:00
stronk7 a9c80fec8e Now workshop are working under the new system to relink. Bug 3678.
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)

Merged from MOODLE_15_STABLE
2005-07-04 22:25:10 +00:00
skodak 95bfd2078b merged from MOODLE_15_STABLE 2005-07-04 20:23:53 +00:00
stronk7 25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
stronk7 92f9357579 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Merged from MOODLE_15_STABLE
2005-07-04 17:48:59 +00:00
skodak c781942f1a merged from MOODLE_15_STABLE 2005-07-04 17:03:58 +00:00
urs_hunkler 7b27ce2c35 merged 2005-07-04 16:14:50 +00:00
bobopinna 5d6f2becbb Translated by Claudio Maggi 2005-07-04 12:57:30 +00:00
andreabix 1095893a1e Fixed dimmed link not appearing dimmed. 2005-07-04 10:24:52 +00:00
bobopinna d903f5aa4a Translated by Claudio Maggi 2005-07-04 08:28:45 +00:00
skodak c6d67e76fc merged from MOODLE_15_STABLE 2005-07-04 07:20:53 +00:00
mits 83ff4703ba translated 2 scom related help files. 2005-07-04 05:05:32 +00:00
mits b731093e5d Changed some, based on standard theme. 2005-07-04 04:51:21 +00:00
mits d9b762d025 translated new strings. 2005-07-03 12:35:11 +00:00
gustav_delius a08e9552fa More steps towards the separation of questions from the quiz module. 2005-07-03 09:53:02 +00:00
bobopinna 79714e2af3 Fixed a bug in report counting 2005-07-03 07:15:13 +00:00
bobopinna 644b5629ff Fixed a problem with altered chars in UTF-8 2005-07-03 07:14:20 +00:00
rcantada f32e4767c4 new strings 2005-07-03 03:50:01 +00:00
skodak a2a537db28 merged from MOODLE_15_STABLE 2005-07-02 20:35:43 +00:00
gustav_delius d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
scop22 591212f69d Removing problematic spaces from within two string variables (euc-kr pack). Committing in HEAD. 2005-07-02 16:22:53 +00:00
scop22 bd15dd5a4d Removing problematic spaces from within two string variables 2005-07-02 16:18:20 +00:00
gustav_delius ad7e7ba882 Two name changes:
1) in all module-indpendent code the variable $quiz has been renamed to $cmoptions (it holds the options set by the course module which does not necessarily have to be a quiz, it could be a lesson for example).
2) quiz_restore_question_sessions() has the simpler name quiz_get_states
Also got rid of the quizfile.php in favour of file.php
2005-07-02 16:07:05 +00:00
gustav_delius 0d156caaae I have started on the re-organisation to allow other modules to use the questiontypes.
Moved all code that is not specific to the quiz module out of locallib.php into questionlib.php.
The default questiontype class is now defined in quiz/questiontypes/questiontype.php.
See http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852
2005-07-02 11:42:42 +00:00
gustav_delius be795125dd small changes to documentation 2005-07-02 11:38:42 +00:00
martignoni f33e13c570 New string for M4W 2005-07-02 11:14:32 +00:00
gustav_delius 85f066ab0d fixed the classification of tables into static and runtime in the documentation 2005-07-02 08:51:06 +00:00
koenr 4396af44a7 major change
changed translation for course from vak -> cursus
2005-07-02 06:42:24 +00:00
koenr 7537e31b7c Major change: changing translation for course from vak to cursus. Not finished yet 2005-07-01 23:22:40 +00:00
gustav_delius f17d13f5cc Some minor changes to the quiz module documentation. 2005-07-01 21:00:52 +00:00
michaelpenne 4e83cfdf26 Fixed a problem with grade_get_module_link
Fixed styles issues with tables class="grades" for both category and overall view
Fixed row styles for overall view to alternate every row rather than every 3
Fixed form processing code for grade letters to work correctly
2005-07-01 20:12:40 +00:00
gustav_delius fe88b99237 selected tab should not automatically become inactive. 2005-07-01 19:03:42 +00:00
scop22 125aca5d21 Removing thislanguage, thischarset and thisdirection strings from these files 2005-07-01 17:44:12 +00:00
gustav_delius e0c5c5e974 Remove potential PHP notices when $course is not an object. 2005-07-01 17:21:52 +00:00
barias 61c2a9f3c5 *** empty log message *** 2005-07-01 11:39:45 +00:00
barias 38e2919944 Minor updates in spanish translation 2005-07-01 11:38:38 +00:00
defacer 20cbef6390 Merging from STABLE:
Improving Eloy's radio- and checkbox- generating functions to automagically
use <label>s with unique ids for improved usability. See discussion at
http://moodle.org/mod/forum/discuss.php?d=26139
2005-07-01 03:57:03 +00:00
michaelpenne 6387899646 new lang entries for lesson dependency feature 2005-06-30 21:12:00 +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
bobopinna 2ddb242f56 Fixed two typos 2005-06-30 19:46:19 +00:00
mindforge d5711371ce Added attempt.php documentation, unfinished. 2005-06-30 15:41:25 +00:00
defacer 7f65461c36 Merging from STABLE:
Moving <i> to CSS and small CSS improvement.
2005-06-30 00:03:03 +00:00
michaelpenne 7bae3f486c Found 4 mdl_ in some sql statements. Changed it from mdl_ to $CFG->prefix 2005-06-29 23:56:07 +00:00
michaelpenne dd192b2692 Numerical import was still looking at min/max arrays. I changed it so numerical will now subtract the tolerance from the answer to get the min and add the tolerance to the answer to get the max 2005-06-29 23:02:12 +00:00
michaelpenne 2ef7eeec9c FIXED: was calling an old quiz class name for importing. Updated it to call the new class name 2005-06-29 23:00:12 +00:00
koenr 0d9a625a64 typo 2005-06-29 22:37:14 +00:00
stronk7 1517803dd6 Now the restore form page is a bit more easy to use. Bug 1430.
(http://moodle.org/bugs/bug.php?op=show&bugid=1430)

Merged from MOODLE_15_STABLE
2005-06-29 18:25:50 +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
koenr 5b810e7092 New strings from Karoly. Almost complete translation. Thanks 2005-06-29 17:50:53 +00:00
stronk7 b577ebc7d2 Now the restore form page is a bit more easy to use. Bug 1430.
(http://moodle.org/bugs/bug.php?op=show&bugid=1430)

Merged from MOODLE_15_STABLE
2005-06-29 16:58:33 +00:00
stronk7 62af9bf9bb SC#126.
Merged from MOODLE_15_STABLE
2005-06-29 16:17:11 +00:00
martignoni e22855144c Uniformisation of "guest" translation everywhere 2005-06-29 12:59:52 +00:00
bobopinna edfbfd68f8 Updated to Moodle 1.6 dev 2005-06-29 12:43:38 +00:00
bobopinna 9e47b39d77 Added a forgotten string 2005-06-29 12:42:44 +00:00
bobopinna 5e16d5b84c Added a forgotten string 2005-06-29 12:40:30 +00:00
mudrd8mz fb8fac491a Re-adding Workshop help files by Daniel Miksik - now should be XHTML clean (according to my Firefox
HTML Tidy).
2005-06-29 12:13:11 +00:00
bobopinna a49a133775 Added a forgotten string 2005-06-29 12:01:47 +00:00
bobopinna 28d32305f3 Fixed a typo in popup window management 2005-06-29 12:00:02 +00:00
mindforge 94c6290094 Database documentation finished. 2005-06-29 09:47:44 +00:00
martignoni 4d162986ff Correct encoding 2005-06-29 09:44:48 +00:00
stronk7 2b57e0cd12 Added one new string to be used by the m4w installer 2005-06-29 09:19:27 +00:00
mudrd8mz 81a00f38e0 Translated for 1.5 by Daniel Miksik 2005-06-29 08:56:51 +00:00
mudrd8mz 0daf79ff53 Translated for 1.5 by Daniel Miksik, still not complete 2005-06-29 08:48:50 +00:00
martignoni e00a26149e Two new strings 2005-06-29 08:24:08 +00:00
martignoni 90c28898fa Added SCORM course format string 2005-06-29 08:22:00 +00:00
bobopinna f91f72167e Fixed some bugs in restore procedure, added backup and restore for field popup 2005-06-29 07:49:44 +00:00
bobopinna 96ca8c6cc6 Fixed some bugs in upgrade procedure, updated postgres upgrade 2005-06-29 07:48:11 +00:00
patrickslee aee202822a Fixed a bug that blocks running of forum tracking upgrade. 2005-06-28 22:54:47 +00:00
dhawes 340f819871 additional debug output when in debug mode 2005-06-28 21:21:59 +00:00
stronk7 2481037f64 Added a function to print a standard html checkbox
Merged from MOODLE_15_STABLE
2005-06-28 16:55:01 +00:00
thepurpleblob 64ffa2a243 Added check so render returns with false if unsupported platform. 2005-06-28 14:12:45 +00:00
thepurpleblob 18a2407ef4 Added class to render images using Latex rather than mimetex. It will only
be used if it works on the server, otherwise mimetex is used as before.
Produces rather nicer images, and the full range of formatting can be used,
rather than mimetex's limited set.
2005-06-28 13:23:57 +00:00
mindforge f8e0e46a4d Standardised image namesfor documentation. 2005-06-28 10:01:24 +00:00
mindforge d5b306eb6a Database documentation update. 2005-06-28 10:00:17 +00:00
bobopinna baa220a86e Updated some strings 2005-06-28 07:07:10 +00:00
bobopinna 3316070f9e Translated by Claudio Maggi 2005-06-28 07:05:30 +00:00
bobopinna 62d923574f Fixed an upgrade bug with field timelimitaction 2005-06-28 07:02:25 +00:00
urs_hunkler 0ecb12bcf2 merged from 1.5 - added the CSS for the black border around the userpicture and the grouppicture 2005-06-27 17:39:38 +00:00
gustav_delius 917dfbb66a Fixed typo that prevented upgrade 2005-06-27 15:37:27 +00:00
papita 9ff70c4b60 adding new strings by paula de waal 2005-06-27 13:02:27 +00:00
bawjaws d2bdfe5a6e new default user images, identical except without 1px black outline as
this can now be added via CSS
2005-06-27 12:31:59 +00:00
bawjaws b2e0000ddb removing code that draws a 1 pixel wide black line around user uploaded
images so that it can be replaced with equivalent CSS
2005-06-27 12:22:14 +00:00
bawjaws 57e31b6b06 adding CSS class to default user picture so that it can be styled at the
same time as user uploaded images
2005-06-27 12:14:24 +00:00
bobopinna 12d51c99b5 Marged the two separated help file in a single size help 2005-06-27 07:58:16 +00:00
bobopinna 3fa7b99ab8 Added a forgotten string "packagefile" 2005-06-27 07:45:12 +00:00
bobopinna 11d9f34866 Added SCORM course format string 2005-06-27 07:44:28 +00:00
bobopinna 0dd957ed3d New course format SCORM 2005-06-27 07:28:19 +00:00
bobopinna b5127f1e26 Added popup support 2005-06-27 07:26:49 +00:00
bobopinna bc5a6319be Added support to SCORM course format 2005-06-27 07:24:52 +00:00
bobopinna c4aca03c17 Fixed a problem lesson_status setting bug 2005-06-27 07:22:37 +00:00
urs_hunkler de6620de7a merged from 1.5 - update of the readme text. 2005-06-27 06:08:57 +00:00
danmarsden af834f3e7c Bug #3623 - doesn't like when $value = 0 2005-06-27 00:58:24 +00:00
stronk7 1c58f4402c Solved a problem where the '1' string was being cached to ''
because we concatenate true and it's evaluated like 1.
Bug 3623.
(http://moodle.org/bugs/bug.php?op=show&bugid=3623)
2005-06-27 00:24:04 +00:00
stronk7 531a3cb2a9 Added the choose_from_radio() function to
display groups of radiobuttons in a central way.
Part of bug 1430.
(http://moodle.org/bugs/bug.php?op=show&bugid=1430)

Merged from MOODLE_15_STABLE
2005-06-27 00:17:39 +00:00
koenr 08de7c7a0e forgot to save one 2005-06-26 18:10:14 +00:00
koenr 9bd07d6fe5 deleted some more empty lines 2005-06-26 17:05:56 +00:00
stronk7 339dd76670 Avoid some backslashes causing problems with some browsers. Bug 3463.
(http://moodle.org/bugs/bug.php?op=show&bugid=3463)

Merged from MOODLE_15_STABLE
2005-06-26 16:45:04 +00:00
gustav_delius ed460c8e04 I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845. 2005-06-26 16:21:11 +00:00
stronk7 d4e9497a54 Added readme and screenshot to Wood Theme.
Merged from MOODLE_15_STABLE
2005-06-26 15:47:01 +00:00
stronk7 915a3598da file README.html was initially added on branch MOODLE_15_STABLE. 2005-06-26 15:45:37 +00:00
stronk7 4ef1be0f1f file screenshot.jpg was initially added on branch MOODLE_15_STABLE. 2005-06-26 15:45:37 +00:00
papita 61a90edd1f por ricardo praciano e paula de waal 2005-06-26 14:10:24 +00:00
scop22 cea7827765 Now committing the latest updated files to the EUC-KR Korean language pack. Files just committed were not the latest revision! 2005-06-26 14:09:30 +00:00
papita 329f5551c9 coherence control 2005-06-26 14:07:38 +00:00
scop22 52f3c95828 Major commit of many new files and strings in the EUC-KR Korean language pack. Most string files now up-to-date. Committing to the correct pack this time! Committing in HEAD. 2005-06-26 13:48:34 +00:00
scop22 71eeeb9137 Recommitting unicode files to ko_utf8 pack replacing files from euc-kr pack just mistakenly committed here! 2005-06-26 13:28:42 +00:00
scop22 f2808f7bf0 Large commit of many new files and strings to the EUC-KR Korean Language Pack. Most files are now up-to-date. Committing to HEAD. 2005-06-26 13:02:26 +00:00
stronk7 7d34f1adab Now the entry being commented is showed when
adding comments for non-approved entries. Bug 3638.
(http://moodle.org/bugs/bug.php?op=show&bugid=3638)

Merged from MOODLE_15_STABLE
2005-06-26 09:34:10 +00:00
julmis 1290468f20 Merging from STABLE
- fixing Bug 3576
2005-06-26 06:19:46 +00:00
stronk7 6f48f7fc92 Added some top margins for two glossary pages.
Merged from MOODLE_15_STABLE
2005-06-25 19:14:57 +00:00
scop22 3f0b4212a8 ----------------------------------------------------------------------
Major update of the Korean UTF8 language pack -  most files are now up-to-date
Modified Files:
 	admin.php assignment.php auth.php calendar.php choice.php
 	dialogue.php editor.php error.php exercise.php forum.php
 	glossary.php hotpot.php lesson.php moodle.php quiz.php
 	resource.php scheduler.php scorm.php survey.php workshop.php
----------------------------------------------------------------------
2005-06-25 19:11:08 +00:00
scop22 8d21e7358e Adding new files to the Korean UTF8 Language Pack
Added Files:
        emailprotect.php enrol_internal.php enrol_ldap.php
 	enrol_paypal.php block_course_summary.php
 	block_glossary_random.php block_quiz_results.php
 	block_rss_client.php enrol_database.php enrol_flatfile.php
 	install.php message.php
2005-06-25 18:54:47 +00:00
stronk7 eff23a55cb Changed one table header.
Merged from MOODLE_15_STABLE
2005-06-25 17:09:34 +00:00
stronk7 5982740d30 Now $CFG->allowobjectembed is working properly. Admins
will ignore this setting. Bug 3608.
(http://moodle.org/bugs/bug.php?op=show&bugid=3608)

Merged from MOODLE_15_STABLE
2005-06-25 15:42:44 +00:00
fiedorow 6228b0320a Fix for broken no authentication 2005-06-25 13:22:13 +00:00
martinlanghoff 1007a3f1a3 enrol/ldap: bugfixes suggested by Jeff Graham here http://moodle.org/mod/forum/post.php?reply=124170 -- fixes course creation not pulling summaries, form errors in ldap_search_sub, calls to deprecated blocks_get_default_blocks() and DB errors when inserting new enrolments. With these fixes, it may even work. 2005-06-25 02:41:56 +00:00
fiedorow ee9ff7f35b Compatibility fix for glossary 2005-06-24 18:07:10 +00:00
fiedorow 7d4beb9ed3 Fix for broken guest shortcut 2005-06-24 15:37:34 +00:00
gustav_delius bfff85cba1 changed & to &amp;, merged from STABLE 2005-06-24 14:00:59 +00:00
thepurpleblob e4f7cb77d8 merged from STABLE 2005-06-24 13:18:51 +00:00
gustav_delius 9e20154488 XHTML compliance, merged from STABLE 2005-06-24 13:02:32 +00:00
thepurpleblob a6470d97ee Merged from STABLE 2005-06-24 12:50:29 +00:00
carlesbellver aab3c7d2ee *** empty log message *** 2005-06-24 10:38:16 +00:00
papita ef3206ca80 by Eurico Sadao Kusaka, code updating by Paula de Waal 2005-06-24 10:26:09 +00:00
barias 219110c647 Minor updates in spanish translation 2005-06-24 06:51:50 +00:00
stronk7 1530c97c9c Take out one "white" use. Bug 3610.
Credits are for Helen Foster.
(http://moodle.org/bugs/bug.php?op=show&bugid=3610)

Merged from MOODLE_15_STABLE
2005-06-23 20:14:46 +00:00
fiedorow e2c1dbe922 Bug fix for bug #3614 2005-06-23 15:29:43 +00:00
zibas d97fc1834d Updated Readme 2005-06-23 13:56:48 +00:00
martignoni ae5ad392a0 Typo corrected 2005-06-23 13:40:25 +00:00
papita f151da4676 corecting some typos 2005-06-23 13:22:45 +00:00
papita cf5590f788 updating code 2005-06-23 13:17:00 +00:00
fiedorow 97033c865c Bug fix for bug #3613 2005-06-23 12:37:19 +00:00
fiedorow 952284c1b0 Fix for bug #3607 2005-06-23 11:43:20 +00:00
papita bf84d91915 traduzido por Ricardo Souza e revisto por Paula de Waal 2005-06-23 11:38:55 +00:00
thepurpleblob 85ab74001a merged from STABLE 2005-06-23 09:04:16 +00:00
stronk7 32be01392d Changed to use the new replacementphrase attribute so
bad words are replaced with a strlen(phrase) number
of **** characters. Bug 3605
(http://moodle.org/bugs/bug.php?op=show&bugid=3605)

Merged from MOODLE_15_STABLE
2005-06-22 23:34:26 +00:00
stronk7 0eddfc6625 Add a new attribute to the filterobject class.
Now it supports a replacementphrase to be passed
so, the original phrase will be replaced. Nothing happens
if empty. Part of bug 3605.
(http://moodle.org/bugs/bug.php?op=show&bugid=3605)

Merged from MOODLE_15_STABLE
2005-06-22 23:24:50 +00:00
koenr 39d63cd450 fixed bug 3592: deleted empty lines
Works fine on IE
2005-06-22 13:23:02 +00:00
andreabix 4b5f2a4b0b Fixed Bug [Bug 3391] : formal_white theme doesn't show date in lastest news block 2005-06-22 08:35:33 +00:00
michaelpenne af1cd0fe33 Made the shortanswer qtype grading much more reliable. Change to preg_match to speed things up. Also do a preg_quote on the teacher supplied answer to prevent confusion in the preg_match statements (before + signs and the like were causing the preg_match statements to fail). 2005-06-21 22:38:26 +00:00
koenr da65c12477 typo 2005-06-21 22:33:55 +00:00
michaelpenne c5cbd215fb Bug Fix: The code for dealing with the * character for shortanswer question type was lost. I downloaded 1.4.5+ and merged the shortanswer grading code into 1.6 dev. 2005-06-21 21:45:04 +00:00
martignoni 2b730d3bef Small change 2005-06-21 20:09:01 +00:00
barias 990ef65187 Minor updates in spanish translation 2005-06-21 15:35:52 +00:00
thepurpleblob 415b7eac8e merged from STABLE 2005-06-21 12:30:34 +00:00
ueu_ueu 8e941c81e0 *** empty log message *** 2005-06-21 10:28:40 +00:00
ueu_ueu 5eb5c1e88e Euskaraketaren azkenego bertsioa (2005-05-23) 2005-06-21 10:25:18 +00:00
koenr 1d5159f8ba some new strings 2005-06-21 08:30:35 +00:00
gustav_delius 8c95e97fec merged from stable 2005-06-21 06:57:30 +00:00
urs_hunkler 36f0d1acbb merged from 1.5:
_ some space above the userpiicture added in #user-edit and user-view.
_ rmoved the border above the link in the rss sideblock
2005-06-21 06:11:38 +00:00
koenr bc5799f3fc bug 3477: changed language name for zh_tw from Taiwan to Traditional Chinese 2005-06-20 19:35:37 +00:00
koenr 399084af93 bug 3477: changed language name for zh_tw from Taiwan to Traditional Chinese
Deleted a few untranslated strings on the way
2005-06-20 19:31:53 +00:00
koenr 71cd5fcf7f New Language pack: Khmer by Vichika
Installation of separate font necessary (provided in fonts folder)
2005-06-20 18:13:12 +00:00
papita 19d3b563df traduzido pela equipe da UNB, corrijido por Paula de Waal 2005-06-20 12:35:19 +00:00
barias dc485216b2 Minor updates in spanish translation 2005-06-20 11:04:12 +00:00
martignoni 6e7b12a78a Small change 2005-06-20 09:46:17 +00:00
martignoni a84df8e91d String "Backup cancelled" added 2005-06-20 09:42:43 +00:00
thepurpleblob 220776acdd Merged from STABLE 2005-06-20 09:15:30 +00:00
papita 85ce66b5c5 simple update 2005-06-20 09:07:18 +00:00
papita 81ee49e113 upload css 1.5 standard 2005-06-20 08:16:38 +00:00
papita a3b9c98441 traduzido por C?lio Mesquita, modificado por Paula de Waal 2005-06-20 08:15:25 +00:00
mjollnir_ 80d3523ed0 Merged from MOODLE_15_STABLE: fixing bug 3569: current workaround= one query for postgres, one for mysql. probably a better way to do it when someone has more time 2005-06-20 04:32:29 +00:00
defacer a5a3f48a4a Merging from STABLE:
Augment tablelib so that it can accept a default sort order.
Adding default sort order to participant lists to reinstate 1.4-style behavior.
2005-06-20 03:47:19 +00:00
mjollnir_ f45ea97457 Merged from MOODLE_15_STABLE: Fixing postgres upgrade to match postgres7.sql (bug 3547) 2005-06-19 21:38:39 +00:00
mjollnir_ b71748a86c Merged from MOODLE_15_STABLE: Fixing typo on index for rqp type (bug 3547) 2005-06-19 21:31:26 +00:00
stronk7 2b41040945 Checking some fields because they were breaking restore of old courses.
Bug 3444
(http://moodle.org/bugs/bug.php?op=show&bugid=3444)
2005-06-19 18:29:33 +00:00
papita 672fd051f3 1.5 by paula de waal 2005-06-19 18:06:36 +00:00
stronk7 8c08d13e03 Updated one string containing "journals"... 2005-06-19 18:06:07 +00:00
stronk7 f78698374c One new backup string added. 2005-06-19 18:05:09 +00:00
papita 20f98c36f9 1.5 by Paula de Waal 2005-06-19 18:02:58 +00:00
stronk7 804b151595 Now the cancel button goes to the course (or site) page. Bug 2817.
(http://moodle.org/bugs/bug.php?op=show&bugid=2817)

Merged from MOODLE_15_STABLE
2005-06-19 17:52:17 +00:00
stronk7 c0b26251d0 Now glossary ratings display user links in a new page.
Merged from MOODLE_15_STABLE
2005-06-19 17:33:39 +00:00
stronk7 9d8caf59ec Order by rating now works. See bug 3566.
(http://moodle.org/bugs/bug.php?op=show&bugid=3566)

Merged from MOODLE_15_STABLE
2005-06-19 17:14:32 +00:00
stronk7 c07ca217f0 Using the time CSS class properly.
Merged from MOODLE_15_STABLE
2005-06-19 16:50:37 +00:00
stronk7 3692320017 Some styles changed to show consistently the author and
time information.

Merged from MOODLE_15_STABLE
2005-06-19 16:29:29 +00:00
stronk7 ef4d6e6f54 Now the name of the authors is a link to the user page.
To be a bit more like forum posts Bug 2809.
(http://moodle.org/bugs/bug.php?op=show&bugid=2809)

Merged from MOODLE_15_STABLE
2005-06-19 15:26:21 +00:00
stronk7 fddeb22f8e Now + and - search terms are properly highlighted
under glossary searches. This was broken recently
solving some non-iso problems.

Merged from MOODLE_15_STABLE
2005-06-19 14:46:32 +00:00
ethem 21a7bb8bd3 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-06-19 14:40:58 +00:00
martignoni b351c03cb1 Small wording change 2005-06-19 12:47:04 +00:00
stronk7 373242b07b Security and handling of variables added
(plus some changes in the whole doc to be a bit more formal)
2005-06-19 10:16:06 +00:00
stronk7 cc822541ae One horizontal line moved to the end. 2005-06-19 09:55:52 +00:00
martignoni 813a666617 File added 2005-06-19 09:26:02 +00:00
martignoni 0dc7025ecd Typo corrected, thanks to Alain Kerdelhu? 2005-06-19 08:48:47 +00:00
martignoni ae2edb32a9 Added translation for "Health Center" 2005-06-18 18:32:44 +00:00
lonecatz dcfc7f3440 new translations by furongmang at gmail dot com 2005-06-18 16:35:36 +00:00
lonecatz 517abd9e38 part of the file is translated 2005-06-18 16:33:14 +00:00
lonecatz 322de0fcf3 some new translation 2005-06-18 14:35:55 +00:00
martignoni 8321f81861 Changed : "solution" instead of "r?ponse" (translation of answer) 2005-06-18 13:52:18 +00:00
martignoni ef48339cf0 Added a chunk on defensive/secure coding. To be finished 2005-06-18 12:26:45 +00:00
martignoni f006288b6c Added some lang entries for media file feature 2005-06-18 12:13:44 +00:00
martignoni a7b8b63478 New string 'guestnoupload' 2005-06-18 12:00:10 +00:00
martignoni ddfcf00abb Added some strings for health centre. 2005-06-18 11:56:26 +00:00
stronk7 f6c668239c Some changes added (see bug 3188).
- Added correct encoding.
   - Make page XHTML 1.0 Frameset compliant
Credits go to sunner_sun.
(http://moodle.org/bugs/bug.php?op=show&bugid=3188)

Merged from MOODLE_15_STABLE
2005-06-18 10:01:53 +00:00
stronk7 445c292d61 strip one line. simple, isn't it? :-P 2005-06-18 09:23:50 +00:00
stronk7 00bea65c39 duplicate sentence. Bug 3466
(http://moodle.org/bugs/bug.php?op=show&bugid=3466)
2005-06-18 09:21:30 +00:00
urs_hunkler 01e969f29b merged from 1.5 - I removed the .block_rss_client .title correcture bcause I have changed the styles.php of the block. 2005-06-18 08:03:31 +00:00
urs_hunkler 1a5679b9ed merged from 1.5 - I removed letter-spacing because some browsers are not able to display the text correct when using a small amount for spacing. 2005-06-18 08:02:48 +00:00
barias 11a8295db1 Fixed a 'typo' 2005-06-18 07:37:12 +00:00
barias c58df80da1 *** empty log message *** 2005-06-18 07:33:38 +00:00
barias 5cb23d9ccc *** empty log message *** 2005-06-18 07:19:16 +00:00
koenr b50a52fe60 updated a few more index files 2005-06-17 23:17:00 +00:00
mits 0094f44a66 polished some. 2005-06-17 18:17:55 +00:00
mits a5fdd6f686 polished and translated a help file for grade. 2005-06-17 17:37:23 +00:00
stronk7 d323d7158c One style is not necessary. Delete it.
Merged from MOODLE_15_STABLE
2005-06-17 17:06:59 +00:00
vthung a8f8e56b0b Added respondenttype.html 2005-06-17 15:37:10 +00:00
vthung 5c6323a2cb Added questionnaired.html 2005-06-17 15:35:15 +00:00
vthung 80dda362cf Added qtype.html 2005-06-17 15:34:02 +00:00
vthung 0d08a370c0 Added qmanage.html 2005-06-17 15:32:57 +00:00
vthung 19bfbe84a8 Added timerestrict.html 2005-06-17 15:28:54 +00:00
vthung 6cff8234b5 Added options.html 2005-06-17 15:26:46 +00:00
vthung 8fc7ac2c69 Added mods.html 2005-06-17 15:25:17 +00:00
vthung f5aa179a53 Added limit.html 2005-06-17 15:24:10 +00:00
vthung b9d5ef360c Added index.html 2005-06-17 15:22:37 +00:00
vthung 2c1e7fd4de Added chatting.html 2005-06-17 15:17:10 +00:00
vthung 90497cf03f Added width.html 2005-06-17 15:06:39 +00:00
vthung 495ba3ef84 Added summary.html 2005-06-17 15:05:26 +00:00
vthung 4560166d4d Added package.html 2005-06-17 15:04:23 +00:00
vthung 66fe7456c7 Added maxgrade.html 2005-06-17 15:01:33 +00:00
vthung d435dc40e6 Added height.html 2005-06-17 14:59:58 +00:00
vthung f2391481ac Added browsermode.html 2005-06-17 14:58:16 +00:00
havran 60be2c78fb change [U|u]zivatel to [Pou|pou]zivatel
zmenene [U|u]zivatel to [Pou|pou]zivatel
2005-06-17 11:31:49 +00:00
martignoni 67e60d1ffa Typo corrected, thanks to Le Nestour Florian 2005-06-17 09:47:39 +00:00
urs_hunkler d87ea8e9e9 merged from 1.5 - removed padding-top from title, which made the title of the sideblock higher than the other ones. 2005-06-17 06:29:01 +00:00
vthung 20ad99e128 Added mods.html 2005-06-17 06:12:01 +00:00
vthung fafc328717 Added maxgrade.html 2005-06-17 06:10:38 +00:00
vthung b1b27e4d43 Added index.html 2005-06-17 06:09:41 +00:00
vthung 968f1d596f Added hours.html 2005-06-17 06:08:35 +00:00
vthung d2da450672 Added grade.html 2005-06-17 06:07:36 +00:00
vthung f6a6be4588 Added dynsection.html 2005-06-17 06:06:43 +00:00
vthung 4f01feba21 Added choosedays.html 2005-06-17 06:05:30 +00:00
vthung e111da538d Added autoattend.html 2005-06-17 06:04:03 +00:00
vthung 11fa870753 added types.html 2005-06-17 06:01:05 +00:00
vthung 832b1b90f8 added resubmit.html 2005-06-17 05:59:59 +00:00
vthung 45ee33130b added emailteachers.html 2005-06-17 05:44:39 +00:00
vthung ea81f5f50a added commentinline.html 2005-06-17 05:43:35 +00:00
vthung c20c706a40 Added assignmenttype.html 2005-06-17 05:42:10 +00:00
koenr 9dfee4684c final upload of the typo fixes, contributed by L.Vandijck. Thanks a lot! 2005-06-16 22:42:54 +00:00
barias 91180ebfdd Minor updates in spanish translation 2005-06-16 21:42:59 +00:00
michaelpenne 7250297f1b changed the name for the popups, IE was failing with long names 2005-06-16 21:18:37 +00:00
mits 7ba8ebdaa7 translated some strings and a help file for lesson. 2005-06-16 20:28:28 +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
fiedorow bddd066571 merging security fix for guest uploads 2005-06-16 17:31:01 +00:00
michaelpenne 804456766e now passes the media files name to the print header function 2005-06-16 17:17:58 +00:00
michaelpenne 7861d3ffe1 added some lang entries for media file feature 2005-06-16 17:12:58 +00:00
fiedorow 890c016ac0 Security fix to disallow guest uploading 2005-06-16 15:10:40 +00:00
ethem 00178c8b42 *** empty log message *** 2005-06-16 12:34:47 +00:00
ethem 4253cd2c78 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-06-16 12:22:14 +00:00
ethem 8f0953eebe New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-06-16 10:51:22 +00:00
thepurpleblob 1270a3a7ed Replaced _variable() style calls with _param() style calls plus other
mods to suit.
2005-06-16 10:15:02 +00:00
mjollnir_ 93d58b30f3 Merged from MOODLE_15_STABLE: Another postgres fix -- this time forums were not being displayed 2005-06-16 03:12:10 +00:00
mjollnir_ 10a760b9b2 Merged from MOODLE_15_STABLE: html_entity_decode segfaults in php 4.3.1 on an empty variable... documented in bug 3508. credit: Eloy & Jose Luis Daz 2005-06-16 02:58:24 +00:00
mjollnir_ d27920b9ad Merged from MOODLE_15_STABLE Fix for bug 3508 -- only do the clam log on backup/restore for restoring course/user/group files, not for temp backup data 2005-06-16 02:33:42 +00:00
lonecatz 162bbb06ef bug fix by sunner at hit 2005-06-16 00:05:13 +00:00
lonecatz 9acb281b5f new translation by xiaoyu1985ban at 126 dot com 2005-06-16 00:03:42 +00:00
lonecatz 25955b3343 correct information 2005-06-16 00:01:15 +00:00
mits 6cbee18b0d translated a string and a help file for lesson.
fixed feature.html
2005-06-15 23:57:52 +00:00
michaelpenne 1fd92aadb0 Fixed a problem with quotes in short answers
and

Fixed a bug with clusters.  If you enter a cluster after a page it would throw a
navigation error.  It now enters the cluster properly.
2005-06-15 23:41:01 +00:00
michaelpenne f26cef7c22 Minor changes to support the new media file feature. 2005-06-15 23:35:11 +00:00
michaelpenne dbda1da801 This file is used as a popup to play a media file defined in the lesson settings.
This file still needs some testing before it is ready for prime time.
2005-06-15 23:29:50 +00:00
mjollnir_ adf19ef5b4 Merged from MOODLE_15_STABLE: Fixing bug 3502 - 2 postgres problems - one in db creation (my fault) and one in '' instead of 0 for int in sql query 2005-06-15 22:49:02 +00:00
mudrd8mz c970d6095d Removed recently committed Workshop help files because not valid HTML code (I'm sorry again, Koen ;-) 2005-06-15 22:00:36 +00:00
koenr 79da802106 Already a first set of typo's corrected. Fixes contributed by L.Vandijck 2005-06-15 21:15:30 +00:00
urs_hunkler 09ade8ac05 Merged from 1.5: corrected the CSS. It is not enough to set the outer class once at the begining of a comma separated list of CSS stylings. Every item must contain the full series of classes or ids, only the properties are following once. 2005-06-15 19:28:12 +00:00
mudrd8mz d2b0dc161e Workshop Help files written by Daniel Miksik long time ago (I forgot to commit
them ;-)
2005-06-15 19:15:13 +00:00
martignoni 87bbb360cd Corrected encoding 2005-06-15 18:02:31 +00:00
stronk7 79252a8fbd All the changes done these days are now in HEAD
Merged from MOODLE_15-STABLE
2005-06-15 15:57:24 +00:00
thepurpleblob 8d030053ad Replaced require_variable() and optional_variable() with required_param()
& optional_param(). Added sesskey check to forgot password form too.
2005-06-15 15:22:30 +00:00
thepurpleblob ef2b429c09 Replaced require_variable() with required_param() 2005-06-15 15:01:40 +00:00
thepurpleblob 7f4d18fc7c Replaced require_variable() and optional_variable() with required_param()
and optional_param(). Other tweaks to suit.
2005-06-15 14:58:17 +00:00
mits 644a7a9da2 translated few strings for health center. 2005-06-15 13:24:27 +00:00
thepurpleblob 993ef10da7 require_variable() and optional_variable() replaced with required_param() &
optional_param. Other tweaks to suit.
2005-06-15 12:31:09 +00:00
thepurpleblob 6b4dda0ccb Added some strings for health centre. 2005-06-15 11:07:50 +00:00
thepurpleblob 8381a4e21e Removed a couple of $_GET[]s 2005-06-15 09:49:18 +00:00
thepurpleblob 24d5bfff76 optional_variable() replaced with optional_param() 2005-06-15 09:46:19 +00:00
thepurpleblob 59518de11e require_variable() and optional_variable() replaced with required_param() &
optinal_param() plus other tweeks to suit. Improve security.
2005-06-15 09:39:26 +00:00
stronk7 e1540e50b7 Modified the grades visualisation to make use
of styles a bit better. Works fine under standard
and wood personalise it aparently without problems.

Sure it can be improved...!

Merged from MOODLE_15_STABLE
2005-06-15 00:26:34 +00:00
mits 92f81773b1 polished 2 important help files. 2005-06-14 21:34:37 +00:00
mits f176bb1cef polished some strings and translated a new help file for grade. 2005-06-14 21:25:40 +00:00
defacer 2e477369d3 Merging from STABLE:
Fix for bug 3510:

Due to stupidly copy/pasting some code, deleting a block instance could,
under some circumstances, throw a fatal error.
2005-06-14 20:33:39 +00:00
michaelpenne 5805dddbb6 put in two !== instead of != to compare NULL values 2005-06-14 17:42:12 +00:00
defacer 93c865201a Merging from STABLE:
Fix for bug 3467: Adding "single discussion forum" was broken. Now works.
2005-06-14 15:52:49 +00:00
thepurpleblob 7168423c82 Replaced require_variable(), optional_variable() with approproate
required_param(), optional_param() etc.
2005-06-14 09:21:09 +00:00
mits b737ab2b02 translated a help file for grade. 2005-06-14 02:26:52 +00:00
mits 069bb9b429 polished. 2005-06-13 22:57:08 +00:00
mits f1b80f89f4 polished. 2005-06-13 22:34:18 +00:00
stronk7 a69a71e193 Added some header clasees to 1 table.
Merged from MOODLE_15_STABLE
2005-06-13 19:37:02 +00:00
thepurpleblob eed6bf497f Yes, another stupid typo. 2005-06-13 19:07:15 +00:00
thepurpleblob 96dcfb5621 Replaced require_variable() and optional_variable() with required_param() and
optional_param(). Fixed notice when doing a sort in recent activity.
2005-06-13 19:06:28 +00:00
gustav_delius f3d7f1ca50 merged from stable 2005-06-13 18:42:17 +00:00
thepurpleblob 84a422500e Whoops. Typo! 2005-06-13 16:24:47 +00:00
thepurpleblob 614cd5355a Added utility function object_property_exists() 2005-06-13 16:23:10 +00:00
barias 1e4f834193 *** empty log message *** 2005-06-13 13:50:13 +00:00
thepurpleblob 21283ddc98 Tidied up logs HTML a bit, to make it more readable. 2005-06-13 11:19:19 +00:00
martignoni e7fe0d2b61 Typo corrected 2005-06-13 09:56:24 +00:00
havran df1ac1b96b updates and minor changes from Martina Majorova 2005-06-13 09:47:17 +00:00
thepurpleblob 702121301c require_variable() and optional_variable() replaced with required_param()
and optional_param().
2005-06-13 09:29:42 +00:00
exe-cutor c75a9a5c8d Merging fixes from MOODLE_15 2005-06-13 07:54:44 +00:00
carlesbellver 16a3c0907d *** empty log message *** 2005-06-13 06:34:31 +00:00
defacer b33dd23adc Merging from STABLE:
Implementing Dan Marsden's great idea for additional hooks when block
instances are deleted (bug 3446). Going a step further and adding hooks
for when block instances are created.
2005-06-13 03:32:31 +00:00
defacer 34137668b5 Adding a little more checking to the session switching trap code.
I 've come across a problem where:

1. You have an "old" (say 1.3.5?) Moodle installation.
2. You are logged in as admin.
3. You suddenly switch to using a 1.5+ codebase with
   the SAME database, WITHOUT LOGGING OUT FIRST.

In this situation, I was presented with a deadlock. I could not do
anything because "my session had expired", and I could not even
log OUT to clear my session. In fact it was just reloading the
"session expired page" all the time.

If it weren't for debug = On which causes a notice in these
circumstances, it would be fracking difficult to understand what
was going on.

With this small addition, you can at least visit your login page
and log in anew, so problem fixed.

I believe this was talked about in the forums lately? Not sure.


(Also merging Martin's theme standard -> standardwhite change)
2005-06-13 02:56:37 +00:00
defacer 7e9a11eb98 Merging from STABLE:
While researching bug 3478:

Consolidated handling of the incoming courseid parameter, as it was easy
to make an error the way this was written before.

In general, this script looks like it needs to be streamlined.
2005-06-13 02:38:48 +00:00
defacer 8023ab860a Merging from STABLE:
Fix for bug 2925:

When editing is turned on, the Main Menu should always display and give
the option of adding resources/activities in section 0 of the site.

Bad optimization code caused the drop downs to not be shown if there
was no section 0 (i.e., the site never had a news forum or an activity
in the Main Menu block).

FINALLY! :)

PS: Version bump, so that we know if people have the latest version of
the block. I 'm going to bump versions from now on when bugs are fixed.
2005-06-13 01:57:33 +00:00
lonecatz b06bda7ce5 change the translation of word journal from 'zazhi' to 'xindebaogao' 2005-06-13 01:49:18 +00:00
mits 29c322ca73 translated two help files for quiz. 2005-06-13 01:31:15 +00:00
defacer eb24097afe Merge from STABLE:
Fixing a notice when $CFG->forum_trackreadposts doesn't exist (when editing
the admin account during installation, for example).
2005-06-13 00:48:33 +00:00
mjollnir_ e67755a1b0 Merged from MOODLE_15_STABLE: Email bounce handling: fixing md5 validation bug 2005-06-13 00:17:16 +00:00
mudrd8mz b8189c85ac New files and updates for 1.5. Modules done up to moodle.php, docs and help files incomplete. 2005-06-12 22:02:59 +00:00
koenr 3e33058824 *** empty log message *** 2005-06-12 21:59:28 +00:00
koenr ad6aac8d6c updated index file 2005-06-12 21:47:11 +00:00
koenr 5d82670777 typo 2005-06-12 21:37:56 +00:00
koenr 507b529837 index and typo 2005-06-12 21:32:36 +00:00
koenr 59796d614d index and some better titles 2005-06-12 21:09:08 +00:00
barias 6905d7b482 *** empty log message *** 2005-06-12 20:04:45 +00:00
koenr 0b175cb5b6 typo 2005-06-12 19:12:13 +00:00
koenr e43f288b39 HTML and XHTML error 2005-06-12 17:37:07 +00:00
koenr a7bad8e26e latest changes for quiz analysis 2005-06-12 17:34:33 +00:00
koenr 9dc920eb57 missed an XHTML-error 2005-06-12 17:18:14 +00:00
koenr 54ea71f9ed fixing HTML and XHTML error 2005-06-12 17:11:07 +00:00
vthung 102414c831 Added analysisoptions.html 2005-06-12 14:22:19 +00:00
vthung 5075a54bb6 Added analysisdownload.html 2005-06-12 14:11:02 +00:00
gustav_delius 9660d1de9c merged from stable 2005-06-12 13:51:22 +00:00
gustav_delius 22fcd78b59 file analysisdownload.html was initially added on branch MOODLE_15_STABLE. 2005-06-12 13:49:37 +00:00
koenr 06db6c6767 duplicate sentence see but 3466 2005-06-12 13:04:08 +00:00
gustav_delius 39395fd60b merged from stable 2005-06-12 09:57:13 +00:00
gustav_delius 7dd7925ee4 merged Julian's changes to calculated questions from stable branch 2005-06-12 09:52:21 +00:00
vthung 051123d0c5 Deleted journal related strings 2005-06-12 07:37:21 +00:00
vthung 80f7d4db4e Delete journal related things 2005-06-12 07:32:21 +00:00
mits a7f265b37a polished some and translated a help file for quiz. 2005-06-12 04:26:45 +00:00
mits 428e247685 fixed encoding. 2005-06-12 03:54:51 +00:00
koenr f0c979b4a0 some finetuning 2005-06-11 21:21:16 +00:00
moodler e3804ec7e1 Merged from stable 2005-06-11 19:00:23 +00:00
stronk7 d1e196744d Not needed anymore... 2005-06-11 18:37:17 +00:00
moodler c1ac64b5b0 Merged new CSS classes from stable 2005-06-11 18:30:45 +00:00
martignoni d52190e062 Removed reference to Journal 2005-06-11 17:05:17 +00:00
martignoni f773847680 Some cleanup 2005-06-11 16:57:55 +00:00
martignoni 16d132d6ed Removed reference to Journal. 2005-06-11 16:56:36 +00:00
koenr 9168f2c7ba new help file for grade 2005-06-11 14:24:13 +00:00
koenr a015343b0e new files translated 2005-06-11 13:51:46 +00:00
mits 55416e6a81 fixed for Journal module depreciation.
http://moodle.org/mod/forum/discuss.php?d=25449
2005-06-11 13:49:03 +00:00
mindforge b052516f3d file datasetdefinitions.php was initially added on branch MOODLE_15_STABLE. 2005-06-11 13:16:57 +00:00
koenr c02ccf0405 new help file for grade 2005-06-11 13:16:42 +00:00
vthung 5aec84dda3 Updated some strings 2005-06-11 13:16:08 +00:00
koenr ffad167997 filling in missing strings 2005-06-11 12:59:35 +00:00
vthung 1450ceb9cd Added timezones.php 2005-06-11 12:26:26 +00:00
koenr 23b8aacfc7 journal reference 2005-06-11 12:19:57 +00:00
vthung 36c99eceb6 Added block_search_forums.php 2005-06-11 12:14:55 +00:00
vthung 139a61e2a1 Added fonts dir and its correspondent files 2005-06-11 12:10:42 +00:00
mits 39246d382c *** empty log message *** 2005-06-11 11:47:55 +00:00
mits 4107d092ff polished. 2005-06-11 11:30:48 +00:00
julmis 86d5a066ae Merging from MOODLE_15_STABLE
- cut 'n' paste fix
2005-06-11 11:05:29 +00:00
lonecatz 70e31429cb fix bugs 2005-06-11 06:35:13 +00:00
lonecatz 81a4ce0ef1 change charset to GB18030 2005-06-11 00:54:15 +00:00
lonecatz e4c1f7458a sync with zh_cn_utf8 2005-06-11 00:21:35 +00:00
mits 04216868f9 translated a help file for lesson. 2005-06-10 23:55:12 +00:00
thepurpleblob 7d554260aa Fixed a couple of typos. 2005-06-10 21:26:52 +00:00
mits d1a402e3b6 polished. 2005-06-10 21:23:53 +00:00
thepurpleblob 70e3da07fd Changed all optional_variable() and require_variable() to equivalent
optional_param() and required_param() for greater security.
2005-06-10 19:54:41 +00:00
thepurpleblob 03c2200ef4 Changed optional_variables()s and required_variable()s to more secure alternatives. 2005-06-10 19:47:11 +00:00
barias 5a69215fd0 Minor updates in spanish translation 2005-06-10 19:41:14 +00:00
thepurpleblob c0257c9774 Replaced optional_variable()s with optional_param()s for greater security. 2005-06-10 19:40:06 +00:00
thepurpleblob ad644234b1 Replaced optional_variable() instances with secure alternatives. 2005-06-10 19:19:08 +00:00
lonecatz c89312d2a2 first translation 2005-06-10 17:28:17 +00:00
lonecatz 33a3bffb98 use the word 'nin' which is more polite than 'ni' 2005-06-10 17:25:06 +00:00
julmis 5c9cf710c6 Merging from MOODLE_15_STABLE 2005-06-10 17:18:54 +00:00
stronk7 fb65934f88 Reordering styles a bit....to find them easily.
Merged from MOODLE_15_STABLE
2005-06-10 15:36:44 +00:00
lonecatz aa4a1759d9 add maintainer information 2005-06-10 15:24:53 +00:00
lonecatz 43759f54bf documents converted from zh_cn_utf8 2005-06-10 15:16:50 +00:00
lonecatz a268a3b2c0 help files converted from zh_cn_utf8 2005-06-10 15:16:00 +00:00
lonecatz 79fe05e8ed language strings converted from zh_cn_utf8 2005-06-10 15:13:42 +00:00
lonecatz a9b0f9df00 change contact information 2005-06-10 15:12:07 +00:00
lonecatz ecf9042c49 bug fix by sun at hit 2005-06-10 15:07:51 +00:00
lonecatz 9b954c6e55 new translation by sun at hit 2005-06-10 15:07:22 +00:00
lonecatz eef5dad5db add help files converted from zh_cn_utf8 2005-06-10 15:04:13 +00:00
stronk7 4385c84859 Problems with 1.5Beta backups solved by Bobo. B-)
Merged from MOODLE_15_STABLE
2005-06-10 14:19:35 +00:00
thepurpleblob d53839aa6d Whoops - typo! 2005-06-10 13:25:23 +00:00
thepurpleblob 4c71d8b215 Added missing optional_param() 2005-06-10 13:18:29 +00:00
thepurpleblob 07bc47e0e5 require_variable() replaced with required_param() 2005-06-10 11:09:39 +00:00
thepurpleblob 46c0bb9b64 Removed optional_variable(), require_variable and all $_GET, $_POST
Replaced with more secure alternatives.
2005-06-10 11:06:19 +00:00
havran ea14e9b04e ozna4en0 -> ozna?en? 2005-06-10 11:00:50 +00:00
havran 7f95e892a1 updates and minor changes from Martina Majorova 2005-06-10 10:47:15 +00:00
thepurpleblob 2d9a7768f8 Whoops! Current action is optional not required. 2005-06-10 10:42:32 +00:00
thepurpleblob f2e91e2bdf Fixed register_globals usage for 'currentaction' param. 2005-06-10 10:23:53 +00:00
thepurpleblob e0de1be592 Fixed all instanced of optional_variable(), require_variable(), $_GET, $_POST etc
..all replaced with appropriate secure versions.
2005-06-10 10:05:30 +00:00
thepurpleblob 7a530277ef Added isset_param() convenience function to test if a param is set.
To get the nasty activity in one place and to improve code readability.
2005-06-10 09:51:25 +00:00
thepurpleblob 8ee1b0afab Removed assert_var_exists() function that did nothing useful. 2005-06-10 09:11:07 +00:00
stronk7 a9022f9e9b Generate properly RSS column. It was breaking styled (colored) rows.
Merged from MOODLE_15_STABLE
2005-06-10 09:04:59 +00:00
thepurpleblob 373da1d463 Added $CFG->disableglobalshack option for testing 'register_globals' free code
Also kills require_variable() and optional_variable() if true
(effectively kills Moodle dead - if true - at the moment!)
2005-06-10 08:55:26 +00:00
koenr e8289955b6 bug 3162 2005-06-10 08:44:00 +00:00
koenr f265cacbba bug 3464 2005-06-10 08:39:37 +00:00
koenr a4c44a4449 bug 3417 2005-06-10 08:30:31 +00:00
lonecatz e3ed09813c fix a bug in link to cron.php 2005-06-10 08:14:01 +00:00
koenr 589e2983ba one more grading file 2005-06-10 06:10:22 +00:00
koenr f669afc4ef changed some headings 2005-06-10 06:09:00 +00:00
stronk7 4fa22c723c Some classes added and minor chage to links to be able to
difference them from plain text.

Merged from MOODLE_15_STABLE
2005-06-10 00:49:18 +00:00
lonecatz eedb6e1cd6 bug fix by sun at hit 2005-06-10 00:05:59 +00:00
stronk7 706758c548 Some classes and styles added to show everything properly.
Merged from MOODLE_15_STABLE
2005-06-09 23:51:57 +00:00
stronk7 31a25778f1 Added one deleted br...
Merged from MOODLE_15_STABLE
2005-06-09 23:41:17 +00:00
stronk7 e666046150 Now icons, comments and ratings are showed properly in entrylist format.
Bug 3455
(http://moodle.org/bugs/bug.php?op=show&bugid=3455)

Merged from MOODLE_15_STABLE
2005-06-09 23:32:13 +00:00
stronk7 ece6d42744 Separate icons a bit...
Merged from MOODLE_15_STABLE
2005-06-09 23:29:10 +00:00
mits 8973cf7e86 fixed bug 3457. 2005-06-09 23:05:22 +00:00
michaelpenne 7629332ba4 Bug: fixed a problem with the date completed value and a problem with processing shortanswer/numerical question types 2005-06-09 21:55:53 +00:00
martignoni f48dc334c7 Change to when newly created states get saved
Changes to what is printed during regrade
2005-06-09 21:48:11 +00:00
martignoni 4e04b8d26c Added missing auth strings for field locks 2005-06-09 21:41:28 +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
moodler 338cfbb8f1 Commented out hover hack ... see bug 3453 2005-06-09 21:10:56 +00:00
thepurpleblob 2dfb681426 Merged from STABLE 2005-06-09 18:56:30 +00:00
koenr 12ebdf84dc see bug 3457 2005-06-09 16:43:10 +00:00
stronk7 f65329a64f Fixed two typos (in one line!) :-o
Testing changes before commit is always interesting... :-P

Merged from MOODLE_15_STABLE
2005-06-09 16:34:09 +00:00
mits e616329b59 translated some string for quiz and one help file for grade.
polished grade.php
2005-06-09 16:12:20 +00:00
thepurpleblob b78fbdac9d changes merged from STABLE 2005-06-09 14:04:38 +00:00
bobopinna e868a0f3b0 Update to Moodle 1.6 dev 2005-06-09 11:58:34 +00:00
bobopinna 1ce1a3e821 Updated by Claudio Maggi 2005-06-09 11:58:07 +00:00
gustav_delius 4f80143e36 merging from stable 2005-06-09 10:14:24 +00:00
thepurpleblob 35a4a791c2 Merged from STABLE 2005-06-09 09:41:06 +00:00
moodler 7969159320 Merged fixes from stable 2005-06-09 09:26:46 +00:00
moodler 8445242f75 file switch_minus.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 09:24:52 +00:00
moodler 408741d86b file switch_plus.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 09:24:52 +00:00
moodler d19d632067 Merged changes from stable 2005-06-09 08:30:55 +00:00
moodler e9aa3546f3 file right_active_hover.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler eb57978186 file right_active.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler f66d162c41 file right_hover.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 943e2f7327 file right.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 56d1bb45ec file right.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 5e435e8b4d file right_end.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 148b1c5c7b file right_active_hover.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 92a6c98ebb file left_hover.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 1a21754b82 file right_active.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 32bb7eee6a file right_hover.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler bbff701cb1 file left_hover.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 9c235a7a61 file left_active.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 59c7aadf0c file left_active.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 3026b93cc5 file left.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 9f32df750a file left_active_hover.png was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 1c6d4f52b1 file left_active_hover.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler 0c2f2f27e3 file left.gif was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:28 +00:00
moodler f709442cac file styles.php was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler f5f2787172 file gradient1long.jpg was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 68202ceef5 file background.jpg was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 8b10a861e9 file styles_color.css was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 1740d1ef05 file header.html was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler ebd8c87ded file gradient2long.jpg was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler bfdd403e2b file config.php was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 0a35361f0a file gradient1.jpg was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 258d0d6844 file gradient3.jpg was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler da9fc4e029 file favicon.ico was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 426f8f655f file footer.html was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 0e6b1fee61 file gradient2.jpg was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:28:27 +00:00
moodler 64364bf344 file fonts.css was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:06:40 +00:00
moodler a8ccbc81ea file colors.css was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:06:40 +00:00
moodler 6db597a81a file gradients.css was initially added on branch MOODLE_15_STABLE. 2005-06-09 08:06:40 +00:00
mits fe8684eed8 translated some strings and a help file for quiz. 2005-06-09 06:23:49 +00:00
havran e0d4c1fca1 updates and minor changes from Martina Majorova 2005-06-09 05:50:48 +00:00
mits 7e04a4262c polished, translated a help file for quiz. 2005-06-09 04:07:19 +00:00
lonecatz 16145bf8e9 change the language name to Simpilified Chinese which is more accurate 2005-06-09 04:06:10 +00:00
lonecatz c98f3d3917 new translation by sun at hit 2005-06-09 04:02:01 +00:00
lonecatz ddf29ab99d change to unix format and fix some bug by sun at hit 2005-06-09 04:00:15 +00:00
rcantada f4bbcde96b new strings for auth.php 2005-06-09 02:50:20 +00:00
michaelpenne cedac380ed Before, importppt would look for outline.htm to determine the order of the slides.
If outline.htm is not found, it would fail.  Now if outline.htm is not found
importppt will scan the directory for any file that starts with slide.
This change was added to support powerpoint 2000
2005-06-08 17:33:41 +00:00
mudrd8mz 07ddcd6d1d One of the last-moment update for current 1.5 2005-06-08 15:28:09 +00:00
barias 37a0b93ee8 *** empty log message *** 2005-06-08 10:47:50 +00:00
barias 36bd394e2f Minor updates in spanish translation 2005-06-08 10:29:17 +00:00
lonecatz 094d36e351 new translation by sun at hit 2005-06-08 08:55:35 +00:00
lonecatz 41e46cf24d new translation 2005-06-08 06:17:52 +00:00
minkowski 163f5262f5 Thai Language for Moodle 1.4.5 and 1.5 beta newly revised as in thai moodle book and better font for graph display 2005-06-08 05:20:15 +00:00
lonecatz 35406dcb1a new translation 2005-06-08 04:06:46 +00:00
lonecatz 1e6980df13 new translation 2005-06-08 02:26:48 +00:00
mits acb746851f polished, translated a help file for grade, some string for auth.php. 2005-06-07 23:46:10 +00:00
koenr 69702146ca error in translation 2005-06-07 23:17:56 +00:00
michaelpenne bd71134047 Bug 1650 fixed: help button calling the wrong help file 2005-06-07 20:56:37 +00:00
michaelpenne f933effb3e Bug 3022 Fixed: got rid of uppercase tags 2005-06-07 20:47:25 +00:00
lonecatz 346fa87918 new translation 2005-06-07 17:03:42 +00:00
lonecatz e4bc9a998e one more string translated 2005-06-07 16:46:26 +00:00
lonecatz fbc8f0684f bug fix by sun at hit 2005-06-07 16:36:11 +00:00
lonecatz 2571eb9564 more translation by sun at hit 2005-06-07 15:59:53 +00:00
lonecatz 9309f75a4e bug fix 2005-06-07 15:56:15 +00:00
lonecatz 90e6815351 new translation by sun at hit 2005-06-07 15:44:54 +00:00
thepurpleblob 3a61ccbe0a Merged changes from STABLE 2005-06-07 12:37:44 +00:00
bobopinna 613250f3dd fixed a typo 2005-06-07 11:15:53 +00:00
thepurpleblob 28864c47e3 Merged from STABLE 2005-06-07 09:45:44 +00:00
mits ce7c3d3cc5 translated some strings for auth.php 2005-06-07 08:11:12 +00:00
barias ee0a15250d *** empty log message *** 2005-06-07 07:28:04 +00:00
koenr 874a910373 fixing NCR-notation (see bug 2453) 2005-06-07 06:03:19 +00:00
martinlanghoff 99ec0971be Merged from MOODLE_15_STABLE Added missing auth strings for field locks 2005-06-07 05:05:43 +00:00
martinlanghoff 967f5f4b12 Merged from MOODLE_15_STABLE - Fixes db upgrade for config_plugins failure on unquoted data - discussed at http://moodle.org/mod/forum/discuss.php?d=25122 2005-06-07 03:41:52 +00:00
rcantada 953de03fc1 grade module help files translated, removed journal references to other
docs
2005-06-07 00:34:53 +00:00
stronk7 0ca9ddb014 Added grades es help files (from Benito Arias...) 2005-06-06 23:53:01 +00:00
mits 9fa9cd299a translated a new help file for grade. 2005-06-06 22:45:10 +00:00
barias 47c8b68c7c *** empty log message *** 2005-06-06 19:50:46 +00:00
michaelpenne e0b1a2bea9 BUG FIX for Bug #3059: if there is not a response to an answer, the response gets set to an empty string 2005-06-06 18:30:34 +00:00
ecastrolt d8247a98d6 *** empty log message *** 2005-06-06 18:14:12 +00:00
michaelpenne fff91cc994 updated the link to the grade book 2005-06-06 17:23:35 +00:00
urs_hunkler bc172e3b87 mainly corretion for a disply problem of the course page in MSIE plus some minor changes. 2005-06-06 14:53:57 +00:00
bobopinna f04a5d36e4 Fixed backup bad data archive 2005-06-06 12:41:44 +00:00
bobopinna 73673f9cf1 Fixed a typo 2005-06-06 12:37:56 +00:00
ikawhero e1c4689053 Fixed a few minor typos. 2005-06-06 10:12:17 +00:00
mudrd8mz d8c115b0e3 Some fixes for 1.5 release - still a lot of work to do :-( 2005-06-06 09:57:10 +00:00
ikawhero 0a3f66a213 Small change merged from MOODLE_15_STABLE that to check $scalegrades.
There appears to have been other changes made to head so will not update
the merged tag.
2005-06-06 09:53:18 +00:00
koenr 12cb0a8161 first part of grade help files - have to teach a few hours now 2005-06-06 06:16:27 +00:00
ikawhero 40cbc26643 Merged from MOODLE_15_STABLE. 2005-06-06 03:36:44 +00:00
ikawhero 5fadde8389 Merged from MOODLE_15_STABLE
Check array is initialised. Bug 3424.
2005-06-06 00:41:05 +00:00
mits 80002a285b polished and translated a help file for grade. 2005-06-06 00:13:12 +00:00
ikawhero 1eca613343 Merged from MOODLE_15_STABLE
Errors will now return to course page instead of site. Related to Bug 3418.
2005-06-05 23:59:12 +00:00
mits 7b983e8848 polished. 2005-06-05 23:44:01 +00:00
mits c488bbb414 polished. 2005-06-05 23:10:04 +00:00
drabureesh 42267676a8 Last Translation update 6-6-05, by Dr. Ali H. Abureesh 2005-06-05 23:06:59 +00:00
gustav_delius fc44ee0de8 Merged from stable 2005-06-05 20:51:15 +00:00
koenr cb998489a2 Can someone who can speak English properly get the errors out please? 2005-06-05 20:33:47 +00:00
koenr 74696307f0 technicaly ok - not tested yet in the interface 2005-06-05 19:56:09 +00:00
koenr fa2b81ae0e this one is ok now. Translate! 2005-06-05 19:24:45 +00:00
stronk7 e80caf8804 Missing helpfiles from contrib. Renamed as needed.
All yours, Koen. ;-)

Bug 3151
(http://moodle.org/bugs/bug.php?op=show&bugid=3151)
2005-06-05 19:05:50 +00:00
martignoni 8a37439909 Removed reference to Journal 2005-06-05 16:21:11 +00:00
martignoni 6f20996e87 changed entities for better code readability 2005-06-05 16:20:25 +00:00
martignoni 1f8e3004c7 Removed references to Journal. 2005-06-05 16:17:09 +00:00
martignoni b0402fa0bf Removed reference to journals. 2005-06-05 16:14:15 +00:00
martignoni 504df4ce40 changed entities for code readability 2005-06-05 16:13:12 +00:00
martignoni 8e00b53df8 Removed references to journals. 2005-06-05 16:10:53 +00:00
martignoni f0fd1396ac Changed entities, for better readability of the code 2005-06-05 16:09:43 +00:00
martignoni 64468a7005 Added a release date
The versioning code will not be in Moodle 1.5, merged from stable
2005-06-05 16:06:50 +00:00
martignoni 35d74299f4 Sorting the strings 2005-06-05 15:23:33 +00:00
martignoni a2116bec0a Added support for $CFG->allowobjectembed in the GUI 2005-06-05 15:20:16 +00:00
martignoni e6547ba049 Print notice on preview when secure window will be used for students
Also improved some language strings
Manual regrading page implemented
2005-06-05 15:13:47 +00:00
koenr ad262bc8ca more new strings 2005-06-05 14:08:07 +00:00
vthung dfd4a98bab Updated future.html 2005-06-05 12:03:17 +00:00
stronk7 472387aa39 Removed reference to Journal (Diario in es)
Merged from MOODLE_15_STABLE
2005-06-05 10:21:56 +00:00
stronk7 65922e3a45 Added a release date (es) 2005-06-05 09:44:58 +00:00
lonecatz 93a04bddfc first translation 2005-06-05 08:55:11 +00:00
koenr 1a507ea03b removed references to journal module 2005-06-05 08:04:05 +00:00
lonecatz e721a8c7cf more strings translated or fixed by sun at hit 2005-06-05 07:46:33 +00:00
thepurpleblob a3e206f240 merged changes from STABLE 2005-06-05 07:38:15 +00:00
lonecatz 8ebfae8645 first translation by sun at hit 2005-06-05 07:31:24 +00:00
thepurpleblob c4c50e6a65 Merged changes from STABLE 2005-06-05 07:19:47 +00:00
koenr f0deaef311 small change of a title - should be more clear now 2005-06-05 06:08:41 +00:00
mits 7068a8bd7b changed release date!
and translated one string for admin.php
2005-06-05 06:05:34 +00:00
koenr 8a6db2fba2 missing spaces 2005-06-05 05:57:30 +00:00
koenr 57486b9406 XHTML compliance - deleted some empty lines 2005-06-05 05:56:05 +00:00
moodler 1c14861005 Added a release date 2005-06-05 05:53:12 +00:00
koenr 6f4255de59 forgot to commit - new release notes 2005-06-05 05:40:24 +00:00
moodler d046ae55ad Merged $CFG->allowobjectembed from stable 2005-06-05 05:40:24 +00:00
moodler b99e8b98fc Merged Flash script fix from stable 2005-06-05 05:12:50 +00:00
moodler 284a88cd55 Fixed some spelling 2005-06-05 03:55:34 +00:00
mits f0e5bbed9f translated one string for quiz and a help file for lesson. 2005-06-05 03:48:41 +00:00
gustav_delius e132d90e02 merged Enrique's correction from stable 2005-06-04 22:14:08 +00:00
ecastrolt 9f701b4c5e *** empty log message *** 2005-06-04 21:14:57 +00:00
koenr a4d59c0114 completely revamped fa_UTF8 language pack from Ali Hosseini and his team. More info in readme.
Could not contact Adel - no answer to my mail
2005-06-04 20:05:32 +00:00
defacer 491cc6d617 Merging from STABLE:
Fixing all Tidy warnings in this page. This has to be A Good Thing.
2005-06-04 17:53:36 +00:00
gustav_delius 4b5d96abb2 The versioning code will not be in Moodle 1.5, merged from stable 2005-06-04 17:24:59 +00:00
gustav_delius 6742ed5c5e fixed typo, merged from stable 2005-06-04 17:23:37 +00:00
koenr 695ed6ebdb fixing NCR-notation (see bug 2453) 2005-06-04 17:16:37 +00:00
stronk7 92b90adf53 Changed name of the container category a bit and avoided one notice.
Merged from MOODLE_15_STABLE
2005-06-04 15:42:01 +00:00
ralf-bonn 6456502bd8 new strings for 1.5 2005-06-04 12:09:33 +00:00
koenr 2eb75a42d4 new strings form Anders 2005-06-04 11:25:51 +00:00
koenr 749c3eba1d removed release notes for 1.4 and moved them to releaseold 2005-06-04 11:24:02 +00:00
koenr 0ffde90eff latest strings 2005-06-04 11:06:40 +00:00
ikawhero 1993927c23 Merged from MOODLE_15_STABLE
Link to add new course when there are no courses available only appears to
course creators. Bug 3420.
2005-06-04 10:45:45 +00:00
gustav_delius 7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
vthung 320bc1888f Translated showperpage string 2005-06-04 09:45:53 +00:00
gustav_delius c9350c2957 Removed the quiz upgrade warning. Merged from stable 2005-06-04 09:44:09 +00:00
urs_hunkler cd4f79387a merged: corrected width of the middle column in course view. 2005-06-04 09:18:45 +00:00
martignoni 6ecb6a6136 Added new string 'showperpage' 2005-06-04 07:18:21 +00:00
rcantada 687bcfc6be showperpage string translated 2005-06-04 06:59:01 +00:00
rcantada b442307081 updating the rest of docs 2005-06-04 06:23:47 +00:00
lonecatz 01ed7b9b6d one more string translated 2005-06-04 06:09:42 +00:00
lonecatz b8232e42a2 more strings translated 2005-06-04 06:07:32 +00:00
lonecatz 36945d6ef6 Add two strings, fix one bug 2005-06-04 06:02:24 +00:00
mits 7dcd4a2972 translated one string for moodle.php on request of http://moodle.org/mod/forum/discuss.php?d=24980 . 2005-06-04 00:41:03 +00:00
mits a7165bb326 fixed based on standard theme. 2005-06-04 00:25:28 +00:00
defacer 731df4595c Merging from STABLE:
Fix for bug 3316: Now students which have attempted the quiz but have
since been unenrolled from the course are shown with a dimmed style.

Also merging Gustav's nicer error messages (the MERGED tag wasn't up to date)
2005-06-04 00:21:00 +00:00
drabureesh 729675846f Translation upated on 04-06-05, by Dr. Ali H. Abureesh 2005-06-03 23:49:36 +00:00
defacer bf845f2b30 Merging from STABLE:
Forgot to prepend country codes to the teacher list as well when sorting.
2005-06-03 23:41:06 +00:00
defacer 097c223156 Merging from STABLE:
Adding one new string: "Show $a per page"
2005-06-03 23:32:04 +00:00
defacer d5406399a2 Merging from STABLE:
CSS styles for the revamped user/index.php
2005-06-03 23:29:56 +00:00
defacer cc038b4772 Merging from STABLE:
Converted the students table to use the new table class

Fixed bug 3114: when sorting by country, prepend country code to the country name

Fixed behavior of autohiding teacher list; now there is a hide/show icon to be
consistent with the rest of Moodle

Fixed "show all" option so that the user can control it instead of relying on auto behavior

Fixed HTML, removed all inline styles

Improved accessibility (alt tags for images)

Updated obsolete optional_variable calls to optional_param

Several cosmetic and other improvements I 've already forgotten :P
2005-06-03 23:20:01 +00:00
defacer 91bb59f49f Merging from STABLE:
Added function that exports current selection for first/last initial
Added extra CSS class to initial bars (can now differentiate first/last)
2005-06-03 22:48:07 +00:00
mits 2bf53c4649 translated help files for lesson. 2005-06-03 21:53:41 +00:00
ralf-bonn bc8edfec54 new strings for 1.5 2005-06-03 20:47:54 +00:00
stronk7 9a3725c22e Upgraded backup/restore TODO list. Only two points remain open:
- SCORM: restore. See bug 3404.
- QUIZ: 1.5 <=> 1.5 backup and restore. Gustav's team is polishing  it.

Bump to 1.5 (Final)

Merged from MOODLE_15_STABLE
2005-06-03 17:45:26 +00:00
stronk7 b2abce7ccf Added support for forum->trackingtype
Merged from MOODLE_15_STABLE
2005-06-03 17:37:11 +00:00
stronk7 c098e8c503 Small typo, preventing group events to be restored properly.
Records in backup_ids table must use the name of the table
without the prefix as name. Bug 3360. Thanks Jon.
(http://moodle.org/bugs/bug.php?op=show&bugid=3360)

Merged from MOODLE_15_STABLE
2005-06-03 16:46:28 +00:00
ikawhero 116ae3b2e4 Merged from MOODLE_15_STABLE
Bug 3408.
2005-06-03 14:43:43 +00:00
martignoni d31b67cfeb Some cleanup 2005-06-03 14:35:09 +00:00
stronk7 8f999b78dc Bump!
Deletion (or move to site course) of orphan categories
executed in the upgrade process. Now we shouldn't have
such orphans anymore! B-)

Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Important NOTE: In the upgrade code for postgreSQL I've included
                some steps that weren't up to date. They seem to
                standard SQL code but they should be tested
                properly.... hope all works!

Merged from MOODLE_15_STABLE
2005-06-03 12:53:58 +00:00
stronk7 465ce22cf0 Deletion (or move to site course) of orphan categories
executed in the upgrade process. Now we shouldn't have
such orphans anymore! B-)

Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Important NOTE: In the upgrade code for postgreSQL I've included
                some steps that weren't up to date. They seem to
                standard SQL code but they should be tested
                properly.... hope all works!

Merged from MOODLE_15_STABLE
2005-06-03 12:52:22 +00:00
moodler 2bf5b5d4fc Merged fixes from stable 2005-06-03 12:22:54 +00:00
ikawhero 4920d2387c Fix for Bug 3036.
Merged from STABLE
2005-06-03 10:31:31 +00:00
havran 8bd5127c7b updates and minor changes from Martina Majorova 2005-06-03 10:02:48 +00:00
rcantada d77a9ce6f5 translated helpfiles for hotpot and scorm. updated old docfiles. 2005-06-03 03:55:38 +00:00
mits 9f2b4f07a8 translated help files for scorm. 2005-06-02 22:31:41 +00:00
martignoni 292d9cb3aa Config_plugin work 2005-06-02 18:25:56 +00:00
martignoni 0a471d8592 Sort the strings 2005-06-02 18:19:50 +00:00
martignoni 6c35b5c64f Change the remaining 'sujet' to 'th?me' (for theme format) 2005-06-02 18:16:26 +00:00
ethem 095bd2923d Removing course=$course->id in profile url. If autologin=true user can't login... 2005-06-02 18:03:08 +00:00
ethem 52fbf9138b Some clean up. 2005-06-02 17:56:31 +00:00
moodler 6283105094 Complete the removal of Attendance from the main CVS tree (on HEAD) 2005-06-02 14:51:50 +00:00
moodler 7d45304236 Removing Attendance from main tree (it's now in contrib/attendance) 2005-06-02 14:18:43 +00:00
barias b2d5bbbf1e Minor updates in spanish translation 2005-06-02 14:07:23 +00:00
barias 614554d686 *** empty log message *** 2005-06-02 13:57:26 +00:00
urs_hunkler 00a55bd4f1 some theme optimizations: manly font-sizes and the list pages. merged from 1.5 2005-06-02 12:33:26 +00:00
martinlanghoff e4513b6687 Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:50:03 +00:00
martinlanghoff a40803130b Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:39:41 +00:00
rcantada 631bbc6dac new translated help files for wiki, exercise, dialogue. 2005-06-02 02:46:18 +00:00
mits 5327f33d43 translated a help file for hotpot. 2005-06-02 00:52:14 +00:00
barias c0f09ddf66 Minor updates in spanish translation 2005-06-01 19:47:19 +00:00
zibas 0be73f6505 Applied the patch submitted with bug #3344. This fixes PHP5 issues while retaining PHP4 functionality.
Also altered the bb5.5 importer:
* Respecting certain "visible" flags
* Made the default course properties match the importer capabilities better
* Fixed the resource summaries
* Converting Bb "Staff Information"
2005-06-01 19:32:52 +00:00
koenr d8107b26ab polish after proofreading by a mathteacher :-) 2005-06-01 19:24:17 +00:00
gustav_delius ebbb178e35 tiny tweaks 2005-06-01 19:02:07 +00:00
martignoni af4201baae Four new strings added to show the work done against quiz_categories when a course is deleted. 2005-06-01 13:17:04 +00:00
martignoni 591ec84a2c Sorting of the strings 2005-06-01 13:06:33 +00:00
martignoni 16bacf55f8 Bug 3373, http://moodle.org/mod/forum/discuss.php?d=24710 2005-06-01 13:04:55 +00:00
mindforge 1732e1a00f Added multianswer explanation. 2005-06-01 13:03:12 +00:00
moodler 5a82dafa75 Merging fixes from MOODLE_15_STABLE 2005-06-01 08:15:21 +00:00
gustav_delius 6851e7cd4a merged fix of bug 3377 2005-06-01 06:44:35 +00:00
koenr c322d91ff4 new strings 2005-06-01 05:34:05 +00:00
mits d400747622 translated a help file for workshop. 2005-06-01 01:15:06 +00:00
barias bd7d86551a *** empty log message *** 2005-05-31 23:48:47 +00:00
barias 8d64f417bc spanish translation by Fermin Cueva 2005-05-31 23:34:37 +00:00
mindforge b27d7b3b6b Documentation about response storage and the beginning of a glossary for quiz specific terminology. 2005-05-31 23:10:18 +00:00
moodler 736f191c1d Added event handling to new assignment. Whopos! 2005-05-31 23:00:20 +00:00
barias a5893b087c *** empty log message *** 2005-05-31 22:48:21 +00:00
mits bacb41dda3 translated new strings for quiz. 2005-05-31 22:47:39 +00:00
stronk7 9ea6ac5105 Complete refactor of quiz_delete_course()
Now this function works following this:
- Iterate over every quiz category in the course (following parent-child relationships).
- If the category is being used*, move it to site level (under a container category) and
      mark it as published.
- If the category isn't being used, remove** it completely (questions, instances...) and
      re-parent its child categories.
- Feedback is shown in a table detailing all the changes performed.

* One category is being used if it has one question that is being used in any quiz,
  independently of its publish status.
** Removal of categories (and associated questions) has benn improved but, it won't
  be perfect until bug 3366 was solved.

Tested against some large courses with reused questions and multiple levels of
categories. Seems to work but

PLEASE TEST IT AND SEND ANY FEEDBACK TO BUG 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Exactly this function is going to be used in the upgrade script to solve
the orphan categories issue and it must work perfectly!

Merged from MOODLE_15_STABLE
2005-05-31 22:35:04 +00:00
stronk7 a08e3a39a5 Four new strings added to show the work done
against quiz_categories when a course is deleted.
Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Merged from MOODLE_15_STABLE

Please check strings!! My English can be, sometimes, wrong!!! ;-)
2005-05-31 21:29:48 +00:00
mits 576e08bed3 polished, translated a help file fot hotpot. 2005-05-31 20:23:27 +00:00
koenr 98209a4721 bug 3373
http://moodle.org/mod/forum/discuss.php?d=24710
2005-05-31 18:43:11 +00:00
koenr f6485d2c88 bug 3373 2005-05-31 18:38:55 +00:00
stronk7 3686d611d9 Simplify the quizzes_category_used() function.
I was using the $excluded parameter to avoid
loops between categories. A->B->A. Think we can
assume such loops won't exist, so I've deleted
the $excluded use.

Merged from MOODLE_15_STABLE
2005-05-31 16:33:18 +00:00
vthung 39af95e428 Modified some phrases 2005-05-31 16:24:29 +00:00
thepurpleblob 18c89ac630 merged from STABLE 2005-05-31 15:19:00 +00:00
martignoni f708c68397 Enrol/ldap offers enrol_allowinternal config option as it should. 2005-05-31 14:52:44 +00:00
thepurpleblob 3754d9b724 Merged changes from STABLE 2005-05-31 14:22:26 +00:00
thepurpleblob 55631ee73a Merged from STABLE 2005-05-31 13:35:15 +00:00
thepurpleblob 8cedc8a7f5 Merged changes from STABLE 2005-05-31 10:12:13 +00:00
koenr a37e678942 fixing NCR-notation (see bug 2453) 2005-05-31 05:58:36 +00:00
drabureesh 9e9b214548 Translation Last updated 5-30-05, by Dr. Ali H. Abureesh 2005-05-31 05:13:33 +00:00
moodler f74a733d0d Fix for SC122 2005-05-31 04:34:06 +00:00
rcantada 7bc05d58b7 new help files 2005-05-31 01:48:07 +00:00
mits 15b174c787 translated strings and help files for quiz. 2005-05-31 00:12:27 +00:00
stronk7 ca653ec706 Added the sort_categories_by_tree() function that
returns an ordered array of categories following
the parent-child relationships. It doesn't forget
any category and returns all the categories passed
although their parent were incorrect. Try to build
as much tree structure as possible.

Merged from MOODLE_15_STABLE
2005-05-30 23:59:42 +00:00
mjollnir_ 2019116ea9 Merged from MOODLE_15_STABLE: Fixing up problem in generate_email_processing_address -- using sitesecret rather than siteidentifier 2005-05-30 23:26:17 +00:00
gbateson 53ed0d14c8 size of top frame, if any, set using $CFG->resource_framesize 2005-05-30 23:13:56 +00:00
gbateson 96a4f85bd3 Additional explanation for quiz module add-in in Moodle 1.4.5 2005-05-30 23:06:05 +00:00
martinlanghoff d13325d4c8 Merged from MOODLE_15_STABLE - Fixed field lenght in config_plugins 2005-05-30 22:36:01 +00:00
stronk7 b5b6aa75a1 Now the quizzes_category_used() function supports searching
for uses recursively plus an array of excluded categories.

Needed to solve bug 2459...in progress.

Merged from MOODLE_15_STABLE
2005-05-30 22:29:47 +00:00
koenr f603dae451 fixing NCR-notation (see bug 2453) 2005-05-30 22:12:49 +00:00
koenr 169b56196f small tweaks 2005-05-30 22:07:35 +00:00
koenr ea85eec49c latest helpfiles 2005-05-30 22:07:13 +00:00
mits b8c7cb0c23 translated some strings for quiz. 2005-05-30 19:07:28 +00:00
dovix f0bee03f4f updated Hebrew string translations 2005-05-30 18:58:31 +00:00
moodler fe10672dab Merged from STABLE 2005-05-30 18:43:58 +00:00
moodler 50ab1dfae8 Merged mail fix from 1.5 stable 2005-05-30 18:10:57 +00:00
defacer 3525d91b46 Merging from STABLE:
Fix for bug 3364:

The Great Global $course Hack strikes again. I had to put in another instance
of the hack for course themes to work in the "calendar" part of the course.

Hopefully some day we 'll do all that "correctly"! (search for "hack" in
weblib and despair).
2005-05-30 13:35:36 +00:00
defacer 5a74ffd344 Merging from STABLE:
More correct handling of group events, we cannot simply omit them because
the course has "no groups" UNLESS groupmodeforce == 1 as well.

Sadly, this severely weakens the performace optimizations :(

See bug 3303 for an example of what the problem was before.
2005-05-30 12:44:30 +00:00
mudrd8mz 6036083566 Included fix by Jaime Villate posted Sunday, 8 May 2005, 10:45 PM 2005-05-30 09:23:07 +00:00
havran 220c143216 minor changes 2005-05-30 08:33:59 +00:00
martignoni c7701e632c String 'incompatibleblocks' added 2005-05-30 07:56:11 +00:00
martinlanghoff a13e99bd67 Merged from MOODLE_15_STABLE - Created config_plugins table to manage configuration entries on a per-module/plugin. This breaks the rules a little bit, but it has been discussed with MD. 2005-05-30 05:22:07 +00:00
martinlanghoff f7d18493f6 Merged from MOODLE_15_STABLE. enrol/ldap offers enrol_allowinternal config option as it should. 2005-05-30 03:51:39 +00:00
mits b5406c2d43 translated few strings for quiz. 2005-05-30 02:49:37 +00:00
mits 2c4176eb79 translated 2 help files for scorm. 2005-05-30 01:49:53 +00:00
ecastrolt 083fc55c3e *** empty log message *** 2005-05-29 23:53:50 +00:00
mits edc29133ea translated some strings. 2005-05-29 23:03:04 +00:00
koenr 9a6753f7a4 this is done :-) 2005-05-29 22:11:04 +00:00
stronk7 0ca4fa367c Added the quizzes_category_used() to detect the list of
quizzes that are using questions from one category.

It relies in the quizzes_question_used() function. Will
be use in the 'orphan_categories' bug (#2459)

(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Merged from MOODLE_15_STABLE

With some previously unmerged changes added too!! Please check them
Gustav!!
2005-05-29 19:02:51 +00:00
stronk7 7eec33905f format_string() applied one deleting courses... 2005-05-29 17:27:00 +00:00
koenr 94a4301982 *** empty log message *** 2005-05-29 10:30:44 +00:00
moodler b384fbda90 Merged session fixes from stable 2005-05-29 08:00:24 +00:00
koenr a5c2c68cc0 new stings 2005-05-29 07:46:11 +00:00
koenr 8cdd153928 changing translation so some expressions fit better in the interface 2005-05-29 07:45:33 +00:00
vthung 7c1524ef8d Add book.php 2005-05-29 07:07:18 +00:00
rcantada 58f86dba2b updated main help files, new files for choice assignment and chat 2005-05-29 06:48:37 +00:00
vthung bd3ff77751 Correct small bugs 2005-05-29 05:30:57 +00:00
moodler a8d7ea4df3 Merged search results fix from stable 2005-05-29 04:05:53 +00:00
koenr bab7efc3ba fixed NCR notation 2005-05-28 21:27:13 +00:00
defacer e2ba85e99c Merging from STABLE:
Now tablelib allows the GET variables that control sorting etc. to be
configured. Essential in order to allow two independent tables in the same
screen, which is required for /user/index.php.
2005-05-28 21:24:46 +00:00
koenr 4173f2cefc Deleted thislanguage, thisdirection thischaracterset parentlanguage from files wich are not supposed to contain those strings
This cause also some empty files (because they didn't contain anything else) wich I also deleted
2005-05-28 21:24:06 +00:00
koenr 3e688521c6 fixed all thisdirection strings to rtl or ltr instead of translations
changed all translated parentlanguage strngs to empty strings (->default english)
See discussion http://moodle.org/mod/forum/discuss.php?d=24501#115858
2005-05-28 18:58:38 +00:00
defacer 061d8339a6 Merging from STABLE. 2005-05-28 18:37:47 +00:00
defacer 0ead4ee0df NEW STRING ADDED for admin/blocks.php
One string we no longer use removed.

(merged from STABLE)
2005-05-28 18:29:40 +00:00
defacer ca98446a17 Merging styles for admin/blocks from STABLE 2005-05-28 18:24:23 +00:00
moodler c6a4e7e592 Merged ignoresesskey from stable 2005-05-28 14:03:32 +00:00
moodler f941df22a0 Added mms as a protocol 2005-05-28 13:28:20 +00:00
mits 150ba3f22e fixed based on standard theme. 2005-05-28 11:12:44 +00:00
barias 6bd4fd7573 Fixed some 'typos' 2005-05-28 09:12:48 +00:00
barias a1de675f6d Fixed the pleonasm 'posibilidades posibles' :-) 2005-05-28 08:58:56 +00:00
martignoni 0d03fd3cea String 'ccexpired' added 2005-05-28 08:39:28 +00:00
martignoni a121d75efb New string for registration 2005-05-28 08:37:38 +00:00
moodler 7c7ca1b5ba Merged fix from stable 2005-05-28 06:39:38 +00:00
mits 2f9db41d7d translated a help file for quiz. 2005-05-28 01:27:05 +00:00
mits 09e3029941 re-translated the most important document in Moodle for coming 1.5 release. 2005-05-28 01:07:04 +00:00
rcantada b7e328e63c workshop help files translated 2005-05-28 01:04:34 +00:00
michaelpenne 2a6f9ad5c9 forgot to escape some " 2005-05-27 22:28:55 +00:00
michaelpenne 6c643a1dcc added an alt tag for images (nothing meaningful though) 2005-05-27 22:14:28 +00:00
michaelpenne 669b0fab9a strips end lines properly now. Directory fixes for book imports 2005-05-27 20:50:55 +00:00
barias e1606e5439 *** empty log message *** 2005-05-27 19:41:13 +00:00
urs_hunkler b0e196498e I removed the inlinestyle for the userentry in the sideblock "online user" and added the class "listentry" to the div. The properties of th inline style are now defined in styles_layout.css and stylews_fonts.css.
-merged-
2005-05-27 17:32:56 +00:00
urs_hunkler e99e17fe69 I removed the inlinestyle for the userentry in the sideblock "online user" and added the class "listentry" to the div. The properties of th inline style are now defined in styles_layout.css and stylews_fonts.css. 2005-05-27 17:28:16 +00:00
mits 14a82b4984 translated a help file for hot potatoes. 2005-05-27 17:18:47 +00:00
moodler 8213916d2b Merged extra style from stable 2005-05-27 14:58:15 +00:00
dovix e81f95514d even more new Hebrew string translations 2005-05-27 12:25:38 +00:00
dovix 1a99dc5bef new Hebrew string translations 2005-05-27 11:26:07 +00:00
havran 9cfeaa4dec new strings and some changes from Martina Majorova 2005-05-27 10:07:21 +00:00
bobopinna b5151f3399 Added AICC API support 2005-05-27 09:05:04 +00:00
havran 6808286a23 new strings from Martina Majorova 2005-05-27 07:39:59 +00:00
dhawes 3cbf5b9d43 added a </tr> tag that was missing from table 2005-05-27 01:21:05 +00:00
dhawes c7726acc74 minor bug fix where random memory was being spit out as an arg on a url 2005-05-27 01:18:04 +00:00
michaelpenne a2714c13f3 now creates lesson directory in moddata for the images. also supports the different slasharguments for files 2005-05-26 23:41:50 +00:00
stronk7 3f3e02b290 being a bit more consistent with previous translations
of some terms (all that thousands of ways to say the same
in Spanish !!) :-D
2005-05-26 23:12:44 +00:00
stronk7 e0faaf8a78 Some htmls entities deleted... 2005-05-26 23:05:30 +00:00
stronk7 810778b1c8 New help files added. 2005-05-26 22:40:02 +00:00
mudrd8mz 67712c5d40 Another 1.5 updates. The term "Grade" is translated inconsistently - somewhere "Bod/Bodovat", somewhere "Znamka/Znamkovat" or "Klasifikace". More discussion about this is necessary... 2005-05-26 22:22:12 +00:00
michaelpenne 7abd498b12 more flexible to catch more content for importing 2005-05-26 21:38:54 +00:00
mits 5f515b1232 translated a help file for lesson. 2005-05-26 20:46:47 +00:00
mits 0c9f3e9a78 translated a help file for lesson. 2005-05-26 18:50:09 +00:00
mits 889e66b91c translated some strings and new lesson help file. 2005-05-26 17:30:03 +00:00
moodler b3d8e59a29 Add a little robustness to the listing (old assignment types etc) 2005-05-26 15:24:33 +00:00
moodler a2a3c59019 Merged from stable 2005-05-26 14:46:28 +00:00
havran fba0c5b99c new strings from Martina Majorova 2005-05-26 13:53:23 +00:00
ethem da32de5c89 Some fixes. 2005-05-26 13:52:13 +00:00
ethem fab7fbe079 Edited a string. 2005-05-26 13:30:38 +00:00
ethem c4e49b78db Added a string 2005-05-26 13:24:26 +00:00
ethem 63655631c5 CCexpired support 2005-05-26 13:22:01 +00:00
ethem 8085ea2770 Added a string. 2005-05-26 13:13:22 +00:00
moodler f2bffd9ed2 Merged fixes from stable 2005-05-26 12:54:56 +00:00
martignoni 2f7cdfc564 Updated the wording and added a string 2005-05-26 12:54:04 +00:00
martignoni b5d334cc17 Typo corrected 2005-05-26 12:36:28 +00:00
mits fdb1d48a34 polished. 2005-05-26 11:33:24 +00:00
ethem a9ff839bee Some fixes. 2005-05-26 11:31:01 +00:00
havran 5dcd2545e3 new strings and some changes 2005-05-26 09:50:12 +00:00
bobopinna d475f685c2 Fixed some bugs - Now AICC launching seems to work. 2005-05-26 09:48:45 +00:00
gustav_delius 5ecf32ebf2 update of versioning doc 2005-05-26 07:54:48 +00:00
ethem a0419f8716 fixing enrol_allowinternal 2005-05-26 07:32:26 +00:00
mits b1e0c0f9fd translated future 2005-05-26 02:19:04 +00:00
mits 947f3aec89 translated release note and some strings. 2005-05-26 01:37:44 +00:00
gustav_delius a2bb02cce2 updates to versioning documentation 2005-05-25 22:23:17 +00:00
koenr 41fcf8cfc4 new helpfile 2005-05-25 22:17:18 +00:00
martignoni d8b46882a1 Typo corrected 2005-05-25 20:31:18 +00:00
defacer 46bba3597c Merging bugfix for 3334 (if at first you don't succeed edition) 2005-05-25 17:57:53 +00:00
mindforge 1e726a9645 Versioning documentation continued. Issues raised inside the document. 2005-05-25 17:48:23 +00:00
havran b0f7c27258 new strings from Martina Majorova & Juraj Chlebec & corrections from Miroslav Fikar 2005-05-25 16:28:09 +00:00
moodler a216c33ebc Merged updates from stable 2005-05-25 16:27:53 +00:00
moodler 75691cecf3 Updated the english and added a string 2005-05-25 16:26:13 +00:00
defacer a058decd5e Merging fix for bug 3334 from 1.5 STABLE branch. 2005-05-25 14:38:06 +00:00
martignoni 98549cd0b4 Another tweak. 2005-05-25 13:53:36 +00:00
martignoni fa008993d7 Some better wording 2005-05-25 13:40:44 +00:00
martignoni 95e95c3943 Added a lang file entry for importppt.php 2005-05-25 09:27:07 +00:00
koenr 84bcd3e5c4 some new strings 2005-05-25 09:24:40 +00:00
gustav_delius c724f48209 updated database creation by exporting from my database that was created by updating from 1.4. Merge from 1.5 2005-05-25 06:15:21 +00:00
rcantada 82e9c1724e forum help files translated. new quiz help files. typo and missed
strings corrected.
2005-05-25 02:24:44 +00:00
stronk7 58aa32ab0a Fixing a typo. (es) 2005-05-24 22:46:01 +00:00
michaelpenne cfcdb4b56e added a > to a table tag 2005-05-24 21:21:21 +00:00
michaelpenne 9f10d4d184 changed an include from lib.php to locallib.php and converted some numbers to constants 2005-05-24 21:02:16 +00:00
michaelpenne 98f22e225b added a lang file entry for importppt.php 2005-05-24 20:30:08 +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
michaelpenne 8707ce6910 new import script to import powerpoint slides (exported as html) 2005-05-24 20:26:21 +00:00
defacer 71f189c537 Tweaking a little stuff to make CSS the same as those in translated versions. 2005-05-24 18:55:30 +00:00
julmis 584e5bb133 Merging from MOODLE_15_STABLE
- Added nolink and search and replace buttons
2005-05-24 17:15:21 +00:00
thepurpleblob e8a780f319 Merged changes from STABLE 2005-05-24 17:03:36 +00:00
moodler 84bb3c12d5 Merged block changes from STABLE 2005-05-24 16:57:20 +00:00
gustav_delius ee68029a88 merged fix for bug 3329 2005-05-24 16:11:55 +00:00
thepurpleblob 2df4f2f5eb Merged changes to HEAD 2005-05-24 15:42:30 +00:00
martignoni cbe3eca60f Getting rid of superfluous tag 2005-05-24 14:38:55 +00:00
martignoni 14aa21ab18 Expanded future a little 2005-05-24 14:38:06 +00:00
bobopinna 540a33b4ae Fixed some typo and some bugs
Added support for Moodle 1.4 backup file
2005-05-24 14:32:57 +00:00
martignoni 117ff632f6 Updated the roadmap 2005-05-24 14:30:45 +00:00
martignoni 8f4dde5990 Polished some things in the release notes 2005-05-24 13:59:43 +00:00
martignoni c1c0100a7a Updated the information about the Moodle trademark 2005-05-24 13:42:05 +00:00
martignoni fc673512df Better formatting 2005-05-24 13:24:56 +00:00
martignoni c10d845759 Added some new strings 2005-05-24 13:14:24 +00:00
martignoni 3a68878768 New string 'noattempts' 2005-05-24 13:05:26 +00:00
mindforge 53b45aca11 Started documenting the versioning feature. 2005-05-24 10:00:08 +00:00
moodler ebb8b86d9c Updated image from Eloy 2005-05-24 09:01:15 +00:00
moodler e4116230ae New version of 1.6 development 2005-05-24 08:57:11 +00:00
lonecatz a040a003f4 translate more strings 2005-05-24 05:45:06 +00:00
lonecatz e8c74fc8b2 translate more strings 2005-05-24 04:17:19 +00:00
lonecatz 201778b60b first translation 2005-05-24 04:14:36 +00:00
defacer c910274995 Fixing a typo. 2005-05-24 03:31:48 +00:00
mits e92f921569 translated auth related help file. 2005-05-23 22:34:20 +00:00
danmarsden 9e1fc2da9c XHTML fix, 2005-05-23 22:13:15 +00:00
gustav_delius b3ccc054e7 Upgrade all attempts at a quiz to the Moodle 1.5 model on attempts.php and report.php 2005-05-23 20:52:55 +00:00
mits 1775f57d24 translated scorm related help file. 2005-05-23 20:32:18 +00:00
mits 3565f5ab41 translated scom related strings. 2005-05-23 20:24:20 +00:00
mits 265431d9f3 translated scorm related two help files. 2005-05-23 20:18:37 +00:00
stronk7 1a7388e3fb Updated the roadmap (es)
Expanded future a little (es)
Forgot something (es)
2005-05-23 19:22:44 +00:00
stronk7 9ccbd1f2ca Polished some things in the "releasde" notes (es) ;-) 2005-05-23 19:00:23 +00:00
stronk7 6ef91a5406 Updated the information about the Moodle trademark (es). 2005-05-23 18:46:46 +00:00
moodler 3e6e627d85 Beta 2005-05-23 18:32:13 +00:00
moodler 5b9148b99b Forgot something 2005-05-23 18:27:47 +00:00
moodler 2b0acf95d4 Expanded future a little 2005-05-23 18:25:53 +00:00
moodler 68976b67fa Updated the roadmap 2005-05-23 18:11:59 +00:00
moodler 2d814e0c61 Polished some things in the releasde notes 2005-05-23 17:54:11 +00:00
moodler e62bbfc623 Updated the information about the Moodle trademark 2005-05-23 17:38:18 +00:00
moodler 86f8527b8a Old fix to help focus after beep a little 2005-05-23 17:05:37 +00:00
moodler 382648f4c9 Some old checkin 2005-05-23 17:04:42 +00:00
moodler 43eefc8ed0 Fixed name of the SCORM module since we aren't using AICC just yet 2005-05-23 16:36:55 +00:00
gustav_delius 42d74f47f9 Some corrections 2005-05-23 14:56:22 +00:00
ralf-bonn 0de4293a5f new files, new strings for 1.5 2005-05-23 14:10:13 +00:00
defacer d3555a2ff5 A small bugfix/update to work with DST. Before, events starting between 00:00
and 00:59 in the first day of each month were not shown at all with DST on.
2005-05-23 13:53:06 +00:00
bobopinna 0df501d5c7 Completed user activity report support 2005-05-23 13:05:27 +00:00
bobopinna f8d6794797 Added some new strings 2005-05-23 13:03:16 +00:00
mindforge d7df8b06ae Fix for bug 3311 in review.php 2005-05-23 10:48:05 +00:00
urs_hunkler 6e3ca53a6c sitetopic format adjusted 2005-05-23 09:21:45 +00:00
mindforge 2af152cf52 Fix to feedback/highlighting in the multianswer questiontype. 2005-05-23 09:18:27 +00:00
urs_hunkler c21a621714 some typos 2005-05-23 08:48:30 +00:00
gustav_delius a472ce5960 New version of item analysis from Enrique 2005-05-23 07:25:33 +00:00
gustav_delius cf74468046 Forgot to commit this earlier 2005-05-23 07:16:08 +00:00
bobopinna e426d0db17 Temporary validation removing 2005-05-23 06:57:55 +00:00
bobopinna 9633a42350 Added user activity support
General TAB cleaning
SCO-LMS communication systeme changed to POST method
Several bug fix
2005-05-23 06:56:10 +00:00
bobopinna 362a7d40e1 Added a time marker for tracks 2005-05-23 06:53:28 +00:00
bobopinna c37c5280b9 Fixed all bugs to support SCORM 1.2 LMS-RTE3 2005-05-23 06:52:34 +00:00
barias 40f9642897 Latest updates in spanish translation 2005-05-22 22:11:01 +00:00
defacer 254e5a22a9 Fixed invalid use of GROUP BY and (mostly) fixed sorting by question grade.
There was a compatibility break before/after the Big Quiz Refactor it seems
that won't allow before/after attempts to coexist in the same table sorted
as they should. Will open a bug.
2005-05-22 21:43:12 +00:00
koenr 53d23b3b16 some new helpfiles for quiz 2005-05-22 21:38:24 +00:00
koenr 5af41da5a1 some new strings 2005-05-22 21:37:59 +00:00
koenr 1e938546bf New hu strings.
Thanks Karoly - almost complete!
2005-05-22 19:33:02 +00:00
stronk7 000b822e54 Now restore code for quizzes is enabled again. pre15 restore
seems to work and 1.5 backup 1.5 is in being done by Gustav's team.
2005-05-22 19:25:48 +00:00
mits 96714cf75c translated a help file for assignment. 2005-05-22 17:43:46 +00:00
mits 8c5d8d7c19 translated some strings and a new help file. 2005-05-22 17:37:45 +00:00
defacer 5e5c0f1ea5 This just caught my eye; obsolete and misleading line removed. 2005-05-22 16:57:24 +00:00
moodler 255804071d Custom pix work again .... bug 3319 2005-05-22 15:34:07 +00:00
moodler ee4a29b417 Updated version frm new olson code 2005-05-22 10:38:07 +00:00
martinlanghoff 3f8701ba14 Fixed handling of zones with no pre 1970 entries. Strange bug identified and fixed by Jon. 2005-05-22 09:15:52 +00:00
defacer 64ea4ecbba One new string 2005-05-22 02:05:45 +00:00
defacer c8dbfa5cd5 Fixing a header, this string wasn't set anywhere. Plus it needs a new
string in the lang files (coming up next).
2005-05-22 01:53:13 +00:00
defacer c5d3620362 Fixing invalid GROUP BY sql reported by Patrick Li of Catalyst.
(http://moodle.org/mod/forum/discuss.php?d=24110)

This was just a simple matter of cleaning up, no GROUP BY was needed.
Now let's see about the similar hornet's nest that we disturbed in Quiz...
2005-05-22 01:51:03 +00:00
dhawes f4065b8c41 New argument added to the print_paging_bar() function of weblib. A new argument was added. You can now specify a var name other than 'page' as the variable to be attached to your baseurl. This function's phpdoc comments were updated. 2005-05-22 00:50:37 +00:00
moodler bd83ce0789 Just the base class, other files to be added 2005-05-21 15:58:57 +00:00
urs_hunkler 8bb4143cf6 deleted and added to favicon with Format=Binary. 2005-05-21 11:27:37 +00:00
urs_hunkler 42bfc1e436 *** empty log message *** 2005-05-21 11:25:31 +00:00
barias bf40605011 Latest updates in spanish translation 2005-05-21 08:52:58 +00:00
thepurpleblob 4185ea744b Whoops - didn't notice I had been playing with this file. Change reversed! 2005-05-21 06:49:45 +00:00
thepurpleblob e9c7c26806 Removed internal auth check around add new user and upload users. 2005-05-21 06:45:17 +00:00
moodler 8a54c92ee4 Updated with new data 2005-05-21 06:22:39 +00:00
rcantada 6592af78e9 translated resource help files, new strings, updated block_rss_client's
stringname changes
2005-05-21 04:41:49 +00:00
stronk7 dc3b522580 Latest speed improvement for link filters (more noticeable under PHP4). Bug 3138.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138)
2005-05-21 00:22:14 +00:00
stronk7 cf416cc429 Advance a bit... 2005-05-20 23:17:48 +00:00
stronk7 e5acc2e61b Being a bit more exact, I've replaced the 1, 2, .... n
ordered asumption when restoring multianswer responses and
now it checks for the real positionky (like the upgrade)
2005-05-20 22:56:20 +00:00
gustav_delius 081d3a9647 Fixed bug 3295 2005-05-20 21:56:55 +00:00
gustav_delius 5913c377ea implemented Eloy's fix to the duplicate records problem, closing bug 3293 2005-05-20 21:39:34 +00:00
gustav_delius f294ea047d fixed weird line endings in this file because perhaps it is the cause of bug 3301. 2005-05-20 20:44:25 +00:00
barias 3a32526b6b Latest updates in spanish translation 2005-05-20 20:26:12 +00:00
bobopinna d70066404d Fixed a problem with credit/no-credit 2005-05-20 15:20:49 +00:00
havran f7b09029a2 minor changes 2005-05-20 15:13:06 +00:00
havran f991d1c40b new strings and some changes from Martina Majorova & Juraj Chlebec 2005-05-20 15:10:08 +00:00
havran d4f8e51463 *** empty log message *** 2005-05-20 15:07:49 +00:00
havran f6fe268693 new strings from Juraj Chlebec (ma vyznam prekladat ostatne mesta z anglictiny do slovenciny?) 2005-05-20 14:41:12 +00:00
havran 02d10c6155 new strings from Juraj Chlebec 2005-05-20 14:22:16 +00:00
bobopinna a29c7ffa27 Fixed some datamodel elements definition 2005-05-20 14:20:56 +00:00
havran 1bec7e0564 new strings and some changes from Martina Majorova & Juraj Chlebec 2005-05-20 14:06:28 +00:00
mindforge 920fb237c4 In locallib the function quiz_restore_question_sessions did not load the timestamp field for states. This was fixed by replacing the list of fields in the query by a s.* 2005-05-20 11:44:59 +00:00
mindforge ee676b5ace Fixed typo. 2005-05-20 10:36:27 +00:00
mindforge 405464d38d Fix for bug 3129. 2005-05-20 09:25:07 +00:00
gustav_delius 1ddb7f4efc Printing of header moved into plugins themselves to allow them to provide export functionality which does not want a header printed. Thanks to Enrique for doing this. 2005-05-20 08:52:33 +00:00
dlnsk 8194f51dff Translation of module Book 2005-05-20 08:28:37 +00:00
dlnsk 0e6e0dadd5 Anymore needs.
Now used types.html
2005-05-20 06:44:06 +00:00
dlnsk 5575601e2c Translation of module Resource 2005-05-20 06:24:33 +00:00
koenr 482ed223bb took error notice out of session expired notice 2005-05-20 06:12:49 +00:00
martinlanghoff b9bb37f30d get_list_of_timezones() - backed out optimization in sorting at the database; we need to sort the translated names, not the db names. Thanks Jon for the heads up. 2005-05-20 00:50:45 +00:00
martinlanghoff 7641e51553 get_list_of_timezones() - fix to usage of GROUP BY (fixes Postgres support) and optimization in sorting at the database. By Patrick Li 2005-05-20 00:14:32 +00:00
martinlanghoff 31df0bb83c Merged from MOODLE_14_STABLE - Better DB errors debug traces from Patrick Li 2005-05-19 21:59:00 +00:00
koenr 413ff46e2c suddenly empty file uploaded. very strange.
The fix
2005-05-19 21:03:48 +00:00
defacer e345909c50 Now that the extended multilang filter is in place (bug 2879),
reintroducing format_text to the HTML block (bug 2878).
2005-05-19 20:09:57 +00:00
mits 32287aed9b Now translationg quiz related strings. 2005-05-19 18:57:10 +00:00
defacer fde4a0941b New extended multilang filter!
Now does lang replacement for each "langblock" (many lang-enabled tags
bunched together with only whitespace between), allowing:

  * Multiple langblocks per filtered text
  * Non-lang-translated content before, after, and between langblocks

This should be solving bugs 2878 and 2879. Buy one, get one free.
2005-05-19 17:32:30 +00:00
mindforge 356d829527 Fix for bug 3288. 2005-05-19 16:13:18 +00:00
moodler 6ea5ebd43e Fixed some notices. 2005-05-19 15:34:08 +00:00
moodler d49b56e533 Some fixes for bug 3166 and the errors when in debug mode 2005-05-19 14:13:23 +00:00
moodler bdcf985cbd Fix for journal upgrade problem 2005-05-19 13:17:51 +00:00
mindforge bfeb5f257d Fix for bug 3294. 2005-05-19 10:36:36 +00:00
martignoni 478ba27078 New file added 2005-05-19 09:35:51 +00:00
ethem 79d1644127 be annotator. 2005-05-19 08:15:56 +00:00
gustav_delius 97f0cb15f1 Questoin edit popup window now closes itself automatically, see bug 3140. Thank you Eloy for the lesson in javascript. 2005-05-19 08:05:58 +00:00
gustav_delius be34c2948d Improved reporting during upgrade, see bug 3297 2005-05-19 07:54:29 +00:00
ethem 8cfedc61ca Turkish Documentation
(Please help me, help me)
There are a lot of documentation.
2005-05-19 07:36:29 +00:00
dlnsk 6ac84e004e Changes in datetime format 2005-05-19 07:16:14 +00:00
bobopinna 66fc6a1c02 Fixed some datamodel elements type 2005-05-19 06:22:37 +00:00
martinlanghoff 9feb9a19d6 Typo in table_column() breaks field renaming under postgres -- credit for the patch goes to Patrick Li 2005-05-19 05:08:03 +00:00
stronk7 e44f2f92b0 Now length is correctly set and stored to DB (bug 3290)
(http://moodle.org/bugs/bug.php?op=show&bugid=3290)

plus some added bits to handle the hidden field properly
2005-05-18 23:53:36 +00:00
danmarsden 5634beeaa5 -shouldn't have been using Javascript there! - few more fixes coming. - choice mod limit function doesn't seem to be working properly - doesn't seem to display results anymore! 2005-05-18 21:50:45 +00:00
koenr be808502ac new file - not understood everything yet 2005-05-18 21:44:50 +00:00
koenr ed1d555709 new strings 2005-05-18 21:43:56 +00:00
koenr e1aa434bc7 took out the double quotes, see discussion http://moodle.org/mod/forum/discuss.php?d=23046 2005-05-18 21:17:24 +00:00
dhawes e4897989b2 interface fix - instead of a combo box show feeds as checkboxes to make it more obvious when an instance has no associated feed. bug fix - if a custom title is set always use it over the feed's incoming title 2005-05-18 20:09:29 +00:00
gustav_delius 67f74fec53 Some code cleanup: the function extract_response() is not used any more 2005-05-18 19:59:12 +00:00
gustav_delius c877e32fa2 language file for the item analysis report for the quiz module developed by Enrique 2005-05-18 19:53:44 +00:00
gustav_delius 43f14820fd Updated version of item analysis report from Enrique 2005-05-18 19:52:21 +00:00
dhawes bc1aed98c7 don't get extra fields which are not needed from course table 2005-05-18 19:21:08 +00:00
stronk7 6472f6357f Prevent multiple execution of restore. Bug 3291
(http://moodle.org/bugs/bug.php?op=show&bugid=3291)

Merged from MOODLE_14_STABLE
2005-05-18 18:07:02 +00:00
urs_hunkler 75da9c2023 some more changes - mainly background colors 2005-05-18 16:33:26 +00:00
urs_hunkler 29803fe88d mainly corrected typos, changes in admin pages 2005-05-18 16:02:47 +00:00
gustav_delius 5144dc4aba Shortened length of answer field for numerical questions to 20, closing bug 1508 2005-05-18 15:43:37 +00:00
mits 0ee53538e2 fixed based on standard theme. 2005-05-18 15:25:03 +00:00
mits 758fc7ca9e translated one string for auth.php. 2005-05-18 15:24:38 +00:00
martignoni e0498d0814 Superfluous english word deleted 2005-05-18 15:17:32 +00:00
urs_hunkler 633877d3ea typo 2005-05-18 14:58:57 +00:00
bobopinna 23f6c62b62 fixed a problem with Firefox and bad schema version 2005-05-18 14:57:12 +00:00
urs_hunkler 7f4e5cce98 in the comment in the file header stood "styles_color". corrected. 2005-05-18 14:56:25 +00:00
urs_hunkler 00199b8e1d some optimizations 2005-05-18 14:42:08 +00:00
martignoni efd4e5402f Typo :-( 2005-05-18 14:36:56 +00:00
martignoni fdf79164f2 Added a file check for the Shibboleth data manipulation API 2005-05-18 14:36:25 +00:00
mindforge 5b572cc887 Fix for bug 3253. 2005-05-18 14:13:46 +00:00
ethem 93cf224096 *** empty log message *** 2005-05-18 13:20:48 +00:00
thepurpleblob 6e8503ab38 Incorrect variable name used for parameter. 2005-05-18 13:15:21 +00:00
urs_hunkler d5a9ea21af remove old files 2005-05-18 13:12:10 +00:00
bobopinna ba5a7c6c86 AICC HACP communication script 2005-05-18 12:58:59 +00:00
ethem 84f868036f New strings from Ethem Evlice for block_rss_client. <XHTML compliant/> 2005-05-18 12:57:56 +00:00
bobopinna 1b2e8b6f10 Updated to Moodle 1.5 alpha by Andrea Bicciolo 2005-05-18 12:56:33 +00:00
ethem 5b6b0b490e New strings from Ethem Evlice for block_glossary_random (XHTML compliant) 2005-05-18 12:16:05 +00:00
exe-cutor 75068258b2 Added a file check for the Shibboleth data manipulation API 2005-05-18 08:18:43 +00:00
exe-cutor 1237736ff3 Removed the warning about locking use profile fields because this bug was solved. 2005-05-18 08:16:43 +00:00
martinlanghoff 6227e876f6 olson_simple_rule_parser() now adds a reset rule to rulesets where the last rule has a defined TO field that marks where it ends. This tonge-twister means that Asia/Seoul should see the 1987 DST rule deactivated correctly in modern times. Discussed in http://moodle.org/mod/forum/discuss.php?d=23957 2005-05-18 07:53:45 +00:00
martignoni 1741e5f8f6 New string 'emptysubmission' 2005-05-18 07:30:36 +00:00
martignoni 67e0762aed New string 'preventlate' 2005-05-18 07:29:16 +00:00
martignoni 2f81dff38e Adding "Actions" (plural). 2005-05-18 07:27:58 +00:00
martignoni 0671b9e6e8 Temporary fix to bug 3140 2005-05-18 07:26:42 +00:00
bobopinna 7491e0f192 Starting scorm 1.3 datamodel definition 2005-05-18 07:26:03 +00:00
martignoni e6b5c0d3ac Added string for errors in GIFT format 2005-05-18 07:25:17 +00:00
martignoni 678998f20a Language strings and help files moved here from mod/quiz/lang/en 2005-05-18 07:22:24 +00:00
martignoni cce4b5dfcf Added string 'noattemptstoshow' and removing an old one 2005-05-18 06:32:54 +00:00
mits 1a3ca634a0 translated some. 2005-05-18 05:11:30 +00:00
mits 12555a8e9f translated some. 2005-05-18 04:57:39 +00:00
gustav_delius f19360ff41 Switched off the verbose feedback and removed some old code 2005-05-18 03:34:44 +00:00
gustav_delius 278553ffdc Avoid break between answer and feedback in multiple choice question 2005-05-18 03:00:55 +00:00
moodler eee88c7104 Added missing string 2005-05-18 03:00:05 +00:00
moodler f269c2242b Old file not checked in 2005-05-18 02:46:13 +00:00
moodler 381576d219 Undoing PJs change - sorry. HTML tags were being completely filtered out.
Trying to come up with another solution to work with multilang
tags (Bug 2878) (SE).
2005-05-18 01:49:56 +00:00
defacer 4541e897cb The particulars for the Manage Feeds page finalized. Old code removed. 2005-05-18 00:49:45 +00:00
defacer 3753b02a3b New yummy styles for the Manage Feeds page. Molto belle. 2005-05-18 00:48:16 +00:00
defacer 1c7e01d5cd Adding "Actions" (plural). 2005-05-18 00:03:18 +00:00
stronk7 c2546fdd62 Updating changes a bit... 2005-05-17 23:46:39 +00:00
defacer 9e0f2a43dc Switching feed dislay table to use the new table class.
Fixed some HTML, removed inline styles. Next stop: theme stylesheets.
2005-05-17 23:35:58 +00:00
stronk7 aacf918b5d Bump to 1.5 Beta's Day :-) 2005-05-17 22:51:41 +00:00
mits 084890bb68 translated some. 2005-05-17 22:39:54 +00:00
koenr 28cdb74986 strings done 2005-05-17 22:25:41 +00:00
gustav_delius 6c6d199c48 temporary fix to bug 3140 2005-05-17 22:22:29 +00:00
gustav_delius 54b3f8eb85 fixed typo in the wiki to markdown upgrade 2005-05-17 22:18:17 +00:00
mjollnir_ f010d33875 Merged from MOODLE_14_STABLE. Merging in my last unmerged patch. Corrects a bad constraint name in postgres for quiz. Bumped quiz version 2005-05-17 21:51:29 +00:00
martignoni d541556836 Sorting and cleanup 2005-05-17 21:35:57 +00:00
martignoni 03bf552f5f Rewording 2005-05-17 21:33:25 +00:00
martignoni 4c78a24d6c A proper dropdown for search subcontexts option 2005-05-17 21:30:29 +00:00
martignoni 83a097b4d4 Adds support for searching subcontexts -- Discussed in http://moodle.org/mod/forum/discuss.php?d=23696 2005-05-17 21:28:57 +00:00
martignoni 5ebff12d11 Javascript messages for Copy to Clipboard in show.php 2005-05-17 21:26:55 +00:00
urs_hunkler 699b60f613 I optimized some header spacing. 2005-05-17 20:52:50 +00:00
urs_hunkler d75c23ba56 I had hidden the course summary. Now it is shown again. 2005-05-17 20:45:08 +00:00
urs_hunkler 5228d0c500 I moved the images into the pix folder. 2005-05-17 20:31:47 +00:00
urs_hunkler e67d7012db I reworked the theme. Now it takes standard/layout as it's base and adds theme specific changes. Fonts and colors are separate. 2005-05-17 20:25:11 +00:00
moodler d6f47d9a1b The Online assignment now self-upgrades and tries to populate itself
with all the Journals.

I'm sorry this is so late.  :-(

It probably has bugs and may lose Journal data.

Please test it for me - I need to sleep.
2005-05-17 20:04:01 +00:00
moodler d175966b68 Fixed some upgrading bugs 2005-05-17 19:58:30 +00:00
moodler be27364137 Very quick fix to remove notices (but loses some colors) 2005-05-17 19:55:37 +00:00
moodler 9b73eabc82 Tweaking display :-? 2005-05-17 17:52:34 +00:00
koenr 02e1f2c3ad already some of the new quiz-strings 2005-05-17 17:27:21 +00:00
koenr f1b8d2f2d7 small improvement 2005-05-17 17:26:58 +00:00
defacer 3c47bfc752 The bug 2822 saga concludes.
This fix is visually appealing and consistent across all browsers.

IE I love you.
2005-05-17 17:00:20 +00:00
defacer b4843fde3b Fix for bug 2822: unwanted table spacing in calendar/view.php. Thanks Andrea! :) 2005-05-17 16:35:20 +00:00
ethem d86775a742 New strings for Meta courses. 2005-05-17 16:12:15 +00:00
havran cd58534594 new strings and some changes 2005-05-17 16:00:38 +00:00
moodler 03a4146b27 Slight rewording ;-) 2005-05-17 15:53:28 +00:00
thepurpleblob b98af62708 Now correctly handles changes in database format of numerical questions.
Also now properly supports numerical questions with multiple answers.
2005-05-17 15:47:31 +00:00
ethem bd9bd8c7b3 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-05-17 15:46:27 +00:00
moodler a1dcc526e0 Fixed strings 2005-05-17 15:45:54 +00:00
moodler 065d897aeb FIxed a string 2005-05-17 15:43:24 +00:00
moodler bf4b9655c7 Fixing all RSS client strings in all languages 2005-05-17 15:31:47 +00:00
defacer b011f733bf Fix for bug 2635:
The "current blocks code older than the one that made the database" message
tweaked so that it's different from the corresponding Moodle core warning.
2005-05-17 15:28:06 +00:00
dhawes ab48bbb271 updated strings to match guidelines - removed underscores and removed block_rss_ prefix 2005-05-17 15:21:32 +00:00
moodler ff5bb27a46 Fixed names and sorted file 2005-05-17 15:13:02 +00:00
dhawes 65abd339ff admins will now see the add_edit/configure link only if the student or teacher would normally see it. Everybody option removed from the global config options - not working properly and too late in the cycle to keep it for now 2005-05-17 15:09:38 +00:00
defacer 7c7d56bbd9 Fix for bug 2878:
HTML block now calls format_string to run filters as required.
2005-05-17 15:01:10 +00:00
thepurpleblob 2d83f32992 Added string for errors in GIFT format 2005-05-17 14:52:04 +00:00
thepurpleblob c4f9996d64 Numerical questions now work with recent database changes. 2005-05-17 14:49:55 +00:00
dhawes e413129c9f fix for ugly url problem 2005-05-17 14:43:00 +00:00
thepurpleblob 73ffd0ac03 Allow tolerance to be specified as array (like fraction and feedback) to
improve GIFT format compatibility.
2005-05-17 14:29:28 +00:00
thepurpleblob b5abaacf51 Sorted hard coded string. 2005-05-17 14:12:42 +00:00
moodler eaf4b379a9 Removed some debugging stuff 2005-05-17 14:04:55 +00:00
moodler 42cdbd1006 fixing themes a little 2005-05-17 14:00:04 +00:00
mindforge 16d85f5712 Fixed problem in random qtype (incorrect selection of state).
Fixed bug 3129. Randomsamatch now reports a propper error if not enogh SA questions are available.
2005-05-17 13:59:58 +00:00
moodler 5a502b7e2e Sort feeds by name 2005-05-17 13:54:15 +00:00
moodler 0addd942b2 Fixed style for second tab 2005-05-17 13:51:53 +00:00
moodler e0eda6cf48 Some added style for blocks configs 2005-05-17 13:46:48 +00:00
moodler 5e9bdad824 FIxed the look of the first tab 2005-05-17 13:46:19 +00:00
mindforge 57b77d43d9 Reverted the random question type to the old storage model to make life easier in the upgrade, backup and restore scripts. 2005-05-17 13:33:53 +00:00
gustav_delius b43757dbfa language strings and help files have now been moved to the main language directory 2005-05-17 13:25:40 +00:00
gustav_delius 107c0c8406 language strings and help files moved here from mod/quiz/lang/en 2005-05-17 13:24:05 +00:00
urs_hunkler fd0fc54333 I found a newer version (was 1.21 is now 1.30) 2005-05-17 13:03:34 +00:00
havran d6008cd6c1 new strings from Juraj Chlebec 2005-05-17 12:01:58 +00:00
havran cff76ec57f minor changes 2005-05-17 11:59:10 +00:00
mindforge de7df51644 The truefalse qtype now stores responses as it did in moodle 1.4. This fixes bug 3252. 2005-05-17 11:32:44 +00:00
miksik 1219f90927 Second 1.5 update 2005-05-17 11:32:18 +00:00
mudrd8mz c2f3002c89 Yet another 1.5 updates - to be continued 2005-05-17 10:05:29 +00:00
gbateson 88e899dcf9 use class="helplink" instead of inline styles 2005-05-17 07:45:39 +00:00
gbateson 5439ac0e07 correct wording on point 2, to "Install the messages and help files of the hotpot module" 2005-05-17 07:44:56 +00:00
gbateson c1d439b594 use class="helplink" instead of inline styles
get_recent_mod_activity to initialize $activity in loop
2005-05-17 07:43:40 +00:00
ethem 105e7da4c9 Fixing profileurl link. It must be $USER->id. 2005-05-17 07:08:04 +00:00
urs_hunkler 3b32704597 The tabs do not show the CSS rollover in MSIE. With the behavior "csshover.htc" MSIE behaves as the other browsers. I added the code to load this behavior via CSS to "javascript.php", because I think this is the best place to handle the behavioral layer of moodle. Perhaps it makes sense to rename it to "behavior.php"??? 2005-05-17 07:06:58 +00:00
bobopinna 8ae51c96fd Updated to Moodle 1.5 alpha by Andrea Bicciolo 2005-05-17 06:33:17 +00:00
koenr 83bfeebd40 groupmembership from subcontexts 2005-05-17 05:51:05 +00:00
koenr cee1bd0bb7 new strings for the et langpack
XHTML ok
Copied config strings to admin
2005-05-17 04:36:11 +00:00
martinlanghoff bd10cc11f2 Apache log integration -- moved documentation to config-dist.php. 2005-05-17 04:13:29 +00:00
martinlanghoff 5c5c16bb98 Apache log integration -- updated with more options to control what is logged as username. Implemented by Patrick Li. 2005-05-17 04:03:48 +00:00
koenr 2fa17f9c41 some new strings 2005-05-17 03:52:45 +00:00
martinlanghoff 22693f4aff Auth/LDAP -- a proper dropdown for search subcontexts option 2005-05-17 03:50:20 +00:00
martinlanghoff bdf09a84fe Enrol/LDAP -- adds support for searching subcontexts -- Discussed in http://moodle.org/mod/forum/discuss.php?d=23696 2005-05-17 03:49:20 +00:00
martinlanghoff 0bf73dd33a Enrol/LDAP now uses correct password to login -- fixes #3237 2005-05-17 03:26:14 +00:00
gbateson 99d6674487 moved hard-coded text messages (about clipboard) to lang/en/hotpot.php 2005-05-17 03:13:17 +00:00
gbateson baa58947c3 removed several (all?) XHTML incompatabilities 2005-05-17 03:11:01 +00:00
gbateson 01406b38f3 javascript messages for Copy to Clipboard in show.php 2005-05-17 03:09:42 +00:00
rcantada 34acaa3f50 new files 2005-05-17 03:02:37 +00:00
martinlanghoff 28a469f054 Updated licensing terms. 2005-05-17 02:20:10 +00:00
gbateson fcf0a80b37 access to $_GET parameters now done using required_param()
HTML tags made XHTML compatible
2005-05-17 02:15:04 +00:00
martinlanghoff 2ea55bc050 Merged from MOODLE_14_STABLE - Unlock session during fileserving. 2005-05-17 01:00:48 +00:00
defacer 9abcc2f62d Removing a string we no longer use.
Replacing with a string we DO use but wasn't there. My bad.
2005-05-17 00:29:11 +00:00
martinlanghoff 1fae496705 Merged from MOODLE_14_STABLE - Just to remove a warning (moodler) 2005-05-17 00:18:37 +00:00
stronk7 3fdbfb951b Tabs are out
(please don't use tabs in code, configure your editor to 4 cc per tab)
2005-05-17 00:06:51 +00:00
stronk7 8a12a13250 Tabs are out 2005-05-16 23:42:48 +00:00
stronk7 5e5b6b7f19 Tabs are out.
Please don't use tabs in source code. Set your editor to 4 cc per tab.!
2005-05-16 23:41:58 +00:00
stronk7 87dddc1445 Replaced some (not all) tabs to spaces.
I've leave unmodified formats and nusoap library
2005-05-16 22:51:16 +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
stronk7 894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
gustav_delius 1b05eeedad Put link to attempts on info page 2005-05-16 22:12:44 +00:00
gustav_delius 246143a1d8 Cleaned up config.html a bit 2005-05-16 21:49:37 +00:00
stronk7 d16abbbd20 Tabs are out
(leaving 3rd part libraries unmodified)
2005-05-16 21:48:38 +00:00
gustav_delius 87c32d8b7b removed unused language strings 2005-05-16 21:04:15 +00:00
koenr f5f729cd68 found final strings for gradebook. 2005-05-16 20:35:33 +00:00
koenr 0ff02511a7 new helpfiles for scorm 2005-05-16 20:21:47 +00:00
koenr 160d1a03e5 new strings 2005-05-16 20:20:43 +00:00
michaelpenne 67f4258145 Fixed links to help files. Help files were also added under /lang/en/help/grade to remain consistent with the site location of the gradebook as 'grade' 2005-05-16 20:20:31 +00:00
koenr 5fb1a58c85 XHTML-compliance 2005-05-16 20:12:20 +00:00
stronk7 ef9b35a01b Tabs are out 2005-05-16 19:38:21 +00:00
gustav_delius 1f48479ebf quiz_upgrade_states() now creates entries in the quiz_newest_states table only for states that are associated to those questions that are listed in $attempt->layout. 2005-05-16 19:21:34 +00:00
stronk7 e55b73fdb7 Some tabs are out! 2005-05-16 19:03:07 +00:00
mindforge 28c6786b49 Modified DB update to adapt multianswer states to the new storage.
ATTENTION: This currently only works for upgrades that upgrade from quiz versions pre 2005042900!
2005-05-16 17:01:21 +00:00
lonecatz 44f98d8a12 more translated strings 2005-05-16 16:37:46 +00:00
ethem 54e0f2ef8e Authorize.net plugin, some fixes for Default Field Separator & Field Encapsulation Character. 2005-05-16 15:37:11 +00:00
havran 64a39414dd new strings and some changes from Martina Majorova & Juraj Chlebec 2005-05-16 15:31:36 +00:00
bobopinna 06abe84fde Fixed a SQL injection from $scoid 2005-05-16 15:05:53 +00:00
bobopinna d1266f9db5 First translation by Andrea Bicciolo 2005-05-16 14:45:15 +00:00
thepurpleblob 78441dfc8d Added instructions for specifying text format in GIFT. 2005-05-16 12:58:25 +00:00
thepurpleblob 875c308e6c Added an example of specifying questiontext text format 2005-05-16 12:38:21 +00:00
thepurpleblob 0f27fa6bda Now allows questiontext text format to be specified. 2005-05-16 12:35:46 +00:00
martignoni b3bef87f48 Added string from examview import format 2005-05-16 12:29:06 +00:00
martignoni eecc410668 Small modification 2005-05-16 12:27:41 +00:00
martignoni 12f435365a Extended help for beep message 2005-05-16 12:25:31 +00:00
havran d9e722a94f new strings from Martina Majorova & Juraj Chlebec 2005-05-16 12:05:20 +00:00
thepurpleblob c219da59af Latest bugfix version 1.0.1a 2005-05-16 10:12:54 +00:00
thepurpleblob 4a28b5caac Added function to convert text format value to internal name and vice versa. 2005-05-16 10:08:18 +00:00
martignoni 96c5a86782 Small changes 2005-05-16 09:56:13 +00:00
ethem 2336356c80 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-05-16 09:49:09 +00:00
thepurpleblob ba67d803f0 Fix bug #3264 2005-05-16 09:17:21 +00:00
gbateson ae3d1aa42b Updated version number to 2.0.8 2005-05-16 08:59:40 +00:00
martignoni 8e95bd94b5 Small tweaks 2005-05-16 08:51:50 +00:00
thepurpleblob 69bd29e3c2 Added support for Examview import 2005-05-16 08:33:49 +00:00
carlesbellver e8ede9d842 *** empty log message *** 2005-05-16 08:16:02 +00:00
thepurpleblob 88cf9ee0cb Added string from examview import format 2005-05-16 08:14:31 +00:00
thepurpleblob 691d06114e Added support for Examview import. 2005-05-16 08:12:40 +00:00
thepurpleblob 88e24f3a0f File is not used or required. 2005-05-16 07:50:50 +00:00
bobopinna 76d3187d19 First translation by Andrea Bicciolo 2005-05-16 07:50:10 +00:00
ethem 7228053025 New strings from Ethem Evlice (ethem AT evlice DOT com) 2005-05-16 07:22:44 +00:00
moodler 2e12e22e93 Extended help for beep message 2005-05-16 07:02:37 +00:00
carlesbellver 4ca8c24afd *** empty log message *** 2005-05-16 06:39:47 +00:00
gustav_delius 3ab87ece98 Some explanation of the paging mechanism. 2005-05-16 05:55:03 +00:00
gustav_delius 3bac7ecaf8 removed doubled-up code, thanks Eloy 2005-05-16 05:26:09 +00:00
martinlanghoff a559eee64e Apache log intergration. In apache conf file one can use ${MOODULEUSER}n in LogFormat to get the current logged in username in moodle. Implemented by Patrick Li. 2005-05-16 02:51:05 +00:00
stronk7 8465c58a8d STEP 2 seems to be working relatively nice!!
quizzes, instances, versions, attempts, states and grades for pre15
are now restored. Not fully tested, so I'm sure it will need some
adjustments but, basically, it's done.
 CVS: ----------------------------------------------------------------------
2005-05-16 00:05:50 +00:00
stronk7 ce12d03e71 Now STEP1 is 100% completed.
Remap of multianswers isn't necessary because, under Moodle 1.5, it seems
to be always a  1..n collection of pairs and responses pairs are always
ordered from {#1} to {#n}.

If this isn't true we should look for an alternatice method of restore
attempts... :-(

For more info, bug 3252 has more info
(http://moodle.org/bugs/bug.php?op=show&bugid=3252)
2005-05-15 21:40:59 +00:00
paca70 5a8c647613 Use type numeric(5,2) to store value 100.00 2005-05-15 19:47:07 +00:00
gustav_delius 1b6fe5003a Removed some notices, some polishing.
No need to load all users and then remove teachers, can simply load all students.
2005-05-15 19:37:37 +00:00
martignoni 19ccd123ea Typos 2005-05-15 18:56:12 +00:00
martignoni 340338a0dc Some modifications 2005-05-15 18:41:46 +00:00
mudrd8mz 087bbc6b7e New a updated strings for 1.5, not complete yet 2005-05-15 17:02:53 +00:00
mits 647708ec48 translated some. 2005-05-15 16:24:32 +00:00
gustav_delius af4ed42f9f fixed bug 3258 2005-05-15 16:06:17 +00:00
gustav_delius 57a41f7f3e Put help icon on types.php 2005-05-15 15:43:58 +00:00
havran db7b6ed08d name correction 2005-05-15 15:04:08 +00:00
dhawes 422d5c56f5 new configure string - this string is used to make it clear to users who have just added a new rss_client block that they need to configure it in order to use it 2005-05-15 14:56:34 +00:00
dhawes a7a9fec63a latest tabs work 2005-05-15 14:53:55 +00:00
gustav_delius 0fc5939983 item analysis report contributed by Enrique Castro 2005-05-15 14:40:38 +00:00
dhawes 339c1d1153 latest work on tabs for instance config. Now if a block is not configured you get a unique link in the body of the block 2005-05-15 14:35:41 +00:00
gustav_delius f7cb98c5ed changed string 'penalty' to 'penaltyfactor' 2005-05-15 14:21:11 +00:00
mudrd8mz 11e977d8c2 *** empty log message *** 2005-05-15 13:28:58 +00:00
moodler e0a063f0c5 Replaced files that were removed 2005-05-15 12:05:44 +00:00
moodler b62e857f77 These do not belong here. 2005-05-15 12:04:45 +00:00
gustav_delius 488cf46b65 Cleaned up issues to do with timing. So for example late submissions are now detected correctly. 2005-05-15 11:45:12 +00:00
gustav_delius 9402459460 improved display of paging bar on edit page 2005-05-15 08:02:45 +00:00
gustav_delius a5389464d7 edit page now remembers the paging for the question list 2005-05-15 07:54:31 +00:00
gustav_delius b4096d4c0b remove an old line and thus a notice 2005-05-15 07:44:31 +00:00
gustav_delius 8e0fe8a5b4 fixing bug 3256 2005-05-15 07:42:51 +00:00
gustav_delius db357168b9 correcting typos in help file 2005-05-15 06:44:27 +00:00
gustav_delius 19ea2bad55 Improvements to the language and help files for penalties and adaptive questions. 2005-05-15 06:36:25 +00:00
gustav_delius c5ea7a3a17 Finally I am making a start on the developer docs, prompted by a question from Eloy about penalties. 2005-05-15 05:56:11 +00:00
moodler 0e874e2c7a Fixes for load average display ... see bug 3249 2005-05-15 04:22:40 +00:00
dhawes 72b8cc16f1 new tabs file for instance config 2005-05-15 03:01:19 +00:00
dhawes eeada455b6 moved lang files into block dir 2005-05-15 02:57:52 +00:00
dhawes 65a70eb970 moved into block itself 2005-05-15 02:55:29 +00:00
dhawes b46e37fd9a moved lang files directly into block 2005-05-15 02:51:57 +00:00
dhawes ccea2c68e2 move into block folder 2005-05-15 02:49:49 +00:00
dhawes 1585045e3e moved lang files into block itself 2005-05-15 02:48:46 +00:00
dhawes e2426c2cce added new tabbed interface for instance config and moved lang files out of moodle folder and into block folder. testing needed. 2005-05-15 02:47:04 +00:00
dhawes 59f6d311bf moved a method from rss client action script to rsslib since it's needed by the new tabs in the instance config 2005-05-15 02:46:15 +00:00
lonecatz c1f2b3731a more string translated or fixed by sun at hit.edu.cn 2005-05-15 01:59:51 +00:00
stronk7 4544d0727f Latest change of function name solved ! 2005-05-14 23:44:37 +00:00
stronk7 86f00bcf98 Now the restore of quiz_categories use the new
restore_get_best_category() function.
2005-05-14 23:43:04 +00:00
stronk7 f623680bab Added the restore_get_best_quiz_category() function
user to look for, at restore time, the best quiz
category to be used (i.e. the existing category with
the same stamp belonging to the same course or,
alternatively, belogns to other course but is published
and the user has editing rights).

It replaces the old-old stuff at restore code and
recent simplification that was producing some problems.
2005-05-14 23:32:32 +00:00
miksik 236081c392 Some subtle changes for 1.5 2005-05-14 22:07:12 +00:00
miksik 2333f15102 Initial translation of the Questionnaire module help 2005-05-14 21:59:02 +00:00
miksik 400af450c3 Translation of the latest language file from contrib 2005-05-14 21:47:40 +00:00
gustav_delius 8f015ea595 my stupid editor has been eating whitespace 2005-05-14 20:16:31 +00:00
gustav_delius a0a3649235 Don't show penalty info if penaltyscheme is off. 2005-05-14 19:20:36 +00:00
dlnsk da93881362 Changes in resources dropdown list 2005-05-14 18:31:54 +00:00
mindforge 01a7ef8f20 Removed some debugging code. 2005-05-14 17:30:11 +00:00
mindforge e81abe1e3e The remaining DB files for the previous fix. 2005-05-14 17:28:17 +00:00
martignoni 973c07eb31 Adding help files for hotpot module 2005-05-14 17:09:02 +00:00
mindforge f2a06b873d Reverted some changes to the numerical questiontype and adapted the update script accordingly.
Fixes bugs 3168, 3225 and 3226.
2005-05-14 17:08:15 +00:00
stronk7 359d007b0b Some debug is out and the missing decode of answers->question
has been included.
2005-05-14 16:38:52 +00:00
gustav_delius 815bb0cf32 There can now be an arbitrary number of rqp servers of each type.
The remote question types do show up on the editing drop-down like any other question type.
I have disabled rqp on php < 5 for the time being.
2005-05-14 16:21:11 +00:00
stronk7 7aaffc3a55 Not finished but multianswer questions are now properly converted
to their new schema. Good milestone to save changes to CVS.
2005-05-14 16:07:37 +00:00
mindforge eacb775c8c Fixed bug #3242 2005-05-14 14:30:59 +00:00
mits cf26a8aa76 fixed based on standard theme. 2005-05-14 08:06:31 +00:00
mits 7a837b76bb translated some. 2005-05-14 08:05:08 +00:00
moodler 54976984b8 Break up long words inside the RSS feeds so that blocks are not stretched
out stupidly by long URLs and so on
2005-05-14 07:38:57 +00:00
moodler 67e1691c61 Removed excess z 2005-05-14 06:07:04 +00:00
moodler a4f7aac1d0 JUst realigned code while debugging 2005-05-14 03:59:11 +00:00
moodler 00c1f5d1b2 Added some whitespace to block info 2005-05-14 03:26:02 +00:00
moodler a169b5ee3c Fixing styles for recent activity 2005-05-14 03:23:05 +00:00
moodler e62b179042 Some little style fixes bug 3222 2005-05-14 03:22:09 +00:00
moodler 49f7d01d2b Changed spans to DIV, and fixed non-XHTML tag 2005-05-14 02:51:34 +00:00
moodler ce54d95cef Keep and reset $CFG->prefix as per bug 3223 2005-05-14 02:46:20 +00:00
gbateson dde7cceda0 modified $moodle->requires to 2003091111 (Moodle v1.1.1) 2005-05-14 02:43:36 +00:00
moodler bde4153a55 Free up idnumber field 2005-05-14 02:39:28 +00:00
rcantada 0da8e4f358 removing wiki.html 2005-05-14 00:54:29 +00:00
martignoni 37369348eb - Added support for Shibboleth data conversion API
- Shib auth now checks for the four essential variables
2005-05-13 19:17:36 +00:00
martignoni 22524f5318 New strings for authorize.net plugin. 2005-05-13 19:14:00 +00:00
martignoni 3912f53fa2 Small change (& to &amp; in URL) 2005-05-13 18:50:44 +00:00
martignoni df4e88172c XHTML compliant 2005-05-13 18:49:05 +00:00
martignoni 819410d29c New file 2005-05-13 18:06:02 +00:00
martignoni ef5787ee93 Fix wording 2005-05-13 18:02:35 +00:00
martignoni 2c35e4cf0b Small correction 2005-05-13 17:55:51 +00:00
martignoni 6d4c82e5df Cleanup 2005-05-13 17:49:02 +00:00
martignoni 19f7622758 Synch with english version 2005-05-13 17:46:17 +00:00
martignoni a438ca44bd Small addition 2005-05-13 17:38:25 +00:00
martignoni 007d30b08b Removing reference to wiki-like format 2005-05-13 16:59:50 +00:00
martignoni 8843965148 New file 2005-05-13 16:55:23 +00:00
martignoni bce8ac04f1 Cleanup 2005-05-13 16:44:02 +00:00
martignoni ecd0c76d1e Correct bad french 2005-05-13 16:43:11 +00:00
martignoni cd192d5fe0 XHTML compliant 2005-05-13 16:39:53 +00:00
andreabix f738f91958 Updated css to support new block DIVs 2005-05-13 16:37:44 +00:00
martignoni f3efc21d24 Small modification 2005-05-13 16:28:20 +00:00
moodler 6ae3761819 Remove the validation links 2005-05-13 15:54:40 +00:00
moodler 5080c0ad5e Added transparency 2005-05-13 15:51:41 +00:00
gustav_delius 5b6e1eebd7 Fixed the mess I made with a type in version.php. Thanks Eloy. 2005-05-13 15:49:15 +00:00
bobopinna 25709e92e3 First translation 2005-05-13 15:32:41 +00:00
bobopinna 8f223dbfb9 Translated by Luca Arese 2005-05-13 15:31:46 +00:00
bobopinna da32c78906 Updated to Moodle 1.5alpha by Andrea Bicciolo 2005-05-13 15:29:26 +00:00
exe-cutor 1b5ad83d2e - Added support for Shibboleth data conversion API
- Shib auth now checks for the four essential variables
2005-05-13 15:10:40 +00:00
martignoni 185b692b68 Typo corrected, thanks to Florian Le Nestour 2005-05-13 14:42:26 +00:00
moodler ffeeff2d00 Add standard white gradients to standardlogo 2005-05-13 14:00:55 +00:00
moodler c38fd30fb4 Fixed the logo, and now logo.gif or logo.jpg can be used 2005-05-13 13:48:12 +00:00
carlesbellver 6775b3b791 *** empty log message *** 2005-05-13 13:02:05 +00:00
bobopinna db3476d7b0 Updated to Moodle 1.5alpha by Luca Arese and Bobo 2005-05-13 12:59:24 +00:00
gbateson 1fb986d10c setting of path templates directory no longer depends on strings "v6", "v5", etc in language pack 2005-05-13 12:39:47 +00:00
ethem fa4465f2bf New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-05-13 12:04:53 +00:00
martignoni b462342dc9 New file 2005-05-13 10:03:16 +00:00
martignoni 53d0be348d Correct encoding 2005-05-13 09:56:34 +00:00
martignoni 18fcfa01ef Some modifications 2005-05-13 09:52:12 +00:00
martignoni e62d630ae7 Modifications 2005-05-13 09:49:41 +00:00
martignoni 5d94deaa50 Small change 2005-05-13 09:45:11 +00:00
ethem b817ed4503 new strings for authorize.net plugin. 2005-05-13 09:42:00 +00:00
ethem 425b774177 Authorize.net plugin, some fixes. 2005-05-13 09:27:26 +00:00
ethem 5d319ac347 CCVal - Credit Card Validation function 2005-05-13 09:05:39 +00:00
thepurpleblob 88fea1ca34 Added variable $CFG->disablemycourses 2005-05-13 08:56:31 +00:00
martignoni cf0f066ea8 Two forgotten strings 2005-05-13 08:54:01 +00:00
martignoni 258e6210d6 Some changes 2005-05-13 08:43:41 +00:00
moodler 2cbf6b5a4e XHTML compliance, styles added for CSS (SE) 2005-05-13 08:29:56 +00:00
moodler 4fb301facf Some styles for the gradebook (SE) 2005-05-13 08:29:09 +00:00
barias f99164450a Latest updates in spanish translation 2005-05-13 07:28:20 +00:00
rcantada 99f7b6e5a3 new files 2005-05-13 07:16:50 +00:00
rcantada 635afd7166 new files in preparation for translating module help files 2005-05-13 07:11:52 +00:00
rcantada 49ae2ea9e9 newly translated quiz module help files 2005-05-13 07:01:27 +00:00
rcantada 7abc886b67 updated main index and mods 2005-05-13 06:55:45 +00:00
martignoni f8c94b7c57 Fixed Typo 2005-05-13 06:55:44 +00:00
moodler 5e07342d79 Added $CFG->disablemycourses bug 3220 2005-05-13 06:17:13 +00:00
martinlanghoff 8f9727459a Merged from MOODLE_14_STABLE - Fixes 'Erroneous redirection to course enrolment page' bug #3224 - patch by Patrick Li 2005-05-13 05:10:17 +00:00
gbateson c3d987648a removed install.php script because it is non-standard and not required in Moodle 1.5 2005-05-13 02:39:02 +00:00
moodler acb50c1bf8 Don't save Guest forum mode to database (just session) 2005-05-13 02:06:16 +00:00
urs_hunkler 8be944a090 added $selected to the list of tabs without links. It is better not to offer a link to the active page. 2005-05-12 23:16:32 +00:00
martignoni 10a8184821 Small tweak 2005-05-12 20:37:16 +00:00
martignoni c695aa9876 Corrections 2005-05-12 20:33:29 +00:00
martignoni 118b264565 Small typo 2005-05-12 20:25:32 +00:00
martignoni b3a8478bb9 Forgotten file added 2005-05-12 20:17:48 +00:00
mindforge 1febe9d825 Fixes for bigs 3143 and 3144. 2005-05-12 17:25:09 +00:00
gustav_delius 93210cdfdb fixed my careless search and replace that got rid of all question_datasets 2005-05-12 16:51:41 +00:00
mits 305e5e7fe8 translated some. 2005-05-12 15:00:39 +00:00
mits aa4b26cd11 fixed based on standard theme. 2005-05-12 14:56:34 +00:00
defacer e7beac8992 Removing dead code. 2005-05-12 14:46:16 +00:00
defacer 7979105c62 If Javascript is enabled, make IE fix the block sizes after the page loads
so that it's not a mess to look at.
2005-05-12 14:45:16 +00:00
thepurpleblob 2311ad664e Fixed typo in ldap stuff 2005-05-12 13:36:47 +00:00
moodler 0bd79a45ca Some changes to the tabs so the XHTML validates (SE) 2005-05-12 09:10:58 +00:00
moodler eb7ef29b21 Tidying up the tabs (SE) 2005-05-12 09:09:47 +00:00
moodler 97ea26a1be Added string for advanced features button (SE) 2005-05-12 08:40:29 +00:00
moodler e478f7b718 Changed the advanced features switch to a button (SE) 2005-05-12 08:38:40 +00:00
moodler 1548978def Improvements to basic log display (much prettier) 2005-05-12 08:04:47 +00:00
ethem ce8eaeaa1f New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-05-12 07:08:23 +00:00
urs_hunkler 4090106907 The summary in the week or topic description was just written out as text without a class. I added a DIV class="summary" around it. 2005-05-12 07:02:56 +00:00
moodler c3a3c5b8b2 Fixed logic for $CFG->nofixday : http://moodle.org/mod/forum/discuss.php?d=23637 2005-05-12 06:37:24 +00:00
mjollnir_ acd2279e54 Merged from MOODLE_14_STABLE: SQL errors are now (optionally -- defaults to off) logged to the apache error log. Helps debugging! Credit: Patrick Li <patrick@catalyst.net.nz> 2005-05-11 23:34:46 +00:00
stronk7 a63ae8e9b2 Work in progress!!
I doesn't work at all but near every question type has been checked and
changed if needed. Tomorrow I'll start with the quiz->attempts... part

Anyway I've some IMPORTANT doubts about how this questions are currently
implemented:

- NUMERICAL: Can the answer field have more than one answer?
- MULTIANSWER: What are the differences. Why, in the upgrade process,
     all of them are deleted and recreated? Why some fields have been
     deleted? Why the questiontext for this type is set to '' in the
     upgrade processs
- CALCULATED: Why the quiz_question_datasets table is now simply "s" in
     the restore process? A typo, I hope.

I've written this here to avoid forgetting it and, if someone in the
quiz's team can answer me...

Now, just zzzZZZzzzZZZ. Ciao :-)
2005-05-11 23:13:03 +00:00
stronk7 8636eb6560 Changed backup of numerical questions to use the new DB model 2005-05-11 21:54:21 +00:00
stronk7 4cae7b0b85 Avoid recode of category->parent from quiz/restorelib.php because it's
done globally after restoring all the categories by restore_create_questions()
in backup/restorelib.php

Modify the restore of numericalquestions to work with its new 1.5 structure.
2005-05-11 21:45:04 +00:00
martignoni 744eb29230 Added strings to enable removal of hardcoded messages in import/export 2005-05-11 20:01:33 +00:00
martignoni 7cb951173c New string for login block (and shortened one without changing meaning) 2005-05-11 19:57:25 +00:00
martignoni 96d336535b Language file for Authorize.net plugin 2005-05-11 19:54:47 +00:00
martignoni 51d386a580 Small change 2005-05-11 19:51:11 +00:00
martignoni d435b45b01 Changed wording of session timeout (no need to scare users with talk of errors) 2005-05-11 19:39:06 +00:00
mits e7ac658f27 translated some. 2005-05-11 18:27:45 +00:00
stronk7 cb3270aeb5 We must have editing rights in existing course, owner of the
published cat, not it the one being restored. ;-)
2005-05-11 16:47:50 +00:00
lonecatz a9821d1732 change fullnamedisplay into Chinese form, suggested by sun at hit.edu.cn 2005-05-11 16:37:25 +00:00
martignoni cc3411615a Forgotten english word translated: extensibilit? for scalability 2005-05-11 14:46:02 +00:00
thepurpleblob 9a5ce68a56 added strings to enable removal of hardcoded messages in import/export 2005-05-11 14:20:50 +00:00
thepurpleblob 665f61dcdb Compatible with newly introduced question options. 2005-05-11 13:57:43 +00:00
lonecatz 55a86a5c88 More string translated by sun at hit.edu.cn 2005-05-11 13:21:51 +00:00
lonecatz 0ba79f322a fix a critical bug by sun at hit 2005-05-11 13:17:42 +00:00
thepurpleblob 0f7a2885a0 Questions with parents are no longer exported. 2005-05-11 09:56:35 +00:00
thepurpleblob ab83607e8b Altered quiz export get_category_questions function to (optionally)
reject questions with parents.
2005-05-11 09:55:48 +00:00
paca70 eeefd0b0df Use SITEID instead of hardcoded value.
SITEID could be != 1 in older installations.
2005-05-11 08:57:14 +00:00
moodler 1d9498e455 Correct fix for bug 3192 2005-05-11 05:37:15 +00:00
moodler 8ed1787bbf Tweaks for IE :-/ 2005-05-11 04:08:59 +00:00
moodler c009421c08 Tidied up Login block and added password reset link 2005-05-11 03:34:15 +00:00
moodler b1a7805dfa New string for login block (and shortened one without changing meaning) 2005-05-11 03:24:15 +00:00
mjollnir_ 7088c65545 Merged from MOODLE_14_STABLE: Default course id for htmlarea insert image to 0 rather than empty string to prevent invalid sql. Credit: Patrick Li 2005-05-11 02:05:59 +00:00
koenr 4fd5abaa74 New strings/helpfiles for questionnaire.
As I recall right, they could be added to the lang folder instead of to the contrib ??
2005-05-10 22:38:13 +00:00
mits 1eb9e4abf8 translated new help file for hotpot using new langdoc.php uploaded below.
http://moodle.org/mod/forum/discuss.php?d=18742
2005-05-10 22:34:15 +00:00
michaelpenne caf0134981 fixed Bug #3192 - grades doesn't use 'uncategorised' as a string 2005-05-10 22:21:19 +00:00
villate 794c9b515b Complete translation for the 1.5 beta version 2005-05-10 20:34:38 +00:00
mits f402466e81 fixed background, border color
th.header,
td.header,
div.header
2005-05-10 20:14:51 +00:00
stronk7 9e72253b32 Hooks to call pre15 restore included.
(not working yet)
Hard work starts now! ;-)
2005-05-10 19:48:17 +00:00
mits 3e86fa9ebe fixed navbar border color and background color. 2005-05-10 19:01:15 +00:00
defacer 4c58e0289b Removing dead commented code. 2005-05-10 17:32:01 +00:00
defacer e6890163dd Nice borders all around the header when a sideblock is collapsed. 2005-05-10 17:09:15 +00:00
gustav_delius bae2f74800 grading details should be shown in non-adaptive mode 2005-05-10 15:51:15 +00:00
gustav_delius 9b1a258947 just fixing my earlier fix 2005-05-10 15:34:08 +00:00
lonecatz 436a089310 first translation by sun at hit.edu.cn 2005-05-10 15:01:29 +00:00
gustav_delius c4aff6543c Fixed bug reported at http://moodle.org/mod/forum/discuss.php?d=23526 2005-05-10 15:00:27 +00:00
lonecatz 30e99c8720 some correction by sun at hit.edu.cn 2005-05-10 14:49:54 +00:00
moodler b1ace59a73 Anyone with the password "changeme" needs to change it 2005-05-10 14:11:53 +00:00
thepurpleblob e7a27eeb87 fixed typo. 2005-05-10 10:31:41 +00:00
gustav_delius b8897e49a8 fixed bug 3191 2005-05-10 10:12:24 +00:00
mits aa6bcf419a fixed based on standard theme. 2005-05-10 10:04:06 +00:00
gustav_delius 9f9265f302 fixed bug 3190 2005-05-10 09:59:51 +00:00
gustav_delius 9a62a7634b Made sure the questions that can be parent questions are backed up and restored first so that the recoding of the parent field will work. 2005-05-10 09:49:58 +00:00
gustav_delius 2e1111c5b1 Towards a Moodle 1.5 quiz backup and restore. Not tested yet.
I moved some quiz speicific functions out of backup/backuplib.php into mod/quiz/backuplib.php
2005-05-10 09:37:09 +00:00
thepurpleblob 135973fb1c Export now uses functions in questiontype classes. Changes in this file
reflect slightly different question object layout.
2005-05-10 09:23:10 +00:00
urs_hunkler 62aaf8a1ea added CSS for the changed sideblocks 2005-05-10 09:16:11 +00:00
thepurpleblob 835ee89f1c Refactored to use functions in questiontypes classes, which have slightly
different object structure.
2005-05-10 09:07:21 +00:00
moodler 7a38eda14a Removing some background colors from standard 2005-05-10 07:18:09 +00:00
bobopinna 9c28a7c06e Fixed report counter 2005-05-10 07:09:54 +00:00
bobopinna 8afadf947c Fixed a problem with Safari 2005-05-10 06:54:49 +00:00
moodler 4c20222852 A quick hack to allow anonymising of all names.
You can make everyone have the name "Bruce" if you want.   }-)
2005-05-10 06:18:30 +00:00
moodler 74528955bd Make the RSS blocks wider (210) 2005-05-10 05:39:32 +00:00
defacer c4d951e1f8 Here be DIVs. 2005-05-10 04:00:56 +00:00
moodler ddff098403 Fixed typo 2005-05-10 03:36:57 +00:00
moodler fd8585a08d Modification to forum post headers to make filtering a bit easier,
and also to support more of RFC2919 and RFC2369
2005-05-10 03:34:43 +00:00
defacer 45c89333e1 Moving this from inline style to CSS. 2005-05-10 00:47:08 +00:00
defacer ef6a8319d4 Making these menus smaller so that they fit in the same line as the help icon.
The alternative would be to have the block request a greater width.
2005-05-10 00:36:37 +00:00
martinlanghoff 57472983bb Merged from MOODLE_14_STABLE - SQL fixes in GROUP BY clause in SCORM module -- merged patch from Patrick Li 2005-05-10 00:31:34 +00:00
defacer d33d0cda79 Better appearance for section add menus in vertical mode. 2005-05-10 00:31:32 +00:00
defacer 4b4ca01dae Giving some margin back to /pix/help.gif, and bringing blocks to 90% working order again. 2005-05-10 00:22:34 +00:00
defacer 1fd3772bc5 Changing width="22" for /pix/help.gif to width="17" 2005-05-10 00:21:09 +00:00
defacer b1aa9a39a2 Switching blocks to table-less format; IT DOESN'T WORK CORRECTLY YET.
Changing width="22" for /pix/help.gif to width="17"
2005-05-10 00:20:18 +00:00
defacer 1c46eb0334 Improved markup for print_section_add_menus, without tables. 2005-05-10 00:17:22 +00:00
defacer ebe43221ff Removing annoying extra padding from the left side of this graphic.
We can very easily fix this with CSS, coming up next.
2005-05-10 00:15:06 +00:00
defacer 4fad36189f I 'm fed up with the crappy HTML for blocks that keeps giving us
no end of trouble (bug 1718 is just the tip of the iceberg).

Rehauling things... these two divs are superfluous.
2005-05-09 23:37:28 +00:00
defacer 88bbf2efff Visual improvement: blocks which are "hidden" (eye icon) now shown exactly
like collapsed blocks (minus sign) when editing is on.
2005-05-09 23:11:25 +00:00
martignoni 3d95cc65ff Added 'editcatquestions' string. 2005-05-09 21:57:53 +00:00
martignoni fd8dd3faa0 Added some strings 2005-05-09 21:55:31 +00:00
mits ee6f42afea translated some. 2005-05-09 21:48:22 +00:00
martignoni f475067562 Typos 2005-05-09 21:36:18 +00:00
koenr bd31901517 fixed http://localhost link to <?php echo $CFG->wwwroot?>
error is caused by langdoc.php
see http://moodle.org/mod/forum/discuss.php?d=18742#110475
2005-05-09 20:25:17 +00:00
stronk7 d2ed94bcba Simply rename everyfunction.
Some of them will be deleted later...but from now...
2005-05-09 19:46:08 +00:00
stronk7 e61aa22042 Version Updated to a Rounded Number.
We'll use this number to determinate the code to be used
in quiz restore making these assumptions:

- backup_version < 2005043000, old quiz version.
- backup_version >=2005043000, new quiz version.

This will cover near every backup in the world, only
some backups generated last week will be wrong but I
think we can ignore them (we are in alpha stage).
2005-05-09 19:18:37 +00:00
moodler f3c3028c0b Language file for Authroize.net plugin 2005-05-09 18:28:33 +00:00
moodler 93885e8120 First version of Authorize.net plugin, written by webmaster@tuzluk.com,
based on Paypal module.

I've not tested it myself yet, just renamed it and cleaned up some
obvious HTML code etc
2005-05-09 18:27:39 +00:00
moodler 254dfbfa34 This should get you where you were trying to go in the first place
when the session timed out.

Not tested though.
2005-05-09 17:45:07 +00:00
moodler 42146c8cf4 Session error redirects to login page bug 3178 2005-05-09 17:42:17 +00:00
moodler 5415a645f3 Changed wording of session timeout (no need to scare users with talk of errors) 2005-05-09 17:31:10 +00:00
stronk7 43768eeadc Updated with latest news... 2005-05-09 17:24:31 +00:00
gustav_delius 4b97919fcd I have changed check_php_version() to use version_compare() in an attempt to fix bug 3176 2005-05-09 17:24:03 +00:00
moodler 59552aab4d Whoops! Bad typo!!! :-( 2005-05-09 16:29:10 +00:00
thepurpleblob 6b0ec8d155 Missing get_answers() function looks tricky to work-around. Have
completely disabled MULTIANSWER questions from qti2 export. One for
another day!
2005-05-09 15:37:09 +00:00
thepurpleblob 7ea81728c3 Brought into line with changed object layouts after Gustav's update.
Doesn't work for cloze questions at the moment due to vanished function
in quiz_embedded_cloze_qtype
2005-05-09 15:28:34 +00:00
stronk7 adc7ade8c6 Disable temporary the restore of quiz questions and attempts
to avoid moodlers filling their DBs (not always test servers!)
with non-consistent data.

Can be enabled by setting $CFG->enablerestorequiz = true;

(while working on it both Gustav's team and I, obviously this will be
removed once stabilished)
2005-05-09 13:33:18 +00:00
thepurpleblob 23cd73acbc Show a link to edit the questions in categories if the quiz has already
been attempted.
2005-05-09 13:07:11 +00:00
thepurpleblob 100808a270 Added 'editcatquestions' string. 2005-05-09 13:05:22 +00:00
moodler 417375b7e3 Added $CFG->pagetheme for special this-page-only themes 2005-05-09 12:59:06 +00:00
gbateson a38b77368d corrected spelling of "supprot forum" to "support forum" 2005-05-09 11:57:20 +00:00
gbateson a06ade94b4 corrected version number to 2.0.7 2005-05-09 11:52:47 +00:00
gbateson 9736716d4a removed reference to install.php from README.TXT 2005-05-09 11:48:42 +00:00
stronk7 0ce57ae1e2 Splitted restorelib.php to work together
in both 1.5 and pre 1.5 restore code.
Gustav's team is goingo to handle 1.5 whereas
I'm going to handle old backups.

I'll try to change every function name to be able
to merge both libs again at the end of the process.
2005-05-09 11:07:37 +00:00
lonecatz 4f29e2c040 more string translated by sun at hit.edu.cn 2005-05-09 10:45:30 +00:00
stronk7 4358931490 kses updated to 0.2.2 2005-05-09 10:39:19 +00:00
stronk7 0f29fcccbc Updated to 0.2.2 2005-05-09 10:37:12 +00:00
thepurpleblob 2e2183688a Export now works with objects generated in questiontype classes. 2005-05-09 10:24:18 +00:00
thepurpleblob 683f250a40 Removed functions that build objects for question export. Now done
using existing functions in questiontype classes.
2005-05-09 10:20:19 +00:00
stronk7 6cd7ac5fec I saw nothing! :-P ;-) 2005-05-09 10:20:01 +00:00
thepurpleblob d8bb6c3587 get_question_options() function now adds subquestions to $question object. 2005-05-09 10:18:35 +00:00
stronk7 52da922267 Update to 1.5 2005-05-09 10:17:26 +00:00
bobopinna 5f18d4e79a Added sco frame size
Completed compliance for scorm 1.2
2005-05-09 09:50:37 +00:00
bobopinna b3df3a0d71 Popup window icon 2005-05-09 09:46:29 +00:00
villate bf34f54208 Updated to the new version. 2005-05-09 09:29:44 +00:00
villate ea87612670 More files translated. 2005-05-09 09:29:07 +00:00
bobopinna 4dcf55f7e9 first release 2005-05-09 09:07:14 +00:00
bobopinna 5471e094eb added some string 2005-05-09 09:03:53 +00:00
thepurpleblob 161568f72c Oops! It's a call by reference! 2005-05-09 08:40:37 +00:00
thepurpleblob 7132ca0146 Now calls get_question_option() in appropriate question_type to get question
objects for quiz export. Bad news is that format is different, so all export
classes will need modifying. Will remove old code when complete.
2005-05-09 08:28:09 +00:00
stronk7 a4da38f6c0 Added all the 1.4 stuff to releaseold 2005-05-09 07:12:59 +00:00
gustav_delius 2b4d7d1495 took out call by reference in an addslashes to fix warning reported at http://moodle.org/mod/forum/discuss.php?d=23288#110511. 2005-05-09 05:47:21 +00:00
gustav_delius 90c7675076 reverted back to restorelib from before the merge. Removes the duplicate function definitions reported on the forums. Also I think this is the best version to start with. 2005-05-09 05:34:20 +00:00
mits 202a6406ad translated a string for online editor. 2005-05-09 03:18:03 +00:00
michaelpenne 98dd2c00f4 FIXED: loss content on editing a page 2005-05-09 02:29:35 +00:00
stronk7 156f67fd22 Do you like speed? 10%-15% bump with this version! B-)
Moved some code to two new specialised functions that
are only executed when something has changed in the
text avoiding some (from 2800 downto 150 in my test course!)
regexp calls and arrays generation.

The existing bug about concept strings contained in other concept
strings (e.g: "Test Quiz" and "Test Quiz II") becoming double-linked
in now out too.

I hope this is the latest revision to filterlib for a looong time.
Tested under PHP 4.3.11 and PHP 5.0.4, it would be very interesting
to test it under other versions/OSs.
2005-05-09 00:28:53 +00:00
koenr 1c0564d0d4 fixed http://localhost link to <?php echo $CFG->wwwroot?>
error is caused by langdoc.php
see http://moodle.org/mod/forum/discuss.php?d=18742#110475
2005-05-08 23:15:04 +00:00
koenr 1637b701b4 forgot upload 2005-05-08 22:39:46 +00:00
koenr d6f993a3ed new file 2005-05-08 21:29:56 +00:00
koenr 8458399adc notice firefox problems 2005-05-08 21:29:23 +00:00
mjollnir_ 124dabc799 Updating postgres.php to match mysql.php with max-min/2 rather than min+max/2 2005-05-08 21:28:37 +00:00
martignoni 98091d928a Changed double quotes to single ones and sorting entries 2005-05-08 21:26:36 +00:00
martignoni 34d33984c8 Added new information to the HTMLArea popup error when trying to use Paste 2005-05-08 21:11:51 +00:00
gustav_delius d6516d90e1 removed spurious <tr> 2005-05-08 21:11:05 +00:00
gustav_delius 4165bd36fc fixed problem with update of tolerance reported by Miles, see http://moodle.org/mod/forum/discuss.php?d=23288#110469 2005-05-08 21:06:14 +00:00
koenr 05cc849441 new releasenotes for 1.5 2005-05-08 20:38:06 +00:00
ralf-bonn 5558007776 new files, translated by Marc Lachmann. Thanks 2005-05-08 17:59:58 +00:00
stronk7 ed9fdf3e8b Some wrong isset sentences were forcing to
be always casesensitive and fullmatch!

Changed from !isset() to empty() to evaluate true/false correctly.
2005-05-08 17:53:32 +00:00
stronk7 9e92e26590 Solved problem with arrays of linkobjects being processed
by preg_quoted() causing real problems under PHP5. Now such
calculatios are cached if possible (PHP5). See bug 3148.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138)
2005-05-08 17:25:28 +00:00
ralf-bonn 1d30c89ed0 *** empty log message *** 2005-05-08 17:22:24 +00:00
koenr 20bd34f2ed partial translation.
If anyone wants to continue, don't hesitate! :-)
2005-05-08 16:27:59 +00:00
koenr b26e262f06 finaly finished releasenotes on 1.4.4
added 1.4.5 and moved immediately to old release notes :-(
2005-05-08 16:20:42 +00:00
koenr dc72e1d64e http://moodle.org/bugs/bug.php?op=show&bugid=3164
Move moodle.php/censorbadwords to censor.php/badwords
2005-05-08 16:19:48 +00:00
koenr 5a3fdb6a7a Bug #3157 - The string 'fullnamedisplay' shouldn't be translated 2005-05-08 15:49:36 +00:00
urs_hunkler df2ac2263e updated formating. corrected width of left column on the starting page 2005-05-08 15:35:46 +00:00
gustav_delius 14a02d9595 updated the database diagrams 2005-05-08 15:11:31 +00:00
moodler bde0832a23 Moved badwords list to censor.php file (bug 3164) 2005-05-08 15:10:17 +00:00
moodler d5a1bc7931 Removed some old tags I forgot to remove before 2005-05-08 15:02:18 +00:00
moodler a09e99ea1c Added new information to the HTMLArea popup error when trying to use Paste
and made it translatable.
2005-05-08 14:56:34 +00:00
koenr 9413bb375e removed some garbage 2005-05-08 14:36:15 +00:00
gustav_delius 57ddd6adba upgraded backuplib.php. Outstanding issues: quiz_rqp_type table and all of Julian's question-type specific stuff. 2005-05-08 14:33:34 +00:00
gustav_delius bacd044d45 fixed bug 3146 about secure popup window for review screen. 2005-05-08 11:24:03 +00:00
mjollnir_ 9c05be5508 Change new to newest for quiz_newest_states (reserved word) 2005-05-08 10:38:56 +00:00
gustav_delius 3e34b1dc14 Changed table field name 'new' to 'newest' for postgres compatibility 2005-05-08 10:35:47 +00:00
koenr 61563cd7fa fixing xhtml compliance 2005-05-08 10:17:31 +00:00
koenr c0964db5c5 final pollish 2005-05-08 08:18:32 +00:00
koenr 121a4743d0 fixed indent 2005-05-08 08:16:33 +00:00
koenr d7466d945a fixed links - strange no one noticed this earlier 2005-05-08 08:12:31 +00:00
koenr 2aa2824a4a fixed links and typo 2005-05-08 08:09:14 +00:00
koenr 5fbd92294f removed <b> tags for consequence with other mod.html files and for proper index menu 2005-05-08 08:02:36 +00:00
koenr 9292942c4f Changes to links in hotpotmodule 2005-05-08 07:40:32 +00:00
martignoni fa6f35dde5 New lang file for the search forums block 2005-05-08 07:19:42 +00:00
mits 4894883f88 fixed image link to icon.gif. 2005-05-08 06:04:05 +00:00
mits 9c08a28071 fixed link etc. 2005-05-08 04:46:55 +00:00
gbateson 299716a664 added hotpot/install.php to simplify installation and upgrade
modified README.TXT explaining how to use install.php
2005-05-08 02:36:53 +00:00
martignoni 83cfd8ee58 Removing superfluous file 2005-05-07 21:51:52 +00:00
martignoni 7171efbc9f 1.5 notes here now 2005-05-07 21:50:07 +00:00
martignoni ff44a51f52 More translation 2005-05-07 21:16:40 +00:00
martignoni 0254b942ba Added all the old 1.4 info to this page now 2005-05-07 20:10:02 +00:00
mits 904133015e translated some. 2005-05-07 19:06:27 +00:00
mits 4ec374659b fixed based on standard theme. 2005-05-07 18:59:16 +00:00
gustav_delius 75e1df6fd2 "Attempt builds on last" feature reenabled 2005-05-07 18:50:32 +00:00
defacer 15816e0a08 Umm... just adding my standardized calling convention there. Pretend you didn't see :P 2005-05-07 17:51:31 +00:00
defacer 8ecefdc8ad Don't allow the "mark all posts in current forum read" image to break
into a new line, it looks ugly.
2005-05-07 17:47:52 +00:00
defacer fee287f3e7 Random change while searching for something:
Removing border attribute from <img>, these are handled through CSS
(a img {border: none;})
2005-05-07 17:46:20 +00:00
martignoni eba29b2185 Added note about prefetching 2005-05-07 17:33:22 +00:00
martignoni 78769155a7 Release notes now link bug numbers to bugtracker. 2005-05-07 17:31:26 +00:00
moodler 4e65c43c8d 1.5 notes here now 2005-05-07 17:27:31 +00:00
martignoni 2ba730a6a3 Updated release notes for 1.4.5 2005-05-07 17:20:18 +00:00
gustav_delius 89cae10a6e Some corrections in the documentation 2005-05-07 17:18:53 +00:00
moodler 8a2ea88a29 Added all the old 1.4 info to this page now 2005-05-07 16:57:54 +00:00
martignoni cce5423561 Standardized table headings to Proper Case 2005-05-07 16:29:11 +00:00
martignoni bb098397fc More entries 2005-05-07 16:28:03 +00:00
defacer cfab68844e Adding a new lang file for the search forums block (no need to load up the
forum.php behemoth just for that) and moving a couple of strings there.

Hardwired strings and capitalization all fixed.

This fixes bugs 3090 and 3154.
2005-05-07 16:25:46 +00:00
defacer cec60526cc Fixing set_user_sesskey calls (function no longer exists), changing to sesskey() 2005-05-07 16:10:50 +00:00
gustav_delius a5c53187cc enabled penalties for all question types 2005-05-07 14:29:42 +00:00
gustav_delius f370553ef3 this got a bit messed up in the merge 2005-05-07 14:28:22 +00:00
gustav_delius 1105b32da0 Use round() instead of format_float() to limit decimal points to a MAXIMUM of $quiz->decimalpoints. format_float() always displays EXACTLY that number of digits after the decimal point which is not really desirable. 2005-05-07 13:48:25 +00:00
lonecatz 36d1d97b36 first translation 2005-05-07 13:46:00 +00:00
gustav_delius ef76e0326d Some work on the penalty mechanism. Took out the multiplicative scheme because it is just too difficult to understand. Made all question types print grading details when quiz is in adaptive mode. Made improvements to the presentation of the grading details. Enabled the penalty mechanism in a few more (on my way towards doing it for all). 2005-05-07 13:30:35 +00:00
julmis f9b69d10f9 HTMLArea.formathtml still not working correctly I've comment it out. 2005-05-07 11:53:19 +00:00
koenr 3e7231c454 small tweak 2005-05-07 11:33:18 +00:00
koenr 4ad396cd87 new and slightly modified help files 2005-05-07 09:32:01 +00:00
koenr b8ef14aeec more strings 2005-05-07 09:29:40 +00:00
koenr bd665b75d4 xhtml issues 2005-05-07 09:29:03 +00:00
moodler 0a194c4c03 Google say they want 404 for prefetch requests 2005-05-07 08:20:34 +00:00
koenr ad4e547dc4 xhtml compliance & -> &amp; 2005-05-07 08:12:42 +00:00
koenr 7e8ca3f03e slightly modified helpfiles from Juraj Chlebec
Not XHTML compliant (yet)
2005-05-07 07:17:25 +00:00
koenr 802d38bc88 new strings from Juraj Chlebec 2005-05-07 07:08:01 +00:00
gbateson c1da52882c Standardized table headings to Proper Case 2005-05-07 05:14:19 +00:00
mits f537c5c63d polished. 2005-05-07 04:59:29 +00:00
moodler 7cbe6afeaa Cookies are not used with guests 2005-05-07 03:10:48 +00:00
martinlanghoff b27f46f2b3 Merged from MOODLE_14_STABLE - Fixed calls to set_user_sesskey(). 2005-05-07 03:08:29 +00:00
martinlanghoff d719609931 Merged from MOODLE_14_STABLE - Block link prefetching from Mozilla and Google Web Accelerator. 2005-05-07 03:07:08 +00:00
mjollnir_ 2a8057e7ef Porting quiz upgrade to postgres. Still one bug remains - see 3148 2005-05-07 02:38:42 +00:00
mjollnir_ a35ee52017 Please don't put 1 into the where part of get_records_select, it causes postgres-invalid sql 2005-05-07 02:36:45 +00:00
mjollnir_ 730e965b17 New postgres7.sql for quiz -- There is a bug in this to do with reserved words (see bug #3148) but committing anyway as is clean apart from this. 2005-05-07 00:23:50 +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
defacer fcb50b292d Fix for bug 3113, some innocent notices. 2005-05-06 21:44:34 +00:00
gniske 40660e434a Fixed spelling errors 2005-05-06 21:11:35 +00:00
mits 6953c86a0c polished.
translated new help file.
2005-05-06 18:55:13 +00:00
stronk7 9f7fa650a5 Now resource autolinking filter is optimised too, so all the autolinking
filters are using latest improvements.
Only Bug 3138 remains open and is important. I've its solution at home and
I'll post it in some hours. Just testing it against PHP4 and PHP5.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138)
2005-05-06 18:15:21 +00:00
mits add8309956 polished features.html
changed link to lang files: <a href="http://download.moodle.org/lang/" target="_top">
changed number of language files: 61
2005-05-06 18:01:18 +00:00
stronk7 26ccd11c60 New lightspeed wiki filter (using the static and nothingtodo technologies now) 2005-05-06 17:57:08 +00:00
mits d79a0c4cab polished. 2005-05-06 17:28:25 +00:00
gustav_delius ab4f562bb2 Make it impossible to create a category in one course as the child of a category in another course, fixing bug 2940 2005-05-06 17:07:27 +00:00
gustav_delius e303a824ff Use the grade highlighting only if the maximum grade scheme is used, see bug 2545 2005-05-06 16:43:28 +00:00
gustav_delius 47d726e9ae Fixed error message that created a warning 2005-05-06 16:27:30 +00:00
gustav_delius 15f3e35a48 One line to do with the multianswer upgrade that I forgot to merge 2005-05-06 16:25:55 +00:00
gniske 2db4ab7bea Fixed spelling errors 2005-05-06 13:54:47 +00:00
bobopinna d5a62d972f fixed some typos and fixed some datamodel element 2005-05-06 13:29:59 +00:00
exe-cutor 5724019cc4 Saves admins some work. shib-protected just redirects to /auth/shibboleth/index.php
but only if a user is Shibboleth authenticated.
2005-05-06 13:14:31 +00:00
gustav_delius cd3fcec93a Fixed typo in the example in the cloze question help file in some languages 2005-05-06 13:13:23 +00:00
moodler b1dc6929bc 10 per page by default 2005-05-06 12:50:49 +00:00
gustav_delius c14199770b Fix tooltip on question edit link, see bug 3139 2005-05-06 11:21:00 +00:00
gustav_delius dea537e55e loops in upgrade script no longer produce output 2005-05-06 10:50:59 +00:00
gniske 06aabb11a2 Fixed spelling errors 2005-05-06 10:28:02 +00:00
martignoni 9fb0804170 Forgotten string 'toonly' 2005-05-06 10:02:05 +00:00
martignoni 33bf4d8026 Added 'upgradesure' string 2005-05-06 09:59:12 +00:00
martignoni a3b0c22629 Changed auth_shib_instructions_help to make it conform with the README 2005-05-06 09:46:46 +00:00
moodler ff17bbebce Information wasn't being printed on-screen before the javascript redirect
was kicking in. It was either a problem with the PHP flush() function or
in a browsers handling of half output XHTML.
Either way the fix was to include the delay in the javascript.
Messages during a redirect should now be displayed correctly.

Bug 3118. (SE)
2005-05-06 09:29:02 +00:00
martignoni 0fcf7d3d49 Better loggedinas string for guest users 2005-05-06 08:56:34 +00:00
martignoni 3f17710987 Removed "?" from "Show next quiz" 2005-05-06 08:51:37 +00:00
gustav_delius 43bc8c2929 In non-adaptive mode the mark is printed as in the old days and not as --/n 2005-05-06 07:36:54 +00:00
gustav_delius 978f438893 "Go" buttons are now enclosed in <noscript> tags. 2005-05-06 07:03:14 +00:00
bobopinna 96d3ec9f03 Updated to moodle 1.5 alpha by Luca Arese 2005-05-06 06:55:35 +00:00
bobopinna 18b928a062 fixed a typo 2005-05-06 06:54:02 +00:00
moodler 29c514bdff Admin can now change passwords. Bug 3119. (SE) 2005-05-06 06:46:43 +00:00
mits bfa5f53f1e polished. 2005-05-06 06:42:38 +00:00
exe-cutor bab8ceb10e Extended and corrected the error messages 2005-05-06 06:35:24 +00:00
bobopinna 3e82613631 Updated to moodle 1.5alpha by Luca Arese 2005-05-06 06:25:33 +00:00
gustav_delius ee1fb969c8 Merging in from the MOODLE_15_QUIZREFACTOR branch.
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
moodler 69b8ba4c4c Added sesskey checking (SC #113) 2005-05-06 03:11:58 +00:00
gniske d99c03cee8 Fixed spelling errors 2005-05-05 22:25:09 +00:00
gniske dd153cb725 Fixed spelling errors 2005-05-05 21:17:05 +00:00
moodler 51e041f42e Prettied up choice with some styles (could use work) 2005-05-05 18:34:20 +00:00
gniske 3c18debe74 Fixed spelling errors 2005-05-05 17:12:31 +00:00
stronk7 e4ad6c8b34 Now page links work. 2005-05-05 17:11:16 +00:00
gniske cb1eafa490 Fixed spelling errors 2005-05-05 16:07:12 +00:00
moodler 846bf30267 Added another "Enroll" 2005-05-05 15:44:57 +00:00
gniske 1e829b2fc8 Fixed spelling errors 2005-05-05 13:08:32 +00:00
gniske ac21902a1f Fixed spelling errors 2005-05-05 13:06:17 +00:00
urs_hunkler 69e26f1c07 updated teh tabs with a polished design and "styles_tabs" to use the extended tab functions. 2005-05-05 09:37:10 +00:00
urs_hunkler e1ddfa6bc6 On the admin user page you select "forum posts" which becomes the active selection in the second row. This should be visualized in the tabs. Therefore I added the parameter "$activetwo" to the tabs functions to be able to set the class "activetwo" for the active tab in the second row.
added the parameter "$activetwo"
2005-05-05 09:35:21 +00:00
urs_hunkler 3e8506b62f On the admin user page you select "forum posts" which becomes the active selection in the second row. This should be visualized in the tabs. Therefore I added the parameter "$activetwo" to the tabs functions to be able to set the class "activetwo" for the active tab in the second row. 2005-05-05 09:32:33 +00:00
martignoni 1b67ca1b4a More translation 2005-05-05 09:18:35 +00:00
mits c60f432e6b translated one string on moodle.php 2005-05-05 07:51:03 +00:00
moodler d71756cd47 Bit too zealous 2005-05-05 07:48:15 +00:00
gustav_delius 8ea7537141 file penalty.html was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-05-05 07:42:18 +00:00
mits 8223cc6393 fixed based on standard theme. 2005-05-05 07:27:35 +00:00
moodler ac74d58f82 Removed Ellipses, they were looking naff and inconsistent 2005-05-05 07:14:43 +00:00
bobopinna 445ce98fc9 Updated to moodle 1.5alpha by Luca Arese 2005-05-05 06:11:03 +00:00
moodler e671b64e11 Added new help file for authentication-method changing 2005-05-05 04:41:13 +00:00
moodler f012487bec New help file for admin when editing user profiles 2005-05-05 04:35:52 +00:00
moodler 158de84670 Better loggedinas string for guest users 2005-05-05 04:22:26 +00:00
moodler 2ba7c47f23 Smaller text for all modules index pages 2005-05-05 03:03:36 +00:00
moodler 86fe1401d8 Smaller resource listing 2005-05-05 02:57:25 +00:00
moodler a756cf1d01 Fixed group link! 2005-05-05 02:15:21 +00:00
stronk7 a8936222b1 Added some comments to remember why they are there... ;-) 2005-05-04 23:14:09 +00:00
stronk7 4e8f2e6ba3 Changed call from preg_replace() to preg_replace_callback() to avoid
some double backslashes present yet. This method doesn't addslashes()
automatically like the old one (so kses_stripslashes() is not needed).

All we have to to is to stripslashes() before calling kses and addslashes()
after it. Only in clean_param(), because params arrive always slashed
to Moodle. This seems to be the correct approach documented in:
http://sourceforge.net/project/shownotes.php?group_id=81853&release_id=302996
2005-05-04 23:09:43 +00:00
gniske dfe7177827 Fixed spelling errors 2005-05-04 23:04:25 +00:00
gniske 1fddd947e9 *** empty log message *** 2005-05-04 21:57:05 +00:00
gniske 6bcbed6082 Fixed spelling errors 2005-05-04 21:54:14 +00:00
defacer 914493e961 Fixing a bug, default value must be taken from the global $GRADEPREFSDEFAULTS. 2005-05-04 21:54:06 +00:00
moodler 0549198cf0 A fix for kses problems with quotes ... 2005-05-04 18:25:35 +00:00
mits fd1eb1608a polished quiz related string. 2005-05-04 17:09:03 +00:00
mits da1cbc0d18 polished hotpot related strings. 2005-05-04 17:00:50 +00:00
moodler c7baae4364 One icon for all Open Documents (Open Office). More need to be added. 2005-05-04 15:26:38 +00:00
urs_hunkler 6482222be2 higher tabs, that look better 2005-05-04 15:24:49 +00:00
martignoni c7c59af8ee Typos 2005-05-04 15:19:12 +00:00
moodler 5395334d00 Added support for all Open Office 1.0 and 2.0 file types (bug 3068) 2005-05-04 15:19:00 +00:00
martignoni 718faba794 Some tweaks 2005-05-04 15:17:13 +00:00
martignoni 17162bd70b New temp file for release notes version 1.5 2005-05-04 15:08:31 +00:00
exe-cutor 6a15e398f0 Changed auth_shib_instructions_help to make it conform with the README 2005-05-04 14:42:34 +00:00
exe-cutor 6c0aee4769 Updated README with better instructions, added .htaccess file which
provides lazy Shibboleth sessions and fixed a small bug in config.html
2005-05-04 14:40:01 +00:00
moodler abf11d900f Prevent notices when multiple RSS blocks 2005-05-04 14:28:46 +00:00
villate 97e6ecfc0b Recovering from a bug in langdoc.php 2005-05-04 14:20:11 +00:00
villate 4dbff96af7 Removed some garbage. 2005-05-04 14:02:29 +00:00
villate 0c50e3addc Corrected a typo in the file name 2005-05-04 13:47:52 +00:00
villate ce0d70411b Files translated by Eugenia and proofread by Jaime. 2005-05-04 13:42:46 +00:00
villate 14a0fb407f Updates to move from HTML into XHTML. 2005-05-04 13:39:30 +00:00
moodler 453b53140e Fixed some excess SQL load and duplicate returns 2005-05-04 13:39:15 +00:00
martignoni 39dc862197 Small mod in title 2005-05-04 13:30:25 +00:00
gbateson b37d31ea68 removed "?" from "Show next quiz" 2005-05-04 11:42:19 +00:00
gbateson 77e743607e changed "module=hotpotatoes" to "module=hotpot" in links to other hotpot help files 2005-05-04 11:28:14 +00:00
gbateson 9545981a3f changed "module=hotpotatoes" to "module=hotpot" in lang/en/help/hotpot/index.html. "index.html" for other languages may also need to be changed 2005-05-04 11:26:36 +00:00
gbateson 53fc076c19 two changes to "hotpot_db_update_field_type" to correct bugs when updating PostgreSQL database
- declare $db as global variable (line 760)
- curly brackets around $field when assigning $tmpfield (line 852)
2005-05-04 11:19:45 +00:00
mits 1a94cfcd88 fixed based on standard theme. 2005-05-04 10:58:03 +00:00
moodler 7328a56c81 Fix for the jumpy flickering HTML editor! 2005-05-04 10:45:39 +00:00
bobopinna b420f47c8e Disabled some alert messages 2005-05-04 10:05:32 +00:00
bobopinna bbc155d834 Fixed a bug with arrays data model element 2005-05-04 09:11:56 +00:00
moodler 167f3fae36 Removing commented line from previous commit. (SE) 2005-05-04 08:57:22 +00:00
moodler 4dca83a703 Fix for bug where forum search would return posts by users in other groups
when the course was in separate group mode. Bug 3073. (SE)
2005-05-04 08:54:07 +00:00
martignoni 5fc0f044b3 When using the Paypal module, you can now also use enrolment keys 2005-05-04 08:47:47 +00:00
martignoni 130b919322 Added some strings for import/export error messages. 2005-05-04 08:40:20 +00:00
martignoni 78dd776532 added qti2 string 2005-05-04 08:37:24 +00:00
moodler 030e3e034d Use two author styles on history pages too 2005-05-04 08:27:40 +00:00
moodler da6d982dfd Different styles for me and the other person 2005-05-04 08:22:46 +00:00
moodler 106558b314 Some messageing cleanups 2005-05-04 08:22:22 +00:00
mits caebd27db6 translated one string for enrol_paypal.php.
and polished hankaku/zenkaku in Japanese, meaning is same.
2005-05-04 08:15:10 +00:00
moodler d92e7e8377 Fixing some styles 2005-05-04 08:15:02 +00:00
moodler 5acd96764b You say Enrollment, I say Potato. 2005-05-04 07:34:08 +00:00
moodler 19fa71e8fb When using the Paypal module, you can now also use enrolment keys
Thanks, Chardelle!     bug 2418
2005-05-04 07:31:25 +00:00
moodler f64c1ef666 Fix log entry for failed logins. Bug 3076. (SE) 2005-05-04 07:06:24 +00:00
moodler 1778f7f7c1 Added help icon for course costs 2005-05-04 07:01:22 +00:00
moodler 8b997c8007 New help file about course costs 2005-05-04 06:59:49 +00:00
mits ded578414f modified IMS QTI 2.0 related. 2005-05-04 06:55:36 +00:00
mits f567cc2848 translated some. 2005-05-04 06:43:42 +00:00
moodler e3c552b9c2 Don't show shipping 2005-05-04 06:43:24 +00:00
moodler 393e360dd4 Adding c.cost to course retrievals (see bug 3102) 2005-05-04 06:39:42 +00:00
martinlanghoff 635de3a31e Locked user fields: Override posted data with DB data for locked values -- avoids needless comparisons, and fixes bug #2430 2005-05-04 06:07:53 +00:00
rcantada e7e6ea8b97 adding timezones.php 2005-05-04 05:11:35 +00:00
rcantada e0007c346a adding grades.php 2005-05-04 05:09:33 +00:00
rcantada 00cd94ab06 adding block_glossary_random.php 2005-05-04 05:08:01 +00:00
rcantada 6c20ab8804 general update, translated from 5-4-2005 en lang pack.created
grades and timezones.  added strings to
admin,assign,error,forum,hotpot,message,moodle,quiz,scorm.
2005-05-04 04:28:25 +00:00
michaelpenne 86c66de443 added a not about highscores and practice lessons 2005-05-03 23:42:42 +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
michaelpenne 1bbce48a7e added div with class mod-lesson around the form to hide a label 2005-05-03 22:22:56 +00:00
michaelpenne af9f2c05db added addslashes to title, content, answer and response fields to help deal with quotes after a clean_param() 2005-05-03 21:16:30 +00:00
moodler 2c27cd193e Hiding icon as per bug 3098 2005-05-03 18:11:34 +00:00
lonecatz ebe427c427 fix typo bugs 2005-05-03 16:50:59 +00:00
moodler 5eecb8cb57 Fixes from Mits for bug 3101 to fix multi-byte search results 2005-05-03 16:37:01 +00:00
moodler 524f9dbe72 Added link to mark all posts in forum as read, and also removed
error notices from markposts.php because we don't really care
2005-05-03 16:32:25 +00:00
thepurpleblob 0b3c25f5d2 Checks for more than 10 answers where required. Fix for bug #3066 2005-05-03 16:20:34 +00:00
moodler cd76de7edc Some more "protocols" actually CSS tags 2005-05-03 16:09:39 +00:00
thepurpleblob 9c8e79b702 added some strings for import/export error messages. 2005-05-03 16:05:19 +00:00
mits 51cc8fcae6 fixed font-size, font-family. 2005-05-03 14:32:48 +00:00
villate a5c273cf68 Translations done by Eugenia and proofread by Jaime. 2005-05-03 14:15:38 +00:00
thepurpleblob 5e72a60b2f Added note that QTI export is version 2.0 2005-05-03 13:29:42 +00:00
thepurpleblob 5006d5a6fa added qti2 string 2005-05-03 13:24:04 +00:00
thepurpleblob b6057bf570 Fixed hard coded path. 2005-05-03 13:23:04 +00:00
thepurpleblob 0455cc43a4 Changed name of folder from qti to qti2 to make QTI version clearer. 2005-05-03 13:14:11 +00:00
thepurpleblob c68fc4c4ea Effectively renaming qti to be qti2 to make it clear what QTI version we have here 2005-05-03 13:11:29 +00:00
thepurpleblob 2d81e9080a Changed include to require for base_block class. Won't get far without this
and puts error message in the right place if there is a problem
2005-05-03 12:23:48 +00:00
julmis 0d0cfc3bc9 Adding addslashes alert strings 2005-05-03 10:00:49 +00:00
moodler 792947b68d Fixed a notice 2005-05-03 08:16:12 +00:00
vthung 6c4294d2b8 Update some strings 2005-05-03 04:15:02 +00:00
danmarsden 48ee8c68f6 partial bug fix for mysql 5 - release is a reserved word - mysql.php probably still needs fixing - see bug #3062 2005-05-03 01:14:53 +00:00
mits b9e682f401 changed <P> to <p>, <A to <a . 2005-05-03 00:13:27 +00:00
mits 8b3432db68 fixed based on standard theme. 2005-05-03 00:09:24 +00:00
andreabix d5631cd55b Updated missing Homelink on footer 2005-05-02 17:14:57 +00:00
moodler dd4fd4f931 Fixed a notice 2005-05-02 17:00:37 +00:00
moodler 838f19892b Added transparent background 2005-05-02 16:33:56 +00:00
moodler 5744be4798 Some comments about why the author isn't there 2005-05-02 16:28:14 +00:00
moodler 0e74ba6efd Tweaking fonts 2005-05-02 16:12:10 +00:00
moodler 6bd20d7335 More tweaking. Now it displays especially nice in Tiger. ;-) 2005-05-02 16:02:09 +00:00
moodler 9d57574775 Slight tweaking to rss formatting 2005-05-02 15:54:24 +00:00
moodler 51a3fbeb27 Final tweak on tab fonts 2005-05-02 15:38:39 +00:00
defacer 365789db75 Some improvements: keep checkbox and weekday name grouped together.
Also, line break added before Sat/Sun so that they 're more apparent and the
line doesn't get as long (it's kind of ugly).
2005-05-02 14:27:45 +00:00
bobopinna 95103b0f0b updated to moodle 1.5alpha by Andrea Bicciolo 2005-05-02 12:13:12 +00:00
martinlanghoff 47121b3865 Now comments don't break Zone continuation, should fix reported issues with the Europe/Paris zone definition. 2005-05-02 10:26:26 +00:00
moodler 39915e6668 Removing PHP and styles etc (mediaplayers.html has some suspiciously bad info) 2005-05-02 08:07:08 +00:00
martignoni 1dce1d3654 Explain the meaning of shortpost and longpost 2005-05-02 07:39:52 +00:00
martignoni 97921cfeb3 Updated to moodle 1.5 2005-05-02 07:32:08 +00:00
bobopinna ae377545b7 Fixed some typos 2005-05-02 06:49:03 +00:00
moodler e3cc2a8084 Removed fulldelete function 2005-05-02 06:06:45 +00:00
moodler ae3e1883ad More tweaks 2005-05-02 04:36:23 +00:00
moodler 70d0b4e12a Fixed fonts for forum mail footers 2005-05-02 04:23:46 +00:00
moodler f39bba50d6 Added RSS feed to latest news block 2005-05-02 04:13:29 +00:00
moodler d494dd8351 Fixed a typo 2005-05-02 03:53:18 +00:00
mchurch 4822e9d26d Added 'trackforums' to the fields retrieved for 'forum_subscribed_users' so
that emailed posts are marked as 'read' correctly.
2005-05-02 03:18:03 +00:00
koenr 81ecb44a58 new helpfiles for hotpot - not finished yet 2005-05-01 20:13:09 +00:00
koenr 8307dd3960 new strings and helpfiles from Anders Berggren 2005-05-01 18:35:04 +00:00
defacer b030458bee Make very sure that the submitted edit form actually tries to submit a
locked field before deciding to complain.

This may be fixing a bug reported at
http://moodle.org/mod/forum/discuss.php?d=16511, awaiting feedback.
2005-05-01 17:17:06 +00:00
defacer 8abc54c4f0 Updating the timezone lists with the Manila fix and also the glaring Paris
mess-up. Eagle Eye Eloy strikes again!
2005-05-01 17:13:30 +00:00
vthung 7c9f378ae8 Added wikitype.html 2005-05-01 17:01:59 +00:00
defacer 28c66824e7 Fixing two bugs:
1. When user was using "Server's local time", and the server was set up to
   use DST, generated timestamps must have been wrong in DST periods (I
   haven't backtracked to test this, but the code reads this way).

2. On Eloy's Mac (let's not generalize without data), passing is_dst = 0 to
   gmmktime caused it to return WRONG results!

   The PHP docs clearly state that in_dst does NOT affect the return value,
   which is true for me but in Eloy's case it was a lie. Obviously PHP bug here.

Also, moved the if($applydst) check into the else branch because it would do
nothing at all if (abs($timezone) > 13) in any case.


I hope Eloy keeps finding more bugs because he promised me a beer for this fix ;-)
2005-05-01 16:50:35 +00:00
vthung 290c327175 Added wikiname.html 2005-05-01 16:39:40 +00:00
vthung 0c3ca08c71 Added wikilinkoptions.thml 2005-05-01 16:32:11 +00:00
mits f1b63d312e translated some. 2005-05-01 16:07:40 +00:00
paca70 08c8105d8d Updates 2005-05-01 16:04:31 +00:00
moodler 9e33ce2c2c User ->trackforums now defaults to OFF, to save CPU on default installs 2005-05-01 15:07:52 +00:00
vthung d891f2abbd Added more updated info 2005-05-01 14:50:23 +00:00
defacer 6976250146 Performance boost for admins and editing teachers who teach several courses with NOGROUPS.
See bug 2804.
2005-04-30 22:26:17 +00:00
barias 16743136ed Latest updates in spanish translation 2005-04-30 20:58:25 +00:00
fiedorow 8428c9f4de Explain the meaning of shortpost and longpost 2005-04-30 17:57:43 +00:00
defacer 459ac79118 Fixing visual glitch in tabs. 2005-04-30 17:46:11 +00:00
moodler 91fe6e66da Added advanced search link (might need some layout work)... 2005-04-30 17:29:47 +00:00
vthung a9d7d0bc18 Added more update info 2005-04-30 17:28:35 +00:00
stronk7 888448f0f2 Added to avoid listing... 2005-04-30 16:22:02 +00:00
barias 998657ec26 Minor changes for matching help files with interface 2005-04-30 14:23:15 +00:00
moodler ad79dab8ff FIxes the broken lines, but the fonts sit a bit high now ... 2005-04-30 13:54:33 +00:00
barias 0e1ef35705 Sorry... I hadn't seen your prior translation... 2005-04-30 13:12:33 +00:00
barias 3a52ae9875 Latest updates in spanish translation 2005-04-30 12:24:02 +00:00
ethem 23d57150ec New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-04-30 09:38:39 +00:00
moodler f0b14db4af Tweaks 2005-04-30 05:59:25 +00:00
defacer 1654796815 The final touch for block robustness: when upgrading from 1.4, intercept
and disable any incompatible blocks. Print a notice too.

These blocks won't ever be displayed because they are hidden, and the admin
cannot even unhide them until they are fixed because the blocks admin page
won't list them (it will emit a notice instead). Case closed.
2005-04-30 03:25:28 +00:00
defacer 521729041a The admin blocks page now doesn't crash when encountering an incompatible block;
instead, it shows a notice.
2005-04-30 03:22:59 +00:00
defacer ff6191b742 On second thought, moving the cache retrieval out of the loop should eliminate
up to ten or so function calls per page view. I don't know how expensive they
are, but let's take what we can.
2005-04-30 03:18:02 +00:00
defacer 9b68732055 Extra check in blocks_preferred_width: don't examine any instance if that
block is not visible. Apart from fixing a bug, this is also they key to
fixing broken behavior with legacy 1.4 blocks.
2005-04-30 03:14:42 +00:00
defacer 61abc65bb9 New function block_is_compatible(), if it returns anything but true and you
decide to do anything with the block your warranty is void.
2005-04-30 03:08:04 +00:00
moodler b8a11dfff9 Only add a Wiki edit log entry when we have submitted changes. (SE) 2005-04-29 23:24:25 +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
lonecatz a70cc60e92 I found there's already a readme file added by koenr. 2005-04-29 17:51:39 +00:00
lonecatz aca526a47b initial version 2005-04-29 17:47:07 +00:00
ethem d17ca05407 New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-04-29 17:28:14 +00:00
lonecatz 6828fe073f first translation 2005-04-29 17:25:42 +00:00
ethem 132ed2448b New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-04-29 15:58:26 +00:00
ethem 84dfdbe690 New strings from Ethem Evlice (ethem AT evlice DOT com) 2005-04-29 15:05:09 +00:00
bobopinna 4c127fb330 updated to moodle 1.5alpha 2005-04-29 15:00:42 +00:00
lonecatz 027721e88e first translation 2005-04-29 14:55:59 +00:00
bobopinna 8bb00239f8 update to moodle 1.5alpha 2005-04-29 14:36:54 +00:00
bobopinna fe81203e77 updated to moodle 1.5alpha 2005-04-29 14:20:02 +00:00
bobopinna 26b3d26d2a Added store datamodel and repot 2005-04-29 14:13:37 +00:00
gustav_delius bacb13df7e file reviewoptions.html was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-29 13:42:16 +00:00
bobopinna 77de12caa6 updated to moodle1.5 2005-04-29 12:57:53 +00:00
gustav_delius a4cd4e0bb2 file adaptive.html was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-29 11:25:58 +00:00
stronk7 a2779dba53 This clean_text() shouldn't be here. Primary I changed it
to param_clean(PARAM_HTMLTEXT) but examining how other modules
do the work, I've deleted it finally.
2005-04-29 10:35:16 +00:00
phoenixfr e5a144bca7 anonymous login error solve (trash way) 2005-04-29 08:38:21 +00:00
paca70 6d9d3d1b27 postgres dont like "where 1"
CVS: ----------------------------------------------------------------------
2005-04-29 07:42:58 +00:00
gniske 5a0a18e8ea Correcter spelling errors 2005-04-28 21:59:01 +00:00
gniske 1becc65087 Addet missing strings 2005-04-28 21:47:38 +00:00
mudrd8mz 02eb3f861c First of 1.5 updates - to be continued asap 2005-04-28 21:31:49 +00:00
julmis c223e47712 Added iframe, object and applet to closingTags list
in needsClosingTag function
2005-04-28 20:56:07 +00:00
mchurch c39748f4b4 Re: Bug 3033 - fixed incorrect arguments in markposts for the forum index
screen.
2005-04-28 19:49:01 +00:00
defacer 6cb79c49d5 Latest and (hopefully!!!) final changes to the Blocks how-to. These address
the change where we now supply class block_list for list blocks to derive from.
2005-04-28 19:23:39 +00:00
stronk7 2086597256 Now we support both uppercase and lowercase lang tags, and the separator
can be both the hypen and the underscore characters.
Everything is converted to Moodle's (lowercase with hypen) langs.

And the filter returns the full text if some exception happens (bad build
lang tags). Actually it was returning an empty string on error.

Should we be a stricter allowing only the correct langs????
2005-04-28 16:33:15 +00:00
stronk7 7ccbff9800 Coding page updated (comments section) 2005-04-28 12:29:52 +00:00
moodler a0ebd7ba07 Latest tags 2005-04-28 11:12:25 +00:00
julmis d3a144d3b6 Fixing "removing" (before bold text underlined and so on) necessary spaces
when editor does format html to better shape (increase readability)
2005-04-28 10:40:46 +00:00
moodler 1da8c5685a New function to update the last post in a given discussion.
Called whenever deleting posts or splitting discussions - bug 3050 (SE).
2005-04-28 07:42:14 +00:00
gustav_delius dba1f6bcdb Added a few lines so that if modules set the module name in a hidden field in their config.html then the form does not have to prefix all its variables. That makes it simpler to produce config.html by copy and paste from mod.html. Also then if the module provides a function modulename_process_options then the form variables can be processed by the module before being stored in $CFG. 2005-04-28 07:40:21 +00:00
ethem 96aaed1b3a Times New Roman TR 2005-04-28 07:08:59 +00:00
ethem b869dc220d *** empty log message *** 2005-04-28 07:05:36 +00:00
bobopinna a5463b3455 Added data store and reporting 2005-04-28 07:04:55 +00:00
mits da3ec04329 translated new help file. 2005-04-28 03:20:19 +00:00
lonecatz a6fa53ff76 first translation 2005-04-28 02:38:56 +00:00
julmis b1839b0492 Make editor width always as same as toolbar's width 2005-04-27 23:11:27 +00:00
gniske 047fce9837 Created new language file 2005-04-27 22:28:58 +00:00
stronk7 87cf01aef5 Now multilang filter supports both the
<lang lang="XX> and the <span lang="XX"> syntaxes. Bug 3057.
(http://moodle.org/bugs/bug.php?op=show&bugid=3057)
2005-04-27 22:17:44 +00:00
stronk7 3efaec46d8 Updated. 2005-04-27 22:07:02 +00:00
koenr b738d7808e new files - without phpcode for the moment 2005-04-27 21:28:17 +00:00
fiedorow 858cf14dc2 Fix for Bug 3033 2005-04-27 21:23:26 +00:00
koenr 8e3532aadb new helpfile 2005-04-27 20:29:29 +00:00
koenr bb6602f694 XHTML compliance: don't embed a li in a p 2005-04-27 20:18:45 +00:00
koenr c9ce93f474 new strings 2005-04-27 20:08:54 +00:00
paca70 9c8513599b handle tinyints as integers when using postgresql 2005-04-27 19:24:48 +00:00
ethem 134742c2e2 New strings for Clam AV virus scanner 2005-04-27 18:39:17 +00:00
stronk7 902c63b023 Reducing a bit the number of replacements performed by the filter. ;-) 2005-04-27 18:34:38 +00:00
lonecatz 9c4d6572a1 first translation 2005-04-27 18:34:33 +00:00
defacer 68b38e8d02 Teachers table is now displayed with the new table class. 2005-04-27 18:30:02 +00:00
lonecatz 4b3d223202 fix image path 2005-04-27 18:27:26 +00:00
lonecatz 16efc784e7 translate more string 2005-04-27 17:29:05 +00:00
mits 0cc5017427 fixed based on standard theme. 2005-04-27 17:13:31 +00:00
ethem b2095ac8a2 New strings from Ethem Evlice (ethem AT evlice DOT com) 2005-04-27 17:06:32 +00:00
moodler e97e6dcbc0 FIxing style for attachments 2005-04-27 16:53:50 +00:00
mits 7bf358c9b5 fixed based on standard theme. 2005-04-27 16:49:01 +00:00
koenr db1f3316e4 no styles in help files 2005-04-27 16:27:03 +00:00
ethem a0cbe3480b New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-04-27 16:18:18 +00:00
stronk7 0f9a668f08 When we are printing a definition, avoiding concepts and
aliases of he entry itself, take out all the <a>...<a>
tags too!. Bug 3056.
(http://moodle.org/bugs/bug.php?op=show&bugid=3056)
2005-04-27 16:04:52 +00:00
mits 8e484b7de2 translated new help file. 2005-04-27 15:57:27 +00:00
moodler 182ac6c580 Small fix for recent-activity 2005-04-27 15:54:53 +00:00
moodler 02aa7083f1 Sourcelink should go in footer... 2005-04-27 15:49:36 +00:00
moodler 8fbdc99251 Removed extra JOIN :-D 2005-04-27 14:45:28 +00:00
moodler f64fdf3f9d Fixed a division by zero error 2005-04-27 13:54:44 +00:00
moodler 253e647478 Don't check login if they are being forced to change password
bug 3044
2005-04-27 13:51:55 +00:00
paca70 79fb043e3e Use integer instead of tinyint with postgres 2005-04-27 13:14:54 +00:00
carlesbellver 33ef6f80ce *** empty log message *** 2005-04-27 12:53:08 +00:00
koenr b49baab32a missed two P 2005-04-27 12:28:57 +00:00
koenr ea0d5c6c88 XHTML compliance: lowercase tags preferred 2005-04-27 12:27:33 +00:00
ethem e7532d1d0f This is XHTML compliant because it has a <br /> tag :) (not <br/>) 2005-04-27 10:53:14 +00:00
ethem 56cf102781 I love XHTML compliant unless a file contain XHTML tag :) 2005-04-27 10:12:20 +00:00
moodler 3814722905 Shane and I fixed a few things:
- preventlate works
   - dates can be set to not be used
   - optional assignment fields all getting passed to second screen now  8-I
2005-04-27 09:37:52 +00:00
martignoni a4350fccf9 Some modifications 2005-04-27 07:48:03 +00:00
martignoni 0691d7b99c Added information about phpdoc 2005-04-27 07:05:15 +00:00
martignoni 0dc342d02b Better wording 2005-04-27 06:32:40 +00:00
martignoni f4b736aeb9 Added help for per forum tracking options. 2005-04-27 06:30:31 +00:00
moodler e6ce125c68 Fixes for trackingtype upgrade and defaults 2005-04-27 06:14:01 +00:00
moodler 3ad7a8c7a8 Fixed a notice 2005-04-27 06:02:08 +00:00
moodler 77efef3e50 Dealing with forumid and forum_print_post in a more coherent way ... bug 3047 2005-04-27 05:55:30 +00:00
defacer 380bf7a6d3 Simply usertimezone(), baby! ;-) 2005-04-27 03:44:52 +00:00
defacer 0c24431590 Fix for bug 3045:
Now usertimezone() gives a correct human-readable string in all cases.
2005-04-27 03:42:07 +00:00
stronk7 68dfc4deb6 Now lesson_pages->title supports filterall 2005-04-26 22:30:40 +00:00
defacer 630bd96bd9 Fixing read tracking link when tracking is forced. 2005-04-26 22:02:26 +00:00
defacer 1576756e9f Get rid of evil <font> tag and a few aesthetic corrections. 2005-04-26 21:52:39 +00:00
defacer c6c3a59941 Initializing $parent to new stdClass was a major oops. However, seems it doesn't
need to be initialized at all. So I won't hold this against the practice in general.
2005-04-26 21:50:44 +00:00
defacer 10426cefb6 Fixing the two other functions that feed stuff into forum_print_post_full as well. 2005-04-26 21:45:48 +00:00
defacer 6572ab7170 Fix for bug 3047, which I leave open because I don't know if this
is the desired way of fixing the problem. Hopefully it is.
2005-04-26 21:29:29 +00:00
defacer a2ad73deb9 Initialize object as new stdClass instead of NULL. 2005-04-26 21:26:17 +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
mits f9ba10343d translated new help files. 2005-04-26 21:22:23 +00:00
mits 854f4d43bc translated some and added a new help file. 2005-04-26 21:03:18 +00:00
gniske c71da4fed3 Addet missing strings 2005-04-26 20:59:13 +00:00
defacer 16955dc619 Some double quotes to single, use optional_param for $reply.
I 'm debugging some PHP5 notices which aren't just notices, they imply
there's a bug somewhere here? Or maybe an inconsistency in parameter types
of the variables being passed around...
2005-04-26 20:39:08 +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 c6807fea65 Page titles can contain now HTML. Needed to be able to
apply the filterall thing here.
2005-04-26 19:08:06 +00:00
martignoni 567d4bb25c Some tweaks 2005-04-26 18:45:45 +00:00
moodler 79bf1dea3f Fixed typo and wording 2005-04-26 17:04:08 +00:00
mchurch 073c4bca19 Added help for per forum tracking options. 2005-04-26 16:36:53 +00:00
mchurch 94a6a70f6f Allow handling of per forum configured tracking. 2005-04-26 16:34:49 +00:00
mchurch eaf50aeff8 Added tracking settings per forum. 2005-04-26 16:27:51 +00:00
moodler e2c84c67dc When deleting a course, delete all the course files too 2005-04-26 16:05:52 +00:00
moodler f401cc9719 Moved a generic function over 2005-04-26 15:51:31 +00:00
moodler a2d71d8edd Fixed notice on home page and some efficiency with read trackking 2005-04-26 15:44:39 +00:00
moodler bb6f3b9323 Added information about phpdoc 2005-04-26 12:50:18 +00:00
moodler d9100b207f Fixing notices ... more fixing to do though 2005-04-26 12:27:55 +00:00
moodler 012ba8e53d FIxed a notice 2005-04-26 11:59:29 +00:00
carlesbellver b1d7bca5bd *** empty log message *** 2005-04-26 11:16:07 +00:00
thepurpleblob 50a8667264 improved README to reflect new class naming convention. 2005-04-26 10:41:42 +00:00
thepurpleblob a5d6991bc6 Updated qti export help to note that output is zipped. 2005-04-26 10:37:06 +00:00
thepurpleblob 63af92d6ca The custom format doesn't actually exist, so removing (empty anyway)
help file.
2005-04-26 10:34:03 +00:00
thepurpleblob 73731fa9f5 The custom.php file refered to in the text doesn't exist, so I've
just taken it out of the help.
2005-04-26 10:32:21 +00:00
lonecatz 38e811b008 first translation 2005-04-26 09:36:51 +00:00
moodler 326ce3c4b5 Don't put paragraphs around forum texts 2005-04-26 08:34:32 +00:00
moodler 0b78f2b1bd By default editing teachers should see all groups even if they are in a group 2005-04-26 08:00:56 +00:00
moodler f9a2e5157f Fixed bug mentioned here http://moodle.org/mod/forum/discuss.php?d=22645 2005-04-26 07:45:09 +00:00
lonecatz 0f1c9396a3 first translation 2005-04-26 07:41:24 +00:00
ethem 3cc5a0e36e New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-04-26 07:35:46 +00:00
martignoni 0c6b127d6f Some tweaks 2005-04-26 06:44:12 +00:00
defacer 208fc3a5f0 Initialize object with new stdClass. 2005-04-26 02:06:38 +00:00
moodler 8f6579f472 New cornflower from Jeffery Watkins! 2005-04-26 01:56:11 +00:00
stronk7 34d186ebe9 I forgot to look for cache. Woking now. 2005-04-25 22:03:57 +00:00
stronk7 eb6eb58ec5 Cache array of filterobjects per request. 2005-04-25 21:55:36 +00:00
gniske 5f3ab32a25 Addet missing strings 2005-04-25 21:09:54 +00:00
gniske 30d61013d9 Created new language file 2005-04-25 21:05:35 +00:00
mits 4ac52bdece added a new help file. 2005-04-25 20:35:35 +00:00
fiedorow cf9f97c2dd Fix for Bug #3015 2005-04-25 20:32:49 +00:00
martignoni abd7e92a77 Support for marking discussions read. 2005-04-25 20:03:49 +00:00
martignoni c3369c3bf9 String 'markallread' 2005-04-25 20:01:58 +00:00
martignoni 82dfc00e51 Hotpot strings 2005-04-25 19:58:47 +00:00
martignoni bfa34ee187 Hotpot string 2005-04-25 19:46:50 +00:00
mits 6b6459e7cb added a new help file. 2005-04-25 19:20:19 +00:00
mits df6189a5d0 translated some and new translation for hotpotatoes. 2005-04-25 19:14:03 +00:00
moodler b35e1a9ab9 No chat for you! (guests) 2005-04-25 19:10:14 +00:00
moodler 65f8f548fc Hmm, did some work on it 2005-04-25 18:53:27 +00:00
moodler 6ed432feef Updating to try it out 2005-04-25 18:49:13 +00:00
koenr a69eec6c9f polishing 2005-04-25 18:48:16 +00:00
moodler b345a30f35 Added support for trackforums 2005-04-25 18:45:21 +00:00
moodler d1889a5252 Making the use prreference more consistent with the rest 2005-04-25 18:43:00 +00:00
moodler c246882469 Now it behaves properly when tracking is turned off 2005-04-25 18:36:32 +00:00
moodler 343af2747d Fixed up some functions calls with funny parameters 2005-04-25 18:25:04 +00:00
moodler b71772e25e MOved updating of user forum into the right place 2005-04-25 18:07:14 +00:00
moodler b63fc63d60 Temporary icon 2005-04-25 18:00:55 +00:00
moodler 5733262d15 Making display of "mark read" function much more efficient
removed tables, added XHTML, using CSS, caching string ...
2005-04-25 18:00:23 +00:00
urs_hunkler 4e2951f197 CSS optimization for MSIE and Opera 2005-04-25 17:53:40 +00:00
moodler 6de6cd5a27 Fixed forum index, removed "mark read" links .... 2005-04-25 17:45:15 +00:00
moodler d071637f39 Fix chat display to show timezones correctly 2005-04-25 16:40:39 +00:00
moodler df0fcc6f78 The initial installation is now properly handled.
Hot Potatoes is disabled by default in new installations.
2005-04-25 16:29:50 +00:00
thepurpleblob 7435cc1354 ...and it would be much better if I could spell! 2005-04-25 15:25:27 +00:00
thepurpleblob c544726fa6 Changed class name and added new method to fit in with new import/export
capability auto-discovery!
2005-04-25 15:24:29 +00:00
moodler 57e0eac48e Change logic for new installs 2005-04-25 15:21:06 +00:00
mchurch 920d16c925 Support for marking discussions read. 2005-04-25 15:00:58 +00:00
mchurch 20a3dad574 Added the ability to mark discussions read. 2005-04-25 15:00:27 +00:00
moodler 07e1a0e289 Hotpot import to quizzes 2005-04-25 14:42:12 +00:00
moodler d4b950d390 Hotpot module v2! Thomas Robb, Gordon Bateson - thanks!! 2005-04-25 14:41:28 +00:00
moodler d4cb2d8897 Spanish Hotpot (mmm making me hungry) 2005-04-25 14:33:22 +00:00
moodler e044c93e5b Hotpot strings and help 2005-04-25 14:32:08 +00:00
moodler b9e1b3acba Some Hotpot-related icons 2005-04-25 14:10:44 +00:00
moodler a00420fb30 Added some new types for Hotpot files 2005-04-25 14:09:19 +00:00
mchurch c5b00d806a Added personal setting strings for tracking forums. 2005-04-25 14:07:58 +00:00
ethem 33462e7d1b New strings from Ethem Evlice (ethem AT evlice DOT com) XHTML compliant 2005-04-25 14:03:00 +00:00
mchurch 45293cd330 More robust personal forum tracking logic. Added personal forum tracking
option setting to forum view page.
2005-04-25 14:02:00 +00:00
mchurch 2bc9f15ac8 More robust personal forum tracking logic. 2005-04-25 14:00:29 +00:00
lonecatz 0d4109a74c first translation 2005-04-25 13:41:06 +00:00
dlnsk 4edae3ee35 Small changes 2005-04-25 11:11:04 +00:00
dlnsk f2c6f117fd Name of this file not right!
Right name is

randomSAmatch.html
2005-04-25 11:08:24 +00:00
dlnsk fee2fbb1a1 Major changes of Quiz help 2005-04-25 11:04:36 +00:00
dlnsk b38a6c5b00 New translated topics of Quiz help 2005-04-25 11:02:55 +00:00
moodler 3edd7b28bc Styles for email 2005-04-25 10:56:44 +00:00
moodler f2379d2d2e Tweaking 2005-04-25 10:56:11 +00:00
dlnsk 0378f857ee Small changes in some translations 2005-04-25 10:55:05 +00:00
dlnsk cc536aa18a Initial translation of Book module 2005-04-25 10:53:10 +00:00
dlnsk a11d784cf0 Common help about course options 2005-04-25 10:48:56 +00:00
moodler a0288610be Tidying up mail and stuff 2005-04-25 10:48:01 +00:00
lonecatz 02b9429a9a first translation 2005-04-25 10:23:54 +00:00
moodler 47d0630139 Fixed display of unread column in news forums 2005-04-25 09:08:21 +00:00
lonecatz 2056cd48ce translate more string. 2005-04-25 08:53:35 +00:00
lonecatz 25705f7b1d first translation 2005-04-25 08:50:22 +00:00
phoenixfr 955db841f8 $CASLANGUAGES correction 2005-04-25 08:39:07 +00:00
martignoni 9b4905b70b Another typo :-) 2005-04-25 06:57:15 +00:00
martignoni 61985dc50c Typo corrected 2005-04-25 06:56:11 +00:00
martignoni 609f297773 Added enable/disable forum tracking in a user profile. 2005-04-25 06:55:03 +00:00
martignoni aadd604e01 Add link for advanced searching 2005-04-25 06:47:14 +00:00
martignoni d2f8a177b8 Added user forum tracking strings. 2005-04-25 06:45:45 +00:00
gustav_delius 6858546b59 file styles.php was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-25 06:37:09 +00:00
gustav_delius e28f1bcd36 file tabs.php was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-25 06:37:09 +00:00
gustav_delius b012523f1a file attempts.php was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-25 06:37:08 +00:00
gustav_delius e256c88ce3 file reviewquestion.php was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-25 06:37:08 +00:00
lonecatz d490aac421 first translation 2005-04-25 05:52:58 +00:00
koenr 1a23350b64 fixed NCR - notation 2005-04-25 05:40:21 +00:00
lonecatz 7313eab34e translate more strings 2005-04-25 05:30:19 +00:00
mchurch 331c512a10 Added the ability to mark all posts in a forum as read. 2005-04-25 03:56:02 +00:00
moodler 77e75a76f7 FIxed relative link in mailouts 2005-04-25 03:42:50 +00:00
lonecatz f158664480 first translation 2005-04-25 02:58:49 +00:00
lonecatz 7d697c27c9 more translation 2005-04-25 02:24:49 +00:00
lonecatz 196fdcf37b new translation 2005-04-25 02:24:09 +00:00
moodler add3201ede Fixed up styles and strings in posted mail 2005-04-25 01:51:51 +00:00
mchurch fe0a76782f If a user sets their 'Track read/unread posts' personal profile setting to
'No', delete all of their read records.
2005-04-25 00:56:19 +00:00
lonecatz 5b34cd2828 more translated strings 2005-04-24 23:57:09 +00:00
stronk7 ee00f4ffb2 Some more things to do... 2005-04-24 22:53:53 +00:00
julmis 0e50f9b268 Merged from MOODLE_14_STABLE
Added charset to head part of the page.
2005-04-24 22:03:42 +00:00
koenr 22b1b630a6 new strings on forum tracking 2005-04-24 21:55:20 +00:00
skodak 409fad8892 fixed redirection after delete and added check of selected files SC#111 2005-04-24 20:15:06 +00:00
mchurch bce5c2cd47 Added user prefernce for forum tracking. 2005-04-24 19:52:18 +00:00
mchurch 5cc300633d Added postgres support for user specific forum tracking. 2005-04-24 19:49:42 +00:00
mchurch 9e2b1877e0 Added enable/disable forum tracking in a user profile. 2005-04-24 19:46:13 +00:00
skodak 38be9b3117 fixed compatibiltiy with PHP 4.1.0 2005-04-24 19:18:41 +00:00
mits e9b2b62616 translated some. 2005-04-24 18:26:30 +00:00
stronk7 d858c87625 Now scorm->name supports filterall.
scorm->summary presentation changed a bit to use format_text.
2005-04-24 18:08:59 +00:00
stronk7 55603b0c6a Added one more task 2005-04-24 17:25:52 +00:00
stronk7 0a2c2599b6 Now lesson->name supports filterall 2005-04-24 16:46:51 +00:00
lonecatz 1681c80470 more translated strings 2005-04-24 16:40:33 +00:00
lonecatz 5d18aab5b9 new translated files 2005-04-24 16:15:48 +00:00
stronk7 0679acbe14 Events created by the lesson module were double-slashed. 2005-04-24 16:10:50 +00:00
moodler 10b9a26a20 Add link for advanced searching 2005-04-24 15:13:58 +00:00
mchurch cb9ef4a06d Fixed Bug 3021. Forum ID was getting changed in read tables. 2005-04-24 14:54:15 +00:00
mchurch 143b43cbcc Added user read tracking logic to forum_print_post. 2005-04-24 14:31:03 +00:00
mchurch 1d2256d020 Added user forum tracking logic to discussion display. 2005-04-24 14:06:23 +00:00
mchurch 4877707e52 Added display logic for user forum tracking preferences. 2005-04-24 13:41:46 +00:00
mchurch aa78734600 Added user forum tracking strings. 2005-04-24 13:28:15 +00:00
mchurch 38994d6ff7 Added the user forum tracking settings. 2005-04-24 13:27:20 +00:00
stronk7 e2448b532e Recently improved navbar now supports filterall. 2005-04-24 12:37:37 +00:00
martignoni c36029eea4 Small improvement 2005-04-24 11:42:26 +00:00
martignoni 639f6184f3 Better alignment of table cells 2005-04-24 11:28:39 +00:00
martignoni b57786dd9c Embedding the session checking a little better 2005-04-24 11:26:04 +00:00
mudrd8mz 47e91b5e32 Czech latin2 default true type font 2005-04-24 11:18:14 +00:00
martignoni c534d676da Added new script to upgrade the forum records 2005-04-24 10:54:13 +00:00
mudrd8mz 1f8da1413e Update and fixes for 1.5 2005-04-24 10:41:43 +00:00
martignoni ea9baba6f3 There is a new setting in Messaging, so that you can block any
new messages from people not on your contacts list
2005-04-24 10:36:53 +00:00
martignoni 79c98ad2af Added word for Submission 2005-04-24 10:33:30 +00:00
lonecatz e554474288 new translated file 2005-04-24 06:35:17 +00:00
moodler 552afaf1ee Handle forum tracking on forums on home page 2005-04-24 04:45:01 +00:00
lonecatz 913636f1c5 new translated file 2005-04-24 04:33:45 +00:00
moodler cb57161547 Fixed a typo causing the topic section to keep appearing 2005-04-24 04:27:38 +00:00
moodler 2dffafbb0b Vietnamese don't like Trebuchet :-) 2005-04-24 04:13:48 +00:00
moodler 55b734fb84 Better support for language styles 2005-04-24 04:13:18 +00:00
moodler 0bf465d203 Accept language as parameter too (for lang styles) 2005-04-24 04:10:01 +00:00
lonecatz 20e0831a1b new translated files 2005-04-24 03:21:35 +00:00
lonecatz 476dd28c3c Fix translation of word "disabled" 2005-04-24 03:21:06 +00:00
lonecatz 6361e2704f translate more strings 2005-04-24 03:18:17 +00:00
mchurch cfdc10e63c Corrected an SQL statement that used 'user' instead of $CFG->prefix.'user'.
Note - this is a left join of a table that is already inner joined in the
same statement. There may be other problems here.
2005-04-24 02:02:09 +00:00
dovix 3d83e9ef27 *** empty log message *** 2005-04-23 22:28:33 +00:00
koenr 320859fe03 New bosnian language pack from tihomir.veselinovic@efsa.unsa.ba
Passed XHTML check
2005-04-23 22:23:45 +00:00
lonecatz 37e163c4d3 more translated strings 2005-04-23 19:33:49 +00:00
lonecatz 358fd55825 new translated file 2005-04-23 19:30:51 +00:00
lonecatz 31edbe37f9 New translated file. 2005-04-23 19:30:10 +00:00
lonecatz 3a9ba78897 translate all strings 2005-04-23 18:36:34 +00:00
koenr 32882ad78c new strings 2005-04-23 18:26:53 +00:00
lonecatz 3594f2b0a0 new translated file 2005-04-23 18:24:16 +00:00
koenr 1b001c6c15 adjusted <td valign="top"> 2005-04-23 17:55:56 +00:00
mits d2bd437112 translated some. 2005-04-23 17:21:23 +00:00
koenr 6e8b3a6850 new strings 2005-04-23 17:19:26 +00:00
moodler a7f2d5f60d SMaller sizes in chat 2005-04-23 16:52:16 +00:00
moodler 251e665f34 FIxed some focus issues 2005-04-23 16:43:49 +00:00
moodler efca05b447 Added a double-check that should stop the locale-switching that's been happening 2005-04-23 15:16:43 +00:00
moodler 29e91ef724 Embedding the session checking a little better 2005-04-23 15:02:00 +00:00
moodler a73cc7b912 Tweak! 2005-04-23 14:48:28 +00:00
moodler 669be60c67 Fixing up some message style names 2005-04-23 14:38:57 +00:00
dovix d437006d21 *** empty log message *** 2005-04-23 14:37:26 +00:00
moodler 25048356a8 Slow it down just a bit 2005-04-23 14:28:41 +00:00
lonecatz 9815e7f22d more translated strings 2005-04-23 14:28:28 +00:00
moodler 15d6d569d9 Tidying up the look of it a bit 2005-04-23 14:27:26 +00:00
moodler 6e07480819 Better headings 2005-04-23 13:39:01 +00:00
moodler 3a70cb6441 Added new script to upgrade the forum records (it has a pretty progress bar
and it means the main upgrade isn't held up.
2005-04-23 13:36:18 +00:00
lonecatz 18cfcc1528 more translations 2005-04-23 12:43:18 +00:00
moodler 15ba1b0691 Strip slashes from text in maintenance message 2005-04-23 07:49:29 +00:00
mits d8d8ab24ed translated some. 2005-04-23 07:09:41 +00:00
moodler 3f85157ba7 There is a new setting in Messaging, so that you can block any
new messages from people not on your contacts list

I will need this on moodle.org I can tell you!!
2005-04-23 06:26:10 +00:00
moodler 830d0af6d4 Fixed context links on search messages 2005-04-23 06:08:33 +00:00
moodler 9f4f9b8ace Getting close to a beta ... still a few things to work on 2005-04-23 05:47:13 +00:00
moodler f8156e56eb Delete forum_read records more efficiently 2005-04-23 05:06:17 +00:00
mits cff53d2c4a polished. 2005-04-23 04:41:41 +00:00
stronk7 04592aec06 Now event->repeatid is included in backup/restore. Thanks for
your support Jon!
Bump to 1.5 beta
2005-04-22 23:49:48 +00:00
moodler 17bb32a9a9 Two more typos!! Big ones! 2005-04-22 21:24:21 +00:00
urs_hunkler dfa5ff4f4e changed inline styles to classes to be able to handle the font sizes with the CSS files, 2005-04-22 21:13:37 +00:00
urs_hunkler f16147bfc2 reduced line-hight for the sideblocks 2005-04-22 20:19:13 +00:00
gustav_delius f6174a3dff better alignment of table cells 2005-04-22 20:09:50 +00:00
urs_hunkler f9a1e7c530 adjusted the fontsizes. The very small fontsizes in the sideblocks are now a bit bigger.
the line-height is bigger and letter-spacing is a bit wider. the text is better readable this way.
2005-04-22 19:54:48 +00:00
moodler 6001eb4f9b Whoops, another typo 2005-04-22 19:49:28 +00:00
moodler 232b51bb7b SPacing fixes 2005-04-22 19:17:06 +00:00
moodler 48065f32e5 Typo 2005-04-22 19:11:29 +00:00
moodler 096de9addc Improved handling of userlastmodified 2005-04-22 18:53:04 +00:00
andreabix 2a1e149c95 Tabs files 2005-04-22 17:59:30 +00:00
gustav_delius 4ea4562f1a file editlib.php was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-22 17:52:45 +00:00
andreabix 9059a7b076 Added tabs and forum colour classes 2005-04-22 17:23:57 +00:00
moodler 13597d018f Hack to speed up forum_get_discussions in blocks etc 2005-04-22 16:45:51 +00:00
moodler 4abef03b8b Optimisations for read posts 2005-04-22 16:38:50 +00:00
moodler 36ad8acd31 Much more efficient updating of forum_read table! I think it works ...! 2005-04-22 15:48:05 +00:00
moodler 76c78acfea Better flushing 2005-04-22 14:21:12 +00:00
moodler 81c679ce87 Two weeks is enough (wish I'd set this small on moodle.org upgrade!) 2005-04-22 13:37:23 +00:00
moodler c9338a4f3c Remember to addslashes on choice upgrade - lesson learned from moodle.org 2005-04-22 13:19:47 +00:00
moodler 2a0cf3cabb Add slashes to text - lesson learned from moodle.org! 2005-04-22 13:17:56 +00:00
mits a345b8f524 fixed based on standard theme. 2005-04-22 13:15:14 +00:00
mits e4a17e824b translated one string. 2005-04-22 12:55:55 +00:00
defacer a1dc259f25 Correct fix for bug 2912. That wasn't a typo, and thanks to my good friend IE
we now need an ugly workaround (which luckily exists...)
2005-04-22 12:44:11 +00:00
bobopinna 2c7ecbe535 fixed typo 2005-04-22 12:23:26 +00:00
moodler 6168173694 Added word for Submission 2005-04-22 11:54:18 +00:00
dovix b9c1ffbe9f *** empty log message *** 2005-04-22 11:03:43 +00:00
thepurpleblob 971a7ce06f Fixed glaring error in Match format 2005-04-22 09:51:15 +00:00
martignoni 7d95c2b824 Added 'creatinggradebook' to be used in restore. 2005-04-22 09:47:28 +00:00
martignoni 8b43cc7eb6 Editing repeating events in one go works as well. Enjoy!
PS No problem, Defacer ;-)
2005-04-22 09:45:41 +00:00
martignoni bf1f0c1bc2 Simplifying new text 2005-04-22 09:34:45 +00:00
martignoni 803659d41e $string['contactlistempty'] = 'Your contact list is currently empty'; 2005-04-22 09:31:44 +00:00
moodler d8807190c3 XHTML fixes and quotings 2005-04-22 07:52:21 +00:00
moodler 3553be249a FIx for bug 2776 (moving courses with apostrophes) 2005-04-22 06:41:49 +00:00
moodler 705a2aa45c Reverting Jon's change 2005-04-22 06:24:57 +00:00
mits 30648ee300 translated one string. 2005-04-22 05:17:37 +00:00
mits da34466c2b font sieze fixed. 2005-04-22 05:13:07 +00:00
mits 3d830abc7f fixed based on standard theme. 2005-04-22 04:20:53 +00:00
ikawhero 42f67c9e80 Fixed typo. Bug 2912. 2005-04-22 04:16:59 +00:00
defacer d290029084 Correcting the behavior of update_record.
Fixes bug 2776.
2005-04-22 03:43:09 +00:00
defacer 6a368788ac Fixing a bug with embedding the parameter a=... in the log URL, which in
turn affected the recent_activity block (that's how I found out).

Changed some random quotes to single in the near vicinity.

Double quotes bad. Shoo!
2005-04-22 03:13:58 +00:00
stronk7 649472cf5d Updated a bit. event->repeatid included. 2005-04-22 00:57:16 +00:00
stronk7 2332688f43 One copy/paste typo and a problem restoring to existing courses solved. 2005-04-22 00:55:04 +00:00
stronk7 2191bf1fa2 Although there are some work todo, this practically can be considered beta! 2005-04-22 00:29:22 +00:00
stronk7 a4f534add8 Added 'creatinggradebook' to be used in restore. 2005-04-22 00:27:27 +00:00
stronk7 868e94e763 Now gradebook is restored completely. Logic says:
- If destination course is using 'simple' gradebook, restore nothing.
- If destination course has letters defined, don't restore backup letters.
- If one category exists in the course (by name) it's reused.
- Items belonging to non-restored modules are skipped.
- If users aren't restored, exceptions are skipped.

Test, test, test... :-)
2005-04-22 00:26:22 +00:00
mits a823d3f921 fixed based on standard theme. 2005-04-21 20:08:51 +00:00
moodler f54a86afd9 Removed cellspacing for IE 2005-04-21 17:53:36 +00:00
moodler 9a037ca060 Tinker tinker 2005-04-21 17:50:55 +00:00
moodler e83997a7db Tinkering with fonts to make them more cross-platform 2005-04-21 17:47:27 +00:00
moodler fade18149c Font tinkering 2005-04-21 17:45:31 +00:00
stronk7 517d0b880f One more place to support filterall with activity names found. 2005-04-21 17:07:28 +00:00
stronk7 12b255b9ed Some table->id fields added to backup of gradebook.
I need them in restore (and I always forget it!)
2005-04-21 16:24:26 +00:00
mits 5fd401278b translated some. 2005-04-21 15:45:58 +00:00
mits 5188496b48 fixed based on standard theme. 2005-04-21 14:45:19 +00:00
defacer 98cd789a4e Editing repeating events in one go works as well. Enjoy! 2005-04-21 14:33:30 +00:00
defacer 822c612566 Centering some headers in the calendar screens. 2005-04-21 14:04:26 +00:00
defacer e6fbb4d11a You can now delete a repeating event series all at once. 2005-04-21 14:03:22 +00:00
defacer 8f71c6b20b Fixing PHP 5 warning. 2005-04-21 13:44:50 +00:00
defacer d3e27ac439 Adding repeatid to newly created repeat events. 2005-04-21 13:43:07 +00:00
defacer 8180c859f1 Adding repeatid in mdl_event. 2005-04-21 13:36:37 +00:00
defacer 71de24539a Removing one block from social courses defaults, too overcrowded.
Fixing also line endings.
2005-04-21 13:25:43 +00:00
moodler 3994ef98bf Don't show lateness on offline assignments (bug 2993) 2005-04-21 12:44:19 +00:00
moodler 18bf47ef30 Added some more file types for programming (bug 2994) 2005-04-21 12:40:45 +00:00
moodler dd189d93ab Fixed messaging links in blocks 2005-04-21 11:34:34 +00:00
thepurpleblob 3d89b0e02c Tidied up the formatting in a couple of places. 2005-04-21 10:04:45 +00:00
mits f7663036ae fixed, based on standard theme. 2005-04-21 09:44:02 +00:00
moodler 7af89bb79c Default value for langcache. Bug 2975 (SE) 2005-04-21 09:16:57 +00:00
moodler d38139764c Yay! New super-fast glossary filter!
This is shaving some very significant time from my pages, even with
caching turned off.   :-D
2005-04-21 09:04:54 +00:00
moodler 29f68892c2 Oops left database debugging on in the last commit. (SE) 2005-04-21 08:41:06 +00:00
moodler 12acb98cb7 Fixed a PHP bug in deleting assignment instances. (SE). 2005-04-21 08:32:24 +00:00
moodler 2cdc1f5409 Force forum post commands to appear on their own line. (SE) 2005-04-21 08:12:48 +00:00
moodler 8cb091e643 Fixed a minor PHP warning. Bug 2979. (SE) 2005-04-21 08:11:07 +00:00
gniske 1af9afe59c Addet missing strings 2005-04-21 08:05:07 +00:00
moodler cd30e6a32c workshop_user_complete now prints out something meaningful. Bug 2931.
General tidy up.
CSS styles added. (SE)
2005-04-21 07:19:41 +00:00
mits 7131f72fbd Catch up :) 2005-04-21 05:00:58 +00:00
moodler a1157dda6a Fixed how extra user help is displayed 2005-04-21 04:57:54 +00:00
moodler 64fdfa6672 Simplifying new text 2005-04-21 04:45:44 +00:00
lonecatz 930c8831f7 More translated strings. 2005-04-21 04:22:18 +00:00
koenr 473c88b026 new strings and helpfiles 2005-04-20 22:16:50 +00:00
defacer cb88fbddec I broke this with my last commit, fixing. 2005-04-20 21:46:33 +00:00
mits bb9a34a347 polished. 2005-04-20 21:44:14 +00:00
ralf-bonn 4e63bb68ab new strings for 1.5 2005-04-20 21:30:06 +00:00
mits 693c9e0c45 polished. 2005-04-20 21:28:32 +00:00
mits f10f9357ff translated some. 2005-04-20 21:26:43 +00:00
defacer e93f551b3f Removing leftovers from some debugging session. 2005-04-20 21:17:39 +00:00
defacer 95a1810ed9 Removing dead code. 2005-04-20 21:14:27 +00:00
defacer edf205a609 Synchronising rights required for event editing with those required for adding events.
See previous commit in calendar/event.php.
2005-04-20 21:13:08 +00:00
defacer bc5f95a433 Fixing a typo. 2005-04-20 21:09:26 +00:00
defacer 4eb1a1df3f As per bug 2578:
Creating course and group events now requires the same privileges as posting
in a forum. For course events (including site course, i.e. site events), any
teacher can create one.

For group events, the teacher must either have editing rights in the course
or be a member of the group the event is for.
2005-04-20 21:07:55 +00:00
danmarsden a11b4f3d8d $lim should be $limitfieldlist 2005-04-20 20:59:20 +00:00
skodak e1c8b46a9d more cleaning of url parameter in redirect() - SC#100 2005-04-20 20:45:43 +00:00
defacer fda5a2338f Scott Elliott managed to diagnose bug 2784 (and 2990 -- duplicate) and find
the solution. All hail! :)
2005-04-20 20:40:04 +00:00
martignoni dd522412b4 Added export format name for xhtml 2005-04-20 20:37:52 +00:00
martignoni f20607726d Shortened a string 2005-04-20 20:36:52 +00:00
martignoni 7417cbcde5 Added missing string (notsubmittedyet) 2005-04-20 20:35:31 +00:00
martignoni fea7d457b7 Polish and fixes for language cache -- addresses bug 2891 2005-04-20 20:29:15 +00:00
michaelpenne 0edcd41925 updated code to delete database exception entries for grade items that no longer exist
also added link to to grade points that takes a user to the graded item
2005-04-20 20:25:26 +00:00
martignoni 15fe0244ea Fixing HTML typo, & -> &amp; 2005-04-20 20:24:35 +00:00
martignoni 9be606e2f8 Added one new string needed in backup: 'writinggradebookinfo' 2005-04-20 20:19:48 +00:00
martignoni 8d3c97d440 New documentation for new assignment types 2005-04-20 20:17:58 +00:00
martignoni 59c9968893 Fix for bug 1938. 2005-04-20 20:02:43 +00:00
martignoni dbf822fb24 Strings for Shibboleth 2005-04-20 19:58:50 +00:00
defacer 65ef518b1d See bug 2987 (there is more to it than this checkin):
Making the contacts list more user-friendly for people who have no clue how
messaging works and simply happen to click the "no messages waiting" link in
the Messages block.
2005-04-20 19:28:14 +00:00
julmis 572fe9ab57 Load htmlarea script only once. 2005-04-20 19:12:28 +00:00
koenr ccd0708fd6 a lot of new strings and help files for the hu language
Almost complete language pack!
2005-04-20 18:58:33 +00:00
mits fce7a5b2c1 translated some. 2005-04-20 17:31:55 +00:00
mits c880425a59 fixed, based on standard theme. 2005-04-20 15:13:41 +00:00
thepurpleblob f3bd87cb24 Question text now goes through the (appropriate) formatted, and the example
CSS is added in.
2005-04-20 15:11:36 +00:00
thepurpleblob 974a8e8f83 Example/suggested CSS for the xhtml export format. 2005-04-20 15:10:05 +00:00
defacer 3bc40d1854 Fixing a small visual discrepancy in the calendar block filter panel. 2005-04-20 15:09:33 +00:00
thepurpleblob 375d1653c6 Added help for xhtml export format. 2005-04-20 14:13:20 +00:00
thepurpleblob df127702c1 Added export format name for xhtml 2005-04-20 14:08:17 +00:00
thepurpleblob 53594cc653 Export format to generate quiz category as page of xhtml. 2005-04-20 14:06:44 +00:00
moodler 29a2718672 Added some reminders of an important problem we need to fix 2005-04-20 13:52:18 +00:00
moodler 768f90f657 DOn't allow discussions to be moved out of the teacher's forum. 2005-04-20 13:26:06 +00:00
moodler 0cbc1f11ae Fixing a problem unslashed data 2005-04-20 12:01:26 +00:00
gustav_delius 0346dd3954 using 'counteditems' language string to help finnish translators, closing bug 2530 2005-04-20 11:32:29 +00:00
thepurpleblob 0458f07aaf GIFT export collapses multiple line questions to fit with the GIFT 'spec'. 2005-04-20 10:13:38 +00:00
martinlanghoff 444e67e1eb Import of base32.php based on race.php -- hoping for a clearer licensing picture, otherwise will switftlyt rewrite 2005-04-20 09:12:51 +00:00
moodler 86365d200b Strp tabs from shortened comments 2005-04-20 09:12:47 +00:00
thepurpleblob 0ae982231f Import/export changed so that available formats are automatically detected.
Classes now have discrete names and methods to identify import/export
capability added. Detecting function factored out into locallib.php
2005-04-20 09:08:25 +00:00
moodler 1d1c2947e6 Added missing string (SE) 2005-04-20 08:41:46 +00:00
moodler 01e2fdfe72 Inline commenting now works 2005-04-20 07:48:11 +00:00
gniske 3f20590f4f Addet missing strings 2005-04-20 07:42:53 +00:00
gniske 11b2ce5588 Created new language file 2005-04-20 07:32:27 +00:00
martinlanghoff d6ead3a251 Polish and fixes for language cache -- addresses bug 2891 2005-04-20 07:29:28 +00:00
moodler 80d8a1b8d7 Fixed potential security breach that allowed changes to password of another
user by setting a fake cookie.
Fixed password changing for admin logged in as another user.
Changed double quotes to single quotes where appropriate.
Other minor fixes. (SE)
2005-04-20 07:02:17 +00:00
moodler ba16713fc9 Fixed up the submitted links once and for all 2005-04-20 06:49:49 +00:00
gustav_delius 308dedc436 file questionsperpage.html was initially added on branch MOODLE_15_QUIZREFACTOR. 2005-04-20 05:49:47 +00:00
moodler 7493b1c927 Deleting cronextra.php stuff .... 2005-04-20 05:38:16 +00:00
moodler 4c3b9e020f MOre cleanups to links etc 2005-04-20 05:27:20 +00:00
moodler 9a0eb67916 Cleaned up the display of forum introductions and added link to discussion count 2005-04-20 05:19:52 +00:00
moodler 6477dadd33 Allow answer choices of any length. Bug 2814. (SE) 2005-04-20 05:19:35 +00:00
moodler 9c1ec12eda Allow choices of any length 2005-04-20 04:47:30 +00:00
moodler 2c61c74043 Explicit casting of input (SC#57) 2005-04-20 03:10:51 +00:00
moodler 30b2d32eea Fixed translation problem (bug 2340) 2005-04-20 03:05:58 +00:00
mits 0d78c201c5 polished, translated a new help file. 2005-04-20 02:51:01 +00:00
defacer 865da14944 Fix for bug 2902: Now you can set $focus in print_header to anything, and
it will never generate a JS error.
2005-04-20 01:32:18 +00:00
mits 7154a44e7b fixed, based on standard theme. 2005-04-20 01:26:49 +00:00
mits 5ccc17a15c translated some. 2005-04-20 00:59:22 +00:00
defacer 29b5920693 Fix for bug 2933. Just tidying up HTML. 2005-04-20 00:44:02 +00:00
stronk7 acc22cef2d Now the fullsearch check is enabled by default
(perhaps it should be erased!)
2005-04-19 23:36:46 +00:00
mjollnir_ f3799277d7 Another fix for choice for pg. We now install cleanly! Woohoo! 2005-04-19 23:27:33 +00:00
mjollnir_ 31c0603dc8 Fixing choice for postgres (I assume responses was renamed to answers at some point) 2005-04-19 23:22:46 +00:00
stronk7 cc2c59230e Added one new string needed in backup: writinggradebookinfo 2005-04-19 23:22:29 +00:00
stronk7 e19d817eb3 Now backup of 1.5 gradebooks is working (restore coming soon). Features are:
- It's automatic. No setting for it. Does it sound ok?
 - Any info related to non-exported modules is skipped.
 - Any info related to non-exported users is skipped.
2005-04-19 23:21:45 +00:00
defacer d21135ad85 Fixing notice under PHP 5. 2005-04-19 22:15:20 +00:00
defacer c399e50e77 Inserting back the empty space after the headingblock in social courses,
but in a way that makes it uniform with the other two course formats.

In social, the empty space is now 9 pixels instead of 7. Oh well, that's life.
2005-04-19 22:09:07 +00:00
defacer df03aecee7 Fix for bug 2945.
I 've also removed a print_spacer(7). Will fix with CSS.
2005-04-19 21:52:29 +00:00
defacer bb74176fbf HTML improvements, including fix for bug 2967. 2005-04-19 20:54:52 +00:00
defacer 979f826a2d Fixing HTML typo, & -> &amp; 2005-04-19 20:52:26 +00:00
skodak ee43e51575 fixed file uploading - SC#60 2005-04-19 20:52:02 +00:00
defacer 273a80d7be Fixing bug 2935: HTML typo. 2005-04-19 20:45:15 +00:00
koenr f17a028993 new strings 2005-04-19 19:15:09 +00:00
koenr 368761d905 XHTML-compliance 2005-04-19 19:02:22 +00:00
koenr 8a8c2678de tweaking translation 2005-04-19 18:19:29 +00:00
stronk7 0e60c77287 Now gradebook supports filterall. 2005-04-19 17:26:05 +00:00
moodler 0d5da5dd1f Just tidying 2005-04-19 16:05:50 +00:00
moodler 60bcceadd3 Added assignment type on the index page 2005-04-19 15:37:53 +00:00
julmis d8c7ad9025 Fixing formathtml function
- should be working much better now...
2005-04-19 15:34:47 +00:00
thepurpleblob 6f68b1e5b4 Import formats now hard coded so only available ones appear in the list. 2005-04-19 15:34:08 +00:00
moodler 61b5fa54e6 Extra string 2005-04-19 15:27:31 +00:00
thepurpleblob c9a9705ef1 Now only displays available export formats. List is now hard-coded in this file. 2005-04-19 15:26:37 +00:00
thepurpleblob d30bd73457 delDirContents function added - blasts a complete directory structure. 2005-04-19 15:11:44 +00:00
thepurpleblob 3f1c031cc4 Now results in the produced files packaged in a single zip file.
Bunch of code for non-standard questions removed.
Template compile files now stored in $CFG->moodledata
Some bugs and oddities sorted
2005-04-19 15:10:47 +00:00
gustav_delius 19bb8ff8f9 shortened a string 2005-04-19 15:00:18 +00:00
gustav_delius 52d55cfc51 improved navigation bar for module editing form 2005-04-19 14:58:16 +00:00
bobopinna 385b6df314 Fixed a typo in AICC launch string 2005-04-19 14:57:02 +00:00
julmis 57d5df5f2b Changing a.nodeValue to root[a.nodeName] creates
another bug that is much severe than absolute
links been converted to relative.

So I'm changing it back...
2005-04-19 13:53:54 +00:00
julmis 023d858d46 Trying to fix aboslute link issue!!! 2005-04-19 13:26:54 +00:00
julmis 1546f4cff0 Fixing HTMLArea.getHTML a bit. 2005-04-19 13:00:26 +00:00
julmis 72960a6a6d CleanWord fix
- Don't strip carriage returns
2005-04-19 12:47:29 +00:00
defacer eee5cf8f64 Removing the "dirty compatibility hack", it surely has done what it was
meant to do all this time (keep Moodle working for people who had already
upgraded to early versions of 1.5).

This fixes bug 2965, thanks Penny for reminding!
2005-04-19 12:40:15 +00:00
moodler 959ae82499 Better version of previous fix 2005-04-19 12:40:00 +00:00
moodler 99738fa5b8 Handle hidden modules more cleanly without any notices 2005-04-19 12:37:59 +00:00
moodler 323d2abeac Copy all the Dialogue entries to Messaging, and then disable Dialogue module
http://moodle.org/mod/forum/discuss.php?d=19017#104635
2005-04-19 12:34:36 +00:00
thepurpleblob b683d82844 Ensure course files area exists and create if not. 2005-04-19 12:30:30 +00:00
thepurpleblob f85601d1b3 Export checks that the course files area is created (and creates it if not!) 2005-04-19 12:27:56 +00:00
julmis 6ce55d9ac4 Fix killword value 2005-04-19 12:18:32 +00:00
moodler b82faacd03 Fix for bug 1938. Now a teacher can delete any post, and all the
children are deleted as well (after a warning and a preview of the
affected posts).
2005-04-19 11:25:59 +00:00
gniske 5d154b0d91 Created new language file 2005-04-19 10:24:32 +00:00
gniske 88f664316d Addet missing strings 2005-04-19 10:23:32 +00:00
thepurpleblob c38950b11b Upgraded to latest version of Smarty 2.6.9 2005-04-19 09:52:16 +00:00
bobopinna f55a672eea Added support to AICC 2005-04-19 08:06:19 +00:00
gniske ad7fa8ed34 Addet missing strings 2005-04-19 07:35:45 +00:00
mits 5c55e75da6 polished. 2005-04-19 04:19:34 +00:00
mits a28cb161b6 translated some. 2005-04-19 02:36:06 +00:00
mjollnir_ a1c63c86a0 Fixes for workshop upgrade in postgres 2005-04-19 01:34:37 +00:00
mjollnir_ f82f45fab4 Fixes for scorm upgrade in postgres 2005-04-19 01:33:51 +00:00
mjollnir_ ab5aeca11c Fixing timezone postgres upgrade. Please do not use backticks for postgres, they are invalid 2005-04-19 00:42:24 +00:00
mjollnir_ 9058e785cb Small fixes to quiz for postgres compatibility 2005-04-19 00:41:13 +00:00
stronk7 0615bcfc11 Changed the wrong line. Solved. 2005-04-19 00:16:58 +00:00
stronk7 74a278553b Now glossary searches are full searches (like 1.4 forums). 2005-04-19 00:14:36 +00:00
skodak 00de82df28 Session test to detect user switching, error counter is displayed in healthcenter - please test, test, test; TODO - move string from setup.php to language file 2005-04-18 20:13:36 +00:00
koenr f0aa64eafb typo and critical error on dt-writing (you just don't make those mistakes in Dutch 8-( 2005-04-18 19:54:45 +00:00
koenr 228339923c XHTML compliance... where do they keep coming from?? 2005-04-18 19:53:10 +00:00
stronk7 1b3a707d24 Now the edit entry form shows tabs and html editor properly
after some error has been entered.
2005-04-18 18:54:56 +00:00
stronk7 c0260a6f35 XHTML little changes...
Anyway the new tabs seem to break XHTML (div inside span)??
2005-04-18 17:57:26 +00:00
andreabix 0f92d79367 Fixed missing color classes for side calendar popup 2005-04-18 16:34:28 +00:00
moodler d8199f1d4c A few tidy ups 2005-04-18 16:01:02 +00:00
moodler f39752c6f9 Actually, better to do it for all of them (gap after summary) 2005-04-18 14:48:09 +00:00
moodler 3eff21803c Make the gap between summary and full text a little larger 2005-04-18 14:45:23 +00:00
mits b4f95f60d0 fixed, based on standard theme. 2005-04-18 12:30:37 +00:00
bobopinna 473526b326 Added support to AICC 2005-04-18 12:11:05 +00:00
gniske e8263c8875 Addet missing strings 2005-04-18 11:59:15 +00:00
moodler d81793456b Extra file 2005-04-18 11:54:31 +00:00
gniske d151b49606 Created new language file 2005-04-18 11:47:52 +00:00
moodler a691e394d5 All done now, more or less 2005-04-18 11:47:25 +00:00
moodler f947531cbb Get that footer away from me! 2005-04-18 11:46:09 +00:00
moodler 637e9bf79f Fixing rogue tag 2005-04-18 11:27:20 +00:00
gniske 2239dc985e Corrected missing strings 2005-04-18 11:14:38 +00:00
moodler 1c2999bcd1 New documentation for new assignment types 2005-04-18 09:30:45 +00:00
moodler f77cfb73dd Another big dump with many changes.
The most notable one is the new online assignment type, which is a good
example of how little code really needs to be written to make new
assignment types now.
2005-04-18 09:29:09 +00:00
moodler 3014b4f4f4 Removed help files 2005-04-18 09:18:34 +00:00
moodler 12af55c30b Updated documentation 2005-04-18 09:05:28 +00:00
bobopinna 3332df2142 Added support to AICC lauch 2005-04-18 08:37:45 +00:00
bobopinna 88f75516f6 Added support to AICC packages 2005-04-18 07:49:36 +00:00
moodler 4b46c8039a New field and option for assignments, preventlate, which prevents
students from submitting assignments late
2005-04-18 04:11:15 +00:00
moodler 245be804c7 get_record should be get_record_sql ...
Does this mean that none of the WIki upgrading actually worked???
2005-04-18 02:26:52 +00:00
stronk7 1d3a7a859c Now block_glossary_random supports CFG->filterall. 2005-04-17 23:29:54 +00:00
mits fb67ece507 translated some. 2005-04-17 22:26:46 +00:00
stronk7 3898bc3337 assignment->name supports filterall again. :-P 2005-04-17 22:17:52 +00:00
mits beb9f33f02 polished. 2005-04-17 21:59:20 +00:00
moodler f1893f4428 Improved listing on index page for students 2005-04-17 18:45:32 +00:00
moodler 5a25d82ad8 FIxed some notices 2005-04-17 18:32:38 +00:00
moodler ff8f7015e3 Added formatting for comments 2005-04-17 17:58:51 +00:00
moodler 52436fe1cc Added a new format field for comments 2005-04-17 17:51:25 +00:00
moodler 70b2c772b3 Tweaks and so on, making it pretty 2005-04-17 17:11:41 +00:00
moodler 3a3643df79 DIsplay numerical grades with total grade: 9 / 10 2005-04-17 15:56:40 +00:00
moodler a2f41849cf Fix for secure forms 2005-04-17 15:55:07 +00:00
moodler 73097f0711 A very big batch of changes. Everything sort of works: now I'm mopping up. 2005-04-17 15:38:02 +00:00
moodler e9f7ee0e15 Better handling of Shibboleth when mixed with other logins 2005-04-17 13:37:43 +00:00
moodler 648fdb81c9 Cleaning up configuration 2005-04-17 13:27:43 +00:00
moodler 5c6ec5d0cd FIxed a typo 2005-04-17 13:12:10 +00:00
moodler 565809c603 Moved login.php to index.php in shibboleth 2005-04-17 13:06:25 +00:00
koenr 787ded3f98 new translated files 2005-04-17 13:04:04 +00:00
moodler 3bddb38ac9 FIxes for auth_user_login 2005-04-17 12:58:50 +00:00
moodler a718d87223 Added Shibboleth support 2005-04-17 12:39:29 +00:00
moodler 121b31327b Changed things to be simpler, using new functions in moodlelib.php 2005-04-17 12:39:02 +00:00
moodler 7c12949d10 Rationalised get_user_info_from_db() and sundry other small bits into
a single function called: get_complete_user_data()

This is to help shibboleth but will also help when this function
needs to be extended in future.
2005-04-17 12:08:46 +00:00
3519 changed files with 169876 additions and 46122 deletions
+10 -2
View File
@@ -5,11 +5,19 @@
<table align="center" border="0" cellpadding="5" cellspacing="0">
<tr>
<td valign="top">
<?php echo count($admins) . " ". $strexistingadmins ?>
<?php
$a->count = count($admins);
$a->items = $strexistingadmins;
print_string('counteditems', '', $a);
?>
</td>
<td></td>
<td valign="top">
<?php echo $usercount . " " . $strpotentialadmins ?>
<?php
$a->count = $usercount;
$a->items = $strpotentialadmins;
print_string('counteditems', '', $a);
?>
</td>
</tr>
<tr>
+2 -2
View File
@@ -1,7 +1,7 @@
<?PHP // $Id$
// Admin-only script to assign administrative rights to users
require_once("../config.php");
require_once("../config.php");
define("MAX_USERS_PER_PAGE", 50);
@@ -48,7 +48,7 @@
$$strstringtoload = get_string($stringtoload);
}
print_header("$site->shortname: $strassignadmins",
print_header("$site->shortname: $strassignadmins",
"$site->fullname",
"<a href=\"index.php\">$stradministration</a> -> <a href=\"users.php\">$strusers</a> -> $strassignadmins", "adminform.searchtext");
+101 -10
View File
@@ -23,11 +23,27 @@
$config = (array)$config;
validate_form($config, $err);
// extract and sanitize the auth key explicitly
$modules = get_list_of_plugins("auth");
if (in_array($config['auth'], $modules)) {
$auth = $config['auth'];
} else {
notify("Error defining the authentication method");
}
if (count($err) == 0) {
print_header();
foreach ($config as $name => $value) {
if (! set_config($name, $value)) {
notify("Problem saving config $name as $value");
if (preg_match('/^pluginconfig_(.+?)$/', $name, $matches)) {
$plugin = "auth/$auth";
$name = $matches[1];
if (! set_config($name, $value, $plugin)) {
notify("Problem saving config $name as $value for plugin $plugin");
}
} else { // normal handling for
if (! set_config($name, $value)) {
notify("Problem saving config $name as $value");
}
}
}
redirect("auth.php?sesskey=$USER->sesskey", get_string("changessaved"), 1);
@@ -51,7 +67,7 @@
$options[$module] = get_string("auth_$module"."title", "auth");
}
asort($options);
if (isset($_GET['auth'])) {
if (isset($_GET['auth']) && in_array($_GET['auth'], $modules)) {
$auth = $_GET['auth'];
} else {
$auth = $config->auth;
@@ -72,13 +88,6 @@
}
$user_fields = array("firstname", "lastname", "email", "phone1", "phone2", "department", "address", "city", "country", "description", "idnumber", "lang");
foreach ($user_fields as $user_field) {
$user_field = "auth_user_$user_field";
if (! isset($config->$user_field)) {
$config->$user_field = "";
}
}
if (empty($focus)) {
$focus = "";
}
@@ -198,5 +207,87 @@ function validate_form(&$form, &$err) {
return;
}
//
// Good enough for most auth plugins
// but some may want a custom one if they are offering
// other options
// Note: pluginconfig_ fields have special handling.
function print_auth_lock_options ($auth, $user_fields, $helptext, $retrieveopts, $updateopts) {
echo '<tr><td colspan="3">';
if ($retrieveopts) {
print_heading(get_string('auth_data_mapping', 'auth'));
} else {
print_heading(get_string('auth_fieldlocks', 'auth'));
}
echo '<td/></tr>';
$lockoptions = array ('unlocked' => get_string('unlocked', 'auth'),
'unlockedifempty' => get_string('unlockedifempty', 'auth'),
'locked' => get_string('locked', 'auth'));
$updatelocaloptions = array('oncreate' => get_string('update_oncreate', 'auth'),
'onlogin' => get_string('update_onlogin', 'auth'));
$updateextoptions = array('0' => get_string('update_never', 'auth'),
'1' => get_string('update_onupdate', 'auth'));
$pluginconfig = get_config("auth/$auth");
// helptext is on a field with rowspan
if (empty($helptext)) {
$helptext = '&nbsp;';
}
foreach ($user_fields as $field) {
// Define some vars we'll work with
optional_variable($pluginconfig->{"field_map_$field"}, '');
optional_variable($pluginconfig->{"field_updatelocal_$field"}, '');
optional_variable($pluginconfig->{"field_updateremote_$field"}, '');
optional_variable($pluginconfig->{"field_lock_$field"}, '');
// define the fieldname we display to the user
$fieldname = $field;
if ($fieldname === 'lang') {
$fieldname = get_string('language');
} elseif (preg_match('/^(.+?)(\d+)$/', $fieldname, $matches)) {
$fieldname = get_string($matches[1]) . ' ' . $matches[2];
} else {
$fieldname = get_string($fieldname);
}
echo '<tr valign="top"><td align="right">';
echo $fieldname;
echo '</td><td>';
if ($retrieveopts) {
$varname = 'field_map_' . $field;
echo "<input name=\"pluginconfig_{$varname}\" type=\"text\" size=\"30\" value=\"{$pluginconfig->$varname}\">";
echo '<div align="right">';
echo get_string('auth_updatelocal', 'auth') . '&nbsp;&nbsp;';
choose_from_menu($updatelocaloptions, "pluginconfig_field_updatelocal_{$field}", $pluginconfig->{"field_updatelocal_$field"}, "");
echo '<br />';
if ($updateopts) {
echo get_string('auth_updateremote', 'auth') . '&nbsp;&nbsp;';
'&nbsp;&nbsp;';
choose_from_menu($updateextoptions, "pluginconfig_field_updateremote_{$field}", $pluginconfig->{"field_updateremote_$field"}, "");
echo '<br />';
}
echo get_string('auth_fieldlock', 'auth') . '&nbsp;&nbsp;';
choose_from_menu($lockoptions, "pluginconfig_field_lock_{$field}", $pluginconfig->{"field_lock_$field"}, "");
echo '</div>';
} else {
choose_from_menu($lockoptions, "pluginconfig_field_lock_{$field}", $pluginconfig->{"field_lock_$field"}, "");
}
echo '</td>';
if (!empty($helptext)) {
echo '<td rowspan="' . count($user_fields) . '">' . $helptext . '</td>';
$helptext = '';
}
echo '</tr>';
}
}
?>
+61 -19
View File
@@ -4,8 +4,9 @@
require_once('../config.php');
require_once($CFG->libdir.'/blocklib.php');
require_once($CFG->libdir.'/tablelib.php');
optional_variable($_GET['confirm'], 0);
$confirm = optional_param('confirm', 0, PARAM_INT);
$hide = optional_param('hide', 0, PARAM_INT);
$show = optional_param('show', 0, PARAM_INT);
$delete = optional_param('delete', 0, PARAM_INT);
@@ -42,7 +43,6 @@
print_heading($strmanageblocks);
/// If data submitted, then process and store.
if (!empty($hide) && confirm_sesskey()) {
@@ -73,12 +73,17 @@
error("Block doesn't exist!");
}
$blockobject = block_instance($block->name);
$strblockname = $blockobject->get_title();
if (!block_is_compatible($block->name)) {
$strblockname = $block->name;
}
else {
$blockobject = block_instance($block->name);
$strblockname = $blockobject->get_title();
}
if (!$_GET['confirm']) {
if (!$confirm) {
notice_yesno(get_string('blockdeleteconfirm', '', $strblockname),
'blocks.php?delete='.$block->id.'&amp;confirm=1&sesskey='.$USER->sesskey,
'blocks.php?delete='.$block->id.'&amp;confirm=1&amp;sesskey='.$USER->sesskey,
'blocks.php');
print_footer();
exit;
@@ -123,7 +128,14 @@
error('No blocks found!'); // Should never happen
}
$incompatible = array();
foreach ($blocks as $block) {
if(!block_is_compatible($block->name)) {
notify('Block '. $block->name .' is not compatible with the current version of Mooodle and needs to be updated by a programmer.');
$incompatible[] = $block;
continue;
}
if(($blockobject = block_instance($block->name)) === false) {
// Failed to load
continue;
@@ -140,17 +152,23 @@
/// Print the table of all blocks
$table->head = array ($strname, $strcourses, $strversion, $strhide.'/'.$strshow, $strmultiple, $strdelete, $strsettings);
$table->align = array ('left', 'right', 'left', 'center', 'center', 'center', 'center');
$table->wrap = array ('nowrap', '', '', '', '', '', '');
$table->size = array ('100%', '10', '10', '10', '10','12');
$table->width = '100';
$table = new flexible_table('admin-blocks-compatible');
$table->define_columns(array('name', 'instances', 'version', 'hideshow', 'multiple', 'delete', 'settings'));
$table->define_headers(array($strname, $strcourses, $strversion, $strhide.'/'.$strshow, $strmultiple, $strdelete, $strsettings));
$table->define_baseurl($CFG->wwwroot.'/admin/blocks.php');
$table->set_attribute('cellspacing', '0');
$table->set_attribute('id', 'blocks');
$table->set_attribute('class', 'generaltable generalbox');
$table->setup();
foreach ($blockbyname as $blockname => $blockid) {
$blockobject = $blockobjects[$blockid];
$delete = '<a href="blocks.php?delete='.$blockid.'&sesskey='.$USER->sesskey.'">'.$strdelete.'</a>';
$delete = '<a href="blocks.php?delete='.$blockid.'&amp;sesskey='.$USER->sesskey.'">'.$strdelete.'</a>';
$settings = ''; // By default, no configuration
if($blockobject->has_config()) {
@@ -161,26 +179,26 @@
$class = ''; // Nothing fancy, by default
if ($blocks[$blockid]->visible) {
$visible = '<a href="blocks.php?hide='.$blockid.'&sesskey='.$USER->sesskey.'" title="'.$strhide.'">'.
$visible = '<a href="blocks.php?hide='.$blockid.'&amp;sesskey='.$USER->sesskey.'" title="'.$strhide.'">'.
'<img src="'.$CFG->pixpath.'/i/hide.gif" height="16" width="16" alt="" /></a>';
} else {
$visible = '<a href="blocks.php?show='.$blockid.'&sesskey='.$USER->sesskey.'" title="'.$strshow.'">'.
$visible = '<a href="blocks.php?show='.$blockid.'&amp;sesskey='.$USER->sesskey.'" title="'.$strshow.'">'.
'<img src="'.$CFG->pixpath.'/i/show.gif" height="16" width="16" alt="" /></a>';
$class = ' class="dimmed_text"'; // Leading space required!
}
if ($blockobject->instance_allow_multiple()) {
if($blocks[$blockid]->multiple) {
$multiple = '<nobr>'.get_string('yes').' (<a href="blocks.php?multiple='.$blockid.'&sesskey='.$USER->sesskey.'">'.get_string('change', 'admin').'</a>)</nobr>';
$multiple = '<span style="white-space: nowrap;">'.get_string('yes').' (<a href="blocks.php?multiple='.$blockid.'&amp;sesskey='.$USER->sesskey.'">'.get_string('change', 'admin').'</a>)</span>';
}
else {
$multiple = '<nobr>'.get_string('no').' (<a href="blocks.php?multiple='.$blockid.'&sesskey='.$USER->sesskey.'">'.get_string('change', 'admin').'</a>)</nobr>';
$multiple = '<span style="white-space: nowrap;">'.get_string('no').' (<a href="blocks.php?multiple='.$blockid.'&amp;sesskey='.$USER->sesskey.'">'.get_string('change', 'admin').'</a>)</span>';
}
}
else {
$multiple = '';
}
$table->data[] = array(
$table->add_data(array(
'<span'.$class.'>'.$blockobject->get_title().'</span>',
$count,
$blockobject->get_version(),
@@ -188,10 +206,34 @@
$multiple,
$delete,
$settings
);
));
}
print_table($table);
$table->print_html();
if(!empty($incompatible)) {
print_heading(get_string('incompatibleblocks', 'admin'));
$table = new flexible_table('admin-blocks-incompatible');
$table->define_columns(array('block', 'delete'));
$table->define_headers(array($strname, $strdelete));
$table->define_baseurl($CFG->wwwroot.'/admin/blocks.php');
$table->set_attribute('cellspacing', '0');
$table->set_attribute('id', 'incompatible');
$table->set_attribute('class', 'generaltable generalbox');
$table->setup();
foreach ($incompatible as $block) {
$table->add_data(array(
$block->name,
'<a href="blocks.php?delete='.$block->id.'&amp;sesskey='.$USER->sesskey.'">'.$strdelete.'</a>',
));
}
$table->print_html();
}
print_footer();
+8 -7
View File
@@ -26,13 +26,14 @@
<td>
<div><?php print_string('helpweekenddays', 'admin'); ?></div>
<p>
<input type="checkbox" name="weekend[]" value="1" id="weekend1" <?php if(CALENDAR_WEEKEND & 2) echo 'checked="checked"'; ?> /> <label for="weekend1"><?php print_string('monday', 'calendar'); ?></label>
<input type="checkbox" name="weekend[]" value="2" id="weekend2" <?php if(CALENDAR_WEEKEND & 4) echo 'checked="checked"'; ?> /> <label for="weekend2"><?php print_string('tuesday', 'calendar'); ?></label>
<input type="checkbox" name="weekend[]" value="3" id="weekend3" <?php if(CALENDAR_WEEKEND & 8) echo 'checked="checked"'; ?> /> <label for="weekend3"><?php print_string('wednesday', 'calendar'); ?></label>
<input type="checkbox" name="weekend[]" value="4" id="weekend4" <?php if(CALENDAR_WEEKEND & 16) echo 'checked="checked"'; ?> /> <label for="weekend4"><?php print_string('thursday', 'calendar'); ?></label>
<input type="checkbox" name="weekend[]" value="5" id="weekend5" <?php if(CALENDAR_WEEKEND & 32) echo 'checked="checked"'; ?> /> <label for="weekend5"><?php print_string('friday', 'calendar'); ?></label>
<input type="checkbox" name="weekend[]" value="6" id="weekend6" <?php if(CALENDAR_WEEKEND & 64) echo 'checked="checked"'; ?> /> <label for="weekend6"><?php print_string('saturday', 'calendar'); ?></label>
<input type="checkbox" name="weekend[]" value="0" id="weekend0" <?php if(CALENDAR_WEEKEND & 1) echo 'checked="checked"'; ?> /> <label for="weekend0"><?php print_string('sunday', 'calendar'); ?></label>
<span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="1" id="weekend1" <?php if(CALENDAR_WEEKEND & 2) echo 'checked="checked"'; ?> /> <label for="weekend1"><?php print_string('monday', 'calendar'); ?></label></span>
<span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="2" id="weekend2" <?php if(CALENDAR_WEEKEND & 4) echo 'checked="checked"'; ?> /> <label for="weekend2"><?php print_string('tuesday', 'calendar'); ?></label></span>
<span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="3" id="weekend3" <?php if(CALENDAR_WEEKEND & 8) echo 'checked="checked"'; ?> /> <label for="weekend3"><?php print_string('wednesday', 'calendar'); ?></label></span>
<span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="4" id="weekend4" <?php if(CALENDAR_WEEKEND & 16) echo 'checked="checked"'; ?> /> <label for="weekend4"><?php print_string('thursday', 'calendar'); ?></label></span>
<span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="5" id="weekend5" <?php if(CALENDAR_WEEKEND & 32) echo 'checked="checked"'; ?> /> <label for="weekend5"><?php print_string('friday', 'calendar'); ?></label></span>
<br />
<span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="6" id="weekend6" <?php if(CALENDAR_WEEKEND & 64) echo 'checked="checked"'; ?> /> <label for="weekend6"><?php print_string('saturday', 'calendar'); ?></label></span>
<span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="0" id="weekend0" <?php if(CALENDAR_WEEKEND & 1) echo 'checked="checked"'; ?> /> <label for="weekend0"><?php print_string('sunday', 'calendar'); ?></label></span>
</p>
</td>
</tr>
+1
View File
@@ -109,6 +109,7 @@
print_simple_box_start('center');
echo '<form method="post" action="config.php" name="form">';
echo '<center><input type="submit" value="'.get_string('savechanges').'" /></center>';
/// Cycle through each section of the configuration
foreach ($configvars as $sectionname=>$section) {
+7
View File
@@ -201,6 +201,10 @@ class configvarrss extends configvar {
$permissions['messaging'] = new configvar (get_string('configmessaging', 'admin'),
choose_from_menu ($noyesoptions, 'messaging', $config->messaging, '', '', '', true) );
/// allowobjectembed
$permissions['allowobjectembed'] = new configvar (get_string('configallowobjectembed', 'admin'),
choose_from_menu ($noyesoptions, 'allowobjectembed', $config->allowobjectembed, '', '', '', true) );
////////////////////////////////////////////////////////////////////
@@ -220,6 +224,9 @@ class configvarrss extends configvar {
$interface['langlist'] = new configvar ( get_string('configlanglist', 'admin'),
'<input name="langlist" type="text" size="60" value="'.s($config->langlist).'" alt="langlist" />' );
/// language menu
$interface['langcache'] = new configvar ( get_string('configlangcache', 'admin'),
choose_from_menu($noyesoptions, 'langcache', $config->langcache, '', '', '', true) );
/// locale
$interface['locale'] = new configvar ( get_string('configlocale', 'admin'),
'<input name="locale" type="text" size="10" value="'.s($config->locale).'" alt="locale" />' );
+10 -2
View File
@@ -5,11 +5,19 @@
<table align="center" border="0" cellpadding="5" cellspacing="0">
<tr>
<td valign="top">
<?php echo count($creators) . " ". $strexistingcreators ?>
<?php
$a->count = count($creators);
$a->items = $strexistingcreators;
print_string('counteditems', '', $a);
?>
</td>
<td></td>
<td valign="top">
<?php echo $usercount . " " . $strpotentialcreators ?>
<?php
$a->count = $usercount;
$a->items = $strpotentialcreators;
print_string('counteditems', '', $a);
?>
</td>
</tr>
<tr>
+2 -2
View File
@@ -1,7 +1,7 @@
<?PHP // $Id$
// Admin only script to assign course creator rights to users
require_once("../config.php");
require_once("../config.php");
define("MAX_USERS_PER_PAGE", 50);
@@ -42,7 +42,7 @@
$$strstringtoload = get_string($stringtoload);
}
print_header("$site->shortname: $strassigncreators",
print_header("$site->shortname: $strassigncreators",
"$site->fullname",
"<a href=\"index.php\">$stradministration</a> -> <a href=\"users.php\">$strusers</a> ->
$strassigncreators", "creatorsform.searchtext");
+10 -10
View File
@@ -36,6 +36,9 @@
$USER = get_admin(); /// Temporarily, to provide environment for this script
}
//unset test cookie, user must login again anyway
setcookie('MoodleSessionTest'.$CFG->sessioncookie, '', time() - 3600, '/');
/// Start output log
$timenow = time();
@@ -66,6 +69,12 @@
}
mtrace("Finished activity modules");
if (!empty($CFG->langcache)) {
mtrace('Updating languages cache');
get_list_of_languages();
}
/// Run all core cron jobs, but not every time since they aren't too important.
/// These don't have a timer to reduce load, so we'll use a random number
/// to randomly choose the percentage of times we should run these jobs.
@@ -118,11 +127,6 @@
}
flush();
if (!empty($CFG->langcache)) {
get_list_of_languages();
}
flush();
if (!empty($CFG->notifyloginfailures)) {
notify_login_failures();
}
@@ -132,16 +136,12 @@
} // End of occasional clean-up tasks
if (file_exists("$CFG->dataroot/cronextra.php")) {
mtrace("Running extra commands in $CFG->dataroot/cronextra.php ...");
include("$CFG->dataroot/cronextra.php");
}
if (!isset($CFG->disablescheduledbackups)) { // Defined in config.php
//Execute backup's cron
//Perhaps a long time and memory could help in large sites
@set_time_limit(0);
raise_memory_limit("128M");
@raise_memory_limit("128M");
if (file_exists("$CFG->dirroot/backup/backup_scheduled.php") and
file_exists("$CFG->dirroot/backup/backuplib.php") and
file_exists("$CFG->dirroot/backup/lib.php") and
+1 -1
View File
@@ -14,7 +14,7 @@
$site = get_site();
if (isset($topframe)) {
print_header("$site->shortname: $strdatabaseperformance", "$site->fullname",
print_header("$site->shortname: $strdatabaseperformance", "$site->fullname",
"<a target=\"$CFG->framename\" href=\"index.php\">$stradministration</a> -> Database performance");
exit;
}
+12 -5
View File
@@ -7,22 +7,29 @@
require_login();
$sure = optional_param('sure', '');
$reallysure = optional_param('reallysure', '');
if (!isadmin()) {
error('You must be admin to use this script!');
}
$deletedir = $CFG->dataroot; // The directory to delete!
if (!$sure) {
notice_yesno ('Are you completely sure you want to delete everything inside the directory '. $deletedir .' ?', 'delete.php?sure=yes', 'index.php');
if (empty($sure)) {
notice_yesno ('Are you completely sure you want to delete everything inside the directory '. $deletedir .' ?', 'delete.php?sure=yes&amp;sesskey='.sesskey(), 'index.php');
exit;
}
if (!$reallysure) {
notice_yesno ('Are you REALLY REALLY completely sure you want to delete everything inside the directory '. $deletedir .' (this includes all user images, and any other course files that have been created) ?', 'delete.php?sure=yes&amp;reallysure=yes', 'index.php');
if (empty($reallysure)) {
notice_yesno ('Are you REALLY REALLY completely sure you want to delete everything inside the directory '. $deletedir .' (this includes all user images, and any other course files that have been created) ?', 'delete.php?sure=yes&amp;reallysure=yes&amp;sesskey='.sesskey(), 'index.php');
exit;
}
if (!confirm_sesskey()) {
error('This script was called wrongly');
}
/// OK, here goes ...
delete_subdirectories($deletedir);
@@ -60,4 +67,4 @@ function delete_subdirectories($rootdir) {
closedir($dir);
}
?>
?>
+30 -2
View File
@@ -3,7 +3,7 @@
<table border="0" cellpadding="4" cellspacing="2">
<tr>
<td align="right" valign="top">htmleditor:</td>
<td valign="top">
<td valign="top">
<?php
unset($options);
$options[0] = get_string("allownot");
@@ -179,7 +179,7 @@
<td><img src="<?php echo $CFG->wwwroot ?>/lib/editor/images/spell-check.gif" width="18" height="18" alt="<?php print_string("spellcheck","editor");?>" title="<?php print_string("spellcheck","editor");?>" /></td>
<td><img src="<?php echo $CFG->wwwroot ?>/lib/editor/images/ed_html.gif" width="18" height="18" alt="<?php print_string("htmlmode","editor");?>" title="<?php print_string("htmlmode","editor");?>" /></td>
<td><img src="<?php echo $CFG->wwwroot ?>/lib/editor/images/fullscreen_maximize.gif" width="18" height="18" alt="<?php print_string("popupeditor","editor");?>" title="<?php print_string("popupeditor","editor");?>" /></td>
<td>&nbsp;</td>
<td><img src="<?php echo $CFG->wwwroot ?>/lib/editor/images/ed_replace.gif" width="18" height="18" alt="<?php print_string("popupeditor","editor");?>" title="<?php print_string("searchandreplace","editor");?>" /></td>
</tr>
<tr>
<td><input type="checkbox" name="buttons[inserthorizontalrule]"<?php print(in_array("inserthorizontalrule", $buttons)) ? " checked=\"checked\"" : "" ;?> /></td>
@@ -193,6 +193,34 @@
<td><input type="checkbox" name="buttons[spellcheck]"<?php print(in_array("spellcheck", $buttons)) ? " checked=\"checked\"" : "" ;?> /></td>
<td><input type="checkbox" name="buttons[htmlmode]"<?php print(in_array("htmlmode", $buttons)) ? " checked=\"checked\"" : "" ;?> /></td>
<td><input type="checkbox" name="buttons[popupeditor]"<?php print(in_array("popupeditor", $buttons)) ? " checked=\"checked\"" : "" ;?> /></td>
<td><input type="checkbox" name="buttons[search_replace]"<?php print(in_array("search_replace", $buttons)) ? " checked=\"checked\"" : "" ;?> /></td>
</tr>
<tr>
<td><img src="<?php echo $CFG->wwwroot ?>/lib/editor/images/ed_nolink.gif" width="18" height="18" alt="<?php print_string("horizontalrule","editor");?>" title="<?php print_string("nolink","editor");?>" /></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><input type="checkbox" name="buttons[nolink]"<?php print(in_array("nolink", $buttons)) ? " checked=\"checked\"" : "" ;?> /></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
+1 -1
View File
@@ -102,7 +102,7 @@ function editor_update_config ($data) {
$updatedata['editorbackgroundcolor'] = !empty($data->backgroundcolor) ? $data->backgroundcolor : "#ffffff";
$updatedata['editorfontfamily'] = !empty($data->fontfamily) ? str_replace($nochars,"",$data->fontfamily) : "Times New Roman, Times";
$updatedata['editorfontsize'] = !empty($data->fontsize) ? $data->fontsize : "";
$updatedata['editorkillword'] = !empty($data->killword) ? $data->killword : "true";
$updatedata['editorkillword'] = !empty($data->killword) ? $data->killword : 0;
$updatedata['editorspelling'] = !empty($data->spelling) ? $data->spelling : 0;
$updatedata['editorfontlist'] = $fontlist;
$updatedata['editordictionary'] = !empty($data->dictionary) ? $data->dictionary : '';
+3 -3
View File
@@ -27,12 +27,12 @@
/// If data submitted, then process and store.
if ($frm = data_submitted()) {
if ($frm = data_submitted()) {
if ($enrolment->process_config($frm)) {
set_config('enrol', $frm->enrol);
redirect("enrol.php?sesskey=$USER->sesskey", get_string("changessaved"), 1);
}
} else {
} else {
$frm = $CFG;
}
@@ -59,7 +59,7 @@
/// Choose an enrolment method
echo get_string('chooseenrolmethod').': ';
choose_from_menu ($options, "enrol", $enrol, "",
choose_from_menu ($options, "enrol", $enrol, "",
"document.location='enrol.php?sesskey=$USER->sesskey&enrol='+document.enrolmenu.enrol.options[document.enrolmenu.enrol.selectedIndex].value", "");
echo "</b></p></div>";
+128
View File
@@ -0,0 +1,128 @@
<?php //$Id$
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 2001-3001 Martin Dougiamas http://dougiamas.com //
// (C) 2001-3001 Eloy Lafuente (stronk7) http://contiento.com //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
// This file is the admin frontend to execute all the checks available
// in the environment.xml file. It includes database, php and
// php_extensions. Also, it's possible to update the xml file
// from moodle.org be able to check more and more versions.
require_once('../config.php');
require_once($CFG->libdir.'/environmentlib.php');
/// Parameters
$action = optional_param('action', '', PARAM_ALPHA);
$sesskey = optional_param('sesskey');
$version = optional_param('version');
/// Security checks
require_login();
if (!isadmin()) {
error('You need to be admin to use this page');
}
if (!$site = get_site()) {
error("Site isn't defined!");
}
/// Get some strings
$stradmin = get_string('administration');
$stradminhelpenvironment = get_string("adminhelpenvironment");
$strenvironment = get_string('environment', 'admin');
$strerror = get_string('error');
$strmoodleversion = get_string('moodleversion');
$strupwards = get_string('upwards', 'admin');
/// Print the header stuff
print_header("$SITE->shortname: $strenvironment", $SITE->fullname,
"<a href=\"index.php\">$stradmin</a> -> ".$strenvironment);
print_heading($strenvironment);
/// Start of main box
print_simple_box_start('center');
echo "<center>".$stradminhelpenvironment."</center><br />";
/// Get current Moodle version
$current_version = $CFG->release;
/// Calculate list of versions
$versions = array();
if ($contents = load_environment_xml()) {
if ($env_versions = get_list_of_environment_versions($contents)) {
/// Set the current version at the beginning
$env_version = normalize_version($current_version); //We need this later (for the upwards)
$versions[$env_version] = $current_version;
/// If no version has been previously selected, default to $current_version
if (empty($version)) {
$version = $env_version;
}
///Iterate over each version, adding bigged than current
foreach ($env_versions as $env_version) {
if (version_compare(normalize_version($current_version), $env_version, '<')) {
$versions[$env_version] = $env_version;
}
}
/// Add 'upwards' to the last element
$versions[$env_version] = $env_version.' '.$strupwards;
} else {
$versions = array('error' => $strerror);
}
}
/// Print form and popup menu
echo '<center><form method="post" action="'.$CFG->wwwroot.'/admin/environment.php">';
echo $strmoodleversion.' ';
choose_from_menu ($versions, 'version', $version, null, 'this.form.submit();' );
echo '<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />';
echo '</form></center>';
/// End of main box
print_simple_box_end();
/// Gather and show results
$status = check_moodle_environment($version, $environment_results);
/// Process action
if ($form = data_submitted()) {
if (confirm_sesskey()) {
if ($form->action == "disable") {
} else {
}
}
}
/// Default action, show explanation and popup menu
/// Print footer
print_footer();
?>
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<COMPATIBILITY_MATRIX>
<MOODLE version="1.5">
<DATABASE level="required">
<VENDOR name="mysql" version="3.23" />
<VENDOR name="postgres" version="7.4" />
</DATABASE>
<PHP version="4.1.0" level="required" />
<PHP_EXTENSIONS>
<PHP_EXTENSION name="mbstring" level="optional" />
</PHP_EXTENSIONS>
</MOODLE>
<MOODLE version="1.6">
<DATABASE level="required">
<VENDOR name="mysql" version="4.1.12" />
<VENDOR name="postgres" version="7.4" />
</DATABASE>
<PHP version="4.3.0" level="required" />
<PHP_EXTENSIONS>
<PHP_EXTENSION name="iconv" level="optional" />
<PHP_EXTENSION name="mbstring" level="optional" />
</PHP_EXTENSIONS>
</MOODLE>
</COMPATIBILITY_MATRIX>
+9 -9
View File
@@ -85,8 +85,8 @@
<input type="hidden" name="options" value="1">
<table cellpadding="20">
<tr valign="top">
<td nowrap="nowrap" align="right"><?php p($strcachetext) ?>:</td>
<td>
<td nowrap="nowrap" align="right"><?php p($strcachetext) ?>:</td>
<td>
<?php
unset($options);
$options[604800] = get_string('numdays', '', 7);
@@ -115,12 +115,12 @@
?>
</td>
<td>
<?php p($strconfigcachetext) ?>
<?php p($strconfigcachetext) ?>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" align="right"><?php p($strfilteruploadedfiles) ?>:</td>
<td>
<td nowrap="nowrap" align="right"><?php p($strfilteruploadedfiles) ?>:</td>
<td>
<?php
unset($options);
$options[0] = get_string('no');
@@ -130,12 +130,12 @@
?>
</td>
<td>
<?php p($strconfigfilteruploadedfiles) ?>
<?php p($strconfigfilteruploadedfiles) ?>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" align="right"><?php p($strfilterall) ?>:</td>
<td>
<td nowrap="nowrap" align="right"><?php p($strfilterall) ?>:</td>
<td>
<?php
unset($options);
$options[0] = get_string('no');
@@ -145,7 +145,7 @@
?>
</td>
<td>
<?php p($strconfigfilterall) ?>
<?php p($strconfigfilterall) ?>
</td>
</tr>
<tr valign="top">
+1 -1
View File
@@ -84,7 +84,7 @@
/// If data submitted, then process and store.
if (!empty($options)) {
if (($config = data_submitted()) && confirm_sesskey()) {
if (($config = data_submitted()) && confirm_sesskey()) {
unset($config->options);
unset($config->sesskey);
foreach ($config as $name => $value) {
+32
View File
@@ -477,6 +477,38 @@ class problem_000010 extends problem_base {
}
}
class problem_000011 extends problem_base {
function title() {
return 'Session errors detected';
}
function exists() {
global $CFG;
return isset($CFG->session_error_counter);
}
function severity() {
return SEVERITY_ANNOYANCE;
}
function description() {
global $CFG;
if (isset($CFG->session_error_counter)) {
return 'Session problems were detected. Total count: '.$CFG->session_error_counter;
} else {
return 'No session errors detected.';
}
}
function solution() {
global $CFG;
if (isset($_GET['resetsesserrorcounter'])) {
if (get_field('config', 'name', 'name', 'session_error_counter')) {
delete_records('config', 'name', 'session_error_counter');
}
return 'Error counter was cleared.';
} else {
return '<p>Session errors can be caused by:<ul><li>unresolved problem in server software (aka random switching of users),</li><li>blocked or modified cookies,</li><li>deleting of active session files.</li></ul></p><p><a href="'.me().'&resetsesserrorcounter=1">Reset counter.</a></p>';
}
}
}
class problem_00000x extends problem_base {
function title() {
+43 -17
View File
@@ -66,9 +66,12 @@
$CFG->version = "";
}
/// Turn off time limits, sometimes upgrades can be slow.
/// Turn off time limits and try to flush everything all the time, sometimes upgrades can be slow.
@set_time_limit(0);
@ob_implicit_flush(true);
@ob_end_flush();
/// Check if the main tables have been installed yet or not.
@@ -153,6 +156,7 @@
if (main_upgrade($CFG->version)) {
$db->debug=false;
if (set_config("version", $version)) {
remove_dir($CFG->dataroot . '/cache', true); // flush cache
notify($strdatabasesuccess, "green");
print_continue("index.php");
exit;
@@ -256,11 +260,11 @@
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32));
}
/// Check if the guest user exists. If not, create one.
if (! record_exists("user", "username", "guest")) {
$guest->auth = "manual";
$guest->username = "guest";
$guest->auth = "manual";
$guest->username = "guest";
$guest->password = md5("guest");
$guest->firstname = addslashes(get_string("guestuser"));
$guest->lastname = " ";
@@ -287,6 +291,14 @@
error("You need to be an admin user to use this page.", "$CFG->wwwroot/login/index.php");
}
/// Check if we are returning from moodle.org registration and if so, we mark that fact to remove reminders
if (!empty($_GET['id'])) {
if ($_GET['id'] == $CFG->siteidentifier) {
set_config('registered', time());
}
}
/// At this point everything is set up and the user is an admin, so print menu
$stradministration = get_string("administration");
@@ -311,11 +323,25 @@
print_simple_box(get_string('sitemaintenancewarning', 'admin') , 'center');
}
/// Print slightly annoying registration button every six months ;-)
/// You can set the "registered" variable to something far in the future
/// if you really want to prevent this. eg 9999999999
if (!isset($CFG->registered) || $CFG->registered < (time() - 3600*24*30*6)) {
$options = array();
$options['sesskey'] = $USER->sesskey;
print_simple_box_start('center');
echo '<div align="center">';
print_string('pleaseregister', 'admin');
print_single_button('register.php', $options, get_string('registration'));
echo '</div>';
print_simple_box_end();
}
$table->tablealign = "right";
$table->align = array ("right", "left");
$table->wrap = array ("nowrap", "nowrap");
$table->cellpadding = 4;
$table->cellspacing = 3;
$table->cellpadding = 5;
$table->cellspacing = 0;
$table->width = "40%";
$configdata = "<font size=\"+1\">&nbsp;</font><a href=\"config.php\">".get_string("configvariables", 'admin')."</a> - <font size=\"1\">".
@@ -396,20 +422,20 @@
//////////////////////////////////////////////////////////////////////////////////////////////////
echo "<table border=\"0\" align=\"center\" width=\"100%\"><tr>";
echo "<td align=\"center\" width=\"33%\">";
print_single_button("$CFG->wwwroot/doc", NULL, get_string("documentation"));
echo "</td>";
echo '<table width="100%" cellspacing="0"><tr>';
echo '<td align="center" width="33%">';
print_single_button($CFG->wwwroot.'/doc/', NULL, get_string('documentation'));
echo '</td>';
echo "<td align=\"center\" width=\"33%\">";
print_single_button("phpinfo.php", NULL, get_string("phpinfo"));
echo "</td>";
echo '<td align="center" width="33%">';
print_single_button('phpinfo.php', NULL, get_string('phpinfo'));
echo '</td>';
echo "<td align=\"center\" width=\"33%\">";
echo '<td align="center" width="33%">';
$options = array();
$options['sesskey'] = $USER->sesskey;
print_single_button("register.php", $options, get_string("registration"));
echo "</td>";
echo "<tr></table>";
print_single_button('register.php', $options, get_string('registration'));
echo '</td></tr></table>';
print_simple_box_end();
+7 -7
View File
@@ -4,8 +4,10 @@
This script enables Moodle translators to edit /docs and /help language
files directly via WWW interface.
Author: mudrd8mz@it.pedf.cuni.cz (http://moodle.cz)
Author: mudrd8mz@uxit.pedf.cuni.cz (http://moodle.cz)
Based on: lang.php in 1.4.3+ release
Thanks: Jaime Villate for important bug fixing, koen roggemans for his job and all moodlers
for intensive testing of this my first contribution
*/
//
@@ -158,7 +160,7 @@ $langdir/$currentfile")."</font></p>";
echo "<table align=\"center\"><tr valign=\"center\"><td align=\"center\">\n";
echo "<textarea rows=\"$fileeditorrows\" cols=\"$fileeditorcols\" name=\"\">\n";
include("$enlangdir/$currentfile");
echo htmlspecialchars(file_get_contents("$enlangdir/$currentfile"));
echo "</textarea>\n";
link_to_popup_window("/lang/en/$currentfile", "popup", get_string("preview"));
echo "</td>\n";
@@ -176,7 +178,7 @@ $langdir/$currentfile")."</font></p>";
echo "<textarea rows=\"$fileeditorrows\" cols=\"$fileeditorcols\" name=\"filedata\">\n";
if (file_exists("$langdir/$currentfile")) {
include("$langdir/$currentfile");
echo htmlspecialchars(file_get_contents("$langdir/$currentfile"));
} else {
echo ($filetemplate);
}
@@ -216,11 +218,9 @@ function langdoc_save_file($path, $file, $content) {
$content = str_replace("\r", "",$content); // Remove linefeed characters
$content = preg_replace("/\n{3,}/", "\n\n", $content); // Collapse runs of blank lines
$content = str_replace("\\","",$content); // Delete all slashes
$content = str_replace("%%","%",$content);
$content = trim($content); // Delete leading/trailing whitespace
fwrite($f, $content);
fwrite($f, stripslashes($content));
fclose($f);
+2 -2
View File
@@ -17,7 +17,7 @@
error("Could not create site folder. The site administrator needs to fix the file permissions");
}
$filename = $CFG->dataroot.'/1/maintenance.html';
$filename = $CFG->dataroot.'/'.SITEID.'/maintenance.html';
if ($form = data_submitted()) {
if (confirm_sesskey()) {
@@ -26,7 +26,7 @@
redirect('index.php', get_string('sitemaintenanceoff','admin'));
} else {
$file = fopen($filename, 'w');
fwrite($file, $form->text);
fwrite($file, stripslashes($form->text));
fclose($file);
redirect('index.php', get_string('sitemaintenanceon', 'admin'));
}
+23 -8
View File
@@ -20,21 +20,36 @@
if (!confirm_sesskey()) {
error(get_string('confirmsesskeybad', 'error'));
}
if ($module = optional_param('module', '', PARAM_CLEANFILE)) {
// if the config.html contains a hidden form field giving
// the module name then the form does not have to prefix all
// its variable names, we will do it here.
$moduleprefix = $module.'_';
// let the module process the form data if it has to,
// $config is passed to this function by reference
require_once("$CFG->dirroot/mod/$module/lib.php");
$moduleconfig = $module.'_process_options';
if (function_exists($moduleconfig)) {
$moduleconfig($config);
}
} else {
$moduleprefix = '';
}
print_header();
foreach ($config as $name => $value) {
set_config($name, $value);
set_config($moduleprefix.$name, $value);
}
redirect("$CFG->wwwroot/$CFG->admin/modules.php", get_string("changessaved"), 1);
exit;
}
}
/// Otherwise print the form.
require_variable($module);
$module = clean_filename($module);
require_once("$CFG->dirroot/mod/$module/lib.php");
$module = required_param('module', '', PARAM_CLEANFILE);
require_once("$CFG->dirroot/mod/$module/lib.php");
$stradmin = get_string("administration");
$strconfiguration = get_string("configuration");
@@ -52,7 +67,7 @@
echo "<br />";
print_simple_box_start("center", "");
include("$CFG->dirroot/mod/$module/config.html");
include("$CFG->dirroot/mod/$module/config.html");
print_simple_box_end();
print_footer();
+148
View File
@@ -0,0 +1,148 @@
<?php
if (!isset($CFG)) {
require('../config.php');
require_login();
if (!isadmin()) {
error('You must be an admin to use this script');
exit;
}
print_header_simple('Online Assignment Cleanup','Online Assignment Cleanup', 'Admin');
online_assignment_cleanup(true);
print_footer();
}
function online_assignment_cleanup($output=false) {
global $CFG;
if ($output) {
print_heading('Online Assignment Cleanup');
echo '<center>';
}
// get the module id for assignments from db
$arecord = get_record('modules', 'name', 'assignment');
$aid = $arecord->id;
/// get a list of all courses on this site
$courses = get_courses();
/// cycle through each course
foreach ($courses as $course) {
$fullname = empty($course->fullname) ? 'Course: '.$course->id : $course->fullname;
if ($output) print_heading($fullname);
/// retrieve a list of sections beyond what is currently being shown
$sql = 'SELECT * FROM '.$CFG->prefix.'course_sections WHERE `course`='.$course->id.' AND `section`>'.$course->numsections.' ORDER BY `section` ASC';
if (!($xsections = get_records_sql($sql))) {
if ($output) echo 'No extra sections<br />';
continue;
}
/// cycle through each of the xtra sections
foreach ($xsections as $xsection) {
if ($output) echo 'Checking Section: '.$xsection->section.'<br />';
/// grab any module instances from the sequence field
if (!empty($xsection->sequence)) {
$instances = explode(',', $xsection->sequence);
/// cycle through the instances
foreach ($instances as $instance) {
/// is this an instance of an online assignment
$sql = "SELECT a.id
FROM {$CFG->prefix}course_modules cm,
{$CFG->prefix}assignment a
WHERE cm.id = '$instance' AND
cm.module = '$aid' AND
cm.instance = a.id AND
a.assignmenttype = 'online'";
/// if record exists then we need to move instance to it's correct section
if (record_exists_sql($sql)) {
/// check the new section id
/// the journal update erroneously stored it in course_sections->section
$newsection = $xsection->section;
/// double check the new section
if ($newsection > $course->numsections) {
/// get the record for section 0 for this course
if (!($zerosection = get_record('course_sections', 'course', $course->id, 'section', '0'))) {
continue;
}
$newsection = $zerosection->id;
}
/// grab the section record
if (!($section = get_record('course_sections', 'id', $newsection))) {
if ($output) echo 'Serious error: Cannot retrieve section: '.$newsection.' for course: '.$course->fullname.'<br />';
continue;
}
/// explode the sequence
if (($sequence = explode(',', $section->sequence)) === false) {
$sequence = array();
}
/// add instance to correct section
array_push($sequence, $instance);
/// implode the sequence
$section->sequence = implode(',', $sequence);
set_field('course_sections', 'sequence', $section->sequence, 'id', $section->id);
/// now we need to remove the instance from the old sequence
/// grab the old section record
if (!($section = get_record('course_sections', 'id', $xsection->id))) {
if ($output) echo 'Serious error: Cannot retrieve old section: '.$xsection->id.' for course: '.$course->fullname.'<br />';
continue;
}
/// explode the sequence
if (($sequence = explode(',', $section->sequence)) === false) {
$sequence = array();
}
/// remove the old value from the array
$key = array_search($instance, $sequence);
unset($sequence[$key]);
/// implode the sequence
$section->sequence = implode(',', $sequence);
set_field('course_sections', 'sequence', $section->sequence, 'id', $section->id);
if ($output) echo 'Online Assignment (instance '.$instance.') moved from section '.$section->id.': to section '.$newsection.'<br />';
}
}
}
/// if the summary and sequence are empty then remove this section
if (empty($xsection->summary) and empty($xsection->sequence)) {
delete_records('course_sections', 'id', $xsection->id);
if ($output) echo 'Deleting empty section '.$xsection->section.'<br />';
}
}
}
echo '</center>';
}
?>
+1 -1
View File
@@ -13,7 +13,7 @@
$stradministration = get_string("administration");
$site = get_site();
print_header("$site->shortname: phpinfo", "$site->fullname",
print_header("$site->shortname: phpinfo", "$site->fullname",
"<a target=\"$CFG->framename\" href=\"index.php\">$stradministration</a> -> PHP info");
exit;
}
+3 -3
View File
@@ -45,7 +45,7 @@ $modargs = substr($address,6,-16);
$hash = substr($address,-16);
if (substr(md5($prefix.$mod.$modargs.$CFG->siteidentifier),0,16) != $hash) {
die("HASH DIDN'T MATCH!\n");
die("HASH DIDN'T MATCH!\n");
}
list(,$modid) = unpack('C',base64_decode($mod.'=='));
@@ -59,7 +59,7 @@ else {
$function = $modname.'_process_email';
if (!function_exists($function)) {
die();
die();
}
$fd = fopen('php://stdin','r');
if (!$fd) {
@@ -76,4 +76,4 @@ fclose($handle);
?>
?>
+1 -1
View File
@@ -36,7 +36,7 @@
$strregistration = get_string("registration");
$strregistrationinfo = get_string("registrationinfo");
print_header("$site->shortname: $strregistration", "$site->fullname",
print_header("$site->shortname: $strregistration", "$site->fullname",
"<a href=\"../$CFG->admin/index.php\">$stradministration</a> -> $strregistration");
print_heading($strregistration);
+2 -4
View File
@@ -13,8 +13,7 @@
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("frontpagedescription") ?>:<br />
<font size="1">
<td align="right"><?php print_string("frontpagedescription") ?>:<br /><br />
<?PHP
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
echo "<br />";
@@ -23,9 +22,8 @@
} else {
helpbutton("html", get_string("helphtml"), "moodle", true, true);
}
echo "<br />";
?>
<br />
</font>
</td>
<td><?php print_textarea($usehtmleditor, 20, 50, 600, 400, "summary", $form->summary); ?></td>
</tr>
+1 -1
View File
@@ -26,7 +26,7 @@
if (count($err) == 0) {
set_config("frontpage", $form->frontpage);
if ($form->frontpage = FRONTPAGETOPICONLY) {
if ($form->frontpage == FRONTPAGETOPICONLY) {
$form->numsections = 1; // Force the topic display for this format
}
+160
View File
@@ -0,0 +1,160 @@
<?PHP //$Id$
require("../config.php");
require("$CFG->dirroot/mod/forum/lib.php");
optional_variable($confirm);
require_login();
if (!isadmin()) {
error("You must be an admin to use this script");
}
if ($CFG->version < 2005042300) {
error("This script does not work with this old version of Moodle");
}
if (!$site = get_site()) {
redirect("index.php");
}
/// Print header
$stradministration = get_string("administration");
$strupgradingdata = get_string("upgradingdata", "admin");
print_header("$site->shortname: $stradministration: $strupgradingdata", "$site->fullname",
"<a href=\"index.php\">$stradministration</a> -> $strupgradingdata");
if (empty($_GET['confirm'])) {
notice_yesno(get_string("upgradeforumreadinfo", "admin"),
"upgradeforumread.php?confirm=true&sesskey=$USER->sesskey",
"index.php");
print_footer();
exit;
} else if (!confirm_sesskey()) {
error(get_string('confirmsesskeybad', 'error'));
}
/// Turn off time limits, sometimes upgrades can be slow.
@set_time_limit(0);
@ob_implicit_flush(true);
@ob_end_flush();
execute_sql('TRUNCATE TABLE '.$CFG->prefix.'forum_read;', false); // Trash all old entries
/// Enter initial read records for all posts older than 1 day.
/// Timestamp for old posts (and therefore considered read).
$dateafter = time() - ($CFG->forum_oldpostdays*24*60*60);
/// Timestamp for one day ago.
$onedayago = time() - (24*60*60);
/// Get all discussions that have had posts since the old post date.
if ($discussions = get_records_select('forum_discussions', 'timemodified > '.$dateafter,
'course', 'id,course,forum,groupid,userid')) {
$dtotal = count($discussions);
print_heading('Updating forum post read/unread records for '.$dtotal.' discussions...'.
'Please keep this window open until it completes', '', 3);
$groups = array();
$currcourse = 0;
$users = 0;
$count = 0;
$dcount = 0;
foreach ($discussions as $discussion) {
$dcount++;
print_progress($dcount, $dtotal);
if ($discussion->course != $currcourse) {
/// Discussions are ordered by course, so we only need to get any course's users once.
$currcourse = $discussion->course;
$users = get_course_users($currcourse, '', '', 'u.id,u.confirmed');
}
/// If this course has users, and posts more than a day old, mark them for each user.
if ($users &&
($posts = get_records_select('forum_posts', 'discussion = '.$discussion->id.
' AND '.$dateafter.' < modified AND modified < '.$onedayago,
'', 'id,discussion,modified'))) {
foreach ($users as $user) {
/// If its a group discussion, make sure the user is in the group.
if ($discussion->groupid) {
if (!isset($groups[$discussion->groupid][$user->id])) {
$groups[$discussion->groupid][$user->id] = ismember($discussion->groupid, $user->id);
}
}
if (!$discussion->groupid || !empty($groups[$discussion->groupid][$user->id])) {
foreach ($posts as $post) {
print_progress($dcount, $dtotal);
forum_tp_mark_post_read($user->id, $post, $discussion->forum);
}
}
}
}
}
print_progress($dcount, $dtotal, 0);
}
delete_records('config', 'name', 'upgrade', 'value', 'forumread');
notify('Log upgrading was successful!', 'notifysuccess');
print_continue('index.php');
print_footer();
exit;
function print_progress($done, $total, $updatetime=5, $sleeptime=1) {
static $count;
static $starttime;
static $lasttime;
if (empty($starttime)) {
$starttime = $lasttime = time();
$lasttime = $starttime - $updatetime;
echo '<table width="500" cellpadding="0" cellspacing="0" align="center"><tr><td width="500">';
echo '<div id="bar" style="border-style:solid;border-width:1px;width:500px;height:50px;">';
echo '<div id="slider" style="border-style:solid;border-width:1px;height:48px;width:10px;background-color:green;"></div>';
echo '</div>';
echo '<div id="text" align="center" style="width:500px;"></div>';
echo '</td></tr></table>';
echo '</div>';
}
if (!isset($count)) {
$count = 0;
}
$count++;
$now = time();
if ($done && (($now - $lasttime) >= $updatetime)) {
$elapsedtime = $now - $starttime;
$projectedtime = (int)(((float)$total / (float)$done) * $elapsedtime) - $elapsedtime;
$percentage = format_float((float)$done / (float)$total, 2);
$width = (int)(500 * $percentage);
echo '<script>';
echo 'document.getElementById("text").innerHTML = "'.$count.' done. Ending: '.format_time($projectedtime).'";'."\n";
echo 'document.getElementById("slider").style.width = \''.$width.'px\';'."\n";
echo '</script>';
$lasttime = $now;
sleep($sleeptime);
}
}
?>
+36 -36
View File
@@ -102,11 +102,11 @@
"course3" => 1,
"course4" => 1,
"course5" => 1,
"group1" => 1,
"group2" => 1,
"group3" => 1,
"group4" => 1,
"group5" =>1);
"group1" => 1,
"group2" => 1,
"group3" => 1,
"group4" => 1,
"group5" =>1);
// --- get header (field names) ---
$header = split($csv_delimiter, fgets($fp,1024));
@@ -209,20 +209,20 @@
notify(get_string('unknowncourse', 'error', $addcourse[$i]));
}
}
for ($i=0; $i<5; $i++) {
for ($i=0; $i<5; $i++) {
$groupid[$i] = 0;
if ($addgroup[$i]) {
if (!$courseid[$i]) {
notify(get_string('coursegroupunknown','error',$addgroup[$i]));
} else {
if ($group = get_record("groups","courseid",$courseid[$i],"name",$addgroup[$i])) {
$groupid[$i] = $group->id;
} else {
notify(get_string('groupunknown','error',$addgroup[$i]));
}
}
}
}
if (!$courseid[$i]) {
notify(get_string('coursegroupunknown','error',$addgroup[$i]));
} else {
if ($group = get_record("groups","courseid",$courseid[$i],"name",$addgroup[$i])) {
$groupid[$i] = $group->id;
} else {
notify(get_string('groupunknown','error',$addgroup[$i]));
}
}
}
}
for ($i=0; $i<5; $i++) {
if ($courseid[$i]) {
if (enrol_student($user->id, $courseid[$i])) {
@@ -233,26 +233,26 @@
}
}
for ($i=0; $i<5; $i++) {
if ($courseid[$i] && $groupid[$i]) {
if (record_exists("user_students","userid",$user->id,"course",$courseid[$i])) {
$usergroup = user_group($courseid[$i],$user->id);
if ($courseid[$i] && $groupid[$i]) {
if (record_exists("user_students","userid",$user->id,"course",$courseid[$i])) {
$usergroup = user_group($courseid[$i],$user->id);
if ($usergroup) {
notify('-->' . get_string('groupalready','error',$usergroup->name));
} else {
$group_member->groupid = $groupid[$i];
$group_member->userid = $user->id;
$group_member->timeadded = time();
if (insert_record("groups_members",$group_member)) {
notify('-->' . get_string('addedtogroup','',$addgroup[$i]));
} else {
notify('-->' . get_string('addedtogroupnot','',$addgroup[$i]));
}
}
} else {
notify('-->' . get_string('addedtogroupnotenrolled','',$addgroup[$i]));
}
}
}
notify('-->' . get_string('groupalready','error',$usergroup->name));
} else {
$group_member->groupid = $groupid[$i];
$group_member->userid = $user->id;
$group_member->timeadded = time();
if (insert_record("groups_members",$group_member)) {
notify('-->' . get_string('addedtogroup','',$addgroup[$i]));
} else {
notify('-->' . get_string('addedtogroupnot','',$addgroup[$i]));
}
}
} else {
notify('-->' . get_string('addedtogroupnotenrolled','',$addgroup[$i]));
}
}
}
unset ($user);
}
+1
View File
@@ -163,6 +163,7 @@
$updateuser->deleted = "1";
$updateuser->username = "$user->email.".time(); // Remember it just in case
$updateuser->email = ""; // Clear this field to free it up
$updateuser->idnumber = ""; // Clear this field to free it up
$updateuser->timemodified = time();
if (update_record("user", $updateuser)) {
unenrol_student($user->id); // From all courses
+2 -4
View File
@@ -27,12 +27,10 @@
$table->data[] = array("<b><a href=\"user.php\">".get_string("edituser")."</a></b>",
get_string("adminhelpedituser"));
if (is_internal_auth()) {
$table->data[] = array("<b><a href=\"$CFG->wwwroot/$CFG->admin/user.php?newuser=true&amp;sesskey=$USER->sesskey\">".get_string("addnewuser")."</a></b>",
$table->data[] = array("<b><a href=\"$CFG->wwwroot/$CFG->admin/user.php?newuser=true&amp;sesskey=$USER->sesskey\">".get_string("addnewuser")."</a></b>",
get_string("adminhelpaddnewuser"));
$table->data[] = array("<b><a href=\"$CFG->wwwroot/$CFG->admin/uploaduser.php?sesskey=$USER->sesskey\">".get_string("uploadusers")."</a></b>",
$table->data[] = array("<b><a href=\"$CFG->wwwroot/$CFG->admin/uploaduser.php?sesskey=$USER->sesskey\">".get_string("uploadusers")."</a></b>",
get_string("adminhelpuploadusers"));
}
$table->data[] = array('', '<hr />');
$table->data[] = array("<b><a href=\"enrol.php?sesskey=$USER->sesskey\">".get_string("enrolments")."</a></b>",
get_string("adminhelpenrolments"));
+1 -1
View File
@@ -74,7 +74,7 @@
<tr valign="top" class="required">
<td align="right">cas_language:</td>
<td>
<?php choose_from_menu ($caslanguages, "cas_language", $config->cas_language, "");?>
<?php choose_from_menu ($CASLANGUAGES, "cas_language", $config->cas_language, "");?>
</td>
<td>
<?php print_string("auth_cas_language","auth") ?>
+6 -6
View File
@@ -41,7 +41,7 @@ function cas_ldap_auth_user_login ($username, $password) {
if ($CFG->auth == "cas" && !empty($CFG->cas_enabled)){ //cas specific
if ($CFG->cas_create_user=="0"){
if (get_user_info_from_db("username", $username)){
if (record_exists('user', 'username', $username)){
return true;
}else{
return false;
@@ -67,7 +67,7 @@ function cas_ldap_auth_user_login ($username, $password) {
ldap_close($ldap_connection);
if ($ldap_login) {
if ($CFG->cas_create_user=="0"){ //cas specific
if (get_user_info_from_db("username", $username)){
if (record_exists('user', 'username', $username)){
return true;
}else{
return false;
@@ -105,8 +105,8 @@ function cas_authenticate_user_login ($username, $password) {
phpCAS::authenticateIfNeeded();
}
if ($CFG->cas_create_user=="0"){
if (get_user_info_from_db("username", phpCAS::getUser())){
$user = authenticate_user_login(phpCAS::getUser(), 'cas');
if (record_exists('user', 'username', phpCAS::getUser())) {
$user = authenticate_user_login(phpCAS::getUser(), 'cas');
}else{
//login as guest if CAS but not Moodle and not automatic creation
if ($CFG->guestloginbutton){
@@ -142,7 +142,7 @@ function cas_automatic_authenticate ($user="") {
}
if (phpCAS::isAuthenticated()){
if ($CFG->cas_create_user=="0"){
if (get_user_info_from_db("username", phpCAS::getUser())){
if (record_exists('user', 'username', phpCAS::getUser())) {
$user = authenticate_user_login(phpCAS::getUser(), 'cas');
}else{
//login as guest if CAS but not Moodle and not automatic creation
@@ -166,4 +166,4 @@ function cas_automatic_authenticate ($user="") {
}
}
?>
?>
+3 -2
View File
@@ -4,7 +4,6 @@
//CHANGELOG:
//05.03.2005 replace /login/index.php
require_once($CFG->dirroot.'/auth/cas/lib.php');
//Define variables used in page
if (!$site = get_site()) {
@@ -61,6 +60,7 @@
$frm = false;
} else if (!$user) {
if ($CFG->auth == "cas" && $frm->username != 'guest'){ /// Cas SSO case
require_once($CFG->dirroot.'/auth/cas/lib.php');
$user = cas_authenticate_user_login($frm->username, $frm->password);
}else{
$user = authenticate_user_login($frm->username, $frm->password);
@@ -168,6 +168,7 @@
} else {
if ($CFG->auth == "cas" ){ /// CAS error login
require_once($CFG->dirroot.'/auth/cas/lib.php');
$errormsg = get_string("invalidcaslogin");
phpCAS::logout("$CFG->wwwroot/auth/cas/forbidden.php");
}else{
@@ -175,7 +176,7 @@
}
}
}
require_once($CFG->dirroot.'/auth/cas/lib.php');
$user=cas_automatic_authenticate($user);
if ($user) {
if (! $user->confirmed ) { // they never confirmed via email
+23 -110
View File
@@ -28,19 +28,19 @@
}
?>
<tr valign="top" class="required">
<td align="right">auth_dbhost:</td>
<td>
<td align="right">auth_dbhost:</td>
<td>
<input name="auth_dbhost" type="text" size="30" value="<?php echo $config->auth_dbhost?>" />
<?php if (isset($err["auth_dbhost"])) formerr($err["auth_dbhost"]); ?>
</td>
<?php if (isset($err["auth_dbhost"])) formerr($err["auth_dbhost"]); ?>
</td>
<td>
<?php print_string("auth_dbhost","auth") ?>
</td>
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbtype:</td>
<td>
<td align="right">auth_dbtype:</td>
<td>
<?php $dbtypes = array("access","ado_access", "ado", "ado_mssql", "borland_ibase", "csv", "db2", "fbsql", "firebird", "ibase", "informix72", "informix", "mssql", "mysql", "mysqlt", "oci805", "oci8", "oci8po", "odbc", "odbc_mssql", "odbc_oracle", "oracle", "postgres64", "postgres7", "postgres", "proxy", "sqlanywhere", "sybase", "vfp");
foreach ($dbtypes as $dbtype) {
$dboptions[$dbtype] = $dbtype;
@@ -55,8 +55,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbname:</td>
<td>
<td align="right">auth_dbname:</td>
<td>
<input name="auth_dbname" type="text" size="30" value="<?php echo $config->auth_dbname?>" />
<?php if (isset($err["auth_dbname"]))formerr($err["auth_dbname"]); ?>
</td>
@@ -66,8 +66,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbuser:</td>
<td>
<td align="right">auth_dbuser:</td>
<td>
<input name="auth_dbuser" type="text" size="30" value="<?php echo $config->auth_dbuser?>" />
<?php if (isset($err["auth_dbuser"])) formerr($err["auth_dbuser"]); ?>
</td>
@@ -77,8 +77,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbpass:</td>
<td>
<td align="right">auth_dbpass:</td>
<td>
<input name="auth_dbpass" type="text" size="30" value="<?php echo $config->auth_dbpass?>" />
<?php if (isset($err["auth_dbpass"])) formerr($err["auth_dbpass"]); ?>
</td>
@@ -88,8 +88,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbtable:</td>
<td>
<td align="right">auth_dbtable:</td>
<td>
<input name="auth_dbtable" type="text" size="30" value="<?php echo $config->auth_dbtable?>" />
<?php if (isset($err["auth_dbtable"])) formerr($err["auth_dbtable"]); ?>
</td>
@@ -99,8 +99,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbfielduser:</td>
<td>
<td align="right">auth_dbfielduser:</td>
<td>
<input name="auth_dbfielduser" type="text" size="30" value="<?php echo $config->auth_dbfielduser?>" />
<?php if (isset($err["auth_dbfielduser"])) formerr($err["auth_dbfielduser"]); ?>
</td>
@@ -110,8 +110,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbfieldpass:</td>
<td>
<td align="right">auth_dbfieldpass:</td>
<td>
<input name="auth_dbfieldpass" type="text" size="30" value="<?php echo $config->auth_dbfieldpass?>" />
<?php if (isset($err["auth_dbfieldpass"])) formerr($err["auth_dbfieldpass"]); ?>
</td>
@@ -121,8 +121,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_dbpasstype:</td>
<td>
<td align="right">auth_dbpasstype:</td>
<td>
<?php
$passtype["plaintext"] = get_string("plaintext", "auth");
$passtype["md5"] = get_string("md5", "auth");
@@ -135,98 +135,11 @@
</td>
</tr>
<tr>
<td align="right"><?php print_string("firstname") ?>:</td>
<td>
<input name="auth_user_firstname" type="text" size="30" value="<?php echo $config->auth_user_firstname?>" />
</td>
<td rowspan="12" valign="middle">
<?php print_string("auth_dbextrafields","auth") ?>
</td>
</tr>
<?php print_auth_lock_options($auth, $user_fields, get_string("auth_dbextrafields","auth"), true, false); ?>
<tr valign="top">
<td align="right"><?php print_string("lastname") ?>:</td>
<td>
<input name="auth_user_lastname" type="text" size="30" value="<?php echo $config->auth_user_lastname?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("email") ?>:</td>
<td>
<input name="auth_user_email" type="text" size="30" value="<?php echo $config->auth_user_email?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("phone") ?> 1:</td>
<td>
<input name="auth_user_phone1" type="text" size="30" value="<?php echo $config->auth_user_phone1?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("phone") ?> 2:</td>
<td>
<input name="auth_user_phone2" type="text" size="30" value="<?php echo $config->auth_user_phone2?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("department") ?>:</td>
<td>
<input name="auth_user_department" type="text" size="30" value="<?php echo $config->auth_user_department?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("address") ?>:</td>
<td>
<input name="auth_user_address" type="text" size="30" value="<?php echo $config->auth_user_address?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("city") ?>:</td>
<td>
<input name="auth_user_city" type="text" size="30" value="<?php echo $config->auth_user_city?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("country") ?>:</td>
<td>
<input name="auth_user_country" type="text" size="30" value="<?php echo $config->auth_user_country?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("description") ?>:</td>
<td>
<input name="auth_user_description" type="text" size="30" value="<?php echo $config->auth_user_description?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("idnumber") ?>:</td>
<td>
<input name="auth_user_idnumber" type="text" size="30" value="<?php echo $config->auth_user_idnumber?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("language") ?>:</td>
<td>
<input name="auth_user_lang" type="text" size="30" value="<?php echo $config->auth_user_lang?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
<td>
+11 -3
View File
@@ -13,8 +13,11 @@ function auth_user_login ($username, $password) {
// the first database again, after having accessed the second.
// The following hack will make the database explicit which keeps it happy
// This seems to broke postgesql so ..
$prefix = $CFG->prefix.''; // Remember it. The '' is to prevent PHP5 reference.. see bug 3223
if ($CFG->dbtype != 'postgres7') {
$CFG->prefix = "$CFG->dbname.$CFG->prefix";
$CFG->prefix = $CFG->dbname.$CFG->prefix;
}
// Connect to the external database
@@ -32,6 +35,8 @@ function auth_user_login ($username, $password) {
AND $CFG->auth_dbfieldpass = '$password' ");
$authdb->Close();
$CFG->prefix = $prefix;
if (!$rs) {
notify("Could not connect to the specified authentication database...");
return false;
@@ -53,6 +58,9 @@ function auth_get_userinfo($username){
$config = (array) $CFG;
$pcfg = get_config('auth/db');
$pcfg = (array) $pcfg;
ADOLoadCode($CFG->auth_dbtype);
$authdb = &ADONewConnection();
$authdb->PConnect($CFG->auth_dbhost,$CFG->auth_dbuser,$CFG->auth_dbpass,$CFG->auth_dbname);
@@ -64,8 +72,8 @@ function auth_get_userinfo($username){
$result = array();
foreach ($fields as $field) {
if ($config["auth_user_$field"]) {
if ($rs = $authdb->Execute("SELECT ".$config["auth_user_$field"]." FROM $CFG->auth_dbtable
if ($pcfg["field_map_$field"]) {
if ($rs = $authdb->Execute("SELECT ".$pcfg["field_map_$field"]." FROM $CFG->auth_dbtable
WHERE $CFG->auth_dbfielduser = '$username'")) {
if ( $rs->RecordCount() == 1 ) {
$result["$field"] = $rs->fields[0];
+2
View File
@@ -1,2 +1,4 @@
<!-- No config needed -->
<div align="center"><?php print_string('none'); ?></div>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+1 -1
View File
@@ -7,7 +7,7 @@ function auth_user_login ($username, $password) {
global $CFG;
if (! $user = get_user_info_from_db("username", $username)) {
if (! $user = get_record('user', 'username', $username)) {
return false;
}
+1
View File
@@ -166,3 +166,4 @@
</tr>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+2 -2
View File
@@ -91,7 +91,7 @@ description Get data from users resume. Pictures will be removed.
$userinfo['email'] = strtok($fpp->getUserInfo($username,"1252"),',');
$userinfo['phone1'] = $fpp->getUserInfo($username,"1206");
$userinfo['phone2'] = $fpp->getUserInfo($username,"1207");
$userinfo['description'] = $fpp->getResume($username);
$userinfo['description'] = $fpp->getResume($username);
}
}
@@ -151,4 +151,4 @@ function auth_iscreator($username=0) {
return false;
}
+11 -10
View File
@@ -10,11 +10,11 @@
}
?>
<tr valign="top" class="required">
<td align="right">auth_imaphost:</td>
<td>
<td align="right">auth_imaphost:</td>
<td>
<input name="auth_imaphost" type="text" size="30" value="<?php echo $config->auth_imaphost?>" />
<?php if (isset($err["auth_imaphost"])) formerr($err["auth_imaphost"]); ?>
</td>
<?php if (isset($err["auth_imaphost"])) formerr($err["auth_imaphost"]); ?>
</td>
<td>
<?php print_string("auth_imaphost","auth") ?>
<?php print_string("auth_multiplehosts","auth") ?>
@@ -22,8 +22,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_imaptype:</td>
<td>
<td align="right">auth_imaptype:</td>
<td>
<?php $imaptypes = array("imap","imapssl", "imapcert", "imaptls");
foreach($imaptypes as $imaptype) {
$imapoptions[$imaptype] = $imaptype;
@@ -37,8 +37,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_imapport:</td>
<td>
<td align="right">auth_imapport:</td>
<td>
<input name="auth_imapport" type="text" size="6" value="<?php echo $config->auth_imapport?>" />
<?php if (isset($err["auth_imapport"])) formerr($err["auth_imapport"]); ?>
</td>
@@ -48,8 +48,8 @@
</tr>
<tr valign="top">
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
<td>
@@ -57,3 +57,4 @@
<?php helpbutton("text", get_string("helptext")) ?>
</td>
</tr>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+20 -416
View File
@@ -1,4 +1,4 @@
<?PHP
<?php
// Initialize vars
optional_variable($config->ldap_host_url, "");
optional_variable($config->ldap_contexts, "");
@@ -20,51 +20,14 @@
optional_variable($config->ldap_graceattr, "");
optional_variable($config->auth_user_create, "");
optional_variable($config->auth_user_create, "");
optional_variable($config->auth_ldap_forcepasswordchange, "");
optional_variable($config->auth_ldap_forcechangepassword, "");
optional_variable($config->auth_user_firstname_updatelocal, "1");
optional_variable($config->auth_user_firstname_editlock, "1");
optional_variable($config->auth_user_firstname_updateremote, "");
optional_variable($config->auth_user_lastname_updatelocal, "1");
optional_variable($config->auth_user_lastname_editlock, "1");
optional_variable($config->auth_user_lastname_updateremote, "");
optional_variable($config->auth_user_email_updatelocal, "1");
optional_variable($config->auth_user_email_editlock, "1");
optional_variable($config->auth_user_email_updateremote, "");
optional_variable($config->auth_user_phone1_updatelocal, "");
optional_variable($config->auth_user_phone1_editlock, "");
optional_variable($config->auth_user_phone1_updateremote, "");
optional_variable($config->auth_user_phone2_updatelocal, "");
optional_variable($config->auth_user_phone2_editlock, "");
optional_variable($config->auth_user_phone2_updateremote, "");
optional_variable($config->auth_user_department_updatelocal, "");
optional_variable($config->auth_user_department_editlock, "");
optional_variable($config->auth_user_department_updateremote, "");
optional_variable($config->auth_user_address_updatelocal, "");
optional_variable($config->auth_user_address_editlock, "");
optional_variable($config->auth_user_address_updateremote, "");
optional_variable($config->auth_user_city_updatelocal, "");
optional_variable($config->auth_user_city_editlock, "");
optional_variable($config->auth_user_city_updateremote, "");
optional_variable($config->auth_user_country_updatelocal, "");
optional_variable($config->auth_user_country_editlock, "");
optional_variable($config->auth_user_country_updateremote, "");
optional_variable($config->auth_user_description_updatelocal, "");
optional_variable($config->auth_user_description_editlock, "");
optional_variable($config->auth_user_description_updateremote, "");
optional_variable($config->auth_user_lang_updatelocal, "");
optional_variable($config->auth_user_lang_editlock, "");
optional_variable($config->auth_user_lang_updateremote, "");
optional_variable($config->auth_user_idnumber_updatelocal, "");
optional_variable($config->auth_user_idnumber_editlock, "");
optional_variable($config->auth_user_idnumber_updateremote, "");
optional_variable($config->auth_ldap_stdchangepassword, false);
if (!function_exists('ldap_connect')){ // Is php4-ldap really there?
print '<p align="center"><font color="red"><strong>Warning:
print '<tr><td><p align="center"><font color="red"><strong>Warning:
The PHP LDAP module does not seem to be present.
Please ensure it is installed and enabled.</strong></font></p>';
Please ensure it is installed and enabled.</strong></font></p></td></tr>';
}
?>
@@ -157,7 +120,12 @@ if (!function_exists('ldap_connect')){ // Is php4-ldap really there?
<tr valign="top" class="required">
<td align="right">ldap_search_sub:</td>
<td>
<input name="ldap_search_sub" type="text" size="1" value="<?php echo $config->ldap_search_sub?>">
<?php
$choices = array();;
$choices["0"] = get_string("no");
$choices["1"] = get_string("yes");
choose_from_menu ($choices, "ldap_search_sub", $config->ldap_search_sub, "");
?>
<?php if (isset($err["ldap_search_sub"])) formerr($err["ldap_search_sub"]); ?>
</td>
<td>
@@ -363,382 +331,17 @@ if (!function_exists('ldap_connect')){ // Is php4-ldap really there?
</td>
</tr>
<?php
<tr>
<td colspan="2">
<h4><?php print_string("auth_data_mapping", "auth") ?> </h4>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("firstname") ?>:</td>
<td>
<input name="auth_user_firstname" type="text" size="30" value="<?php echo $config->auth_user_firstname?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_firstname_updatelocal">
<option value="0" <?php echo ($config->auth_user_firstname_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_firstname_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_firstname_editlock">
<option value="0" <?php echo ($config->auth_user_firstname_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_firstname_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_firstname_updateremote">
<option value="0" <?php echo ($config->auth_user_firstname_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_firstname_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
<td rowspan=12 valign="top">
<?php print_string("auth_ldapextrafields","auth") ?>
<?php print_string("auth_updatelocal_expl","auth") ?>
<?php print_string("auth_editlock_expl","auth") ?>
<?php print_string("auth_updateremote_expl","auth") ?>
<hr>
<?php print_string("auth_updateremote_ldap","auth") ?>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("lastname") ?>:</td>
<td>
<input name="auth_user_lastname" type="text" size="30" value="<?php echo $config->auth_user_lastname?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_lastname_updatelocal">
<option value="0" <?php echo ($config->auth_user_lastname_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_lastname_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock","auth") ?>
<select name="auth_user_lastname_editlock">
<option value="0" <?php echo ($config->auth_user_lastname_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_lastname_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_lastname_updateremote">
<option value="0" <?php echo ($config->auth_user_lastname_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_lastname_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("email") ?>:</td>
<td>
<input name="auth_user_email" type="text" size="30" value="<?php echo $config->auth_user_email?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_email_updatelocal">
<option value="0" <?php echo ($config->auth_user_email_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_email_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_email_editlock">
<option value="0" <?php echo ($config->auth_user_email_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_email_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_email_updateremote">
<option value="0" <?php echo ($config->auth_user_email_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_email_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("phone") ?> 1:</td>
<td>
<input name="auth_user_phone1" type="text" size="30" value="<?php echo $config->auth_user_phone1?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_phone1_updatelocal">
<option value="0" <?php echo ($config->auth_user_phone1_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_phone1_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_phone1_editlock">
<option value="0" <?php echo ($config->auth_user_phone1_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_phone1_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_phone1_updateremote">
<option value="0" <?php echo ($config->auth_user_phone1_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_phone1_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("phone") ?> 2:</td>
<td>
<input name="auth_user_phone2" type="text" size="30" value="<?php echo $config->auth_user_phone2?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_phone2_updatelocal">
<option value="0" <?php echo ($config->auth_user_phone2_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_phone2_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_phone2_editlock">
<option value="0" <?php echo ($config->auth_user_phone2_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_phone2_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_phone2_updateremote">
<option value="0" <?php echo ($config->auth_user_phone2_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_phone2_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("department") ?>:</td>
<td>
<input name="auth_user_department" type="text" size="30" value="<?php echo $config->auth_user_department?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_department_updatelocal">
<option value="0" <?php echo ($config->auth_user_department_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_department_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_department_editlock">
<option value="0" <?php echo ($config->auth_user_department_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_department_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_department_updateremote">
<option value="0" <?php echo ($config->auth_user_department_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_department_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("address") ?>:</td>
<td>
<input name="auth_user_address" type="text" size="30" value="<?php echo $config->auth_user_address?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_address_updatelocal">
<option value="0" <?php echo ($config->auth_user_address_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_address_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_address_editlock">
<option value="0" <?php echo ($config->auth_user_address_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_address_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_address_updateremote">
<option value="0" <?php echo ($config->auth_user_address_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_address_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("city") ?>:</td>
<td>
<input name="auth_user_city" type="text" size="30" value="<?php echo $config->auth_user_city?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_city_updatelocal">
<option value="0" <?php echo ($config->auth_user_city_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_city_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_city_editlock">
<option value="0" <?php echo ($config->auth_user_city_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_city_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_city_updateremote">
<option value="0" <?php echo ($config->auth_user_city_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_city_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("country") ?>:</td>
<td>
<input name="auth_user_country" type="text" size="30" value="<?php echo $config->auth_user_country?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_country_updatelocal">
<option value="0" <?php echo ($config->auth_user_country_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_country_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_country_editlock">
<option value="0" <?php echo ($config->auth_user_country_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_country_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_country_updateremote">
<option value="0" <?php echo ($config->auth_user_country_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_country_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("description") ?>:</td>
<td>
<input name="auth_user_description" type="text" size="30" value="<?php echo $config->auth_user_description?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_description_updatelocal">
<option value="0" <?php echo ($config->auth_user_description_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_description_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_description_editlock">
<option value="0" <?php echo ($config->auth_user_description_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_description_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_description_updateremote">
<option value="0" <?php echo ($config->auth_user_description_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_description_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("idnumber") ?>:</td>
<td>
<input name="auth_user_idnumber" type="text" size="30" value="<?php echo $config->auth_user_idnumber?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_idnumber_updatelocal">
<option value="0" <?php echo ($config->auth_user_idnumber_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_idnumber_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_idnumber_editlock">
<option value="0" <?php echo ($config->auth_user_idnumber_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_idnumber_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_idnumber_updateremote">
<option value="0" <?php echo ($config->auth_user_idnumber_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_idnumber_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("language") ?>:</td>
<td>
<input name="auth_user_lang" type="text" size="30" value="<?php echo $config->auth_user_lang?>">
<div align="right">
<?php print_string("auth_updatelocal", "auth") ?>
<select name="auth_user_lang_updatelocal">
<option value="0" <?php echo ($config->auth_user_lang_updatelocal ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_lang_updatelocal ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_editlock", "auth") ?>
<select name="auth_user_lang_editlock">
<option value="0" <?php echo ($config->auth_user_lang_editlock ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_lang_editlock ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
<?php print_string("auth_updateremote", "auth") ?>
<select name="auth_user_lang_updateremote">
<option value="0" <?php echo ($config->auth_user_lang_updateremote ? '' : 'selected="yes"') ?> >
<?php print_string("no") ?></option>
<option value="1" <?php echo ($config->auth_user_lang_updateremote ? 'selected="yes"' : '') ?> >
<?php print_string("yes") ?></option>
</select><br>
</div>
</td>
</tr>
$help = get_string("auth_ldapextrafields","auth");
$help .= get_string("auth_updatelocal_expl","auth");
$help .= get_string("auth_fieldlock_expl","auth");
$help .= get_string("auth_updateremote_expl","auth");
$help .= '<hr />';
$help .= get_string("auth_updateremote_ldap","auth");
print_auth_lock_options($auth, $user_fields, $help, true, true);
?>
<tr valign="top" class="required">
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
@@ -746,6 +349,7 @@ if (!function_exists('ldap_connect')){ // Is php4-ldap really there?
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
<td>
<?php print_string("authinstructions","auth") ?>
<?php helpbutton("text", get_string("helptext")) ?>
</td>
+22 -16
View File
@@ -186,7 +186,7 @@ function auth_user_exists ($username) {
* @param mixed $plainpass Plaintext password
*/
function auth_user_create ($userobject,$plainpass) {
global $CFG;
global $CFG;
$ldapconnection = auth_ldap_connect();
$attrmap = auth_ldap_attributes();
@@ -372,6 +372,7 @@ function auth_sync_users ($bulk_insert_records = 1000, $do_updates=1) {
global $CFG ;
$pcfg = get_config('auth/ldap');
// configure a temp table
print "Configuring temp table\n";
@@ -503,11 +504,11 @@ function auth_sync_users ($bulk_insert_records = 1000, $do_updates=1) {
////
if ($do_updates) {
// narrow down what fields we need to update
$all_keys = array_keys(get_object_vars($CFG));
$all_keys = array_keys(get_object_vars($pcfg));
$updatekeys = array();
foreach ($all_keys as $key) {
if (preg_match('/^auth_user_(.+)_updatelocal$/',$key, $match)) {
if ($CFG->{$match[0]}) { // if it has a true value
if (preg_match('/^field_updatelocal_(.+)$/',$key, $match)) {
if ($pcfg->{$match[0]}) { // if it has a true value
array_push($updatekeys, $match[1]); // the actual key name
}
}
@@ -637,6 +638,8 @@ function auth_ldap_update_user_record($username, $updatekeys=false) {
global $CFG;
$pcfg = get_config('auth/ldap');
//just in case check text case
$username = trim(moodle_strtolower($username));
@@ -663,8 +666,7 @@ function auth_ldap_update_user_record($username, $updatekeys=false) {
} else {
$value = '';
}
if(isset($CFG->{'auth_user_' . $key. '_updatelocal'})
&& $CFG->{'auth_user_' . $key. '_updatelocal'}){
if (!empty($pcfg->{'field_updatelocal_' . $key})) {
if ($user->{$key} != $value) { // only update if it's changed
set_field('user', $key, $value, 'username', $username);
}
@@ -701,7 +703,7 @@ function auth_ldap_bulk_insert($users){
* @return boolen result
*/
function auth_user_activate ($username) {
global $CFG;
global $CFG;
$ldapconnection = auth_ldap_connect();
@@ -726,7 +728,7 @@ function auth_user_activate ($username) {
* @return boolean result
*/
function auth_user_disable ($username) {
global $CFG;
global $CFG;
$ldapconnection = auth_ldap_connect();
@@ -782,6 +784,8 @@ function auth_iscreator($username=0) {
function auth_user_update($olduser, $newuser) {
global $USER , $CFG;
$pcfg = get_config('auth/ldap');
$ldapconnection = auth_ldap_connect();
@@ -810,7 +814,7 @@ function auth_user_update($olduser, $newuser) {
//error_log(var_export($user_entry) . 'fpp' );
foreach ($attrmap as $key=>$ldapkeys){
if (isset($CFG->{'auth_user_'. $key.'_updateremote'}) && $CFG->{'auth_user_'. $key.'_updateremote'}){
if (!empty($pcfg->{'field_updateremote_'. $key})) {
// for ldap values that could be in more than one
// ldap key, we will do our best to match
@@ -1031,8 +1035,8 @@ function auth_ldap_getdefaults(){
);
$default['ldap_memberattribute_isdn'] = array(
'edir' => '1',
'rfs2307' => '0',
'rfs2307bis' => '1',
'rfc2307' => '0',
'rfc2307bis' => '1',
'samba' => '0', //is this right?
'ad' => '0', //is this right?
'default' => '0'
@@ -1310,7 +1314,7 @@ function auth_ldap_find_userdn ($ldapconnection, $username){
$ldap_contexts = explode(";",$CFG->ldap_contexts);
if (!empty($CFG->ldap_create_context)){
array_push($ldap_contexts, $CFG->ldap_create_context);
array_push($ldap_contexts, $CFG->ldap_create_context);
}
foreach ($ldap_contexts as $context) {
@@ -1348,24 +1352,26 @@ function auth_ldap_find_userdn ($ldapconnection, $username){
function auth_ldap_attributes (){
global $CFG;
global $CFG;
$config = (array)$CFG;
$fields = array("firstname", "lastname", "email", "phone1", "phone2",
"department", "address", "city", "country", "description",
"idnumber", "lang" );
$pcfg = get_config('auth/ldap');
$moodleattributes = array();
foreach ($fields as $field) {
if (!empty($config["auth_user_$field"])) {
$moodleattributes[$field] = $config["auth_user_$field"];
if (!empty($pcfg->{"field_map_$field"})) {
$moodleattributes[$field] = $pcfg->{"field_map_$field"};
if (preg_match('/,/',$moodleattributes[$field])) {
$moodleattributes[$field] = explode(',', $moodleattributes[$field]); // split ?
}
}
}
$moodleattributes['username']=$config["ldap_user_attribute"];
return $moodleattributes;
return $moodleattributes;
}
/**
+3 -3
View File
@@ -1,6 +1,6 @@
<tr valign="top">
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
<td>
@@ -8,4 +8,4 @@
<?php helpbutton("text", get_string("helptext")) ?>
</td>
</tr>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+1 -1
View File
@@ -5,7 +5,7 @@ function auth_user_login ($username, $password) {
// Returns false if the username doesn't exist yet
// Returns true if the username and password work
if ($user = get_user_info_from_db("username", $username)) {
if ($user = get_record('user', 'username', $username)) {
return ($user->password == md5($password));
}
+9 -8
View File
@@ -8,11 +8,11 @@
?>
<tr valign="top" class="required">
<td align="right">auth_nntphost:</td>
<td>
<td align="right">auth_nntphost:</td>
<td>
<input name="auth_nntphost" type="text" size="30" value="<?php echo $config->auth_nntphost?>" />
<?php if (isset($err["auth_nntphost"])) formerr($err["auth_nntphost"]); ?>
</td>
<?php if (isset($err["auth_nntphost"])) formerr($err["auth_nntphost"]); ?>
</td>
<td>
<?php print_string("auth_nntphost","auth") ?>
<?php print_string("auth_multiplehosts","auth") ?>
@@ -20,8 +20,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_nntpport:</td>
<td>
<td align="right">auth_nntpport:</td>
<td>
<input name="auth_nntpport" type="text" size="6" value="<?php echo $config->auth_nntpport?>" />
<?php if (isset($err["auth_nntpport"])) formerr($err["auth_nntpport"]); ?>
</td>
@@ -31,8 +31,8 @@
</tr>
<tr valign="top">
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
<td>
@@ -40,3 +40,4 @@
<?php helpbutton("text", get_string("helptext")) ?>
</td>
</tr>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+1
View File
@@ -1,2 +1,3 @@
<!-- No config needed -->
<div align="center"><?php print_string('none'); ?></div>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+3 -3
View File
@@ -5,11 +5,11 @@ function auth_user_login ($username, $password) {
// Returns true if the username doesn't exist yet
// Returns true if the username and password work
if (! $user = get_user_info_from_db("username", $username)) {
return true;
if ($user = get_record('user', 'username', $username)) {
return ($user->password == md5($password));
}
return ($user->password == md5($password));
return false;
}
+2 -1
View File
@@ -6,4 +6,5 @@
<?php print_string("authinstructions","auth") ?>
<?php helpbutton("text", get_string("helptext")) ?>
</td>
</tr>
</tr>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+14 -12
View File
@@ -13,11 +13,11 @@
}
?>
<tr valign="top" class="required">
<td align="right">auth_pop3host:</td>
<td>
<td align="right">auth_pop3host:</td>
<td>
<input name="auth_pop3host" type="text" size="30" value="<?php echo $config->auth_pop3host?>" />
<?php if (isset($err["auth_pop3host"])) formerr($err["auth_pop3host"]); ?>
</td>
<?php if (isset($err["auth_pop3host"])) formerr($err["auth_pop3host"]); ?>
</td>
<td>
<?php print_string("auth_pop3host","auth") ?>
<?php print_string("auth_multiplehosts","auth") ?>
@@ -25,8 +25,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_pop3type:</td>
<td>
<td align="right">auth_pop3type:</td>
<td>
<?php $pop3types = array("pop3","pop3cert", "pop3notls");
foreach($pop3types as $pop3type) {
$pop3options[$pop3type] = $pop3type;
@@ -40,8 +40,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_pop3port:</td>
<td>
<td align="right">auth_pop3port:</td>
<td>
<input name="auth_pop3port" type="text" size="6" value="<?php echo $config->auth_pop3port?>" />
<?php if (isset($err["auth_pop3port"])) formerr($err["auth_pop3port"]); ?>
</td>
@@ -51,8 +51,8 @@
</tr>
<tr valign="top" class="required">
<td align="right">auth_pop3mailbox:</td>
<td>
<td align="right">auth_pop3mailbox:</td>
<td>
<input name="auth_pop3mailbox" type="text" size="6" value="<?php echo $config->auth_pop3mailbox?>" />
<?php if (isset($err["auth_pop3mailbox"])) formerr($err["auth_pop3mailbox"]); ?>
</td>
@@ -62,8 +62,8 @@
</tr>
<tr valign="top">
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
<td>
@@ -71,3 +71,5 @@
<?php helpbutton("text", get_string("helptext")) ?>
</td>
</tr>
<?php print_auth_lock_options($auth, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); ?>
+1 -1
View File
@@ -12,7 +12,7 @@ function auth_user_login ($username, $password) {
foreach ($hosts as $host) { // Try each host in turn
$host = trim($host);
// remove any trailing slash
if (substr($host, -1) == '/') {
$host = substr($host, 0, strlen($host) - 1);
+7
View File
@@ -0,0 +1,7 @@
# Requires a Shibboleth session
# Be sure to read moodle/auth/shibboleth/README.txt for instructions
# on how to configure Moodle for Shibboleth authentication
AuthType shibboleth
ShibRequireSession Off
require shibboleth
+167 -66
View File
@@ -1,76 +1,177 @@
Shibboleth authentication for Moodle
-------------------------------------------------------------------------------
Requirements
- Shibboleth target 1.1 or later
SHIBBOLET Target configuration
Shibboleth Authentication for Moodle
-------------------------------------------------------------------------------
#### 1. Only shibboleth users are allowed use this Moodle
Requirements:
- Moodle 1.5 or later
- Shibboleth target 1.1 or later. See documentation for your Shibboleth
federation on how to set up Shibboleth.
Just add shibboleth protection against Moodle directory.
Changes:
- 11. 2004: Created by Markus Hagman
- 05. 2005: Modifications to login process by Martin Dougiamas
- 05. 2005: Various extensions and fixes by Lukas Haemmerle
- 06. 2005: Adaptions to new field locks and plugin config structures by Marting
Langhoff and Lukas Haemmerle
#### 2. Shibboleth and manually added users are able to use Moodle
You need to use lazy sessions for Moodle directory. Lazy session can be
turned on by adding lines below to your .htaccess file in Moodle directory:
## Shibboleth lazy session
AuthType shibboleth
ShibRequireSession Off
require shibboleth
Lazy session allows users to access Moodle directory without having to
authenticate against shibboleth. When user authenticates against Shibboleth
the attributes which shibboleth provide get accessible ($_SERVER). These
attributes are used by Moodle to determine users identity.
For envoking shibboleth session:
1. make a directory for example moodle-proxy (in place where it's accessible
from web)
2. create index.php and add lines below (redirect to your moodle):
<?
header("Location:https://my.domain.com/moodle/login/index.php");
exit;
?>
3. Add .htaccess file in this directory which contains:
## Shibboleth authentication required
AuthType shibboleth
ShibRequireSession On
require valid-user
NEW! Modifications to login/index.php
Moodle Configuration with Dual login
-------------------------------------------------------------------------------
Moodle checks if user theres a shibboleth authenticated session alive. If
username attribute is found, user is considered authenticated.
1. Ensure that the .htaccess file in moodle/auth/shibboleth/ is active
It may be possible that you have to change the configuration of your web
server to allow .htaccess files to override certain settings. Alternatively,
you also could define the rules from the .htaccess file in the web server
configuration file.
Add code after line 31:
2. Protect the file moodle/auth/shibboleth/shib-protected.php with Shibboleth.
This page just needs to redirect the users to moodle/auth/shibboleth/
For Apache you have to define a rule like the following:
if ($_SERVER[$CFG->shib_user_attribute]) {
/// Log in automatically if user is has been shibboleth authenticated
$frm->username = $_SERVER[$CFG->shib_user_attribute];
$frm->password = "guest";
} else {
$frm = data_submitted();
--
<Location ~ "/auth/shibboleth/shib-protected.php">
AuthType shibboleth
ShibRequireSession On
require valid-user
</Location>
--
To restrict access to Moodle, replace the access rule 'require valid-user'
with something that fits your needs, e.g. 'require affiliation student'.
3. As Moodle admin, go to the 'Administrations >> Users >> Authentication
Options' and select the 'Shibboleth' authentication method from the pop-up.
4. Fill in the fields of the form. The fields 'Username', 'First name',
'Surname', etc should contain the name of the environment variables of the
Shibboleth attributes that you want to map onto the corresponding Moodle
variable (e.g. 'HTTP_SHIB_PERSON_SURNAME' for the person's last name, refer
the Shibboleth documentation or the documentation of your Shibboleth
federation for information on which attributes are available).
Especially the 'Username' field is of great importance because
this attribute is used for the Moodle authentication of Shibboleth users.
#############################################################################
Shibboleth Attributes needed by Moodle:
For Moodle to work properly Shibboleth should at least provide the attributes
that are used as username, firstname, lastname and email in Moodle.
The attribute used for the username has to be unique for all Shibboleth user.
All attributes must obey a certain length, otherwise Moodle cuts off the
ends. Consult the Moodle documentation for further information on the maximum
lengths for each field in the user profile.
#############################################################################
5. The large text field 'Instructions' must contain a link to the
moodle/auth/shibboleth/shib-protected.php file which is protected by
Shibboleth (see step 2) and causes the Shibboleth login procedure to start.
You also coudl use HTML code in that field, e.g. to create your own
Shibboleth login button.
6. Save the changes for the Shibboleth authentication method.
Moodle Configuration with Shibboleth only login
-------------------------------------------------------------------------------
If you want Shibboleth as your only authentication method, configure Moodle as
described in the dual login section above and do the following steps:
5.a On the Moodle Shibboleth settings page, set the 'Alternate Login URL' to
the URL of the file 'moodle/auth/shibboleth/shib-protected.php'
This will enforce Shibboleth login.
How the Shibboleth authentication works
--------------------------------------------------------------------------------
For a user to get Shibboleth authenticated in Moodle he first must go to the
Shibboleth-protected page shib-protected.php. If Shibboleth authentication is
enabled this happens automatically when a user wants to login.
Otherwise the user has to click on the link on the login page you provided in
step 5.
If the user is successfully Shibboleth authenticated he is redirected to
moodle/auth/shibboleth where he also gets authenticated in Moodle.
Moodle basically checks whether the Shibboleth attribute that you mapped
as the username is present. This attribute is only present if a user is
Shibboleth authenticated.
If the user's Moodle account has not existed yet, it gets automatically created.
Unless the user's firstname, last name and email address is provided, the user
is automatically redirected to the edit profile page by Moodle.
To prevent that every Shibboleth user can access your Moodle site you have to
adapt the 'require valid-user' line in your webserver's config (see step 2) to
allow only specific users.
You can use Shibboleth AND another authentication method (it was tested with
manual login only). So if there are a few users that don't have a Shibboleth
login, you could create manual accounts for them and they could use the manual
login. For other authentication methods you first have to configure them and
then set Shibboleth as your authentication method. Users can log in only via one
authentication method unless they have two accounts in Moodle.
Shibboleth dual login with custom login page
--------------------------------------------------------------------------------
Of course you can create a dual login page that better fits your needs. For this
to work you have to set up the two authentication methods (e.g. 'Manual' and
'Shibboleth', Shibboleth has to be the current authentication method) and
specify an alternate login link to your own dual login page. On that page you
basically need a link to the Shibboleth-protected page
('moodle/auth/shibboleth/shib-protected.php') for the Shibboleth login and a
form that sends 'username' and 'password' to moodle/login/index.php.
Consult the Moodle documentation for further instructions and requirements.
How to customize the way the Shibboleth user data is used in ILIAS
--------------------------------------------------------------------------------
Among the Shibboleth settings in Moodle there is a field that should contain a
path to a php file that can be used as data manipulation API.
You can use this if you want to further process the way your Shibboleth
attributes are used in Moodle.
Example 1: Your Shibboleth federation uses an attribute that specifies the
user's preferred language, but the content of this attribute is not
compatible with the Moodle data representation, e.g. the Shibboleth
attribute contains 'German' but Moodle needs a two letter value like
'de'.
Example 2: The country, city and street are provided in one Shibboleth attribute
and you want these values to be used in the Moodle user profile. So
You have to parse the corresponding attribute to fill the user fields.
If you want to use this API you have to be a skilled PHP programmer. It is
strongly recommended that you take a look at the file
moodle/auth/shibboleth/lib.php, especially the function 'auth_get_userinfo'
where this API file is included.
The context of the API file is the same as within this login function. So you
can directly edit the object $result.
Example file:
--
<?PHP
// Set the zip code and the adress
if ($_SERVER[$pluginconfig->field_map_address] != '')
{
// $address contains something like 'SWITCH$Limmatquai 138$CH-8021 Zurich'
// We want to split this up to get:
// institution, street, zipcode, city and country
$address = $_SERVER[$pluginconfig->field_map_address];
list($institution, $street, $zip_city) = split('\$', $address);
ereg(' (.+)',$zip_city, $regs);
$city = $regs[1];
ereg('(.+)-',$zip_city, $regs);
$country = $regs[1];
$result["address"] = $street;
$result["city"] = $city;
$result["country"] = $country;
$result["department"] = $institution;
}
?>
--
Bugs
--------------------------------------------------------------------------------
The current implementation has not yet been extensively tested. So there may be
bugs. Please send bug reports concerning the Shibboleth part to
Lukas Haemmerle <haemmerle@switch.ch>
MOODLE Authentication options
-------------------------------------------------------------------------------
Shibboleth origin url:
This is were you put the Shibboleth WAYF url address or the Shibboleth Origin
login url if WAYF is not used. If user selects shibboleth authentication
method he/she is redirected there to authenticate.
Username, First name, Surname, Email address:
The fields in authentication options are filled with the names of the
shibboleth attributes that your server provides for example:
$_SERVER['HTTP_SHIB_PNAME'] is the defined attribute in shibboleth target
configuration for username use HTTP_SHIB_PNAME in Username field at
authentication options
--------------------------------------------------------------------------------
In case of problems and questions with Shibboleth authentication, contact
Lukas Haemmerle <haemmerle@switch.ch> or Markus Hagman <hagman@hytti.uku.fi>
+52 -124
View File
@@ -1,127 +1,55 @@
<?PHP
<?php
// Set default values
$pluginconfig = get_config('auth/shibboleth');
if (!isset($config->auth_instructions) or empty($pluginconfig->shib_user_attribute)) {
$config->auth_instructions = get_string('auth_shib_instructions', 'auth', $CFG->wwwroot.'/auth/shibboleth/shib-protected.php');
}
optional_variable($pluginconfig->user_attribute, '');
optional_variable($pluginconfig->convert_data, '');
?>
<tr>
<td colspan="3" align="left">
<p>
<?php print_string("auth_shib_username_description", "auth") ?>
</p>
</td>
</tr>
<tr valign="top" class="required">
<td align="right"><?php print_string("username") ?>:</td>
<td>
<input name="pluginconfig_shib_user_attribute" type="text" size="30" value="<?php echo $pluginconfig->shib_user_attribute ?>">
</td>
<td></td>
</td>
</tr>
<?php print_auth_lock_options($auth, $user_fields, '<!-- empty help -->', true, false); ?>
<tr valign="top">
<TD ALIGN=RIGHT><P>Shibboleth origin url:</TD>
<TD>
<INPUT name=shib_wayf_url TYPE=text SIZE=30 VALUE="<?php echo $config->shib_wayf_url?>">
<?php if (isset($err["shib_wayf_url"])) formerr($err["shib_wayf_url"]); ?>
</TD>
<TD>
</TD>
</TR>
<!--
<TR>
<TD ALIGN=RIGHT><P>Shibboleth logout url ():</TD>
<TD>
<INPUT name="shib_logout_url" TYPE="text" SIZE="30" VALUE="<?php echo $config->shib_logout_url?>">
</TD>
<TD rowspan=12 VALIGN=CENTER> </TD>
</TR>-->
<TR>
<TD ALIGN=RIGHT><P><?php print_string("username") ?>:</TD>
<TD>
<INPUT name="shib_user_attribute" TYPE="text" SIZE="30" VALUE="<?php echo $config->shib_user_attribute?>">
</TD>
<TD rowspan=12 VALIGN=CENTER>
</TD>
</TR>
<TR>
<TD ALIGN=RIGHT><P><?php print_string("firstname") ?>:</TD>
<TD>
<INPUT name="auth_user_firstname" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_firstname?>">
</TD>
<TD rowspan=12 VALIGN=CENTER>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("lastname") ?>:</TD>
<TD>
<INPUT name="auth_user_lastname" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_lastname?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("email") ?>:</TD>
<TD>
<INPUT name="auth_user_email" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_email?>">
</TD>
</TR>
<!--
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("phone") ?> 1:</TD>
<TD>
<INPUT name="auth_user_phone1" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_phone1?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("phone") ?> 2:</TD>
<TD>
<INPUT name="auth_user_phone2" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_phone2?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("department") ?>:</TD>
<TD>
<INPUT name="auth_user_department" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_department?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("address") ?>:</TD>
<TD>
<INPUT name="auth_user_address" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_address?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("city") ?>:</TD>
<TD>
<INPUT name="auth_user_city" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_city?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("country") ?>:</TD>
<TD>
<INPUT name="auth_user_country" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_country?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("description") ?>:</TD>
<TD>
<INPUT name="auth_user_description" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_description?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("idnumber") ?>:</TD>
<TD>
<INPUT name="auth_user_idnumber" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_idnumber?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("language") ?>:</TD>
<TD>
<INPUT name="auth_user_lang" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_lang?>">
</TD>
</TR>
-->
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><?php print_string("instructions", "auth") ?>:</TD>
<TD>
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><?php p($config->auth_instructions) ?></TEXTAREA>
</TD>
<TD>
<?php print_string("authinstructions","auth") ?>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
<td>
<?php print_string("auth_shib_instructions_help","auth", htmlspecialchars($CFG->wwwroot.'/auth/shibboleth')) ?>
<?php helpbutton("text", get_string("helptext")) ?>
</TD>
</TR>
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string("auth_shib_convert_data", "auth") ?>:</td>
<td>
<input name="pluginconfig_convert_data" type="text" size="30" value="<?php echo $pluginconfig->convert_data?>">
<?
if ($pluginconfig->convert_data && $pluginconfig->convert_data != '' && !is_readable($pluginconfig->convert_data)){
echo '<br><font color="red">';
print_string("auth_shib_convert_data_warning", "auth");
echo '</font>';
}
?>
</td>
<td><?php print_string("auth_shib_convert_data_description", "auth") ?></td>
</td>
</tr>
+59
View File
@@ -0,0 +1,59 @@
<?php // $Id$
// Designed to be redirected from moodle/login/index.php
require('../../config.php');
require('lib.php');
if (isloggedin()) { // Nothing to do
redirect($CFG->wwwroot.'/index.php');
}
$pluginconfig = get_config('auth/shibboleth');
// Check whether Shibboleth is configured properly
if (empty($pluginconfig->shib_user_attribute)) {
error('Shibboleth authentication (\'shib_user_attribute\') is not set up correctly. You probably haven\'t yet configured the Shibboleth authentication. Please consult the README in moodle/auth/shibboleth for further instructions on how to set up Shibboleth authentication.');
}
/// If we can find the Shibboleth attribute, save it in session and return to main login page
if (!empty($_SERVER[$pluginconfig->shib_user_attribute])) { // Shibboleth auto-login
$frm->username = $_SERVER[$pluginconfig->shib_user_attribute];
$frm->password = substr(base64_encode($_SERVER[$pluginconfig->shib_user_attribute]),0,8);
// The random password consists of the first 8 letters of the base 64 encoded user ID
// This password is never used unless the user account is converted to manual
/// Check if the user has actually submitted login data to us
if ($user = authenticate_user_login($frm->username, $frm->password)) {
// Let's get them all set up.
$USER = $user;
add_to_log(SITEID, 'user', 'login', "view.php?id=$USER->id&course=".SITEID, $USER->id, 0, $USER->id);
update_user_login_times();
set_moodle_cookie($USER->username);
set_login_session_preferences();
if (user_not_fully_set_up($USER)) {
$urltogo = $CFG->wwwroot.'/user/edit.php?id='.$USER->id.'&amp;course='.SITEID;
// We don't delete $SESSION->wantsurl yet, so we get there later
} else if (isset($SESSION->wantsurl) and (strpos($SESSION->wantsurl, $CFG->wwwroot) === 0)) {
$urltogo = $SESSION->wantsurl; /// Because it's an address in this site
unset($SESSION->wantsurl);
} else {
$urltogo = $CFG->wwwroot.'/'; /// Go to the standard home page
unset($SESSION->wantsurl); /// Just in case
}
redirect($urltogo);
}
}
$SESSION->shibboleth_checked = true; // This will stop us bouncing back here
redirect($CFG->wwwroot.'/login/index.php');
?>
+50 -21
View File
@@ -3,24 +3,23 @@
//28.10.2004 SHIBBOLETH Authentication functions v.0.1
//Distributed under GPL (c)Markus Hagman 2004-
function auth_user_login ($username, $password) {
function auth_user_login($username, $password) {
global $CFG;
if($_SERVER[$CFG->shib_user_attribute] == $username) {
return true;
}
// Returns false if the username doesn't exist yet
// Returns true if the username and password work
if ($user = get_user_info_from_db("username", $username)) {
if($user->auth == "shibboleth") {
return false;
exit;
} else {
return ($user->password == md5($password));
exit;
}
}
return false;
$pluginconfig = get_config('auth/shibboleth');
/// If we are in the shibboleth directory then we trust the server var
if (!empty($_SERVER[$pluginconfig->shib_user_attribute])) {
return ($_SERVER[$pluginconfig->shib_user_attribute] == $username);
}
/// If we are not, then the server is probably set to not be Shibboleth-only
/// and the user has used the normal login screen, so we redirect to the shibboleth
/// directory for a proper check
redirect($CFG->wwwroot.'/auth/shibboleth/index.php');
/// There's no point doing anything further here
exit;
}
function auth_get_userinfo($username) {
@@ -28,33 +27,63 @@ function auth_get_userinfo($username) {
global $CFG;
$config = (array)$CFG;
$pluginconfig = get_config('auth/shibboleth');
// Check whether we have got all the essential attributes
if (
empty($_SERVER[$pluginconfig->shib_user_attribute])
|| empty($_SERVER[$pluginconfig->field_map_firstname])
|| empty($_SERVER[$pluginconfig->field_map_lastname])
|| empty($_SERVER[$pluginconfig->field_map_email])
) {
error("Moodle needs certain Shibboleth attributes which are not present in your case. The attributes are: '".$pluginconfig->shib_user_attribute."' ('".$_SERVER[$pluginconfig->shib_user_attribute]."'), '".$pluginconfig->field_map_firstname."' ('".$_SERVER[$pluginconfig->field_map_firstname]."'), '".$pluginconfig->field_map_lastname."' ('".$_SERVER[$pluginconfig->field_map_lastname]."') and '".$pluginconfig->field_map_email."' ('".$_SERVER[$pluginconfig->field_map_email]."')<br>Please contact your Identity Service Provider.");
}
$attrmap = auth_shib_attributes();
$result = array();
$search_attribs = array();
foreach ($attrmap as $key=>$value) {
$result[$key]=$_SERVER[$value];
$result[$key]=utf8_decode($_SERVER[$value]);
}
// Provide an API to modify the information to fit the Moodle internal
// data representation
if (
$config["shib_convert_data"]
&& $config["shib_convert_data"] != ''
&& is_readable($config["shib_convert_data"])
){
// Include a custom file outside the Moodle dir to
// modify the variable $moodleattributes
include($config["shib_convert_data"]);
}
return $result;
}
function auth_shib_attributes (){
function auth_shib_attributes(){
//returns array containg attribute mappings between Moodle and shibboleth
global $CFG;
$config = (array)$CFG;
$pluginconfig = get_config('auth/shibboleth');
$pluginconfig = (array) $pluginconfig;
$fields = array("firstname", "lastname", "email", "phone1", "phone2",
"department", "address", "city", "country", "description",
"idnumber", "lang", "guid");
$moodleattributes = array();
foreach ($fields as $field) {
if ($config["auth_user_$field"]) {
$moodleattributes[$field] = $config["auth_user_$field"];
if ($pluginconfig["field_map_$field"]) {
$moodleattributes[$field] = $pluginconfig["field_map_$field"];
}
}
$moodleattributes['username']=$config["shib_user_attribute"];
return $moodleattributes;
}
?>
+7
View File
@@ -0,0 +1,7 @@
<?php
// This file must be Shibboleth protected
// Consult the README for further instructions
require_once("../../config.php");
header("Location: ".$CFG->wwwroot."/auth/shibboleth/");
?>
+22 -11
View File
@@ -30,37 +30,48 @@ Now I show the specific detailed status of every item in the process:
teacher in the restored course. See bug 2381.
19. DONE: Move blocks code to libraries and use it in a standard way. Now new
blocks are supported by scheduled backup.
20. PROG: Review the lesson module completely! Check the upgrade process to
mimic it. Pending to decide if the grade field must go to the score
one when restoring old files!! (sent to Michael, Mark and Martin).
20. DONE: Review the lesson module completely! Check the upgrade process to
mimic it.
21. DONE: Review the workshop module completely! Check the upgrade process to
mimic it.
22. PROG: Review the wiki module fully. Now the wiki backup & restore seems to
22. DONE: Review the wiki module fully. Now the wiki backup & restore seems to
be working fine. About binary contents loaded directly to DB, I
haven't found HOW TO LOAD them. I've opened Bug 2634 to see if
somebody can tell me how to reproduce it!
somebody can tell me how to reproduce it! After chat with MD, the
option to upload everything to filesystem seems to be the correct
approach. Sent to the bug.
23. DONE: Add support for metacourses in backup and restore. Show a new option
to decide what to do (ignore, process).
24. DONE: Take out THEME from backup directory.
25. DONE: Add support for forum_read table in backup and restore.
26. DONE: chat_users->course and chat_users->lang. No changes required!
27. PROG: Make the backup/restore/config/logs/index.php XHTML 1.0 Transitional.
27. DONE: Make the backup/restore/config/logs/index.php XHTML 1.0 Transitional.
Done in manual backups, config, logs and restore.
28. DONE: Add course->theme, groups->them and user->theme. If no present,
default blank.
29. DONE: Add support for block instances in modules. Bug 2517. By Jon.
30. DELAY:Add support for user->dstpreset. After talking with Jon, delayed
30. DONE: Add support for user->dstpreset. After talking with Jon, delayed
because there isn't possible to recode it to destination server. But
sometime we should think in a solution (STAMPS or CHECKSUMS of DSTs).
Not needed due to the final timezone/dst schema (it uses common names
consistent between servers). PJ. Skipped.
31. DONE: Change mail's priority (bug 2647) if something goes wrong in scheduled backups.
32. DONE: quiz_questions->hidden and quiz_responses->originalquestion
33. DONE: quiz_question_version
34. DONE: Group images aren't included at all in backup/restore. Bug 2674.
35. DONE: New glossary log action: "view_entry".
36. PROG: Add support for quiz log action: "editquestions". Bug 2778 pending!
36. DONE: Add support for quiz log action: "editquestions".
37. DONE: Convert module ids in every Wiki reference to other activities.
38. DONE: Convert every wiki formatted text to markdown. Bye, wikies! ;-)
39. TODO: Add backup/restore of new grade tables.
39. DONE: Add backup/restore of new grade tables.
40. DONE: event->repeatid.
41. DONE: Add support to forum_track_prefs table. Not necessary. MD. Skipped.
42. DONE: Add user->trackforums (MD did).
43. DONE: Add forum->trackingtype
44. TODO: Review SCORM module. Bug 3404 seems to break restore.
45. DONE: Modify QUIZ module restore for pre1.5 courses (Eloy)
46. TODO: Modify QUIZ module 1.5 <==> 1.5 backup & restore (Gustav's team)
47. DONE: Orphan categories thing in quiz module need final solution. Bug 2459 is 95% solved.
(only a nice interface is required to re-assign site categories to other courses).
Eloy (stronk7)
23-01-2004
Maintained by Eloy (stronk7)
+8
View File
@@ -270,6 +270,14 @@
}
}
//Print gradebook info
if ($status) {
echo "<li>".get_string("writinggradebookinfo").'</li>';
if (!$status = backup_gradebook_info($backup_file,$preferences)) {
notify("An error occurred while backing up gradebook");
}
}
//Module info, this unique function makes all the work!!
//db export and module fileis copy
if ($status) {
+1 -1
View File
@@ -166,7 +166,7 @@
else {
echo '<input type="hidden" name="backup_logs" value="0" />';
}
if (empty($to)) {
//Now print the User Files tr
echo "<tr>";
+6
View File
@@ -634,6 +634,12 @@ function schedule_backup_course_execute($preferences,$starttime = 0) {
$status = backup_events_info($backup_file,$preferences);
}
//Print gradebook info
if ($status) {
schedule_backup_log($starttime,$preferences->backup_course," gradebook");
$status = backup_gradebook_info($backup_file,$preferences);
}
//Module info, this unique function makes all the work!!
//db export and module fileis copy
if ($status) {
+190 -98
View File
@@ -2,104 +2,6 @@
//This file contains all the function needed in the backup utility
//except the mod-related funtions that are into every backuplib.php inside
//every mod directory
//Insert necessary category ids to backup_ids table
function insert_category_ids ($course,$backup_unique_code) {
global $CFG;
//Create missing categories and reasign orphaned questions
fix_orphaned_questions($course);
//Detect used categories (by category in questions)
$status = execute_sql("INSERT INTO {$CFG->prefix}backup_ids
(backup_code, table_name, old_id)
SELECT DISTINCT $backup_unique_code,'quiz_categories',t.category
FROM {$CFG->prefix}quiz_questions t,
{$CFG->prefix}quiz_question_grades g,
{$CFG->prefix}quiz q
WHERE q.course = '$course' AND
g.quiz = q.id AND
g.question = t.id",false);
//Now, foreach detected category, we look for their parents upto 0 (top category)
$categories = get_records_sql("SELECT old_id, old_id
FROM {$CFG->prefix}backup_ids
WHERE backup_code = $backup_unique_code AND
table_name = 'quiz_categories'");
if ($categories) {
foreach ($categories as $category) {
if ($dbcat = get_record('quiz_categories','id',$category->old_id)) {
//echo $dbcat->name; //Debug
//Go up to 0
while ($dbcat->parent != 0) {
//echo '->'; //Debug
$current = $dbcat->id;
if ($dbcat = get_record('quiz_categories','id',$dbcat->parent)) {
//Found parent, add it to backup_ids (by using backup_putid
//we ensure no duplicates!)
$status = backup_putid($backup_unique_code,'quiz_categories',$dbcat->id,0);
//echo $dbcat->name; //Debug
} else {
//Parent not found, fix it (set its parent to 0)
set_field ('quiz_categories','parent',0,'id',$current);
//echo 'assigned to top!'; //Debug
}
}
//echo '<br />'; //Debug
}
}
}
return $status;
}
//This function is used to detect orphaned questions (pointing to a
//non existing category) and to recreate such category. This function
//is used by the backup process, to ensure consistency and should be
//executed in the upgrade process and, perhaps in the health center.
function fix_orphaned_questions ($course) {
global $CFG;
$categories = get_records_sql("SELECT DISTINCT t.category, t.category
FROM {$CFG->prefix}quiz_questions t,
{$CFG->prefix}quiz_question_grades g,
{$CFG->prefix}quiz q
WHERE q.course = '$course' AND
g.quiz = q.id AND
g.question = t.id",false);
if ($categories) {
foreach ($categories as $key => $category) {
$exist = get_record('quiz_categories','id', $key);
//If the category doesn't exist
if (!$exist) {
//Build a new category
$db_cat->course = $course;
$db_cat->name = get_string('recreatedcategory','',$key);
$db_cat->info = get_string('recreatedcategory','',$key);
$db_cat->publish = 1;
$db_cat->stamp = make_unique_id_code();
//Insert the new category
$catid = insert_record('quiz_categories',$db_cat);
unset ($db_cat);
if ($catid) {
//Reasign orphaned questions to their new category
set_field ('quiz_questions','category',$catid,'category',$key);
}
}
}
}
}
//Delete category ids from backup_ids table
function delete_category_ids ($backup_unique_code) {
global $CFG;
$status = true;
$status = execute_sql("DELETE FROM {$CFG->prefix}backup_ids
WHERE backup_code = '$backup_unique_code'",false);
return $status;
}
//Calculate the number of users to backup and put their ids in backup_ids
//Return an array of info (name,value)
@@ -1125,6 +1027,7 @@
fwrite ($bf,full_tag("MAILDISPLAY",4,false,$user_data->maildisplay));
fwrite ($bf,full_tag("HTMLEDITOR",4,false,$user_data->htmleditor));
fwrite ($bf,full_tag("AUTOSUBSCRIBE",4,false,$user_data->autosubscribe));
fwrite ($bf,full_tag("TRACKFORUMS",4,false,$user_data->trackforums));
fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$user_data->timemodified));
//Output every user role (with its associated info)
@@ -1313,6 +1216,194 @@
return $status;
}
//Backup gradebook info
function backup_gradebook_info($bf,$preferences) {
global $CFG;
$status = true;
//Gradebook header
fwrite ($bf,start_tag("GRADEBOOK",2,true));
//Output grade_preferences
$grade_preferences = get_records("grade_preferences", "courseid", $preferences->backup_course);
if ($grade_preferences) {
//Begin grade_preferences tag
fwrite ($bf,start_tag("GRADE_PREFERENCES",3,true));
//Iterate for each preference
foreach ($grade_preferences as $grade_preference) {
//Begin grade_preference
fwrite ($bf,start_tag("GRADE_PREFERENCE",4,true));
//Output individual fields
fwrite ($bf,full_tag("ID",5,false,$grade_preference->id));
fwrite ($bf,full_tag("PREFERENCE",5,false,$grade_preference->preference));
fwrite ($bf,full_tag("VALUE",5,false,$grade_preference->value));
//End grade_preference
fwrite ($bf,end_tag("GRADE_PREFERENCE",4,true));
}
//End grade_preferences tag
$status = fwrite ($bf,end_tag("GRADE_PREFERENCES",3,true));
}
//Output grade_letter
$grade_letters = get_records("grade_letter", "courseid", $preferences->backup_course);
if ($grade_letters) {
//Begin grade_letters tag
fwrite ($bf,start_tag("GRADE_LETTERS",3,true));
//Iterate for each letter
foreach ($grade_letters as $grade_letter) {
//Begin grade_letter
fwrite ($bf,start_tag("GRADE_LETTER",4,true));
//Output individual fields
fwrite ($bf,full_tag("ID",5,false,$grade_letter->id));
fwrite ($bf,full_tag("LETTER",5,false,$grade_letter->letter));
fwrite ($bf,full_tag("GRADE_HIGH",5,false,$grade_letter->grade_high));
fwrite ($bf,full_tag("GRADE_LOW",5,false,$grade_letter->grade_low));
//End grade_letter
fwrite ($bf,end_tag("GRADE_LETTER",4,true));
}
//End grade_letters tag
$status = fwrite ($bf,end_tag("GRADE_LETTERS",3,true));
}
//Output grade_category
$grade_categories = get_records("grade_category", "courseid", $preferences->backup_course);
if ($grade_categories) {
//Begin grade_categories tag
fwrite ($bf,start_tag("GRADE_CATEGORIES",3,true));
//Iterate for each category
foreach ($grade_categories as $grade_category) {
//Begin grade_category
fwrite ($bf,start_tag("GRADE_CATEGORY",4,true));
//Output individual fields
fwrite ($bf,full_tag("ID",5,false,$grade_category->id));
fwrite ($bf,full_tag("NAME",5,false,$grade_category->name));
fwrite ($bf,full_tag("DROP_X_LOWEST",5,false,$grade_category->drop_x_lowest));
fwrite ($bf,full_tag("BONUS_POINTS",5,false,$grade_category->bonus_points));
fwrite ($bf,full_tag("HIDDEN",5,false,$grade_category->hidden));
fwrite ($bf,full_tag("WEIGHT",5,false,$grade_category->weight));
//Now backup grade_item (inside grade_category)
$status = backup_gradebook_item_info($bf,$preferences,$grade_category->id);
//End grade_category
fwrite ($bf,end_tag("GRADE_CATEGORY",4,true));
}
//End grade_categories tag
$status = fwrite ($bf,end_tag("GRADE_CATEGORIES",3,true));
}
//Gradebook footer
$status = fwrite ($bf,end_tag("GRADEBOOK",2,true));
return $status;
}
//Backup gradebook_item (called from backup_gradebook_info
function backup_gradebook_item_info($bf,$preferences,$gradecategoryid) {
global $CFG;
$status = true;
//Output grade_item (only for modules included in backup)
$grade_items = get_records_sql("SELECT *
FROM {$CFG->prefix}grade_item
WHERE courseid = $preferences->backup_course AND
category = $gradecategoryid");
//Filter items about modules not included in backup
$inc_grade_items = array();
if ($grade_items) {
foreach ($grade_items as $grade_item) {
//Get modulename
$rec_module = get_record("modules", "id", $grade_item->modid);
//If it exists and it's included in backup
if ($rec_module && $preferences->mods[$rec_module->name]->backup == 1) {
//Set the name and add it
$grade_item->module_name = $rec_module->name;
$inc_grade_items[] = $grade_item;
} else {
if ($CFG->debug > 7) {
echo "skipping $grade_item->modid"."-"."$rec_module->name<br />";
}
}
}
}
if ($inc_grade_items) {
//Begin grade_items tag
fwrite ($bf,start_tag("GRADE_ITEMS",5,true));
//Iterate for each item
foreach ($inc_grade_items as $grade_item) {
//Begin grade_item
fwrite ($bf,start_tag("GRADE_ITEM",6,true));
//Output individual fields
fwrite ($bf,full_tag("MODULE_NAME",7,false,$grade_item->module_name));
fwrite ($bf,full_tag("CMINSTANCE",7,false,$grade_item->cminstance));
fwrite ($bf,full_tag("SCALE_GRADE",7,false,$grade_item->scale_grade));
fwrite ($bf,full_tag("EXTRA_CREDIT",7,false,$grade_item->extra_credit));
fwrite ($bf,full_tag("SORT_ORDER",7,false,$grade_item->sort_order));
//Now backup grade_exceptions (inside grade_item)
$status = backup_gradebook_exceptions_info($bf,$preferences,$grade_item->id);
//End grade_item
fwrite ($bf,end_tag("GRADE_ITEM",6,true));
}
//End grade_items tag
$status = fwrite ($bf,end_tag("GRADE_ITEMS",5,true));
}
return $status;
}
//Backup gradebook_exceptions (called from backup_gradebook_item_info
function backup_gradebook_exceptions_info($bf,$preferences,$gradeitemid) {
global $CFG;
$status = true;
//Output grade_exceptions (only for users included in backup)
$grade_exceptions = get_records_sql("SELECT *
FROM {$CFG->prefix}grade_exceptions
WHERE courseid = $preferences->backup_course AND
grade_itemid = $gradeitemid");
//Filter exceptions about users not included in backup
$inc_grade_exceptions = array();
if ($grade_exceptions) {
foreach ($grade_exceptions as $grade_exception) {
//Check if user has been included in backup
$rec_user = get_record ("backup_ids","backup_code",$preferences->backup_unique_code,
"table_name","user",
"old_id",$grade_exception->userid);
//If it's included in backup
if ($rec_user) {
//Add it
$inc_grade_exceptions[] = $grade_exception;
} else {
if ($CFG->debug > 7) {
echo "skipping $grade_exception->userid"."-user<br />";
}
}
}
}
if ($inc_grade_exceptions) {
//Begin grade_exceptions tag
fwrite ($bf,start_tag("GRADE_EXCEPTIONS",7,true));
//Iterate for each exception
foreach ($inc_grade_exceptions as $grade_exception) {
//Begin grade_exception
fwrite ($bf,start_tag("GRADE_EXCEPTION",8,true));
//Output individual fields
fwrite ($bf,full_tag("USERID",9,false,$grade_exception->userid));
//End grade_exception
fwrite ($bf,end_tag("GRADE_EXCEPTION",8,true));
}
//End grade_exceptions tag
$status = fwrite ($bf,end_tag("GRADE_EXCEPTIONS",7,true));
}
return $status;
}
//Backup scales info (common and course scales)
function backup_scales_info($bf,$preferences) {
@@ -1392,6 +1483,7 @@
fwrite ($bf,full_tag("FORMAT",4,false,$event->format));
fwrite ($bf,full_tag("GROUPID",4,false,$event->groupid));
fwrite ($bf,full_tag("USERID",4,false,$event->userid));
fwrite ($bf,full_tag("REPEATID",4,false,$event->repeatid));
fwrite ($bf,full_tag("EVENTTYPE",4,false,$event->eventtype));
fwrite ($bf,full_tag("TIMESTART",4,false,$event->timestart));
fwrite ($bf,full_tag("TIMEDURATION",4,false,$event->timeduration));
+8
View File
@@ -129,7 +129,15 @@
}
} else if ($launch == "check") {
include_once("restore_check.html");
//To avoid multiple restore executions...
$SESSION->cancontinue = true;
} else if ($launch == "execute") {
//Prevent multiple restore executions...
if (empty($SESSION->cancontinue)) {
error("Multiple restore execution not allowed!");
}
//Unset this for the future
unset($SESSION->cancontinue);
include_once("restore_execute.html");
}
print_simple_box_end();
+8
View File
@@ -290,6 +290,14 @@
}
}
//Now create gradebook as needed -- AFTER modules!!!
if ($status) {
echo "<li>".get_string("creatinggradebook");
if (!$status = restore_create_gradebook($restore,$xml_file)) {
notify("Could not restore gradebook!");
}
}
//Bring back the course blocks -- do it AFTER the modules!!!
if($status) {
//If we are deleting and bringing into a course or making a new course, same situation
+517 -29
View File
@@ -189,6 +189,15 @@
return $info;
}
//This function read the xml file and store its data from the gradebook in a object
function restore_read_xml_gradebook ($restore, $xml_file) {
//We call the main read_xml function, with todo = GRADEBOOK
$info = restore_read_xml ($xml_file,"GRADEBOOK",$restore);
return $info;
}
//This function read the xml file and store its data from the users in
//backup_ids->info db (and user's id in $info)
function restore_read_xml_users ($restore,$xml_file) {
@@ -542,6 +551,44 @@
return $status;
}
/**
* Returns the best quiz category (id) found to restore one
* quiz category from a backup file. Works by stamp (since Moodle 1.1)
* or by name (for older versions).
*
* @param object $cat the quiz_categories record to be searched
* @param integer $courseid the course where we are restoring
* @return integer the id of a existing quiz_category or 0 (not found)
*/
function restore_get_best_quiz_category($cat, $courseid) {
$found = 0;
//Decide how to work (by stamp or name)
if ($cat->stamp) {
$searchfield = 'stamp';
$searchvalue = $cat->stamp;
} else {
$searchfield = 'name';
$searchvalue = $cat->name;
}
//First shot. Try to get the category from the course being restored
if ($fcat = get_record('quiz_categories','course',$courseid,$searchfield,$searchvalue)) {
$found = $fcat->id;
//Second shot. Try to obtain any concordant category and check its publish status and editing rights
} else if ($fcats = get_records('quiz_categories', $searchfield, $searchvalue, 'id', 'id, publish, course')) {
foreach ($fcats as $fcat) {
if ($fcat->publish == 1 && isteacheredit($fcat->course)) {
$found = $fcat->id;
break;
}
}
}
return $found;
}
//This function creates all the block stuff when restoring courses
//It calls selectively to restore_create_block_instances() for 1.5
//and above backups. Upwards compatible with old blocks.
@@ -927,6 +974,288 @@
return $status;
}
//This function creates all the gradebook data from xml, notifying
//about each incidence
function restore_create_gradebook($restore,$xml_file) {
global $CFG,$db;
$status = true;
//Check it exists
if (!file_exists($xml_file)) {
$status = false;
}
//Get info from xml
if ($status) {
//info will contain the number of record to process
$info = restore_read_xml_gradebook($restore, $xml_file);
//If we have info, then process preferences, letters & categories
if ($info > 0) {
//Count how many we have
$preferencescount = count_records ('backup_ids', 'backup_code', $restore->backup_unique_code, 'table_name', 'grade_preferences');
$letterscount = count_records ('backup_ids', 'backup_code', $restore->backup_unique_code, 'table_name', 'grade_letter');
$categoriescount = count_records ('backup_ids', 'backup_code', $restore->backup_unique_code, 'table_name', 'grade_category');
if ($preferencescount || $letterscount || $categoriescount) {
//Start ul
echo '<ul>';
//Number of records to get in every chunk
$recordset_size = 2;
//Flag to mark if we must continue
$continue = true;
//If there aren't preferences, stop
if (!$preferencescount) {
$continue = false;
echo '<li>'.get_string('backupwithoutgradebook','grade').'</li>';
}
//If we are restoring to an existing course and it has advanced disabled, stop
if ($restore->restoreto != 2) {
//Fetch the 'use_advanced' preferences (id = 0)
if ($pref_rec = get_record('grade_preferences','courseid',$restore->course_id,'preference',0)) {
if ($pref_rec->value == 0) {
$continue = false;
echo '<li>'.get_string('respectingcurrentdata','grade').'</li>';
}
}
}
//Process preferences
if ($preferencescount && $continue) {
echo '<li>'.get_string('preferences','grades').'</li>';
$counter = 0;
while ($counter < $preferencescount) {
//Fetch recordset_size records in each iteration
$recs = get_records_select("backup_ids","table_name = 'grade_preferences' AND backup_code = '$restore->backup_unique_code'",
"old_id",
"old_id, old_id",
$counter,
$recordset_size);
if ($recs) {
foreach ($recs as $rec) {
//Get the full record from backup_ids
$data = backup_getid($restore->backup_unique_code,'grade_preferences',$rec->old_id);
if ($data) {
//Now get completed xmlized object
$info = $data->info;
//traverse_xmlize($info); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now build the GRADE_PREFERENCES record structure
$dbrec->courseid = $restore->course_id;
$dbrec->preference = backup_todb($info['GRADE_PREFERENCE']['#']['PREFERENCE']['0']['#']);
$dbrec->value = backup_todb($info['GRADE_PREFERENCE']['#']['VALUE']['0']['#']);
//Structure is equal to db, insert record
//if the preference doesn't exist
if (!$prerec = get_record('grade_preferences','courseid',$dbrec->courseid,'preference',$dbrec->preference)) {
$status = insert_record('grade_preferences',$dbrec);
}
//Do some output
$counter++;
if ($counter % 1 == 0) {
echo ".";
if ($counter % 20 == 0) {
echo "<br />";
}
backup_flush(300);
}
}
}
}
}
}
//Process letters
//If destination course has letters, skip restoring letters
$hasletters = get_records('grade_letter', 'courseid', $restore->course_id);
if ($preferencescount && $continue && !$hasletters) {
echo '<li>'.get_string('letters','grades').'</li>';
$counter = 0;
while ($counter < $letterscount) {
//Fetch recordset_size records in each iteration
$recs = get_records_select("backup_ids","table_name = 'grade_letter' AND backup_code = '$restore->backup_unique_code'",
"old_id",
"old_id, old_id",
$counter,
$recordset_size);
if ($recs) {
foreach ($recs as $rec) {
//Get the full record from backup_ids
$data = backup_getid($restore->backup_unique_code,'grade_letter',$rec->old_id);
if ($data) {
//Now get completed xmlized object
$info = $data->info;
//traverse_xmlize($info); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now build the GRADE_LETTER record structure
$dbrec->courseid = $restore->course_id;
$dbrec->letter = backup_todb($info['GRADE_LETTER']['#']['LETTER']['0']['#']);
$dbrec->grade_high = backup_todb($info['GRADE_LETTER']['#']['GRADE_HIGH']['0']['#']);
$dbrec->grade_low = backup_todb($info['GRADE_LETTER']['#']['GRADE_LOW']['0']['#']);
//Structure is equal to db, insert record
$status = insert_record('grade_letter',$dbrec);
//Do some output
$counter++;
if ($counter % 1 == 0) {
echo ".";
if ($counter % 20 == 0) {
echo "<br />";
}
backup_flush(300);
}
}
}
}
}
}
//Process categories
if ($categoriescount && $continue) {
echo '<li>'.get_string('categories','grades').'</li>';
$counter = 0;
$countercat = 0;
while ($countercat < $categoriescount) {
//Fetch recordset_size records in each iteration
$recs = get_records_select("backup_ids","table_name = 'grade_category' AND backup_code = '$restore->backup_unique_code'",
"old_id",
"old_id, old_id",
$counter,
$recordset_size);
if ($recs) {
foreach ($recs as $rec) {
//Get the full record from backup_ids
$data = backup_getid($restore->backup_unique_code,'grade_category',$rec->old_id);
if ($data) {
//Now get completed xmlized object
$info = $data->info;
//traverse_xmlize($info); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now build the GRADE_CATEGORY record structure
$dbrec->courseid = $restore->course_id;
$dbrec->name = backup_todb($info['GRADE_CATEGORY']['#']['NAME']['0']['#']);
$dbrec->drop_x_lowest= backup_todb($info['GRADE_CATEGORY']['#']['DROP_X_LOWEST']['0']['#']);
$dbrec->bonus_points = backup_todb($info['GRADE_CATEGORY']['#']['BONUS_POINTS']['0']['#']);
$dbrec->hidden = backup_todb($info['GRADE_CATEGORY']['#']['HIDDEN']['0']['#']);
$dbrec->weight = backup_todb($info['GRADE_CATEGORY']['#']['WEIGHT']['0']['#']);
//If the grade_category exists in the course (by name), don't insert anything
$catex = get_record('grade_category','courseid',$dbrec->courseid,'name',$dbrec->name);
if (!$catex) {
//Structure is equal to db, insert record
$categoryid = insert_record('grade_category',$dbrec);
} else {
//Simply remap category
$categoryid = $catex->id;
}
//Now, restore grade_item
$items = $info['GRADE_CATEGORY']['#']['GRADE_ITEMS']['0']['#']['GRADE_ITEM'];
//Iterate over items
for($i = 0; $i < sizeof($items); $i++) {
$ite_info = $items[$i];
//traverse_xmlize($ite_info); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now build the GRADE_ITEM record structure
$item->courseid = $restore->course_id;
$item->category = $categoryid;
$item->module_name = backup_todb($ite_info['#']['MODULE_NAME']['0']['#']);
$item->cminstance = backup_todb($ite_info['#']['CMINSTANCE']['0']['#']);
$item->scale_grade = backup_todb($ite_info['#']['SCALE_GRADE']['0']['#']);
$item->extra_credit = backup_todb($ite_info['#']['EXTRA_CREDIT']['0']['#']);
$item->sort_order = backup_todb($ite_info['#']['SORT_ORDER']['0']['#']);
//Check that the module has been included in the restore
if ($restore->mods[$item->module_name]->restore) {
//Get the id of the moduletype
if ($module = get_record('modules','name',$item->module_name)) {
$item->modid = $module->id;
//Get the instance id
if ($instance = backup_getid($restore->backup_unique_code,$item->module_name,$item->cminstance)) {
$item->cminstance = $instance->new_id;
//Structure is equal to db, insert record
$itemid = insert_record('grade_item',$item);
//Now process grade_exceptions
$exceptions = $ite_info['#']['GRADE_EXCEPTIONS']['0']['#']['GRADE_EXCEPTION'];
//Iterate over exceptions
for($j = 0; $j < sizeof($exceptions); $j++) {
$exc_info = $exceptions[$j];
//traverse_xmlize($exc_info); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now build the GRADE_EXCEPTIONS record structure
$exception->courseid = $restore->course_id;
$exception->grade_itemid = $itemid;
$exception->userid = backup_todb($exc_info['#']['USERID']['0']['#']);
//We have to recode the useridto field
$user = backup_getid($restore->backup_unique_code,"user",$exception->userid);
if ($user) {
$exception->userid = $user->new_id;
//Structure is equal to db, insert record
$exceptionid = insert_record('grade_exceptions',$exception);
//Do some output
$counter++;
if ($counter % 20 == 0) {
echo ".";
if ($counter % 400 == 0) {
echo "<br />";
}
backup_flush(300);
}
}
}
}
}
}
}
//Re-sort all the grade_items because we can have duplicates
if ($grade_items = get_records ('grade_item','courseid',$restore->course_id,'sort_order','id,sort_order')) {
$order = 1;
foreach ($grade_items as $grade_item) {
$grade_item->sort_order = $order;
set_field ('grade_item','sort_order',$grade_item->sort_order,'id',$grade_item->id);
$order++;
}
}
//Do some output
$countercat++;
if ($countercat % 1 == 0) {
echo ".";
if ($countercat % 20 == 0) {
echo "<br />";
}
backup_flush(300);
}
}
}
}
}
}
//End ul
echo '</ul>';
}
}
}
return $status;
}
//This function creates all the user, user_students, user_teachers
//user_course_creators and user_admins from xml
function restore_create_users($restore,$xml_file) {
@@ -1206,7 +1535,6 @@
$recordset_size = 4;
//Process unread
$db->debug=true;
if ($unreadcount) {
echo '<li>'.get_string('unreadmessages','message').'</li>';
$counter = 0;
@@ -1388,7 +1716,6 @@
}
//End ul
echo '</ul>';
$db->debug=true;
}
}
}
@@ -1575,7 +1902,7 @@
//Iterate over each group
foreach ($groups as $group) {
//Get record from backup_ids
$data = backup_getid($restore->backup_unique_code,"group",$group->id);
$data = backup_getid($restore->backup_unique_code,"groups",$group->id);
//Init variables
$create_group = false;
@@ -1738,6 +2065,7 @@
$eve->courseid = $restore->course_id;
$eve->groupid = backup_todb($info['EVENT']['#']['GROUPID']['0']['#']);
$eve->userid = backup_todb($info['EVENT']['#']['USERID']['0']['#']);
$eve->repeatid = backup_todb($info['EVENT']['#']['REPEATID']['0']['#']);
$eve->modulename = "";
$eve->instance = 0;
$eve->eventtype = backup_todb($info['EVENT']['#']['EVENTTYPE']['0']['#']);
@@ -1764,8 +2092,22 @@
//Assign it to admin
$eve->userid = $adminid;
}
//We must recode the repeatid if the event has it
if (!empty($eve->repeatid)) {
$repeat_rec = backup_getid($restore->backup_unique_code,"event_repeatid",$eve->repeatid);
if ($repeat_rec) { //Exists, so use it...
$eve->repeatid = $repeat_rec->new_id;
} else { //Doesn't exists, calculate the next and save it
$oldrepeatid = $eve->repeatid;
$max_rec = get_record_sql('SELECT 1, MAX(repeatid) AS repeatid FROM '.$CFG->prefix.'event');
$eve->repeatid = empty($max_rec) ? 1 : $max_rec->repeatid + 1;
backup_putid($restore->backup_unique_code,"event_repeatid", $oldrepeatid, $eve->repeatid);
}
}
//We have to recode the groupid field
$group = backup_getid($restore->backup_unique_code,"group",$eve->groupid);
$group = backup_getid($restore->backup_unique_code,"groups",$eve->groupid);
if ($group) {
$eve->groupid = $group->new_id;
} else {
@@ -2515,6 +2857,31 @@
//if ($this->tree[3] == "METACOURSE") //Debug
// echo $this->level.str_repeat("&nbsp;",$this->level*2)."&lt;".$tagName."&gt;<br />\n"; //Debug
}
//This is the startTag handler we use where we are reading the gradebook zone (todo="GRADEBOOK")
function startElementGradebook($parser, $tagName, $attrs) {
//Refresh properties
$this->level++;
$this->tree[$this->level] = $tagName;
//Output something to avoid browser timeouts...
backup_flush();
//Check if we are into GRADEBOOK zone
//if ($this->tree[3] == "GRADEBOOK") //Debug
// echo $this->level.str_repeat("&nbsp;",$this->level*2)."&lt;".$tagName."&gt;<br />\n"; //Debug
//If we are under a GRADE_PREFERENCE, GRADE_LETTER or GRADE_CATEGORY tag under a GRADEBOOK zone, accumule it
if (isset($this->tree[5]) and isset($this->tree[3])) {
if (($this->tree[5] == "GRADE_PREFERENCE" || $this->tree[5] == "GRADE_LETTER" || $this->tree[5] == "GRADE_CATEGORY" ) && ($this->tree[3] == "GRADEBOOK")) {
if (!isset($this->temp)) {
$this->temp = "";
}
$this->temp .= "<".$tagName.">";
}
}
}
//This is the startTag handler we use where we are reading the user zone (todo="USERS")
@@ -2804,17 +3171,17 @@
}
}
//Stop parsing if todo = INFO and tagName = INFO (en of the tag, of course)
//Speed up a lot (avoid parse all)
if ($tagName == "INFO") {
$this->finished = true;
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
//Stop parsing if todo = INFO and tagName = INFO (en of the tag, of course)
//Speed up a lot (avoid parse all)
if ($tagName == "INFO") {
$this->finished = true;
}
}
//This is the endTag handler we use where we are reading the course_header zone (todo="COURSE_HEADER")
@@ -2939,19 +3306,21 @@
}
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
//Stop parsing if todo = COURSE_HEADER and tagName = HEADER (en of the tag, of course)
//Speed up a lot (avoid parse all)
if ($tagName == "HEADER") {
$this->finished = true;
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the sections zone (todo="SECTIONS")
//This is the endTag handler we use where we are reading the sections zone (todo="BLOCKS")
function endElementBlocks($parser, $tagName) {
//Check if we are into BLOCKS zone
if ($this->tree[3] == 'BLOCKS') {
@@ -2996,10 +3365,6 @@
}
}
}
//Clear things
$this->tree[$this->level] = '';
$this->level--;
$this->content = "";
//Stop parsing if todo = BLOCKS and tagName = BLOCKS (en of the tag, of course)
//Speed up a lot (avoid parse all)
@@ -3008,6 +3373,11 @@
if ($this->tree[3] == 'BLOCKS' && $tagName == 'BLOCKS') {
$this->finished = true;
}
//Clear things
$this->tree[$this->level] = '';
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the sections zone (todo="SECTIONS")
@@ -3097,16 +3467,18 @@
}
}
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
//Stop parsing if todo = SECTIONS and tagName = SECTIONS (en of the tag, of course)
//Speed up a lot (avoid parse all)
if ($tagName == "SECTIONS") {
$this->finished = true;
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the metacourse zone (todo="METACOURSE")
@@ -3147,18 +3519,122 @@
}
}
}
//Clear things
$this->tree[$this->level] = '';
$this->level--;
$this->content = "";
//Stop parsing if todo = METACOURSE and tagName = METACOURSE (en of the tag, of course)
//Speed up a lot (avoid parse all)
if ($this->tree[3] == 'METACOURSE' && $tagName == 'METACOURSE') {
$this->finished = true;
}
//Clear things
$this->tree[$this->level] = '';
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the gradebook zone (todo="GRADEBOOK")
function endElementGradebook($parser, $tagName) {
//Check if we are into GRADEBOOK zone
if ($this->tree[3] == "GRADEBOOK") {
//if (trim($this->content)) //Debug
// echo "C".str_repeat("&nbsp;",($this->level+2)*2).$this->getContents()."<br />\n"; //Debug
//echo $this->level.str_repeat("&nbsp;",$this->level*2)."&lt;/".$tagName."&gt;<br />\n";//Debug
//Acumulate data to info (content + close tag)
//Reconvert: strip htmlchars again and trim to generate xml data
if (!isset($this->temp)) {
$this->temp = "";
}
$this->temp .= htmlspecialchars(trim($this->content))."</".$tagName.">";
//We have finished preferences, letters or categories, reset accumulated
//data because they are close tags
if ($this->level == 4) {
$this->temp = "";
}
//If we've finished a message, xmlize it an save to db
if (($this->level == 5) and ($tagName == "GRADE_PREFERENCE")) {
//Prepend XML standard header to info gathered
$xml_data = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n".$this->temp;
//Call to xmlize for this portion of xml data (one PREFERENCE)
//echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug
$data = xmlize($xml_data,0);
//echo strftime ("%X",time())."<p>"; //Debug
//traverse_xmlize($data); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now, save data to db. We'll use it later
//Get id and status from data
$preference_id = $data["GRADE_PREFERENCE"]["#"]["ID"]["0"]["#"];
$this->counter++;
//Save to db
$status = backup_putid($this->preferences->backup_unique_code, 'grade_preferences', $preference_id,
null,$data);
//Create returning info
$this->info = $this->counter;
//Reset temp
unset($this->temp);
}
//If we've finished a grade_letter, xmlize it an save to db
if (($this->level == 5) and ($tagName == "GRADE_LETTER")) {
//Prepend XML standard header to info gathered
$xml_data = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n".$this->temp;
//Call to xmlize for this portion of xml data (one LETTER)
//echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug
$data = xmlize($xml_data,0);
//echo strftime ("%X",time())."<p>"; //Debug
//traverse_xmlize($data); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now, save data to db. We'll use it later
//Get id and status from data
$letter_id = $data["GRADE_LETTER"]["#"]["ID"]["0"]["#"];
$this->counter++;
//Save to db
$status = backup_putid($this->preferences->backup_unique_code, 'grade_letter' ,$letter_id,
null,$data);
//Create returning info
$this->info = $this->counter;
//Reset temp
unset($this->temp);
}
//If we've finished a grade_category, xmlize it an save to db
if (($this->level == 5) and ($tagName == "GRADE_CATEGORY")) {
//Prepend XML standard header to info gathered
$xml_data = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n".$this->temp;
//Call to xmlize for this portion of xml data (one CATECORY)
//echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug
$data = xmlize($xml_data,0);
//echo strftime ("%X",time())."<p>"; //Debug
//traverse_xmlize($data); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
//$GLOBALS['traverse_array']=""; //Debug
//Now, save data to db. We'll use it later
//Get id and status from data
$category_id = $data["GRADE_CATEGORY"]["#"]["ID"]["0"]["#"];
$this->counter++;
//Save to db
$status = backup_putid($this->preferences->backup_unique_code, 'grade_category' ,$category_id,
null,$data);
//Create returning info
$this->info = $this->counter;
//Reset temp
unset($this->temp);
}
}
//Stop parsing if todo = GRADEBOOK and tagName = GRADEBOOK (en of the tag, of course)
//Speed up a lot (avoid parse all)
if ($tagName == "GRADEBOOK" and $this->level == 3) {
$this->finished = true;
$this->counter = 0;
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the users zone (todo="USERS")
function endElementUsers($parser, $tagName) {
@@ -3320,6 +3796,9 @@
case "AUTOSUBSCRIBE":
$this->info->tempuser->autosubscribe = $this->getContents();
break;
case "TRACKFORUMS":
$this->info->tempuser->trackforums = $this->getContents();
break;
case "TIMEMODIFIED":
$this->info->tempuser->timemodified = $this->getContents();
break;
@@ -3398,6 +3877,7 @@
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the messages zone (todo="MESSAGES")
@@ -3472,13 +3952,13 @@
if ($tagName == "MESSAGES" and $this->level == 3) {
$this->finished = true;
$this->counter = 0;
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the questions zone (todo="QUESTIONS")
@@ -3529,6 +4009,7 @@
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the scales zone (todo="SCALES")
@@ -3579,6 +4060,7 @@
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the groups zone (todo="GROUPS")
@@ -3609,7 +4091,7 @@
//Get id and from data
$group_id = $data["GROUP"]["#"]["ID"]["0"]["#"];
//Save to db
$status = backup_putid($this->preferences->backup_unique_code,"group",$group_id,
$status = backup_putid($this->preferences->backup_unique_code,"groups",$group_id,
null,$data);
//Create returning info
$ret_info->id = $group_id;
@@ -3629,6 +4111,7 @@
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the events zone (todo="EVENTS")
@@ -3679,6 +4162,7 @@
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the modules zone (todo="MODULES")
@@ -3735,6 +4219,7 @@
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag handler we use where we are reading the logs zone (todo="LOGS")
@@ -3791,13 +4276,13 @@
if ($tagName == "LOGS" and $this->level == 3) {
$this->finished = true;
$this->counter = 0;
}
//Clear things
$this->tree[$this->level] = "";
$this->level--;
$this->content = "";
}
//This is the endTag default handler we use when todo is undefined
@@ -3844,6 +4329,9 @@
} else if ($todo == "METACOURSE") {
//Define handlers to that zone
xml_set_element_handler($xml_parser, "startElementMetacourse", "endElementMetacourse");
} else if ($todo == "GRADEBOOK") {
//Define handlers to that zone
xml_set_element_handler($xml_parser, "startElementGradebook", "endElementGradebook");
} else if ($todo == "USERS") {
//Define handlers to that zone
xml_set_element_handler($xml_parser, "startElementUsers", "endElementUsers");
+2 -2
View File
@@ -5,6 +5,6 @@
// database (backup_version) to determine whether upgrades should
// be performed (see db/backup_*.php)
$backup_version = 2005041100; // The current version is a date (YYYYMMDDXX)
$backup_version = 2005060300; // The current version is a date (YYYYMMDDXX)
$backup_release = "1.5 development"; // User-friendly version number
$backup_release = "1.5"; // User-friendly version number
+51 -40
View File
@@ -42,20 +42,9 @@
font-size: 1.6em;
margin: 10px;
}
.header #doc_author {
.header #doc_author, .header #doc_version, .header #doc_translator {
text-align: right;
}
.header #doc_author:before {
content: "Author: ";
font-weight: bold;
}
.header #doc_version {
text-align: right;
}
.header #doc_version:before {
content: "Version: ";
font-weight: bold;
}
.code {
border-top: 1px #FFC85F solid;
border-left: 1px #FFC85F solid;
@@ -121,8 +110,8 @@
<div class="header">
<h1>MOODLE DEVELOPER DOCUMENTATION</h1>
<div id="doc_subject">BLOCKS</div>
<div id="doc_author">Jon Papaioannou (pj@uom.gr)</div>
<div id="doc_version">$Id$</div>
<div id="doc_author"><strong>Author:</strong> Jon Papaioannou (pj@uom.gr)</div>
<div id="doc_version"><strong>Version:</strong> $Id$</div>
</div>
<h2>A Step-by-step Guide To Creating Blocks</h2>
@@ -157,19 +146,16 @@
<pre class="code">class block_simplehtml extends block_base {
function init() {
$this->title = get_string('simplehtml', 'block_simplehtml');
$this->content_type = BLOCK_TYPE_TEXT;
$this->version = 2004111200;
}
}</pre>
<p>The first line is our block class definition; it must be named exactly in the manner shown. Again, only the "simplehtml" part can (and indeed must) change; everything else is standardized.</p>
<p>Our class is then given a small method: <a class="function_title" href="#method_init">init</a>. This is essential for all blocks, and its function is to set the three class member variables listed inside it. But what do these values actually mean? Here's a more detailed description.</p>
<p>Our class is then given a small method: <a class="function_title" href="#method_init">init</a>. This is essential for all blocks, and its purpose is to set the two class member variables listed inside it. But what do these values actually mean? Here's a more detailed description.</p>
<p><a class="variable_title" href="#variable_title">$this->title</a> is the title displayed in the header of our block. We can set it to whatever we like; in this case it's set to read the actual title from a language file we are presumably distributing together with the block. I 'll skip ahead a bit here and say that if you want your block to display <strong>no</strong> title at all, then you should set this to any descriptive value you want (but <strong>not</strong> make it an empty string). We will later see <a href="#section_eye_candy">how to disable the title's display</a>.</p>
<p><a class="variable_title" href="#variable_content_type">$this->content_type</a> tells Moodle what kind of content to expect from this block. Here we have two simple choices. Either we set it to <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a>, which tells Moodle to just take our content and display it on screen as-is; or we set it to <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a>, which tells Moodle that we want our block to display a nicely formatted list of items with optional icons next to each one. We can use <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a> to manually create any content we want (do not be fooled by the name; HTML is allowed in the block's content without restriction) or use <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a> to easily create a simple menu.</p>
<p><a class="variable_title" href="#variable_version">$this->version</a> is the version of our block. This actually would only make a difference if your block wanted to keep its own data in special tables in the database (i.e. for very complex blocks). In that case the version number is used exactly as it's used in activities; an upgrade script uses it to incrementally upgrade an "old" version of the block's data to the latest. We will outline this process further ahead, since blocks tend to be relatively simple and not hold their own private data. In our example, this is certainly the case so we just set <a class="variable_title" href="#variable_version">$this->version</a> to <strong>YYYYMMDD00</strong> and forget about it.</p>
<p class="updating"><strong>UPDATING:</strong> Prior to version 1.5, the basic structure of each block class was slightly different. Refer to <a href="#appendix_b">Appendix B</a> for more information on the changes that old blocks have to make to conform to the new standard.</p>
@@ -279,7 +265,7 @@ $this->content->footer = '';</pre>
<p>Implementing instance configuration for the block's contents was good enough to whet our apetite, but who wants to stop there? Why not customize the block's title, too?</p>
<p>Why not, indeed. Well, our first attempt is natural enough: let's add another field to <span class="filename">/blocks/simplehtml/config_instance.html</span>. Here goes:</p>
<p>Why not, indeed. Well, our first attempt to achieve this is natural enough: let's add another field to <span class="filename">/blocks/simplehtml/config_instance.html</span>. Here goes:</p>
<pre class="code">
&lt;tr valign="top"&gt;
@@ -311,17 +297,9 @@ function specialization() {
<p>Now would be a good time to mention another nifty technique that can be used in blocks, and which comes in handy quite often. Specifically, it may be the case that our block will have something interesting to display some of the time; but in some other cases, it won't have anything useful to say. (An example here would be the "Recent Activity" block, in the case where no recent activity in fact exists. However in that case the block chooses to explicitly inform you of the lack of said activity, which is arguably useful). It would be nice, then, to be able to have our block "disappear" if it's not needed to display it.</p>
<p>This is indeed possible, and the way to do it is to make sure that after the <a class="function_title" href="#method_get_content">get_content</a> method is called, the block is completely void of content. Specifically:</p>
<p>This is indeed possible, and the way to do it is to make sure that after the <a class="function_title" href="#method_get_content">get_content</a> method is called, the block is completely void of content. Specifically, "void of content" means that both $this->content->text and $this->content->footer are each equal to the empty string (''). Moodle performs this check by calling the block's <a class="function_title" href="#method_is_empty">is_empty()</a> method, and if the block is indeed empty then it is not displayed at all.</p>
<ul>
<li>If <a class="variable_title" href="#variable_content_type">$this->content_type</a> equals <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a>, then "void of content" means that both $this->content->text and $this->content->footer are each equal to the empty string ('').</li>
<li>If <a class="variable_title" href="#variable_content_type">$this->content_type</a> equals <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a>, then "void of content" means that $this->content->items is an empty array and $this->content->footer is equal to the empty string ('').</li>
</ul>
<p>Refer to <a href="#ready_set_go">Part 3</a> which explains the <a class="function_title" href="#method_init">init</a> function for more information on <a class="variable_title" href="#variable_content_type">$this->content_type</a> and its significance. Note that the exact value of the block's title and the presence or absence of a <a class="function_title" href="#method_hide_header">hide_header</a> method do <em>not</em> affect this behavior. A block is considered empty if it has no content, irrespective of anything else.</p>
<p>Note that the exact value of the block's title and the presence or absence of a <a class="function_title" href="#method_hide_header">hide_header</a> method do <em>not</em> affect this behavior. A block is considered empty if it has no content, irrespective of anything else.</p>
</li>
@@ -554,13 +532,21 @@ function applicable_formats() {
<h3>Lists and Icons</h3>
<p>In this final part of the guide, we will briefly discuss what the differences between blocks of <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a> and those of <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a> are. The vast majority of the techniques and options discussed before apply to any block; the only difference is in the handling of the <a class="variable_title" href="#variable_content">$this->content</a> variable.</p>
<p>In this final part of the guide we will briefly discuss an additional capability of Moodle's block system, namely the ability to very easily create blocks that display a list of choices to the user. This list is displayed with one item per line, and an optional image (icon) next to the item. An example of such a <em>list block</em> is the standard Moodle "admin" block, which illustrates all the points discussed in this section.</p>
<p>As we have seen so far, blocks of use two properties of <a class="variable_title" href="#variable_content">$this->content</a>: "text" and "footer". The text is displayed as-is as the block content, and the footer is displayed below the content in a smaller font size. List blocks use $this->content->footer in the exact same way, but they ignore $this->content->text.</p>
<p>As we have seen, blocks of <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a> use two properties of <a class="variable_title" href="#variable_content">$this->content</a>: "text" and "footer". The text is displayed as-is as the block content, and the footer goes below in smaller font size. Blocks of <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a> use $this->content->footer in the exact same way, but they ignore $this->content->text.</p>
<p>Instead, Moodle expects such blocks to set two other properties when the <a class="function_title" href="#method_get_content">get_content</a> method is called: $this->content->items and $this->content->icons. $this->content->items should be a numerically indexed array containing elements that represent the HTML for each item in the list that is going to be displayed. Usually these items will be HTML anchor tags which provide links to some page. $this->content->icons should also be a numerically indexed array, with exactly as many items as $this->content->items has. Each of these items should be a fully qualified HTML &lt;img&gt; tag, with "src", "height", "width" and "alt" attributes. Obviously, it makes sense to keep the images small and of a uniform size.</p>
<p>Instead, Moodle expects such blocks to set two other properties when the <a class="function_title" href="#method_get_content">get_content</a> method is called. $this->content->items should be a numerically indexed array containing elements that represent the HTML for each item in the list that is going to be displayed. Usually these items will be links, so being free to write HTML allows us to provide anchor tags as list items. $this->content->icons should also be a numerically indexed array, with exactly as many items as $this->content->items has. Each of these items should be a fully qualified HTML &lt;img&gt; tag, with "src", "height", "width" and "alt" attributes. Obviously, it makes sense to keep the images small and of a uniform size.</p>
<p>In order to tell Moodle that we want to have a list block instead of the standard text block, we need to make a small change to our block class declaration. Instead of extending class <strong>block_base</strong>, our block will extend class <strong>block_list</strong>. For example:</p>
<p>Thus, if we were to create a list block, our <a class="function_title" href="#method_get_content">get_content</a> method might read:</p>
<pre class="code">
class block_my_menu extends block_list {
// The init() method does not need to change at all
}
</pre>
<p>In addition to making this change, we must of course also modify the <a class="function_title" href="#method_get_content">get_content</a> method to construct the <a class="variable_title" href="#variable_content">$this->content</a> variable as discussed above:</p>
<pre class="code">
function get_content() {
@@ -581,7 +567,7 @@ function get_content() {
return $this->content;
}</pre>
<p>The end result when such a block is printed will be a list of items with the corresponding icons before each one, and an optional footer below. For a real world block of this type, there is no better example than the "admin" block which illustrates all of the above.</p>
<p>To summarize, if we want to create a list block instead of a text block, we just need to change the block class declaration and the <a class="function_title" href="#method_get_content">get_content</a> method. Adding the mandatory <a class="function_title" href="#method_init">init</a> method as discussed earlier will then give us our first list block in no time!</p>
</li>
@@ -687,9 +673,9 @@ function get_content() {
<p>This method should, when called, populate the <a class="variable_title" href="#variable_content">$this->content</a> variable of your block. Populating the variable means:
<p><strong>EITHER</strong><br />defining $this->content->text and $this->content->footer if your block is of type <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a>. Both of these should be strings, and can contain arbitrary HTML.</p>
<p><strong>EITHER</strong><br />defining $this->content->text and $this->content->footer if your block derives from <strong>block_base</strong>. Both of these should be strings, and can contain arbitrary HTML.</p>
<p><strong>OR</strong><br />defining $this->content->items, $this->content->icons and $this->content->footer if your block is of type <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a>. The first two should be numerically indexed arrays having the exact same number of elements. $this->content->items is an array of strings that can contain arbitrary HTML while $this->content->icons also contains should strings, but those must be fully-qualified HTML &lt;img&gt; tags <strong>and nothing else</strong>. $this->content->footer is a string, as above.</p>
<p><strong>OR</strong><br />defining $this->content->items, $this->content->icons and $this->content->footer if your block derives from <strong>block_list</strong>. The first two should be numerically indexed arrays having the exact same number of elements. $this->content->items is an array of strings that can contain arbitrary HTML while $this->content->icons also contains should strings, but those must be fully-qualified HTML &lt;img&gt; tags <strong>and nothing else</strong>. $this->content->footer is a string, as above.</p>
<p>If you set <em>all</em> of these variables to their default "empty" values (empty arrays for the arrays and empty strings for the strings), the block will <strong>not</strong> be displayed at all except to editing users. This is a good way of having your block hide itself to unclutter the screen if there is no reason to have it displayed.</p>
@@ -758,11 +744,10 @@ function html_attributes() {
<pre class="code">
function init() {
$this->title = get_string('simplehtml', 'block_simplehtml');
$this->content_type = BLOCK_TYPE_TEXT;
$this->version = 2004111200;
}</pre>
<p>This method must be implemented for all blocks. It has to assign meaningful values to the object variables <a class="variable_title" href="#variable_title">$this->title</a>, <a class="variable_title" href="#variable_content_type">$this->content_type</a> (which must be either <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a> or <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a>) and <a class="variable_title" href="#variable_version">$this->version</a> (which is used by Moodle for performing automatic updates when available).</p>
<p>This method must be implemented for all blocks. It has to assign meaningful values to the object variables <a class="variable_title" href="#variable_title">$this->title</a> and <a class="variable_title" href="#variable_version">$this->version</a> (which is used by Moodle for performing automatic updates when available).</p>
<p>No return value is expected from this method.</p>
@@ -948,6 +933,27 @@ function get_version() {
<p>This method returns the value of <a class="variable_title" href="#variable_version">$this->version</a>, and is the preferred way of accessing that variable. It is guaranteed to always work, now and forever. Directly accessing the variable is <strong>not recommended</strong>; future library changes may break compatibility with code that does so.</p>
</li>
<li id="method_is_empty">
<div class="function_title">is_empty</div>
<p>For blocks that extend class <strong>block_base</strong>:</p>
<pre class="code">
function is_empty() {
$this->get_content();
return(empty($this->content->text) && empty($this->content->footer));
}</pre>
<p>For blocks that extend class <strong>block_list</strong>:</p>
<pre class="code">
function is_empty() {
$this->get_content();
return (empty($this->content->items) && empty($this->content->footer));
}
</pre>
<p>This method returns the a boolean true/false value, depending on whether the block has any content at all to display. Blocks without content are not displayed by the framework.</p>
</li>
<li id="method_name">
<div class="function_title">name</div>
<pre class="code">
@@ -1016,7 +1022,7 @@ function name() {
<div class="variable_title">$this->content_type</div>
<p>This variable instructs Moodle on what type of content it should assume the block has. It is essential that it has a meaningful value, as Moodle depends on this for correctly displaying the block on screen. Consequently, this variable is closely tied with the varaible <a class="variable_title" href="#variable_content">$this->content</a>. The variable is expected to have a valid value after the framework calls the <a class="function_title" href="#method_init">init</a> method for each block.</p>
<p>This variable instructs Moodle on what type of content it should assume the block has, and is used to differentiate text blocks from list blocks. It is essential that it has a meaningful value, as Moodle depends on this for correctly displaying the block on screen. Consequently, this variable is closely tied with the variable <a class="variable_title" href="#variable_content">$this->content</a>. The variable is expected to have a valid value after the framework calls the <a class="function_title" href="#method_init">init</a> method for each block.</p>
<p>The only valid values for this variable are the two named constants <a class="named_constant" href="#constant_block_type_text">BLOCK_TYPE_TEXT</a> and <a class="named_constant" href="#constant_block_type_list">BLOCK_TYPE_LIST</a>.</p>
</li>
@@ -1132,6 +1138,12 @@ class CourseBlock_online_users extends MoodleBlock { ... }
<pre class="code">
class block_online_users extends block_base { ... }
</pre>
<p>An exception to the above is the special case where the block is intended to display a list of items instead of arbitrary text; in this case the block class must derive from class <strong>block_list</strong> instead, like this:<p>
<pre class="code">
class block_admin extends block_list { ... }
</pre>
</li>
@@ -1156,7 +1168,6 @@ class block_online_users extends block_base { ... }
<pre class="code">
function init() {
$this->title = get_string('blockname','block_online_users');
$this->content_type = BLOCK_TYPE_TEXT;
$this->version = 2004111600;
}
</pre>
+52 -23
View File
@@ -33,16 +33,16 @@ class block_admin extends block_list {
global $CFG, $USER;
if (isadmin()) {
$this->content->items[] = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/configure.php">'.get_string('configuration').'</a>...';
$this->content->items[] = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/configure.php">'.get_string('configuration').'</a>';
$this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/admin.gif" height="16" width="16" alt="" />';
$this->content->items[] = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/users.php">'.get_string('users').'</a>...';
$this->content->items[] = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/users.php">'.get_string('users').'</a>';
$this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="" />';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/backup/backup.php?id='.SITEID.'">'.get_string('backup').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/backup/backup.php?id='.SITEID.'">'.get_string('backup').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/backup.gif" height="16" width="16" alt="" />';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/files/index.php?id='.SITEID.'&amp;wdir=/backupdata">'.get_string('restore').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/files/index.php?id='.SITEID.'&amp;wdir=/backupdata">'.get_string('restore').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/restore.gif" height="16" width="16" alt="" />';
}
@@ -62,7 +62,7 @@ class block_admin extends block_list {
$this->content->items[] = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/'.$CFG->dbtype.'/frame.php">'.get_string('managedatabase').'</a>';
$this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/db.gif" height="16" width="16" alt="" />';
}
$this->content->footer = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/">'.get_string('admin').'</a>...';
$this->content->footer = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/">'.get_string('admin').'...</a>';
}
}
@@ -77,6 +77,8 @@ class block_admin extends block_list {
$course = get_record('course', 'id', $this->instance->pageid);
if (isteacher($this->instance->pageid)) {
$isteacheredit = isteacheredit($this->instance->pageid);
@@ -89,14 +91,25 @@ class block_admin extends block_list {
$this->content->items[]='<a href="view.php?id='.$this->instance->pageid.'&amp;edit=on">'.get_string('turneditingon').'</a>';
}
$this->content->items[]='<a href="edit.php?id='.$this->instance->pageid.'">'.get_string('settings').'...</a>';
$this->content->items[]='<a href="edit.php?id='.$this->instance->pageid.'">'.get_string('settings').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/settings.gif" height="16" width="16" alt="" />';
$fullname = fullname($USER, true);
$editmyprofile = '<a title="'.$fullname.'" href="'.$CFG->wwwroot.'/user/edit.php?id='.$USER->id.'&amp;course='.$this->instance->pageid.'">'.get_string('editmyprofile').'</a>';
if (empty($USER->description)) {
$this->content->items[]= $editmyprofile." <blink>*</blink>";
} else {
$this->content->items[]= $editmyprofile;
}
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/user.gif" height="16" width="16" alt="" />';
if (iscreator() || !empty($CFG->teacherassignteachers)) {
if (!$course->teachers) {
$course->teachers = get_string('defaultcourseteachers');
}
$this->content->items[]='<a href="teacher.php?id='.$this->instance->pageid.'">'.$course->teachers.'...</a>';
$this->content->items[]='<a href="teacher.php?id='.$this->instance->pageid.'">'.$course->teachers.'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="" />';
}
@@ -104,38 +117,43 @@ class block_admin extends block_list {
$course->students = get_string('defaultcoursestudents');
}
if (!$course->metacourse) {
$this->content->items[]='<a href="student.php?id='.$this->instance->pageid.'">'.$course->students.'...</a>';
$this->content->items[]='<a href="student.php?id='.$this->instance->pageid.'">'.$course->students.'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="" />';
}
else {
$this->content->items[]='<a href="importstudents.php?id='.$this->instance->pageid.'">'.$course->students.'...</a>';
} else {
$this->content->items[]='<a href="importstudents.php?id='.$this->instance->pageid.'">'.$course->students.'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="">';
}
$this->content->items[]='<a href="'.$CFG->wwwroot.'/backup/backup.php?id='.$this->instance->pageid.'">'.get_string('backup').'...</a>';
if ($course->groupmode || !$course->groupmodeforce) {
$strgroups = get_string('groups');
$this->content->items[]='<a title="'.$strgroups.'" href="'.$CFG->wwwroot.'/course/groups.php?id='.$this->instance->pageid.'">'.$strgroups.'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/group.gif" height="16" width="16" alt="" />';
}
$this->content->items[]='<a href="'.$CFG->wwwroot.'/backup/backup.php?id='.$this->instance->pageid.'">'.get_string('backup').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/backup.gif" height="16" width="16" alt="" />';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/files/index.php?id='.$this->instance->pageid.'&amp;wdir=/backupdata">'.get_string('restore').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/files/index.php?id='.$this->instance->pageid.'&amp;wdir=/backupdata">'.get_string('restore').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/restore.gif" height="16" width="16" alt="" />';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/course/import.php?id='.$this->instance->pageid.'">'.get_string('importdata').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/restore.gif" height="16" width="16" alt="" />';
$this->content->items[]='<a href="scales.php?id='.$this->instance->pageid.'">'.get_string('scales').'...</a>';
$this->content->items[]='<a href="scales.php?id='.$this->instance->pageid.'">'.get_string('scales').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/scales.gif" height="16" width="16" alt="" />';
}
$this->content->items[]='<a href="'.$CFG->wwwroot.'/grade/index.php?id='.$this->instance->pageid.'">'.get_string('grades').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/grade/index.php?id='.$this->instance->pageid.'">'.get_string('grades').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/grades.gif" height="16" width="16" alt="" />';
$this->content->items[]='<a href="log.php?id='.$this->instance->pageid.'">'.get_string('logs').'...</a>';
$this->content->items[]='<a href="log.php?id='.$this->instance->pageid.'">'.get_string('logs').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/log.gif" height="16" width="16" alt="" />';
if ($isteacheredit) {
$this->content->items[]='<a href="'.$CFG->wwwroot.'/files/index.php?id='.$this->instance->pageid.'">'.get_string('files').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/files/index.php?id='.$this->instance->pageid.'">'.get_string('files').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/files.gif" height="16" width="16" alt="" />';
}
$this->content->items[]='<a href="'.$CFG->wwwroot.'/doc/view.php?id='.$this->instance->pageid.'&amp;file=teacher.html">'.get_string('help').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/doc/view.php?id='.$this->instance->pageid.'&amp;file=teacher.html">'.get_string('help').'</a>';
$this->content->icons[]='<img src="'.$CFG->modpixpath.'/resource/icon.gif" height="16" width="16" alt="" />';
if ($teacherforum = forum_get_course_forum($this->instance->pageid, 'teacher')) {
@@ -146,22 +164,33 @@ class block_admin extends block_list {
} else if (!isguest()) { // Students menu
if ($course->showgrades) {
$this->content->items[]='<a href="'.$CFG->wwwroot.'/grade/index.php?id='.$this->instance->pageid.'">'.get_string('grades').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/grade/index.php?id='.$this->instance->pageid.'">'.get_string('grades').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/grades.gif" height="16" width="16" alt="" />';
}
if ($course->showreports) {
$this->content->items[]='<a href="user.php?id='.$this->instance->pageid.'&amp;user='.$USER->id.'">'.get_string('activityreport').'...</a>';
$this->content->items[]='<a href="user.php?id='.$this->instance->pageid.'&amp;user='.$USER->id.'">'.get_string('activityreport').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/report.gif" height="16" width="16" alt="" />';
}
$fullname = fullname($USER, true);
$editmyprofile = '<a title="'.$fullname.'" href="'.$CFG->wwwroot.'/user/edit.php?id='.
$USER->id.'&amp;course='.$this->instance->pageid.'">'.get_string('editmyprofile').'</a>';
if (empty($USER->description)) {
$this->content->items[]= $editmyprofile." <blink>*</blink>";
} else {
$this->content->items[]= $editmyprofile;
}
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/user.gif" height="16" width="16" alt="" />';
if (is_internal_auth()) {
$this->content->items[]='<a href="'.$CFG->wwwroot.'/login/change_password.php?id='.$this->instance->pageid.'">'.get_string('changepassword').'...</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/login/change_password.php?id='.$this->instance->pageid.'">'.get_string('changepassword').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/user.gif" height="16" width="16" alt="" />';
} else if ($CFG->changepassword) {
$this->content->items[]='<a href="'.$CFG->changepassword.'">'.get_string('changepassword').'...</a>';
$this->content->items[]='<a href="'.$CFG->changepassword.'">'.get_string('changepassword').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/user.gif" height="16" width="16" alt="" />';
}
if ($CFG->allowunenroll) {
$this->content->items[]='<a href="unenrol.php?id='.$this->instance->pageid.'">'.get_string('unenrolme', '', $course->shortname).'...</a>';
$this->content->items[]='<a href="unenrol.php?id='.$this->instance->pageid.'">'.get_string('unenrolme', '', $course->shortname).'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/user.gif" height="16" width="16" alt="" />';
}
}
@@ -63,7 +63,7 @@ class block_calendar_upcoming extends block_base {
}
if (empty($this->content->text)) {
$this->content->text = '<div style="font-size: 0.8em; text-align: center;">'.
$this->content->text = '<div class="post">'.
get_string('noupcomingevents', 'calendar').'</div>';
}
-1
View File
@@ -1,4 +1,3 @@
.block_calendar_upcoming .event .date {
text-align:right;
font-size:0.8em;
}
+4 -3
View File
@@ -77,9 +77,10 @@ class block_course_list extends block_list {
} else {
$this->content->items = array();
$this->content->icons = array();
$this->content->footer = get_string('nocoursesyet').'<br /><br />'.
'<a href="'.$CFG->wwwroot.'/course/edit.php?category='.$category->id.'">'.
get_string("addnewcourse").'</a>...';
$this->content->footer = get_string('nocoursesyet').'<br /><br />';
if (iscreator()) {
$this->content->footer .= '<a href="'.$CFG->wwwroot.'/course/edit.php?category='.$category->id.'">'.get_string("addnewcourse").'</a>...';
}
}
$this->title = get_string('courses');
}
+13
View File
@@ -130,6 +130,19 @@ global $CFG;
execute_sql('UPDATE '.$CFG->prefix.'block_instance SET pagetype = \''.PAGE_COURSE_VIEW.'\' WHERE pagetype = \'\'');
}
if ($oldversion < 2005043000 && $result) {
$records = get_records('block');
if(!empty($records)) {
foreach($records as $block) {
if(!block_is_compatible($block->name)) {
$block->visible = 0;
update_record('block', $block);
notify('The '.$block->name.' block has been disabled because it is not compatible with Moodle 1.5 and needs to be updated by a programmer.');
}
}
}
}
//Finally, return result
return $result;
}
+14 -1
View File
@@ -35,7 +35,7 @@ global $CFG;
lastcron INT8 NOT NULL default '0',
visible int NOT NULL default '1'
)
") ;
") ;
}
@@ -125,6 +125,19 @@ global $CFG;
$result = $result && table_column('block_instance', 'position', 'position', 'varchar', '10', '');
}
if ($oldversion < 2005043000 && $result) {
$records = get_records('block');
if(!empty($records)) {
foreach($records as $block) {
if(!block_is_compatible($block->name)) {
$block->visible = 0;
update_record('block', $block);
notify('The '.$block->name.' block has been disabled because it is not compatible with Moodle 1.5 and needs to be updated by a programmer.');
}
}
}
}
//Finally, return result
return $result;
}
@@ -69,16 +69,18 @@ class block_glossary_random extends block_base {
break;
}
if ($entry = get_record_sql(' SELECT concept, definition, format '.
' FROM '.$CFG->prefix.'glossary_entries'.
' WHERE glossaryid = '.$this->config->glossary.
' AND approved = 1 '.
'ORDER BY timemodified '.$SORT.' '.$LIMIT)) {
if ($entry = get_records_sql(' SELECT concept, definition, format '.
' FROM '.$CFG->prefix.'glossary_entries'.
' WHERE glossaryid = '.$this->config->glossary.
' AND approved = 1 '.
'ORDER BY timemodified '.$SORT.' '.$LIMIT)) {
$entry = reset($entry);
if (empty($this->config->showconcept)) {
$text = '';
} else {
$text = "<h2>$entry->concept</h2>";
$text = "<h2>".format_string($entry->concept,true)."</h2>";
}
$text .= format_text($entry->definition, $entry->format);
@@ -116,6 +118,10 @@ class block_glossary_random extends block_base {
// select glossaries to put in dropdown box ...
$glossaries = get_records_select_menu('glossary', 'course='.$this->course->id,'name','id,name');
//format menu texts to avoid html and to filter multilang values
foreach($glossaries as $key => $value) {
$glossaries[$key] = strip_tags(format_string($value,true));
}
// and select quotetypes to put in dropdown box
$type[0] = get_string('random','block_glossary_random');
+1 -1
View File
@@ -27,7 +27,7 @@
<td><?php
choose_from_menu($type, "type", $this->config->type, "");
helpbutton("",get_string("type","block_glossary_random"),"moodle",true,false,get_string("typehelp","block_glossary_random"));
?></td>
?></td>
</tr>
<tr valign=top>
+6 -1
View File
@@ -24,10 +24,15 @@ class block_html extends block_base {
return $this->content;
}
$filteropt = new stdClass;
$filteropt->noclean = true;
$this->content = new stdClass;
$this->content->text = isset($this->config->text) ? $this->config->text : '';
$this->content->text = isset($this->config->text) ? format_text($this->config->text, FORMAT_HTML, $filteropt) : '';
$this->content->footer = '';
unset($filteropt); // memory footprint
return $this->content;
}
}
+34 -38
View File
@@ -27,49 +27,45 @@ class block_login extends block_base {
$wwwroot = str_replace("http://", "https://", $CFG->wwwroot);
}
switch ($CFG->auth) {
// I'm not sure if user can create an account
// him/her self when using ldap authentication.
// If true, then there should be a method for it.
case "email":
$signup = $wwwroot . '/login/signup.php';
break;
case "none":
// just for the user to see instructions!
$signup = $wwwroot . '/login/index.php';
break;
default:
$signup = '';
if (is_internal_auth()) {
$signup = $wwwroot . '/login/signup.php';
$forgot = $wwwroot . '/login/forgot_password.php';
} else {
if (!empty($CFG->changepassword)) {
$forgot = $CFG->changepassword;
} else {
$forgot = '';
}
$signup = $wwwroot . '/login/index.php'; // to see instructions!
}
$username = get_moodle_cookie() === 'nobody' ? '' : get_moodle_cookie();
if (empty($USER->loggedin)) {
$this->content->text = "<form name=\"blocklogin\" method=\"post\"";
$this->content->text .= " action=\"". $wwwroot ."/login/index.php\">\n";
$this->content->text .= "<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\"";
$this->content->text .= " width=\"100%\" style=\"font-size: small;\">\n";
$this->content->text .= "<tr>\n<td>". get_string("username") .":</td>\n</tr>\n";
$this->content->text .= "<tr>\n<td><input type=\"text\" name=\"username\" value=\"";
$this->content->text .= $username . "\" /></td>\n</tr>\n";
$this->content->text .= "<tr>\n<td>". get_string("password") .":</td>\n</tr>\n";
$this->content->text .= "<tr>\n<td><input type=\"password\" name=\"password\" /></td>\n</tr>\n";
$this->content->text .= "<tr>\n<td align=\"center\"><input type=\"submit\" value=\"";
$this->content->text .= get_string("login");
$this->content->text .= "\" /></td>\n</tr>\n";
if (!empty($signup)) {
$this->content->text .= "<tr><td align=\"center\"><a href=\"". $signup ."\">";
$this->content->text .= get_string('startsignup');
$this->content->text .= "</a></td></tr>\n";
}
$this->content->text .= "</table>\n";
$this->content->text .= "</form>\n";
} else {
$this->content->text = ''; // It's time to dissapear!
// And keep the self test happy by
// passing empty string!
}
$this->content->footer = '';
$this->content->text = '';
if (empty($USER->loggedin) or isguest()) { // Show the block
$this->content->text .= '<form class="loginform" name="login" method="post" action="'.$wwwroot.'/login/index.php">';
$this->content->text .= '<table align="center" cellpadding="2" cellspacing="0" class="logintable">';
$this->content->text .= '<tr><td class="c0 r0" align="right">'.get_string('username').':</td>';
$this->content->text .= '<td class="c1 r0"><input type="text" name="username" size="10" value="'.$username.'" /></td></tr>';
$this->content->text .= '<tr><td class="c0 r1" align="right">'.get_string('password').':</td>';
$this->content->text .= '<td class="c1 r1"><input type="password" name="password" size="10" value="" /></td></tr>';
$this->content->text .= '<tr><td class="c0 r2">&nbsp;</td><td class="c1 r2" align="left"><input type="submit" value="'.get_string('login').'" /></td></tr>';
$this->content->text .= '</table></form>';
if (!empty($signup)) {
$this->content->footer .= '<div><a href="'.$signup.'">'.get_string('startsignup').'</a></div>';
}
if (!empty($forgot)) {
$this->content->footer .= '<div><a href="'.$forgot.'">'.get_string('forgotaccount').'</a></div>';
}
}
return $this->content;
}
}
+7
View File
@@ -0,0 +1,7 @@
.block_login .logintable {
text-align:center;
}
.block_login .loginform {
display:inline;
}
+1 -1
View File
@@ -49,7 +49,7 @@ class block_messages extends block_base {
}
$timeago = format_time(time() - $user->lastaccess);
$this->content->text .= '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$user->id.'&amp;course='.$this->instance->pageid.'" title="'.$timeago.'">'.fullname($user).'</a>';
$this->content->text .= '&nbsp;<a target="message_'.$user->id.'" href="'.$CFG->wwwroot.'/message/user.php?id='.$user->id.'" onclick="return openpopup(\'/message/user.php?id='.$user->id.'\', \'message_'.$user->id.'\', \'menubar=0,location=0,scrollbars,status,resizable,width=400,height=500\', 0);"><img height="11" width="11" src="'.$CFG->pixpath.'/t/message.gif" alt="" />&nbsp;'.$user->count.'</a>';
$this->content->text .= '&nbsp;<a target="message_'.$user->id.'" href="'.$CFG->wwwroot.'/message/discussion.php?id='.$user->id.'" onclick="return openpopup(\'/message/discussion.php?id='.$user->id.'\', \'message_'.$user->id.'\', \'menubar=0,location=0,scrollbars,status,resizable,width=400,height=500\', 0);"><img height="11" width="11" src="'.$CFG->pixpath.'/t/message.gif" alt="" />&nbsp;'.$user->count.'</a>';
$this->content->text .= '</div>';
}
} else {
+21 -18
View File
@@ -197,13 +197,6 @@ class block_base {
* Display the block!
*/
function _print_block() {
// Wrap the title in a floating DIV, in case we have edit controls to display
// These controls will always be wrapped on a right-floating DIV
$title = '<div class="title">'.$this->title.'</div>';
if ($this->edit_controls !== NULL) {
$title .= $this->edit_controls;
}
// is_empty() includes a call to get_content()
if ($this->is_empty()) {
if (empty($this->edit_controls)) {
@@ -219,7 +212,7 @@ class block_base {
print_side_block(NULL, $this->content->text, NULL, NULL, $this->content->footer, $this->html_attributes());
} else {
// The full treatment, please
print_side_block($title, $this->content->text, NULL, NULL, $this->content->footer, $this->html_attributes());
print_side_block($this->_title_html(), $this->content->text, NULL, NULL, $this->content->footer, $this->html_attributes());
}
}
}
@@ -230,11 +223,28 @@ class block_base {
* block is in place, even if empty.
*/
function _print_shadow() {
$title = '<div class="title">'.$this->title.'</div>';
print_side_block($this->_title_html(), '&nbsp;', NULL, NULL, '', array('class' => 'hidden'));
}
function _title_html() {
global $CFG;
$title = '<div class="title">';
if (!empty($CFG->allowuserblockhiding)) {
$title .= '<div class="hide-show"><a href="#" onclick="elementToggleHide(this, true, function(el) {return findParentNode(el, \'DIV\', \'sideblock\'); } ); return false;"><img src="'.$CFG->pixpath.'/spacer.gif" alt="" class="hide-show-image" /></a></div>';
}
$title .= $this->title;
if ($this->edit_controls !== NULL) {
$title .= $this->edit_controls;
}
print_side_block($title, '&nbsp;', NULL, NULL, '');
$title .= '</div>';
return $title;
}
/**
@@ -552,13 +562,6 @@ class block_list extends block_base {
}
function _print_block() {
// Wrap the title in a floating DIV, in case we have edit controls to display
// These controls will always be wrapped on a right-floating DIV
$title = '<div class="title">'.$this->title.'</div>';
if ($this->edit_controls !== NULL) {
$title .= $this->edit_controls;
}
// is_empty() includes a call to get_content()
if ($this->is_empty()) {
if (empty($this->edit_controls)) {
@@ -574,7 +577,7 @@ class block_list extends block_base {
print_side_block(NULL, '', $this->content->items, $this->content->icons, $this->content->footer, $this->html_attributes());
} else {
// The full treatment, please
print_side_block($title, '', $this->content->items, $this->content->icons, $this->content->footer, $this->html_attributes());
print_side_block($this->_title_html(), '', $this->content->items, $this->content->icons, $this->content->footer, $this->html_attributes());
}
}
}
+21 -3
View File
@@ -7,7 +7,7 @@ class block_news_items extends block_base {
}
function get_content() {
global $CFG;
global $CFG, $USER;
if ($this->content !== NULL) {
return $this->content;
@@ -34,6 +34,7 @@ class block_news_items extends block_base {
return $this->content;
}
/// First work out whether we can post to this group and if so, include a link
if (isteacheredit($course->id)) { /// Teachers can always post
@@ -88,8 +89,8 @@ class block_news_items extends block_base {
$text .= '<div class="post">'.
'<div class="head">'.
'<span class="date">'.userdate($discussion->modified, $strftimerecent).'</span><br />'.
'<span class="name">'.fullname($discussion).'</span></div>'.
'<div class="date">'.userdate($discussion->modified, $strftimerecent).'</div>'.
'<div class="name">'.fullname($discussion).'</div></div>'.
'<div class="info">'.$discussion->subject.' '.
'<a href="'.$CFG->wwwroot.'/mod/forum/discuss.php?d='.$discussion->discussion.'">'.
$strmore.'...</a></div>'.
@@ -101,6 +102,23 @@ class block_news_items extends block_base {
$this->content->footer = '<a href="'.$CFG->wwwroot.'/mod/forum/view.php?f='.$forum->id.'">'.
get_string('oldertopics', 'forum').'</a> ...';
/// If RSS is activated at site and forum level and this forum has rss defined, show link
if (isset($CFG->enablerssfeeds) && isset($CFG->forum_enablerssfeeds) &&
$CFG->enablerssfeeds && $CFG->forum_enablerssfeeds && $forum->rsstype && $forum->rssarticles) {
require_once($CFG->dirroot.'/lib/rsslib.php'); // We'll need this
if ($forum->rsstype == 1) {
$tooltiptext = get_string('rsssubscriberssdiscussions','forum',format_string($forum->name));
} else {
$tooltiptext = get_string('rsssubscriberssposts','forum',format_string($forum->name));
}
if (empty($USER->id)) {
$userid = 0;
} else {
$userid = $USER->id;
}
$this->content->footer .= '<br />'.rss_get_link($course->id, $userid, 'forum', $forum->id, $tooltiptext);
}
}
return $this->content;
+2 -2
View File
@@ -103,7 +103,7 @@ class block_online_users extends block_base {
//Because they are online
if (!empty($users)) {
foreach ($users as $user) {
$this->content->text .= '<div style="text-align: left; font-size: 0.75em; padding-top: 5px;">';
$this->content->text .= '<div class="listentry">';
$timeago = format_time(time() - max($user->timeaccess, $user->lastaccess)); //bruno to calculate correctly on frontpage
if ($user->picture) {
if ($CFG->slasharguments) {
@@ -117,7 +117,7 @@ class block_online_users extends block_base {
}
$this->content->text .= '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$user->id.'&amp;course='.$this->instance->pageid.'" title="'.$timeago.'">'.$user->fullname.'</a>';
if (!empty($USER->id) and ($USER->id != $user->id) and !empty($CFG->messaging) and !isguest()) { // Only when logged in
$this->content->text .= '&nbsp;<a target="message_'.$user->id.'" href="'.$CFG->wwwroot.'/message/user.php?id='.$user->id.'" onclick="return openpopup(\'/message/user.php?id='.$user->id.'\', \'message_'.$user->id.'\', \'menubar=0,location=0,scrollbars,status,resizable,width=400,height=500\', 0);"><img height="11" width="11" src="'.$CFG->pixpath.'/t/message.gif" alt="" /></a>';
$this->content->text .= '&nbsp;<a target="message_'.$user->id.'" href="'.$CFG->wwwroot.'/message/discussion.php?id='.$user->id.'" onclick="return openpopup(\'/message/discussion.php?id='.$user->id.'\', \'message_'.$user->id.'\', \'menubar=0,location=0,scrollbars,status,resizable,width=400,height=500\', 0);"><img height="11" width="11" src="'.$CFG->pixpath.'/t/message.gif" alt="" /></a>';
}
$this->content->text .= '</div>';
}
+8 -23
View File
@@ -22,33 +22,18 @@ class block_participants extends block_list {
$this->content->icons = array();
$this->content->footer = '';
$strgroups = get_string('groups');
$strgroupmy = get_string('groupmy');
$course = get_record('course', 'id', $this->instance->pageid);
if ($this->instance->pageid != SITEID ||
$CFG->showsiteparticipantslist > 1 ||
($CFG->showsiteparticipantslist == 1 && isteacherinanycourse()) ||
isteacher(SITEID)) {
$this->content->items[] = '<a title="'.get_string('listofallpeople').'" href="'.
$CFG->wwwroot.'/user/index.php?id='.$this->instance->pageid.'">'.get_string('participants').'</a>';
$this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="" />';
if ($this->instance->pageid != SITEID || $CFG->showsiteparticipantslist > 1 || ($CFG->showsiteparticipantslist == 1 && isteacherinanycourse()) || isteacher(SITEID)) {
$this->content->items[]='<a title="'.get_string('listofallpeople').'" href="'.$CFG->wwwroot.'/user/index.php?id='.$this->instance->pageid.'">'.get_string('participants').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="" />';
}
if ($course->groupmode || !$course->groupmodeforce) {
if (isteacheredit($this->instance->pageid)) {
$this->content->items[]='<a title="'.$strgroups.'" href="'.$CFG->wwwroot.'/course/groups.php?id='.$this->instance->pageid.'">'.$strgroups.'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/group.gif" height="16" width="16" alt="" />';
}
}
if (!empty($USER->id) and !isguest()) {
$fullname = fullname($USER, true);
$editmyprofile = '<a title="'.$fullname.'" href="'.$CFG->wwwroot.'/user/edit.php?id='.$USER->id.'&amp;course='.$this->instance->pageid.'">'.get_string('editmyprofile').'</a>';
if ($USER->description) {
$this->content->items[]= $editmyprofile;
} else {
$this->content->items[]= $editmyprofile." <blink>*</blink>";
}
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/user.gif" height="16" width="16" alt="" />';
}
return $this->content;
}
+5 -1
View File
@@ -298,7 +298,11 @@ class block_quiz_results extends block_base {
break;
default:
case GRADE_FORMAT_PCT:
$this->content->text .= round((float)$grades[$gradeid]->grade / (float)$quiz->grade * 100).'%';
if ($quiz->grade) {
$this->content->text .= round((float)$grades[$gradeid]->grade / (float)$quiz->grade * 100).'%';
} else {
$this->content->text .= '--%';
}
break;
}
$this->content->text .= '</td></tr>';
+38 -13
View File
@@ -7,10 +7,14 @@ define('BLOCK_RSS_SECONDARY_CACHE_ENABLED', true);
class block_rss_client extends block_base {
function init() {
$this->title = get_string('block_rss_feeds_title', 'block_rss_client');
$this->title = get_string('feedstitle', 'block_rss_client');
$this->version = 2004112000;
}
function preferred_width() {
return 210;
}
function specialization() {
// After the block has been loaded we customize the block's title display
if (!empty($this->config) && !empty($this->config->title)) {
@@ -18,7 +22,7 @@ class block_rss_client extends block_base {
$this->title = $this->config->title;
} else {
// No customized block title, use localized remote news feed string
$this->title = get_string('block_rss_remote_news_feed', 'block_rss_client');
$this->title = get_string('remotenewsfeed', 'block_rss_client');
}
}
@@ -81,8 +85,18 @@ class block_rss_client extends block_base {
if (isset($USER) && isset($USER->id) && $USER->id && !isguest()) {
$userisloggedin = true;
}
if ( $userisloggedin && (isadmin() || $submitters == SUBMITTERS_ALL_ACCOUNT_HOLDERS || ($submitters == SUBMITTERS_ADMIN_AND_TEACHER && $isteacher)) ) {
$output .= '<div align="center"><a href="'. $CFG->wwwroot .'/blocks/rss_client/block_rss_client_action.php?courseid='. $this->courseid .'">'. get_string('block_rss_feeds_add_edit', 'block_rss_client') .'</a></div><br />';
if ( $userisloggedin && ($submitters == SUBMITTERS_ALL_ACCOUNT_HOLDERS || ($submitters == SUBMITTERS_ADMIN_AND_TEACHER && $isteacher)) ) {
$page = page_create_object($this->instance->pagetype, $this->instance->pageid);
if (isset($this->config)) {
// this instance is configured - show Add/Edit feeds link
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'managefeeds'));
$output .= '<div align="center"><a title="'. get_string('feedsaddedit', 'block_rss_client') .'" href="'. $script .'">'. get_string('feedsaddedit', 'block_rss_client') .'</a></div>';
} else {
// this instance has not been configured yet - show configure link
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'configblock'));
$output .= '<div align="center"><a title="'. get_string('feedsconfigurenewinstance', 'block_rss_client') .'" href="'. $script.'">'. get_string('feedsconfigurenewinstance', 'block_rss_client') .'</a></div>';
}
}
// Daryl Hawes note: if count of rssidarray is greater than 1
@@ -92,7 +106,7 @@ class block_rss_client extends block_base {
$numids = count($rssidarray);
$count = 0;
foreach ($rssidarray as $rssid) {
$output = $this->get_rss_by_id($rssid, $display_description, $shownumentries, ($numids > 1) ? true : false);
$output .= $this->get_rss_by_id($rssid, $display_description, $shownumentries, ($numids > 1) ? true : false);
if ($numids > 1 && $count != $numids -1 && !empty($rssfeedstring)) {
$output .= '<hr width="80%" />';
}
@@ -129,6 +143,9 @@ class block_rss_client extends block_base {
$now = time();
require_once($CFG->libdir .'/rsslib.php');
require_once(MAGPIE_DIR .'rss_fetch.inc');
if (!defined('MAGPIE_OUTPUT_ENCODING')) {
define('MAGPIE_OUTPUT_ENCODING', get_string('thischarset')); // see bug 3107
}
// Check if there is a cached string which has not timed out.
if (BLOCK_RSS_SECONDARY_CACHE_ENABLED &&
@@ -163,7 +180,7 @@ class block_rss_client extends block_base {
}
if (empty($rss_record->preferredtitle)) {
$feedtitle = stripslashes_safe(rss_unhtmlentities($rss->channel['title']));
$feedtitle = stripslashes_safe(rss_unhtmlentities($rss->channel['title']));
} else {
$feedtitle = stripslashes_safe($rss_record->preferredtitle);
}
@@ -172,11 +189,11 @@ class block_rss_client extends block_base {
isset($this->config->block_rss_client_show_channel_image) &&
$this->config->block_rss_client_show_channel_image &&
isset($rss->image) && isset($rss->image['link']) && isset($rss->image['title']) && isset($rss->image['url']) ) {
$returnstring .= '<div class="image"><a href="'. $rss->image['link'] .'"><img src="'. $rss->image['url'] .'" title="'. $rss->image['title'] .'" alt="'. $rss->image['title'] .'"/></a></div><br />';
$returnstring .= '<div class="image"><a href="'. $rss->image['link'] .'"><img src="'. $rss->image['url'] .'" title="'. $rss->image['title'] .'" alt="'. $rss->image['title'] .'"/></a></div>';
}
if ($showtitle) {
$returnstring .= '<div class="title">'. $feedtitle .'</div><br />';
$returnstring .= '<div class="title">'. $feedtitle .'</div>';
}
$formatoptions->para = false;
@@ -187,6 +204,8 @@ class block_rss_client extends block_base {
if ($item['title'] == '') {
// no title present, use portion of description
$item['title'] = substr(strip_tags($item['description']), 0, 20) . '...';
} else {
$item['title'] = break_up_long_words($item['title'], 30);
}
if ($item['link'] == '') {
@@ -195,10 +214,11 @@ class block_rss_client extends block_base {
$item['link'] = str_replace('&', '&amp;', $item['link']);
$returnstring .= '<div class="link"><a href="'. $item['link'] .'" target="_new">'. $item['title'] . '</a></div>' ."\n";
$returnstring .= '<div class="link"><a href="'. $item['link'] .'" target="_blank">'. $item['title'] . '</a></div>' ."\n";
if ($display_description && !empty($item['description'])){
if ($display_description && !empty($item['description'])) {
$item['description'] = break_up_long_words($item['description'], 30);
$returnstring .= '<div class="description">'.
format_text($item['description'], FORMAT_MOODLE, $formatoptions, $this->courseid) .
'</div>' ."\n";
@@ -207,7 +227,7 @@ class block_rss_client extends block_base {
if (!empty($rss->channel['link'])) {
if (!empty($this->config) && isset($this->config->block_rss_client_show_channel_link) && $this->config->block_rss_client_show_channel_link) {
$returnstring .= '<div class="channellink"><br /><a href="'. $rss->channel['link'] .'">'. get_string('block_rss_client_channel_link', 'block_rss_client') .'</a></div>';
$this->content->footer = '<a href="'. $rss->channel['link'] .'">'. get_string('clientchannellink', 'block_rss_client') .'</a>';
}
if (!empty($feedtitle) ) {
$feedtitle = '<a href="'. $rss->channel['link'] .'">'. $feedtitle .'</a>';
@@ -215,8 +235,13 @@ class block_rss_client extends block_base {
}
}
if (!empty($feedtitle) and ($feedtitle != '<a href="'. $rss->channel['link'] .'"></a>')) {
$this->title = $feedtitle;
// if block has no custom title
if (empty($this->config) || (!empty($this->config) && empty($this->config->title))) {
// if the feed has a title
if (!empty($feedtitle) and ($feedtitle != '<a href="'. $rss->channel['link'] .'"></a>')) {
// set the block's title to the feed's title
$this->title = $feedtitle;
}
}
// store config setting for this rssid so we do not need to read from file each time
+33 -88
View File
@@ -5,9 +5,10 @@
require_once(MAGPIE_DIR .'rss_fetch.inc');
require_login();
global $USER;
//ensure that the logged in user is not using the guest account
if (isset($_SERVER['HTTP_REFERER'])){
if (isset($_SERVER['HTTP_REFERER'])) {
$referrer = $_SERVER['HTTP_REFERER'];
} else {
$referrer = $CFG->wwwroot;
@@ -18,31 +19,35 @@
optional_variable($act, 'none');
optional_variable($rssid, 'none');
optional_variable($courseid, 'none');
optional_variable($courseid, '');
optional_variable($url);
optional_variable($preferredtitle, '');
optional_variable($item);
if (!defined('MAGPIE_OUTPUT_ENCODING')) {
define('MAGPIE_OUTPUT_ENCODING', get_string('thischarset')); // see bug 3107
}
$straddedit = get_string('block_rss_feeds_add_edit', 'block_rss_client');
$straddedit = get_string('feedsaddedit', 'block_rss_client');
if ( isadmin() ) {
$stradmin = get_string('administration');
$strconfiguration = get_string('configuration');
$navigation = "<a href=\"$CFG->wwwroot/$CFG->admin/index.php\">$stradmin</a> -> ".
"<a href=\"$CFG->wwwroot/$CFG->admin/configure.php\">$strconfiguration</a> -> $straddedit";
} else if ($courseid != 'none' && $course = get_record('course', 'id', $courseid) ) {
$navigation = "<a href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</a> -> $straddedit";
} else if (is_numeric($courseid) && $course = get_record('course', 'id', $courseid, '', '', '', '', 'shortname') ) {
$navigation = "<a href=\"$CFG->wwwroot/course/view.php?id=$courseid\">$course->shortname</a> -> $straddedit";
} else {
$navigation = $straddedit;
}
print_header(get_string('block_rss_feeds_add_edit', 'block_rss_client'),
get_string('block_rss_feeds_add_edit', 'block_rss_client'),
print_header(get_string('feedsaddedit', 'block_rss_client'),
get_string('feedsaddedit', 'block_rss_client'),
$navigation );
//check to make sure that the user is allowed to post new feeds
$submitters = $CFG->block_rss_client_submitters;
$isteacher = false;
if ($courseid != 'none'){
if (is_numeric($courseid)) {
$isteacher = isteacher($courseid);
}
@@ -83,11 +88,10 @@
error('There was an error trying to update rss feed with id:'. $rssid);
}
// rss_display_feeds($rssid);
rss_display_feeds();
print '<strong>'. get_string('block_rss_feed_updated', 'block_rss_client') .'</strong>';
redirect($referrer, get_string('feedupdated', 'block_rss_client'));
/* rss_display_feeds();
rss_get_form($act, $dataobject->url, $rssid, $dataobject->preferredtitle);
*/
} else if ($act == 'addfeed' ) {
require_variable($url);
@@ -98,7 +102,7 @@
$dataobject->preferredtitle = addslashes($preferredtitle);
$rssid = insert_record('block_rss_client', $dataobject);
if (!$rssid){
if (!$rssid) {
error('There was an error trying to add a new rss feed:'. $url);
}
@@ -111,7 +115,7 @@
ob_end_clean();
if ($rss === false) {
print 'There was an error loading this rss feed. You may want to verify the url you have specified before using it.'; //Daryl Hawes note: localize this line
$message = 'There was an error loading this rss feed. You may want to verify the url you have specified before using it.'; //Daryl Hawes note: localize this line
} else {
$dataobject->id = $rssid;
@@ -124,11 +128,13 @@
if (!update_record('block_rss_client', $dataobject)) {
error('There was an error trying to update rss feed with id:'. $rssid);
}
print '<strong>'. get_string('block_rss_feed_added', 'block_rss_client') .'</strong>';
$message = get_string('feedadded', 'block_rss_client');
}
redirect($referrer, $message);
/*
rss_display_feeds();
rss_get_form($act, $dataobject->url, $dataobject->id, $dataobject->preferredtitle);
*/
} else if ( $act == 'rss_edit') {
$rss_record = get_record('block_rss_client', 'id', $rssid);
@@ -137,7 +143,7 @@
$preferredtitle = stripslashes_safe($rss_record->title);
}
$url = stripslashes_safe($rss_record->url);
rss_display_feeds($rssid);
rss_display_feeds('', $rssid);
rss_get_form($act, $url, $rssid, $preferredtitle);
} else if ($act == 'delfeed') {
@@ -152,16 +158,17 @@
$sql = 'DELETE FROM '. $CFG->prefix .'block_rss_client WHERE id='. $rssid;
$res= $db->Execute($sql);
rss_display_feeds();
print '<strong>'. get_string('block_rss_feed_deleted', 'block_rss_client') .'</strong>';
rss_get_form($act, $url, $rssid, $preferredtitle);
redirect($referrer, get_string('feeddeleted', 'block_rss_client') );
/* rss_display_feeds();
rss_get_form($act, $url, $rssid, $preferredtitle);
*/
} else if ($act == 'view') {
// echo $sql; //debug
// print_object($res); //debug
$rss_record = get_record('block_rss_client', 'id', $rssid);
if (!$rss_record->id){
print '<strong>'. get_string('block_rss_could_not_find_feed', 'block_rss_client') .': '. $rssid .'</strong>';
if (!$rss_record->id) {
print '<strong>'. get_string('couldnotfindfeed', 'block_rss_client') .': '. $rssid .'</strong>';
} else {
// By capturing the output from fetch_rss this way
// error messages do not display and clutter up the moodle interface
@@ -190,14 +197,14 @@
}
print '<tr><td valign="middle">'."\n";
print '<a href="'. $rss->items[$y]['link'] .'" target=_new><strong>'. $rss->items[$y]['title'];
print '<a href="'. $rss->items[$y]['link'] .'" target="_blank"><strong>'. $rss->items[$y]['title'];
print '</strong></a>'."\n";
print '</td>'."\n";
if (file_exists($CFG->dirroot .'/blog/lib.php')) {
//Blog module is installed - provide "blog this" link
print '<td align="right">'."\n";
print '<img src="'. $CFG->pixpath .'/blog/blog.gif" alt="'. get_string('blog_blog_this', 'blog').'" title="'. get_string('blog_blog_this', 'blog') .'" border="0" align="middle" />'."\n";
print '<a href="'. $CFG->wwwroot .'/blog/blogthis.php?blogid='. $blogid .'&act=use&item='. $y .'&rssid='. $rssid .'"><small><strong>'. get_string('blog_blog_this', 'blog') .'</strong></small></a>'."\n";
print '<img src="'. $CFG->pixpath .'/blog/blog.gif" alt="'. get_string('blogthis', 'blog').'" title="'. get_string('blogthis', 'blog') .'" border="0" align="middle" />'."\n";
print '<a href="'. $CFG->wwwroot .'/blog/blogthis.php?blogid='. $blogid .'&act=use&item='. $y .'&rssid='. $rssid .'"><small><strong>'. get_string('blogthis', 'blog') .'</strong></small></a>'."\n";
} else {
print '<td>&nbsp;';
}
@@ -213,66 +220,4 @@
}
print_footer();
/**
* @param string $act .
* @param string $url .
* @param int $rssid .
* @param bool $printnow True if the generated form should be printed out, false if the string should be returned from this function quietly
*/
function rss_get_form($act, $url, $rssid, $preferredtitle, $printnow=true) {
global $USER, $CFG, $_SERVER, $blockid, $blockaction;
global $blogid; //hackish, but if there is a blogid it would be good to preserve it
$stredit = get_string('edit');
$stradd = get_string('add');
$strupdatefeed = get_string('block_rss_update_feed', 'block_rss_client');
$straddfeed = get_string('block_rss_add_feed', 'block_rss_client');
$returnstring = '<table align="center"><tbody><tr><td>'."\n";
$returnstring .= '<form action="'. $_SERVER['PHP_SELF'] .'" method="POST" name="block_rss">'."\n";
if ($act == 'rss_edit') {
$returnstring .= $strupdatefeed;
} else {
$returnstring .= $straddfeed;
}
$returnstring .= "\n".'<br /><input type="text" size="60" maxlength="256" name="url" value="';
if ($act == 'rss_edit') {
$returnstring .= $url;
}
$returnstring .= '" />'."\n";
$returnstring .= '<br />'. get_string('block_rss_custom_title_label', 'block_rss_client');
$returnstring .= '<br /><input type="text" size="60" maxlength="64" name="preferredtitle" value="';
if ($act == 'rss_edit') {
$returnstring .= $preferredtitle;
}
$returnstring .= '" />'."\n";
$returnstring .= '<input type="hidden" name="act" value="';
if ($act == 'rss_edit') {
$returnstring .= 'updfeed';
} else {
$returnstring .= 'addfeed';
}
$returnstring .= '" />'."\n";
if ($act == 'rss_edit') {
$returnstring .= '<input type="hidden" name="rssid" value="'. $rssid .'" />'. "\n";
}
$returnstring .= '<input type="hidden" name="blogid" value="'. $blogid .'" />'."\n";
$returnstring .= '<input type="hidden" name="user" value="'. $USER->id .'" />'."\n";
$returnstring .= '<br /><input type="submit" value="';
$validatestring = "<a href=\"#\" onClick=\"window.open('http://feedvalidator.org/check.cgi?url='+document.block_rss.elements['url'].value,'validate','width=640,height=480,scrollbars=yes,status=yes,resizable=yes');return true;\">". get_string('validate_feed', 'block_rss_client')."</a>";
if ($act == 'rss_edit') {
$returnstring .= $stredit;
} else {
$returnstring .= $stradd;
}
$returnstring .= '" />&nbsp;'. $validatestring .'</form>'."\n";
$returnstring .= '</td></tr></tbody></table>'."\n";
if ($printnow){
print $returnstring;
}
return $returnstring;
}
?>
?>
+10 -6
View File
@@ -14,7 +14,7 @@
} ?>" />
</td>
<td>
<?php print_string('block_rss_client_num_entries', 'block_rss_client') ?>
<?php print_string('clientnumentries', 'block_rss_client') ?>
</td>
</tr>
<tr valign="top">
@@ -28,7 +28,7 @@
} ?>" />
</td>
<td>
<?php print_string('block_rss_timeout', 'block_rss_client') ?>
<?php print_string('timeout', 'block_rss_client') ?>
</td>
</tr>
<tr valign="top">
@@ -40,15 +40,19 @@
$selected = '0';
$CFG->block_rss_client_submitters = 0;
}
$options = array ( SUBMITTERS_ALL_ACCOUNT_HOLDERS => get_string('everybody'),
SUBMITTERS_ADMIN_ONLY => get_string('administrators'),
// SUBMITTERS_ALL_ACCOUNT_HOLDERS => get_string('everybody')
// removed everybody option for 1.5 beta
// things are not quite working yet to allow this - revisit later
// also 'everybody' should be 'site members' or something clearer since
// it does not include guests
$options = array ( SUBMITTERS_ADMIN_ONLY => get_string('administrators'),
SUBMITTERS_ADMIN_AND_TEACHER => get_string('administratorsandteachers') );
choose_from_menu ($options, 'block_rss_client_submitters', $selected);
?>
</td>
<td>
<?php print_string('block_rss_submitters', 'block_rss_client') ?>
<?php print_string('submitters', 'block_rss_client') ?>
</td>
</tr>
@@ -59,6 +63,6 @@
</tr>
<tr>
<td colspan="3" align="center"><a href=" <?php echo $CFG->wwwroot; ?>/blocks/rss_client/block_rss_client_action.php?courseid=<?php echo $courseid; ?>"><?php print_string('block_rss_feeds_add_edit', 'block_rss_client')?></a></center><br /><br />
<td colspan="3" align="center"><a href=" <?php echo $CFG->wwwroot; ?>/blocks/rss_client/block_rss_client_action.php?courseid=<?php echo $courseid; ?>"><?php print_string('feedsaddedit', 'block_rss_client')?></a></center><br /><br />
</td>
</table>
+53 -39
View File
@@ -1,9 +1,27 @@
<table cellpadding="9" cellspacing="0">
<?php
require_once($CFG->libdir .'/rsslib.php');
//create a page object for url_get_full()
$page = page_create_object($this->instance->pagetype, $this->instance->pageid);
/// Print tabs at top
global $currentaction;
if (empty($currentaction) || $currentaction == 'configblock') {
$currentaction = 'configblock';
} else {
$currentaction = 'managefeeds';
}
include('config_instance_tabs.php');
if ($currentaction == 'configblock') {
?>
<table cellpadding="9" cellspacing="0" class="blockconfigtable">
<tr valign="top">
<td align="right">
<?php print_string('block_rss_display_description_label', 'block_rss_client') ?>
<td align="right" width="50%">
<?php print_string('displaydescriptionlabel', 'block_rss_client') ?>
</td>
<td>
<td width="50%">
<?php
if(! isset($CFG->block_rss_client_display_description) ) {
$CFG->block_rss_client_display_description = '0';
@@ -19,10 +37,10 @@
</td>
</tr>
<tr valign="top">
<td align="right">
<?php print_string('block_rss_shownumentries_label', 'block_rss_client') ?>
<td align="right" width="50%">
<?php print_string('shownumentrieslabel', 'block_rss_client') ?>
</td>
<td>
<td width="50%">
<input name="shownumentries" type="text" size="5" value="<?php
if(! isset($CFG->block_rss_client_num_entries) ) {
$CFG->block_rss_client_num_entries = '5';
@@ -37,10 +55,10 @@
</td>
</tr>
<tr valign="top">
<td align="right">
<?php print_string('block_rss_choose_feed_label', 'block_rss_client') ?>
<td align="right" width="50%">
<?php print_string('choosefeedlabel', 'block_rss_client') ?>
</td>
<td>
<td width="50%">
<?php
$selectedarray = array();
if (isset($this->config) && isset($this->config->rssid)) {
@@ -53,56 +71,42 @@
}
}
if ($rssfeeds = get_records('block_rss_client')) {
foreach($rssfeeds as $rssfeed){
foreach($rssfeeds as $rssfeed) {
if (!empty($rssfeed->preferredtitle)) {
$feedtitle = stripslashes_safe($rssfeed->preferredtitle);
} else {
$feedtitle = stripslashes_safe($rssfeed->title);
}
$feedoptions[$rssfeed->id] = $feedtitle;
}
$dropdownmenustring = choose_from_menu($feedoptions, 'rssid[]', '', '', '', '0', true);
//Daryl Hawes note:
// moodle's choose_from_menu() function does not support
// the "multiple" or "size" options, so before printing out the
// calculated drop down menu we insert the keyword "multiple"
$dropdownmenustring = preg_replace("|\"rssid\[\]\" >*|","\"rssid[]\" multiple>", $dropdownmenustring);
// since there may be multiple rssids to select
// we need to check for each
if (!empty($selectedarray)) {
foreach ($selectedarray as $selected) {
$selected = intval($selected);
$dropdownmenustring = preg_replace("|\"$selected\">*|","\"$selected\" selected>", $dropdownmenustring);
$checked = '';
if (in_array($rssfeed->id, $selectedarray)) {
$checked = 'checked';
}
$checkbox = '<input type="checkbox" name="rssid[]" id="rssid[]" value="'. $rssfeed->id .'" '. $checked .' />';
print $checkbox . $feedtitle .'<br />'."\n";
}
print $dropdownmenustring;
} else {
print_string('block_rss_no_feeds', 'block_rss_client');
if ( isadmin() ){
print '&nbsp;<a href="'. $CFG->wwwroot .'/blocks/rss_client/block_rss_client_action.php"> '. get_string('block_rss_edit_news_feeds', 'block_rss_client') .'</a><br />';
print_string('nofeeds', 'block_rss_client');
if ( isadmin() ) {
print '&nbsp;<a href="'. $CFG->wwwroot .'/blocks/rss_client/block_rss_client_action.php"> '. get_string('editnewsfeeds', 'block_rss_client') .'</a><br />';
}
}
?>
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string('uploadlabel'); ?></td>
<td align="right" width="50%"><?php print_string('uploadlabel'); ?></td>
<?php
$title = '';
if (!empty($this->config) && !empty($this->config->title)) {
$title = $this->config->title;
}
?>
<td><input type="text" name="title" size="30" value="<?php echo $title; ?>" />
<td width="50%"><input type="text" name="title" size="30" value="<?php echo $title; ?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string('block_rss_client_show_channel_link_label', 'block_rss_client'); ?></td>
<td>
<td align="right" width="50%"><?php print_string('clientshowchannellinklabel', 'block_rss_client'); ?></td>
<td width="50%">
<?php
if (isset($this->config) && isset($this->config->block_rss_client_show_channel_link)) {
$selected = $this->config->block_rss_client_show_channel_link;
@@ -117,8 +121,8 @@
</td>
</tr>
<tr valign="top">
<td align="right"><?php print_string('block_rss_client_show_image_label', 'block_rss_client'); ?></td>
<td>
<td align="right" width="50%"><?php print_string('clientshowimagelabel', 'block_rss_client'); ?></td>
<td width="50%">
<?php
if (isset($this->config) && isset($this->config->block_rss_client_show_channel_image)) {
$selected = $this->config->block_rss_client_show_channel_image;
@@ -138,3 +142,13 @@
</td>
</tr>
</table>
<?php
} else {
global $act, $url, $rssid, $preferredtitle;
print '<table cellpadding="9" cellspacing="0" class="blockconfigtable">';
print '<tr valign="top"><td>';
rss_display_feeds();
print '</form>'; //not sure that this is needed
rss_get_form($act, $url, $rssid, $preferredtitle);
print '</td></tr></table>';
} ?>
@@ -0,0 +1,22 @@
<?php // $Id$
/// This file to be included so we can assume config.php has already been included.
/// We also assume that $inactive, $activetab and $currentaction have been set
global $USER;
$tabs = $row = array();
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'configblock'));
$row[] = new tabobject('configblock', $script,
get_string('configblock', 'block_rss_client'));
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'managefeeds'));
$row[] = new tabobject('managefeeds', $script,
get_string('managefeeds', 'block_rss_client'));
$tabs[] = $row;
/// Print out the tabs and continue!
print '<div align="center">';
print_tabs($tabs, $currentaction);
print '</div>';
?>
+40 -9
View File
@@ -1,22 +1,53 @@
.block_rss_client .link {
border-top:1px solid;
border-top-color:#DDDDDD;
padding-bottom:5px;
font-size:0.7em;
border-top:1px solid;
border-top-color:#DDDDDD;
padding-bottom:5px;
font-size:0.82em;
}
.block_rss_client .description {
color:#555555;
font-size:0.7em;
padding-left:10px;
padding-bottom:8px;
color:#555555;
font-size:0.78em;
padding-left:10px;
padding-bottom:8px;
}
.block_rss_client .title {
padding-top:10px;
font-size:1.0em;
}
.block_rss_client .image {
}
.block_rss_client .channellink {
.blockconfigtable #rssfeeds {
width: 100%;
}
.blockconfigtable #rssfeeds td.actions {
text-align: center;
vertical-align: middle;
padding: 10px;
}
.blockconfigtable #rssfeeds td.feed {
vertical-align: middle;
padding: 5px;
}
.blockconfigtable #rssfeeds .title {
font-weight: bold;
margin-bottom: 2px;
}
.blockconfigtable #rssfeeds .url, .blockconfigtable #rssfeeds .description {
font-size: 0.8em;
}
.blockconfigtable #rssfeeds tr.r0 {
background-color: #ffffff;
}
.blockconfigtable #rssfeeds tr.r1 {
background-color: #f0f0f0;
}
+8 -5
View File
@@ -2,7 +2,7 @@
class block_search_forums extends block_base {
function init() {
$this->title = get_string('search', 'forum');
$this->title = get_string('blocktitle', 'block_search_forums');
$this->version = 2005030900;
}
@@ -21,12 +21,15 @@ class block_search_forums extends block_base {
return $this->content;
}
$advancedsearch = get_string('advancedsearch', 'block_search_forums');
$this->content->text = '<div class="searchform">';
$this->content->text .= '<form name="search" action="'.$CFG->wwwroot.'/mod/forum/search.php" style="display:inline">';
$this->content->text .= '<input name="search" type="text" size="18" value="" alt="search" /> ';
$this->content->text .= '<input value="'.get_string('searchforums', 'forum').'" type="submit" />';
$this->content->text .= helpbutton('search', get_string('search'), 'moodle', true, false, '', true);
$this->content->text .= '<input name="id" type="hidden" value="'.$this->instance->pageid.'" />';
$this->content->text .= '<input name="id" type="hidden" value="'.$this->instance->pageid.'" />'; // course
$this->content->text .= '<input name="search" type="text" size="16" value="" alt="search" />';
$this->content->text .= '<input value=">" type="submit" /><br />';
$this->content->text .= '<a href="'.$CFG->wwwroot.'/mod/forum/search.php?id='.$this->instance->pageid.'">'.$advancedsearch.'</a>';
$this->content->text .= helpbutton('search', $advancedsearch, 'moodle', true, false, '', true);
$this->content->text .= '</form></div>';
return $this->content;
@@ -123,8 +123,7 @@ class block_site_main_menu extends block_list {
}
if ($isediting && $modnames) {
$this->content->footer = '<div style="text-align: right;">'.
print_section_add_menus($course, 0, $modnames, true, true).'</div>';
$this->content->footer = print_section_add_menus($course, 0, $modnames, true, true);
} else {
$this->content->footer = '';
}
@@ -116,8 +116,7 @@ class block_social_activities extends block_list {
}
if ($isediting && $modnames) {
$this->content->footer = '<div style="text-align: right;">'.
print_section_add_menus($course, 0, $modnames, true, true).'</div>';
$this->content->footer = print_section_add_menus($course, 0, $modnames, true, true);
} else {
$this->content->footer = '';
}
+103 -25
View File
@@ -102,6 +102,8 @@
case 'edit':
$title = get_string('editevent', 'calendar');
$event = get_record('event', 'id', $eventid);
$repeats = optional_param('repeats', 0, PARAM_INT);
if($event === false) {
error('Invalid event');
}
@@ -126,14 +128,41 @@
else {
$form->timeduration = 0;
}
validate_form($form, $err);
if (count($err) == 0) {
$form->timemodified = time();
update_record('event', $form);
/// Log the event update.
$form->name = stripslashes($form->name); //To avoid double-slashes
add_to_log($form->courseid, 'calendar', 'edit', 'event.php?action=edit&amp;id='.$form->id, $form->name);
validate_form($form, $err);
if (count($err) == 0) {
if($event->repeatid && $repeats) {
// Update all
if($form->timestart >= $event->timestart) {
$timestartoffset = 'timestart + '.($form->timestart - $event->timestart);
}
else {
$timestartoffset = 'timestart - '.($event->timestart - $form->timestart);
}
execute_sql('UPDATE '.$CFG->prefix.'event SET '.
'name = '.$db->qstr($form->name).','.
'description = '.$db->qstr($form->description).','.
'timestart = '.$timestartoffset.','.
'timeduration = '.$form->timeduration.','.
'timemodified = '.time().' WHERE repeatid = '.$event->repeatid);
/// Log the event update.
$form->name = stripslashes($form->name); //To avoid double-slashes
add_to_log($form->courseid, 'calendar', 'edit all', 'event.php?action=edit&amp;id='.$form->id, $form->name);
}
else {
// Update this
$form->timemodified = time();
update_record('event', $form);
/// Log the event update.
$form->name = stripslashes($form->name); //To avoid double-slashes
add_to_log($form->courseid, 'calendar', 'edit', 'event.php?action=edit&amp;id='.$form->id, $form->name);
}
// OK, now redirect to day view
redirect(CALENDAR_URL.'view.php?view=day&cal_d='.$form->startday.'&cal_m='.$form->startmon.'&cal_y='.$form->startyr);
@@ -173,6 +202,11 @@
if (count($err) == 0) {
$form->timemodified = time();
if ($form->repeat) {
$fetch = get_record_sql('SELECT 1, MAX(repeatid) AS repeatid FROM '.$CFG->prefix.'event');
$form->repeatid = empty($fetch) ? 1 : $fetch->repeatid + 1;
}
/// Get the event id for the log record.
$eventid = insert_record('event', $form, true);
@@ -198,7 +232,7 @@
}
else {
foreach ($err as $key => $value) {
$focus = 'form'.$key;
$focus = 'form.'.$key;
}
}
}
@@ -214,6 +248,13 @@
$nav = '<a href="'.$CFG->wwwroot.'/course/view.php?id='.$SESSION->cal_course_referer.'">'.$shortname.'</a> -> '.$nav;
}
if (!empty($SESSION->cal_course_referer)) {
// TODO: This is part of the Great $course Hack in Moodle. Replace it at some point.
$course = get_record('course', 'id', $SESSION->cal_course_referer);
} else {
$course = $site;
}
print_header($site->shortname.': '.$strcalendar.': '.$title, $strcalendar, $nav.' -> '.$title,
$focus, '', true, '', user_login_string($site));
@@ -225,16 +266,19 @@
switch($action) {
case 'delete':
$confirm = optional_param('confirm', 0, PARAM_INT);
$repeats = optional_param('repeats', 0, PARAM_INT);
if($confirm) {
// Kill it and redirect to day view
if(($event = get_record('event', 'id', $eventid)) !== false) {
/// Log the event delete.
delete_records('event', 'id', $eventid);
// pj - fixed the course id problem, but now we have another one:
// what to do with the URL?
add_to_log($event->courseid, 'calendar', 'delete', '', $event->name);
if($event->repeatid && $repeats) {
delete_records('event', 'repeatid', $event->repeatid);
add_to_log($event->courseid, 'calendar', 'delete all', '', $event->name);
}
else {
delete_records('event', 'id', $eventid);
add_to_log($event->courseid, 'calendar', 'delete', '', $event->name);
}
}
redirect(CALENDAR_URL.'view.php?view=day&cal_d='.$_REQUEST['d'].'&cal_m='.$_REQUEST['m'].'&cal_y='.$_REQUEST['y']);
@@ -245,9 +289,21 @@
$m = $eventtime['mon'];
$d = $eventtime['mday'];
$y = $eventtime['year'];
if($event->repeatid) {
$fetch = get_record_sql('SELECT 1, COUNT(id) AS repeatcount FROM '.$CFG->prefix.'event WHERE repeatid = '.$event->repeatid);
$repeatcount = $fetch->repeatcount;
}
else {
$repeatcount = 0;
}
// Display confirmation form
echo '<div class="header">'.get_string('deleteevent', 'calendar').': '.$event->name.'</div>';
echo '<h2>'.get_string('confirmeventdelete', 'calendar').'</h2>';
if($repeatcount > 1) {
echo '<p>'.get_string('youcandeleteallrepeats', 'calendar', $repeatcount).'</p>';
}
echo '<div class="eventlist">';
$event->time = calendar_format_event_time($event, time(), '', false);
calendar_print_event($event);
@@ -281,12 +337,22 @@
$form->minutes = '';
}
}
if (!empty($form->courseid)) { // Fixes bug 1488
if (!empty($form->courseid)) {
// TODO: This is part of the Great $course Hack in Moodle. Replace it at some point.
$course = get_record('course', 'id', $form->courseid);
} else {
$course = $site;
}
if($event->repeatid) {
$fetch = get_record_sql('SELECT 1, COUNT(id) AS repeatcount FROM '.$CFG->prefix.'event WHERE repeatid = '.$event->repeatid);
$repeatcount = $fetch->repeatcount;
}
else {
$repeatcount = 0;
}
echo '<div class="header">'.get_string('editevent', 'calendar').'</div>';
include('event_edit.html');
if ($usehtmleditor) {
@@ -419,12 +485,12 @@
if($eventtype == 'select') {
$defaultcourse = $SESSION->cal_course_referer;
if(isteacheredit($defaultcourse, $USER->id)) {
$defaultgroup = 0;
$defaultgroup = $groupid = 0;
}
else {
$defaultgroup = user_group($defaultcourse, $USER->id);
$groupid = optional_param('groupid', $defaultgroup->id, PARAM_INT);
}
$groupid = optional_param('groupid', $defaultgroup->id, PARAM_INT);
$courseid = optional_param('courseid', $defaultcourse, PARAM_INT);
echo '<h2>'.get_string('eventkind', 'calendar').':</h2>';
echo '<div id="selecteventtype">';
@@ -455,13 +521,13 @@
echo calendar_filter_controls('event', 'action='.$action.'&amp;type='.$eventtype.'&amp;id='.$eventid);
echo '</div>';
echo '<div>';
echo '<div class="minicalendarblock">';
echo calendar_top_controls('display', array('m' => $prevmon, 'y' => $prevyr));
echo calendar_get_mini($courses, $groups, $users, $prevmon, $prevyr);
echo '</div><div>';
echo '</div><div class="minicalendarblock">';
echo calendar_top_controls('display', array('m' => $mon, 'y' => $yr));
echo calendar_get_mini($courses, $groups, $users, $mon, $yr);
echo '</div><div>';
echo '</div><div class="minicalendarblock">';
echo calendar_top_controls('display', array('m' => $nextmon, 'y' => $nextyr));
echo calendar_get_mini($courses, $groups, $users, $nextmon, $nextyr);
echo '</div>';
@@ -516,7 +582,14 @@ function calendar_add_event_allowed($courseid, $groupid, $userid) {
else if($courseid == 0 && $groupid == 0 && $userid == $USER->id) {
return true;
}
else if($courseid != 0 && isteacheredit($courseid)) {
else if($courseid == 0 && $groupid != 0) {
$group = get_record('groups', 'id', $groupid);
if($group === false) {
return false;
}
return isteacheredit($group->courseid) || isteacher($group->courseid) && ismember($groupid);
}
else if($courseid != 0 && isteacher($courseid)) {
return true;
}
@@ -529,11 +602,16 @@ function calendar_get_allowed_types(&$allowed) {
$allowed->user = true; // User events always allowed
$allowed->groups = false; // This may change just below
$allowed->courses = false; // This may change just below
$allowed->site = isteacheredit(SITEID);
$allowed->site = isteacher(SITEID);
if(!empty($SESSION->cal_course_referer) && $SESSION->cal_course_referer != SITEID && isteacheredit($SESSION->cal_course_referer, $USER->id)) {
$allowed->courses = array($SESSION->cal_course_referer => 1);
$allowed->groups = get_groups($SESSION->cal_course_referer);
if(!empty($SESSION->cal_course_referer) && $SESSION->cal_course_referer != SITEID && isteacher($SESSION->cal_course_referer, $USER->id)) {
$course = get_record('course', 'id', $SESSION->cal_course_referer);
$allowed->courses = array($course->id => 1);
if($course->groupmode != NOGROUPS || !$course->groupmodeforce) {
$allowed->groups = get_groups($SESSION->cal_course_referer);
}
}
}
+21 -2
View File
@@ -4,22 +4,41 @@
<form method="get" action="event.php" name="delete">
<p>
&nbsp;
<input type="submit" value=" <?php print_string('yes') ?> " />
<input type="submit" value=" <?php print_string('delete') ?> " />
<input type="hidden" name="id" value="<?php echo $event->id?>" />
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="m" value="<?php echo $m; ?>" />
<input type="hidden" name="d" value="<?php echo $d; ?>" />
<input type="hidden" name="y" value="<?php echo $y; ?>" />
<input type="hidden" name="confirm" value="1" />
<input type="hidden" name="repeats" value="0" />
&nbsp;
</p>
</form>
</td>
<?php if($repeatcount > 1) { ?>
<td>
<form method="get" action="event.php" name="delete">
<p>
&nbsp;
<input type="submit" value=" <?php print_string('deleteall') ?> " />
<input type="hidden" name="id" value="<?php echo $event->id?>" />
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="m" value="<?php echo $m; ?>" />
<input type="hidden" name="d" value="<?php echo $d; ?>" />
<input type="hidden" name="y" value="<?php echo $y; ?>" />
<input type="hidden" name="confirm" value="1" />
<input type="hidden" name="repeats" value="1" />
&nbsp;
</p>
</form>
</td>
<?php } ?>
<td>
<form method="get" action="view.php" name="cancel">
<p>
&nbsp;
<input type="submit" value=" <?php print_string('no') ?> ">
<input type="submit" value=" <?php print_string('cancel') ?> ">
<input type="hidden" name="view" value="day" />
<input type="hidden" name="cal_m" value="<?php echo $m; ?>" />
<input type="hidden" name="cal_d" value="<?php echo $d; ?>" />
+22 -1
View File
@@ -1,5 +1,5 @@
<form method="post" action="event.php" name="edit">
<table cellpadding="5">
<table cellpadding="5" cellspacing="0">
<tr>
<td style="vertical-align: top; text-align: right;">
<?php print_string('eventname', 'calendar'); ?>:
@@ -58,6 +58,27 @@
</div>
</td>
</tr>
<?php if($repeatcount > 1) { ?>
<tr>
<td style="vertical-align: top; text-align: right;">
<?php print_string('eventrepeat', 'calendar'); ?>:
</td>
<td>
<div>
<input type="radio" name="repeats" value="1" id="edit_all" checked="checked" />
<label for="edit_all">
<?php print_string('repeateditall', 'calendar', $repeatcount); ?>
</label>
</div>
<div>
<input type="radio" name="repeats" value="0" id="edit_this" />
<label for="edit_this">
<?php print_string('repeateditthis', 'calendar'); ?>
</label>
</div>
</td>
</tr>
<?php } ?>
<tr>
<td align="center" colspan="2"><p><input type="submit" value="<?php print_string('savechanges') ?>" /></p></td>
</tr>
+25 -37
View File
@@ -62,6 +62,8 @@ define ('CALENDAR_URL', $CFG->wwwroot.'/calendar/');
define ('CALENDAR_TF_24', '%H:%M');
define ('CALENDAR_TF_12', '%I:%M %p');
$CALENDARDAYS = array('sunday','monday','tuesday','wednesday','thursday','friday','saturday');
// Initialize the session variables here to be sure
calendar_session_vars();
@@ -115,8 +117,10 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
}
// Get the events matching our criteria. Don't forget to offset the timestamps for the user's TZ!
// TODO: usertime() doesn't compensate for DST. Thus the line below is wrong.
$whereclause = calendar_sql_where(usertime($display->tstart), usertime($display->tend), $users, $groups, $courses);
$whereclause = calendar_sql_where(
usertime($display->tstart) - dst_offset_on($display->tstart),
usertime($display->tend) - dst_offset_on($display->tend),
$users, $groups, $courses);
if($whereclause === false) {
$events = array();
@@ -387,7 +391,7 @@ function calendar_print_event($event) {
static $strftimetime;
$event = calendar_add_event_metadata($event);
echo '<table class="event">';
echo '<table class="event" cellspacing="0">';
echo '<tr><td class="picture">';
if (!empty($event->icon)) {
echo $event->icon;
@@ -534,7 +538,7 @@ function calendar_sql_where($tstart, $tend, $users, $groups, $courses, $withdura
}
function calendar_top_controls($type, $data) {
global $CFG;
global $CFG, $CALENDARDAYS;
$content = '';
if(!isset($data['d'])) {
$data['d'] = 1;
@@ -593,11 +597,10 @@ function calendar_top_controls($type, $data) {
break;
case 'day':
$data['d'] = $date['mday']; // Just for convenience
$dayname = calendar_wday_name($date['weekday']);
$prevdate = usergetdate(make_timestamp($data['y'], $data['m'], $data['d'] - 1));
$nextdate = usergetdate(make_timestamp($data['y'], $data['m'], $data['d'] + 1));
$prevname = calendar_wday_name($prevdate['weekday']);
$nextname = calendar_wday_name($nextdate['weekday']);
$prevname = calendar_wday_name($CALENDARDAYS[$prevdate['wday']]);
$nextname = calendar_wday_name($CALENDARDAYS[$nextdate['wday']]);
$content .= '<table class="calendar-controls"><tr>';
$content .= '<td class="previous"><a href="'.calendar_get_link_href('view.php?view=day&amp;', $prevdate['mday'], $prevdate['mon'], $prevdate['year']).'">&lt;&lt; '.$prevname."</a></td>\n";
@@ -639,7 +642,7 @@ function calendar_filter_controls($type, $vars = NULL, $course = NULL) {
} else {
$getvars = '&amp;from=course';
}
if (isset($course->groupmode) and !$course->groupmode and $course->groupmodeforce) {
if (isset($course->groupmode) and $course->groupmode == NOGROUPS and $course->groupmodeforce) {
$groupevents = false;
}
break;
@@ -982,8 +985,6 @@ function calendar_set_referring_course($courseid) {
function calendar_set_filters(&$courses, &$group, &$user, $courseeventsfrom = NULL, $groupeventsfrom = NULL, $ignorefilters = false) {
global $SESSION, $USER, $CFG;
//$GLOBALS['db']->debug = true;
// Insidious bug-wannabe: setting $SESSION->cal_courses_shown to $course->id would cause
// the code to function incorrectly UNLESS we convert it to an integer. One case where
// PHP's loose type system works against us.
@@ -1043,18 +1044,27 @@ function calendar_set_filters(&$courses, &$group, &$user, $courseeventsfrom = NU
}
else {
$grouparray = array();
$groupmodes = NULL;
// We already have the courses to examine in $courses
// For each course...
foreach($groupcourses as $courseid) {
// If the user is an editing teacher in there,
if(!empty($USER->id) && isteacheredit($courseid, $USER->id)) {
// Show events from all groups
if(($grouprecords = get_groups($courseid)) !== false) {
// The first time we get in here, retrieve all groupmodes at once
if($groupmodes === NULL) {
$groupmodes = get_records_list('course', 'id', implode(',', $groupcourses), '', 'id, groupmode, groupmodeforce');
}
// If this course has groups, show events from all of them
if(isset($groupmodes[$courseid]) && ($groupmodes[$courseid]->groupmode != NOGROUPS || !$groupmodes[$courseid]->groupmodeforce) && ($grouprecords = get_groups($courseid)) !== false) {
$grouparray = array_merge($grouparray, array_keys($grouprecords));
}
}
// Otherwise show events from the group he is a member of
// Otherwise (not editing teacher) show events from the group he is a member of
else if(isset($USER->groupmember[$courseid])) {
$grouparray[] = $USER->groupmember[$courseid];
}
@@ -1071,8 +1081,6 @@ function calendar_set_filters(&$courses, &$group, &$user, $courseeventsfrom = NU
else {
$group = false;
}
$GLOBALS['db']->debug = false;
}
function calendar_edit_event_allowed($event) {
@@ -1092,10 +1100,7 @@ function calendar_edit_event_allowed($event) {
if($group === false) {
return false;
}
if(isteacher($group->courseid)) {
return true;
}
return isteacheredit($group->courseid) || isteacher($group->courseid) && ismember($event->groupid);
} else if($event->courseid == 0 && $event->groupid == 0 && $event->userid == $USER->id) {
// User event, owned by this user
return true;
@@ -1206,23 +1211,6 @@ function calendar_format_event_time($event, $now, $morehref, $usecommonwords = t
return $eventtime;
}
function calendar_human_readable_dst($preset) {
$weekdays = array('sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday');
$options = new stdClass;
$options->activate_index = ($preset->activate_index == -1) ? get_string('last', 'calendar') : get_string('nth', 'calendar', $preset->activate_index);
$options->activate_weekday = ($preset->activate_day < 0) ? get_string('day', 'calendar') : get_string($weekdays[$preset->activate_day], 'calendar');
$options->activate_month = date('F', mktime(0, 0, 0, $preset->activate_month, 1, 2000));
$options->offset = abs($preset->apply_offset);
//$options->direction = $preset->apply_offset > 0 ? get_string('timeforward', 'calendar') : get_string('timerewind', 'calendar');
$options->direction = get_string('timeforward', 'calendar');
$options->deactivate_index = ($preset->deactivate_index == -1) ? get_string('last', 'calendar') : get_string('nth', 'calendar', $preset->deactivate_index);
$options->deactivate_weekday = ($preset->deactivate_day < 0) ? get_string('day', 'calendar') : get_string($weekdays[$preset->deactivate_day], 'calendar');
$options->deactivate_month = date('F', mktime(0, 0, 0, $preset->deactivate_month, 1, 2000));
return get_string('dsthumanreadable', 'calendar', $options);
}
function calendar_print_month_selector($name, $selected) {
$months = array();

Some files were not shown because too many files have changed in this diff Show More