99 Commits

Author SHA1 Message Date
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
moodler
535136bde7 Correct calls to require_course_login 2005-04-13 07:00:35 +00:00
bobopinna
c7ba7d1197 fixed two typos in manifest parsing 2005-04-11 07:31:07 +00:00
bobopinna
206f68cf98 fixed a typo. 2005-04-11 06:48:39 +00:00
bobopinna
e170f66546 Fixed mysql db design 2005-04-11 06:15:50 +00:00
bobopinna
5b9ea0ebb5 Fixed db definition and upgrade 2005-04-08 15:58:40 +00:00
defacer
111bb080ac Fix some warnings when upgrading but no scorms exist. 2005-04-06 08:21:16 +00:00
bobopinna
3a94d06df6 New data model system 2005-04-06 08:07:03 +00:00
mjollnir_
4c9c104a22 One more syntax fix for scorm postgres upgrade. You can't do WHERE 1 in postgres 2005-04-06 02:09:16 +00:00
mjollnir_
7965748f14 Fixing a few syntax problems in scorm upgrade for postgres. Upgrade still fails (this relates to bug #2832 which I'm about to update) 2005-04-06 02:08:06 +00:00
bobopinna
0660e26186 Fixed a bad defined index 2005-04-05 06:54:32 +00:00
bobopinna
867b2a5c5b Uniformed view and playscorm course structure 2005-04-04 14:10:03 +00:00
bobopinna
1742fccc68 Fixed a typo 2005-04-04 09:43:28 +00:00
bobopinna
51ffd65c72 Added INDEX parameters support 2005-04-04 09:37:52 +00:00
bobopinna
d0dd5c4b3d Added ITEM parameters support. 2005-04-04 09:30:51 +00:00
gustav_delius
08dd99537a primary key has to be id, see bug 2832 2005-04-02 23:38:08 +00:00
moodler
a068498c5d Drop the popup field properly 2005-04-02 09:56:49 +00:00
bobopinna
4928a2f323 Several change to db fields, a complete redesign of user data track 2005-04-01 15:53:32 +00:00
moodler
d1a5fbd493 Just fixing some errors, but these functions should really return some info 2005-03-27 06:12:58 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
bobopinna
b7ddb4a618 New user inteface 2005-03-01 17:52:39 +00:00
stronk7
4a1bf86fae Some $ME are now out!
And 5 lines have been added because they weren't merged before! Please,
check them!

Merged from MOODLE_14_STABLE
2005-02-27 00:56:13 +00:00
bobopinna
82af563584 Added complete datamodel support for SCORM 1.2 2005-02-22 08:00:19 +00:00
bobopinna
92a489eb6a First step to SCORM2004, new communication subsystem 2005-02-17 16:04:42 +00:00
bobopinna
8b1b2407ee New validation procedure 2005-02-17 09:26:13 +00:00
bobopinna
2a0407b7f6 First step for SCORM2004, new communication subsystem 2005-02-17 08:52:54 +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
gustav_delius
48e535bc35 Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.

If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.

If deleting a coursemodule its events are deleted from the calendar.

The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.

For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
moodler
f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
moodler
730d1e9611 Fixed bodgy call to config.php (http://moodle.org/mod/forum/discuss.php?d=18293) 2005-02-09 03:48:45 +00:00
moodler
b61aed4297 Fixed up some layout issues in the configuration files 2005-02-08 09:23:21 +00:00
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
stronk7
18d20603ca Added one missing sesskey. 2005-01-27 23:32:41 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
stronk7
ced8b969e6 Just activating validation in Head to be able to test it. 2004-12-17 17:24:13 +00:00
stronk7
b7237c1ed6 Changes since 1.13.2.4 upto 1.13.2.9 in MOODLE_14_STABLE
applied to HEAD!!!

Some validation code has changed and I've leave it commented
exactly as it's in MOODLE_14_STABLE. Not sure why!!
2004-12-17 14:52:06 +00:00
martinlanghoff
a45de11f5b Merge from MOODLE_14_STABLE - Fixed SC#30 - credits go to skodak 2004-12-13 06:48:57 +00:00
moodler
3f8eeff210 Merged from stable 2004-11-26 15:42:05 +00:00
moodler
caf261b0c3 Changes for XHTML and accessibility compatibility 2004-11-26 07:07:06 +00:00
martinlanghoff
1da35f2942 Merge from MOODLE_14_STABLE
Fix for bug 2227 "bug in pclzip.php causing scorm errors"
http://moodle.org/bugs/bug.php?op=show&bugid=2227

Credits go to skodak
2004-11-26 00:57:58 +00:00
mjollnir_
7e0286af89 Merged from MOODLE_14_STABLE: Indexes for scorm and version bump (honoring partial freeze) 2004-11-19 05:28:51 +00:00
bobopinna
085778e23b Patched a nav.event data model problem 2004-11-11 14:25:59 +00:00
moodler
27d394caf9 Merged removed notice from stable 2004-11-10 14:19:40 +00:00
moodler
5938401cff Updated Resource, Wiki and Scorm to use the new files/index.php to
choose files.   The old coursefiles.php is obsolete.
2004-11-02 12:53:32 +00:00
stronk7
664ae635d5 Now Scorm's FileManager is using central zip and unzip functions.
Merged from MOODLE_14_STABLE
2004-10-17 22:49:51 +00:00
stronk7
ebfff4e014 admin/module.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00
mjollnir_
777b9e0faf More changes to use fullname function rather than firstname lastname
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-108
    2004-09-30 03:31:29 GMT
    Penny Leach <penny@catalyst.net.nz>
    final changes to use fullname

Full logs:

Revision: moodle--eduforge--1.3.3--patch-108
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 30 15:31:29 NZST 2004
Standard-date: 2004-09-30 03:31:29 GMT
Modified-files: login/confirm.php mod/scorm/report.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-108
Summary: final changes to use fullname
Keywords:
2004-09-30 03:43:40 +00:00
moodler
8ef1e12f74 Merged fix for unclean oldname from renaming ... from stable. 2004-09-28 08:05:18 +00:00