112 Commits

Author SHA1 Message Date
moodler
41682d287c Now uses the new tab structure (SE) 2005-03-15 09:58:14 +00:00
moodler
d38577e226 Simplify autolink styles to "modulename autolink" 2005-03-15 08:38:27 +00:00
moodler
b9dc937d01 Removed some redundant wrappers 2005-03-13 16:25:30 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
69ad0d6928 Better logging and recent activity 2005-03-10 14:11:07 +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
paca70
2b92c040c8 Merged postgresql fixes from MOODLE_14_STABLE(Revision 1.2.4.1) to HEAD. 2005-03-09 15:14:27 +00:00
moodler
b7ac9c8c75 Fixed a bug that was using all versions of each page in the filter process.
Now only one instance of each page is used. (SE)
2005-03-08 07:47:10 +00:00
moodler
8a0556be8c Fixed four more references to mimetypes.php (bug 2690) Thanks, Gustav! 2005-03-07 15:11:43 +00:00
moodler
ffa1447181 Minor formatting changes ... put a table around the htmleditor area to
rein it in.
2005-03-07 06:32:54 +00:00
moodler
c305e24e94 Merged fix from stable for dates 2005-03-07 06:00:04 +00:00
mchurch
1fb5d4b081 Added the 'get_recent_activity' function (see bug 1897). 2005-03-05 04:14:51 +00:00
moodler
facc743aa2 Rewritten to use the new generic filter function. (SE) 2005-03-04 10:12:44 +00:00
stronk7
d0b95287c5 Some $ME are now out!
Merged from MOODLE_14_STABLE
2005-02-27 02:13:18 +00:00
stronk7
2231b98040 Avoid some notices breaking image display and correct redirects. Bug 2638.
(http://moodle.org/bugs/bug.php?op=show&bugid=2638)

Merged from MOODLE_14_STABLE
2005-02-25 00:11:49 +00:00
stronk7
472a28cab4 Now the get_participants() standard function is working inside wiki module
Merged from MOODLE_14_STABLE
2005-02-24 23:50:24 +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
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
mchurch
f0195f0295 Fixed help button layout in accordance with standard modules (bug 2556). 2005-02-18 18:18:00 +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
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
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
julmis
5096a8eada Adding <span class="nolink"> excluding. 2005-01-30 14:21:52 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
urs_hunkler
08bcdcbea2 _ added the div framework 2005-01-19 09:26:45 +00:00
gustav_delius
713492e36c corrected typo in previous commit 2005-01-15 21:59:41 +00:00
gustav_delius
dc9e582553 fixed bug 1887 2005-01-15 21:55:25 +00:00
gustav_delius
61e59ace64 implemented fix for restore problem given in bug #1589 2005-01-15 21:49:22 +00:00
skodak
a0fb9e8e65 merged from MOODLE_14_STABLE; updated zipping code - see bug #2228 2004-12-15 21:59:30 +00:00
mchurch
03c6f3bf7d Modified to ouput proper XHTML - especially if it already was XHTML.
See bug #2230.
2004-12-08 22:05:44 +00:00
moodler
b64dab0e5d Changes for XHTML and accessibility compatibility 2004-11-26 09:33:02 +00:00
mjollnir_
38279ad6d8 Merged from MOODlE_14_STABLE: Attempt to fix bad constraint name in wiki and version bump (honoring partial freeze) and requires bump (needs changes in execute_sql to not show adodb feedback) 2004-11-23 22:40:48 +00:00
paca70
3c55bb0f9d Fixed typo. Time to sleep... 2004-11-23 21:34:38 +00:00
paca70
e80c7d5d15 Closed bug #2209
Don't replace & if it's part of encoded character.
2004-11-23 21:29:21 +00:00
mjollnir_
81c41b659e Merged from MOODLE_14_STABLE: Indexes for wiki and version bump (honoring partial freeze) 2004-11-21 21:16:41 +00:00
mjollnir_
cfd146aefa Wiki integration with upload class.
Changes in two upload forms and in moodle_binary_store.php - moodle_binary_store_file

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-363
    Penny Leach <penny@catalyst.net.nz>
    wiki integration with upload class.
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-364
    Penny Leach <penny@catalyst.net.nz>
    fixed lost submit button from last wiki upload patch, also fixed bug related to generating db id for attached files

Full logs:

Revision: moodle--eduforge--1.3.3--patch-363
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Mon Nov  8 11:18:08 NZDT 2004
Standard-date: 2004-11-07 22:18:08 GMT
Modified-files: mod/wiki/ewiki/ewiki.php
    mod/wiki/ewiki/plugins/moodle/downloads.php
    mod/wiki/ewiki/plugins/moodle/moodle_binary_store.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-363
Summary: wiki integration with upload class.
Keywords:


Revision: moodle--eduforge--1.3.3--patch-364
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Mon Nov  8 16:01:29 NZDT 2004
Standard-date: 2004-11-08 03:01:29 GMT
Modified-files: mod/wiki/ewiki/plugins/moodle/downloads.php
    mod/wiki/ewiki/plugins/moodle/moodle_binary_store.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-364
Summary: fixed lost submit button from last wiki upload patch, also fixed bug related to generating db id for attached files
Keywords:
2004-11-08 05:32:18 +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
moodler
e61d4b39a0 Merged fix from stable 2004-10-26 07:42:33 +00:00
skodak
763692fd55 merged from 14_STABLE - fixed warning in Activity report/Outline - oops, wrong line 2004-10-24 21:08:06 +00:00
skodak
5c05d23b4b merged from 14_STABLE - fixed warning in Activity report/Outline 2004-10-23 19:21:30 +00:00
stronk7
0085c88953 Now Wiki's FileManager is using central zip & unzip functions.
Merged from MOODLE_14_STABLE
2004-10-17 23:16:17 +00:00
moodler
cb59215c7f Merged from stable 2004-10-01 02:19:29 +00:00
paca70
55bcf883c3 Fixes for new postgres database creation 2004-09-24 07:49:40 +00:00
gustav_delius
8f0cd6ef0f Resolved problems with previous replacement of
& to &amp; and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
skodak
d1a6dd2716 short php tags - Bug #1956 2004-09-18 22:36:09 +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_
16ffe14a93 Integration of new centralised upload code with wiki/wikifiles.php - this is the choose initial page part, not the upload a page into the wiki part.
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-63
    2004-09-15 21:56:38 GMT
    Penny Leach <penny@catalyst.net.nz>
    wikifiles integration with upload class - this is just the initial page part, not the upload a file into the wiki parg


Full logs:

Revision: moodle--eduforge--1.3.3--patch-63
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 09:56:38 NZST 2004
Standard-date: 2004-09-15 21:56:38 GMT
Modified-files: mod/wiki/wikifiles.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-63
Summary: wikifiles integration with upload class - this is just the initial page part, not the upload a file into the wiki parg
Keywords:
2004-09-15 22:07:27 +00:00
mchurch
d2481a47ba Fixed strip_pages bug. 2004-09-13 23:03:42 +00:00