Commit graph

1501 commits

Author SHA1 Message Date
stronk7
1757627af3 Now hidden sections are hidden completely from student view if
"invisible sections" are configured in course settings.
Patch sent by Geoff Wilbert. Thanks!
See Bug 2185
(http://moodle.org/bugs/bug.php?op=show&bugid=2185)

Merged from MOODLE_14_STABLE
2004-11-16 17:30:45 +00:00
mjollnir_
ff84f65428 Confirmation for deleting course categories 2004-11-16 02:21:31 +00:00
defacer
f032aa7a5f MAJOR CHANGES:
--------------

Brand-new pagelib.php at your disposal! It slices, it dices, it makes your coffee.
It still doesn't understand women... Read the comments in pagelib.php for a first
impression. Feedback highly encouraged!

Blocks code has undergone significant changes to work with Pages. Flexibility is its
middle name, since I think (without having tried it) that adding e.g. a third
placeholder for "center" blocks in courses, with full support for moving around etc,
will now take about 15 lines of new or edited code. If you are not impressed yet, I
suggest watching a documentary on solar physics. :P

MINOR CHANGES:
--------------

Added instance_allow_config() in the blocks class hierarchy to supplement per-instance
configuration options. You can override it to return true and thus get configuration
amenities without allowing multiple instances.

Minor polishing to comments and documentation (whatever caught my eye was game).

Tightened up some code here and there by utilizing all the new features.

BUGFIXES:
---------

A bug in restore_execute.html caused hidden blocks to not be restored at all.
2004-11-08 19:36:07 +00:00
skodak
b56681b0a3 typo during xhtml update 2004-10-22 20:17:01 +00:00
moodler
062369857b Merged bug 2114 fix from STABLE 2004-10-21 15:50:58 +00:00
stronk7
60bd11cfc9 Solved one annoying bug where label texts in sections != first
was being always cleared, preventing some tags to be there!

Merged from MOODLE_14_STABLE
2004-10-20 23:26:49 +00:00
defacer
9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler
169fc66a15 Merged small speed improvements from STABLE 2004-10-18 06:00:26 +00:00
moodler
08684ee95c Merged PHP5 fix for bug 2073 from STABLE 2004-10-15 09:54:04 +00:00
stronk7
5b224948aa course/view.php is using sesskey
(changes in blocks done, please check them)

Merged from MOODLE_14_STABLE
2004-10-09 20:16:05 +00:00
stronk7
967cd1164b course/unenrol.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 19:08:01 +00:00
stronk7
5bcfaece3d course/teacher.php is using sesskey.
(POST form too)

Merged from MOODLE_14_STABLE
2004-10-09 19:02:35 +00:00
stronk7
a60399f0fe course/student.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 18:51:12 +00:00
stronk7
92604dbcf8 course/scales.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 18:33:44 +00:00
stronk7
8b92f5bb7d course/mod.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 17:23:28 +00:00
stronk7
d99ceac20f course/index.php is using sesskey.
Merged form MOODLE_14_STABLE
2004-10-09 13:22:59 +00:00
stronk7
d84e70d049 course/groups.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 12:03:55 +00:00
stronk7
740c44428e course/group.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 11:47:36 +00:00
stronk7
bb207404e8 course/grades.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 11:37:48 +00:00
stronk7
676eb5e8df course/editsection.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-08 18:32:27 +00:00
stronk7
38c8de9591 course/edit.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-08 18:13:05 +00:00
stronk7
56fcb59a51 course/delete.php is using sesskey
Merged from MOODLE_14_STABLE
2004-10-08 17:58:38 +00:00
stronk7
abf45bedf0 course/category.php is using sesskey
Merged from MOODLE_14_STABLE
2004-10-08 16:52:20 +00:00
moodler
6ac98433a7 Changes for XHTML compatibility 2004-10-08 14:43:35 +00:00
moodler
bcb5605ee1 Minor change for XHTML compatibility 2004-10-08 13:39:46 +00:00
moodler
de78568276 Changes for XHTML compatibility 2004-10-08 13:34:48 +00:00
moodler
44ff1b8791 Changes for XHTML compatibility 2004-10-07 09:18:33 +00:00
moodler
1ddd15afbd Changes for XHTML compatibility 2004-10-07 08:46:30 +00:00
stronk7
1066e0dc62 Changed some conditions against the $USER variable
to work fine under PHP5.

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

Merged from MOODLE_14_STABLE
2004-10-06 16:52:24 +00:00
moodler
4f91674c4b Merged visibility fix from stable 2004-10-02 15:29:49 +00:00
moodler
7228f7963f Merged sesskey stuff from stable 2004-10-01 15:06:39 +00:00
moodler
e0d346ff91 Added optional_param and required_param just to get it on the plate 2004-10-01 12:09:52 +00:00
gustav_delius
dfc12289a3 after removing empty line at top of section the editing icon was now a bit cramped in, so added an empty line below it but only if editing is on. 2004-09-30 18:56:08 +00:00
gustav_delius
eab617f96c removed spurious empty line at start of sections 2004-09-30 18:43:24 +00:00
moodler
34b5847a1a Some changes for XHTML and accessibility compliance 2004-09-30 08:42:34 +00:00
moodler
9f39c19012 Some changes for XHTML and accessilibity compliance 2004-09-30 06:46:26 +00:00
mjollnir_
92e754ebd2 Fixed firstname lastname to call to fullname function 2004-09-29 21:32:53 +00:00
moodler
2750feef82 A script that will jump to a given URL. Very simple. 2004-09-29 13:47:16 +00:00
moodler
ac87e23424 Merged from STABLE 2004-09-28 15:58:13 +00:00
moodler
b873cae07a FIxed wierd typo 2004-09-27 14:33:06 +00:00
moodler
83f3c62dbe Fixed my recently introduced bug with the redirect bug 2000 2004-09-26 02:42:54 +00:00
dhawes
d740c724ac Converted many double quoted strings to single quote literals 2004-09-25 15:17:08 +00:00
moodler
4ebae17119 Merged earlier redirecftion for site course 2004-09-23 17:02:02 +00:00
moodler
cc57a111fc Changes for XHTML and accessibility compliance 2004-09-23 12:25:49 +00:00
moodler
87d32352a9 Some changes for XHTML and accessibility compliance 2004-09-23 12:09:19 +00:00
paca70
8bf59996b5 escaped two "'s 2004-09-22 11:23:42 +00:00
gustav_delius
8f0cd6ef0f Resolved problems with previous replacement of
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
mjollnir_
c80b75857d Changes to log view page so that infected files comes under 'site errors'.
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-73
    2004-09-17 00:05:28 GMT
    Penny Leach <penny@catalyst.net.nz>
    better logging for uploads and infected files, as well as changing the log page view slightly so that site errors yields infected files as well

Full logs:

Revision: moodle--eduforge--1.3.3--patch-73
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Fri Sep 17 12:05:28 NZST 2004
Standard-date: 2004-09-17 00:05:28 GMT
Modified-files: course/lib.php lib/uploadlib.php
    lib/weblib.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-73
Summary: better logging for uploads and infected files, as well as changing the log page view slightly so that site errors yields infected files as well
Keywords:
2004-09-17 00:10:53 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
mjollnir_
81d425b43c Integration of new centralised upload code with user profile, and group profile, as well as an enhancement to upload class to be configured to be silent.
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-66
    2004-09-16 00:03:41 GMT
    Penny Leach <penny@catalyst.net.nz>
    changes to upload class to be silent if we want it to be, integration with editing user profile and group profile (which meant changes in lib/gdlib.php as well as course/group-edit and group.php and user/edit.html and edit.php


Full logs:

Revision: moodle--eduforge--1.3.3--patch-66
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 12:03:41 NZST 2004
Standard-date: 2004-09-16 00:03:41 GMT
Modified-files: course/group-edit.html course/group.php
    lib/gdlib.php lib/uploadlib.php user/edit.html
    user/edit.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-66
Summary: changes to upload class to be silent if we want it to be, integration with editing user profile and group profile (which meant changes in lib/gdlib.php as well as course/group-edit and group.php and user/edit.html and edit.php
Keywords:
2004-09-16 00:16:48 +00:00