393 Commits

Author SHA1 Message Date
moodler
0f6d2c4cf5 Don't echo print_tabs 2005-03-15 09:47:03 +00:00
moodler
929f35f6d3 Using the new tab code (SE) 2005-03-15 09:25:03 +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
stronk7
c90b35f7fb Added support for glossary "view entry" log action. 2005-03-13 00:50:43 +00:00
bawjaws
e72f10f496 change class from 'autolink' to 'glossary-autolink' to differentiate
(at least potentially) from other autolinks.
2005-03-11 20:55:04 +00:00
moodler
a736e963a5 New log entry to show when a glossary entry is viewed 2005-03-10 14:38:04 +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
moodler
a8466100f3 Removing THEME variable and replacing with CSS (SE) 2005-03-10 08:32:10 +00:00
moodler
3a26f0eac2 Some more style stuff (SE) 2005-03-08 09:44:26 +00:00
moodler
8e6b85f63c Link to new help file 2005-03-08 08:23:43 +00:00
moodler
dbc6b4447c Duplicate entries are now removed. (SE) 2005-03-08 07:48:00 +00:00
moodler
f1e0649c1c Removed files/mimetype.php and put it into lib/filelib.php instead
where it always should have been.
2005-03-07 11:32:03 +00:00
moodler
facc743aa2 Rewritten to use the new generic filter function. (SE) 2005-03-04 10:12:44 +00:00
moodler
8af04b002d Filter will now not link within the head tags 2005-03-01 08:42:07 +00:00
moodler
e5515b3816 Fixed up the display after adding/editing new entries to make it more standard.
Also shuffled a little code to make it easier ofr me to read.
2005-03-01 08:10:52 +00:00
stronk7
d698fea233 Some $ME are now out!
Merged from MOODLE_14_STABLE
2005-02-27 00:12:25 +00:00
ikawhero
d7d93ee995 Fixed incorrect order of rebuilding excluded text 2005-02-25 23:18:09 +00:00
moodler
e19a635c98 Removing the old <nolink> tags. In some cases using both <span class="nolink">
and <nolink> together was causing some problems. (SE)
2005-02-25 12:36:27 +00:00
moodler
ebfd5ff7b3 Even more style changes. (SE) 2005-02-25 11:09:49 +00:00
moodler
91b4cb6867 More style changes. Will it ever end? (SE) 2005-02-25 09:16:54 +00:00
moodler
9362b9b670 More CSS style changes. General tidy up, changed " to ' where appropriate. 2005-02-25 07:58:03 +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
moodler
fd8097bae1 Some more tidying up 2005-02-22 07:30:13 +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
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
moodler
5e497e4e7a Some more styles 2005-02-17 09:25:05 +00:00
moodler
b8340d1938 Removal of THEME, added some classes, general tidy up. 2005-02-17 08:38: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
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