2566 Commits

Author SHA1 Message Date
michaelpenne
6899d8973f removed an echo and a comment 2005-02-23 22:24:46 +00:00
michaelpenne
0741a56672 woops, took out gustavs change, yah cvs 2005-02-23 00:56:28 +00:00
michaelpenne
49584784ac fixed up leftmenu some more 2005-02-23 00:52:29 +00:00
stronk7
029db9ee2d When any URL is going to be used in a Location header or
in a meta-refresh, both Safari and Firefox, seems to fail
using & as parameter separator. Bug 2620.
(http://moodle.org/bugs/bug.php?op=show&bugid=2620)
2005-02-22 23:37:14 +00:00
moodler
f8dd016412 Removing these to avoid confusion.
Yes, my assignment refactoring is going to make it into 1.5
2005-02-22 12:56:20 +00:00
moodler
4c32ba4d3f More CSS and general tidying up. 2005-02-22 10:37:54 +00:00
moodler
deb0ab54c3 Added styles and cleaned up some code for XHTML compatibility 2005-02-22 08:29:12 +00:00
bobopinna
82af563584 Added complete datamodel support for SCORM 1.2 2005-02-22 08:00:19 +00:00
moodler
fd8097bae1 Some more tidying up 2005-02-22 07:30:13 +00:00
stronk7
ac3f72c899 Major rework of the wiki backup/restore.
It wasn' working fine because the wiki_pages table hadn't an id (primary key) field.

I've created, in the upgrade process, a temporary table to copy all the wiki_pages
records and then, drop and create again the table.

Tested under MySQL. Need to be tested (both creation and upgrade) under PostgreSQL!!!

Minor modifications to ewikimoodlelib.php to work with this new id field too. Seems to work
although deeper tests will be welcome (attachements, binary contents...)

Cross your fingers! ;-)
2005-02-21 17:55:54 +00:00
moodler
5b257acd23 Merged fix for 2613 2005-02-21 15:39:44 +00:00
stronk7
94e765288a Now parent and sortorder is supported at restore too. 2005-02-20 18:02:41 +00:00
stronk7
c98cb6bc57 Now quiz_categories' parent and sortoreder is supported in backup.
A mechanish to detect all the ancestors and to recover orphaned
categories is now running ar backup time to force backups to be consistent.
2005-02-20 17:19:04 +00:00
moodler
1d533faf92 Made new serverurl more standard (don't include raw variables in strings) 2005-02-20 06:08:58 +00:00
fiedorow
2ce434a99f Minor fix: language string lookup 2005-02-19 22:44:20 +00:00
fiedorow
d0cc843ed3 Added hook for more flexible authentication to external url - backwards compatible with existing file resources 2005-02-19 20:22:48 +00:00
moodler
0f934cd9e5 Use new advancedsettings help file and title 2005-02-19 14:38:13 +00:00
stronk7
5150c3043a Now questionsperpage is in backup & restore 2005-02-19 01:24:17 +00:00
stronk7
22bb909b57 Now forum_read is included in backup & restore 2005-02-18 19:05:09 +00:00
mchurch
f0195f0295 Fixed help button layout in accordance with standard modules (bug 2556). 2005-02-18 18:18:00 +00:00
gustav_delius
ee930c461d made appearance of quiz setup page look like the resource setup pages, see bug 2587. Also added the new variable quiz_questionsperpage properly. 2005-02-18 17:20:06 +00:00
defacer
090cf95ae9 Fix for bug 2584:
All floatval() calls changed to (float) casts.
2005-02-18 14:42:04 +00:00
moodler
a48e8c4b7e Efficiency for forum_count_discussion_replies() from stable 2005-02-18 08:00:00 +00:00
gustav_delius
56c0715e77 The teacher forum has no coursemodule and this led to errors in particular in forum_print_latest_discussions(). 2005-02-18 06:41:12 +00:00
stronk7
92fac4b251 Now 0 rates are supported in glossary. Bug 2582
(http://moodle.org/bugs/bug.php?op=show&bugid=2582)
2005-02-18 01:00:42 +00:00
stronk7
4f746d2aea ARGGG. I spent 1 hour discovering where was the error!!
Under PHP5 we must cast objects to arrays to use them in loops.
But what is really annoying is that, instead of return an error, PHP
returns the 1st element! This should close bug 2581.
(http://moodle.org/bugs/bug.php?op=show&bugid=2581)
2005-02-18 00:19:08 +00:00
stronk7
4837dd1f46 Now globalglossary is working!
Bug 2577
(http://moodle.org/bugs/bug.php?op=show&bugid=2577)
2005-02-17 19:45:12 +00:00
stronk7
73e97c3113 Now the glossary filter only links to concepts in visible glossaries (for everybody!)
Bug 2566
(http://moodle.org/bugs/bug.php?op=show&bugid=2566)
2005-02-17 19:28:21 +00:00
gustav_delius
1ee55c41d9 Give groupmode selection to mod.html for all modules that use groupmode. Also fix bug 2576 2005-02-17 19:19:21 +00:00
stronk7
6c3512329b Done. Now:
- students only view entries from visible glossaries.
- teachers view any entry from their course and only visible from global glossaries.
- admins view any entry from any course and any entry from global glossaries too.

Part of bug 2566
(http://moodle.org/bugs/bug.php?op=show&bugid=2566)
2005-02-17 18:58:53 +00:00
bobopinna
92a489eb6a First step to SCORM2004, new communication subsystem 2005-02-17 16:04:42 +00:00
thepurpleblob
8b8a1caaaa Dumps a question as an IMS QTI Manifest. Can be called from external programs requiring
this data. Submitted by Brian King.
2005-02-17 14:41:05 +00:00
thepurpleblob
06e273a1c3 Brian King's new QTI export capability - needs some testing yet. 2005-02-17 13:39:35 +00:00
thepurpleblob
425d616a1e Smarty templates used for new qti export feature. 2005-02-17 13:37:49 +00:00
bobopinna
8b1b2407ee New validation procedure 2005-02-17 09:26:13 +00:00
moodler
5e497e4e7a Some more styles 2005-02-17 09:25:05 +00:00
bobopinna
2a0407b7f6 First step for SCORM2004, new communication subsystem 2005-02-17 08:52:54 +00:00
moodler
b8340d1938 Removal of THEME, added some classes, general tidy up. 2005-02-17 08:38:50 +00:00
moodler
4d2c0e754c Initialise a variable 2005-02-17 05:15:50 +00:00
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
moodler
c8680d86e9 Remove html around paging bar 2005-02-16 07:41:29 +00:00
moodler
c2b552feeb Some fixes to styles etc 2005-02-16 07:35:57 +00:00
moodler
f51e8d7ed6 FIxed up styles and lots of quotes 2005-02-16 06:17:31 +00:00
moodler
fb83bd5075 Fixed a notice 2005-02-15 17:44:02 +00:00
moodler
d3583b418b Checking in what I've got so far here ... lots to do. 2005-02-15 17:27:52 +00:00
defacer
ef08e7ad70 Fix a notice if $attemptmark doesn't get set. 2005-02-15 01:39:12 +00:00
stronk7
c6e88f1059 One more use of decimalpoints 2005-02-14 19:57:45 +00:00
stronk7
e37da3a536 Now decimalpoints is used to show grades
(I had to modify quiz_get_best_grade() slighty)
2005-02-14 19:41:52 +00:00
stronk7
f4e56673df Added backup and restore support for decimalpoints 2005-02-14 19:05:00 +00:00
stronk7
ee40f7a720 Added configuration support for decimalpoints 2005-02-14 18:56:53 +00:00