359 Commits

Author SHA1 Message Date
stronk7
95e72c12d0 Now retrieving only needed fields! 2005-02-13 00:42:29 +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
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
a589ccb37f Moving some strings to make them available in all the script. Not really sure about changes introduced in version 1.42! Penny? 2005-02-03 23:19:54 +00:00
julmis
d00ffdf949 Adding <span class="nolink"> filter. It doesn't break in editor. 2005-01-29 16:45:08 +00:00
moodler
d3c8056258 Changes for XHTML and accessibility compatibility.
Tidied up layout and other minor changes.
2005-01-25 09:39:29 +00:00
moodler
48b29ba423 Moved rsslib.php from the rss directory to the lib directory with the
other libraries
2005-01-25 06:09:31 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
urs_hunkler
fe32b4f6d7 _ added the DIV framework for new CSS 2005-01-19 12:02:52 +00:00
ikawhero
c7444a36a5 General removal of <nolink> tags for XHTML compatibility.
Moved from the glossary filter as the filter may not be enabled.
2005-01-18 06:57:59 +00:00
stronk7
68600084f4 One space out 2005-01-14 08:36:48 +00:00
moodler
d3709d95c4 Changes for XHTML compatibility and other HTML code cleanup 2005-01-13 10:08:23 +00:00
stronk7
41c980286b Now print-view availability for students can be configured by glossary.
Bug 2080 (http://moodle.org/bugs/bug.php?op=show&bugid=2080)
2005-01-12 00:55:38 +00:00
stronk7
420158ba41 Delete orphaned categories remaining in server. Bug 2140
(http://moodle.org/bugs/bug.php?op=show&bugid=2140)
2005-01-11 12:40:41 +00:00
stronk7
792a76d810 Maintain whitespace when importing glossary entries. I forgot to
commit this! Bug 2310.

Merged from MOODLE_14_STABLE
2005-01-11 11:24:03 +00:00
fiedorow
06870aa324 fixing a couple of instances of hardcoded /admin/ 2004-12-31 16:12:58 +00:00
moodler
07496589ba More XHTML from Shane 2004-12-22 02:59:21 +00:00
moodler
1e44343940 Some leftover XHTML changes ... 2004-12-22 02:53:05 +00:00
moodler
d23e2291a5 Checking in some old changes from Shane, I think ... just spacing ... 2004-12-22 02:51:54 +00:00
stronk7
485d102488 The entrylist format now shows the approval button.
Bug 2291.
(http://moodle.org/bugs/bug.php?op=show&bugid=2291)

Merged from MOODLE_14_STABLE
2004-12-18 20:29:33 +00:00
stronk7
ff4240129c Some checks are now done. SC#18.
Merged from MOODLE_14_STABLE
2004-12-15 09:03:39 +00:00
stronk7
69baafdea7 Now search function look into aliases too.
Bug 2242
(http://moodle.org/bugs/bug.php?op=show&bugid=2242)

Merged from MOODLE_14_STABLE
2004-12-11 00:54:37 +00:00
stronk7
1c144d0eed Changed some parameters. SC#33.
Merged from MOODLE_14_STABLE
2004-11-28 23:54:11 +00:00
stronk7
36ce6ea2d1 Solve some visualisation issues in encyclopedia format. I think that now
it will be correct!

Merged from MOODLE_14_STABLE
2004-11-26 01:22:41 +00:00
stronk7
e2cf5316c1 New paging system for glosaries.
100% compatible with Moodle's one.
Supports more options. Perhaps we could use it
sitewide.

Merged from MOODLE_14_STABLE
2004-11-24 23:37:46 +00:00
mjollnir_
56e9c38161 Merged from MOODLE_14_STABLE: Fix for postgres-invalid-sql (must have AS between field and alias) 2004-11-24 23:24:32 +00:00
mjollnir_
63758a7848 Merged from MOODLE_14_STABLE: Requires bump for glossary for last patch - needs db_lowercase and db_uppercase 2004-11-23 23:16:08 +00:00
mjollnir_
6b7f8df2ec Merged from MOODLE_14_STABLE: Fixing use of UCASE and LCASE in glossary which are not postgres friendly - two new functions in datalib, db_uppercase and db_lowercase which return the database-correct functions to use. Some were already fixed in HEAD - those have been left as they were 2004-11-23 23:05:06 +00:00
mjollnir_
1ad49e00d9 Merged from MOODlE_14_STABLE: Indexes for glossary and version bump 2004-11-18 04:38:52 +00:00
stronk7
1b4002e0b7 Just changing some parameters stuff to new functions...
See SC and Bug 1837

Merged from MOODLE_14_STABLE
2004-11-17 00:14:34 +00:00
stronk7
2b99ea9efb Print view isn't accesible if the activity is hidden.
Bug 1837
(http://moodle.org/bugs/bug.php?op=show&bugid=1837)

Merged from MOODLE_14_STABLE
2004-11-16 23:36:35 +00:00
stronk7
62067fe3ae Header is out and "Site:" is in.
Partially solved Bug 1837
(http://moodle.org/bugs/bug.php?op=show&bugid=1837)

Merged from MOODLE_14_STABLE
2004-11-16 23:12:21 +00:00
stronk7
ae06e00e75 Old-awaiting for 1.4.2 release changes in the glossary.
Now, print view is different for each format (consistent with it).
New, custom formats can, optionally, define their print view. Else
the default one will be used.
With this, 1.4.x glossary developments are finished and we can start
solving some pending things in 1.5...

Merged from MOODLE_14_STABLE
2004-11-09 23:23:04 +00:00
mjollnir_
36c2c0efee glossary attachments fix to allow optional file upload 2004-11-09 21:02:39 +00:00
stronk7
4070cddfb2 Bug 2140 solved partially. Now categories are
deleted properly.

Delete of orphan categories will be done later...

Merged from MOODLE_14_STABLE
2004-11-01 20:50:03 +00:00
moodler
52159a0df4 More changes for XHTML compatibility 2004-10-26 09:28:54 +00:00
paca70
67db6177de Some fixes for postgresql 2004-10-22 17:03:37 +00:00
moodler
d7d21c383c Minor changes for XHTML compatibility 2004-10-08 13:58:33 +00:00
stronk7
f4646b44c1 Now RSS links ae showed properly in SITE course when
user isn't logged.

Solve a problem with if($USER) under PHP5.
2004-10-05 23:21:38 +00:00
stronk7
b2ddd9d7ae Now RSS links are displayed ok in SITEID course.
Bug 2048.
(http://moodle.org/bugs/bug.php?op=show&bugid=2048)

Merged from MOODLE_14_STABLE
2004-10-04 22:21:30 +00:00
stronk7
ebfff4e014 admin/module.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00
stronk7
6f84a9d2db Some clear_text() and format_text() calls added.
Merged from MOODLE_14_STABLE
2004-10-01 10:32:34 +00:00
stronk7
c286325360 Undo las changes. Point releases are only for STABLE branches. 2004-10-01 09:02:27 +00:00
stronk7
65a7a27907 New version syntax. 2004-10-01 08:38:53 +00:00
moodler
34b5847a1a Some changes for XHTML and accessibility compliance 2004-09-30 08:42:34 +00:00
moodler
7a2c8b00d6 Merged SQL fixes from stable 2004-09-29 07:56:33 +00:00
stronk7
4db75a5cb2 Merged quotes from MOODLE_14_STABLE 2004-09-28 23:20:13 +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