Commit graph

6766 commits

Author SHA1 Message Date
julmis
0e60d11cdc Insert image dialog for students.
Original smaller dialog for students instead of that lager
one that teachers are allowed to use.
2004-02-23 15:31:24 +00:00
julmis
15153dc088 Filebrowser off for students :-) at the moment... 2004-02-23 11:05:36 +00:00
moodler
2d8b2369c5 Trying a new logo on the home page ... hope it doesn't clash too much
with themes ...
2004-02-22 13:47:56 +00:00
moodler
a4dda51f43 Another fix for recent testers only I think 2004-02-22 12:27:52 +00:00
moodler
828aeff2d6 A proper GUI for filters :-)
Still needs work, but it works fine now.

Later I want to add config pages for each filter, like modules have.
2004-02-22 12:17:27 +00:00
julmis
ce668c6531 Minor fix for $imagepath. 2004-02-22 00:49:13 +00:00
moodler
a87491c1d0 Many updates from Janne.
I've done a basic review and fixed a few things, but there will need
to be a lot more testing and cleanup over this weekend.
2004-02-21 05:49:31 +00:00
moodler
1e03c552e3 Reverting a bad bug recently introduced by Petri which meant
Moodle couldn't create any new directories ...   :-(
2004-02-20 14:12:49 +00:00
moodler
cadb96f29e GUI to allow disabling of user email addresses (from user profile) 2004-02-20 10:27:24 +00:00
moodler
8199e3f09a New user field called "emailstop" ... to stop emails.
I had to do it ... this is driving me nuts with some people
on moodle.org
2004-02-20 09:02:27 +00:00
moodler
eb6147a8bb For the group functions, a group 0 means everyone 2004-02-19 17:56:52 +00:00
moodler
1d9fc41755 Groups menu now includes "All groups"
Titles have tags stripped
2004-02-19 17:56:05 +00:00
moodler
8e4c9ef7b1 Don't bug out when sort not specified 2004-02-19 17:54:32 +00:00
paca70
94b9a1ca02 First changes for creating help-translation system.
http://site/files/index.php?fi=lang
shows now selected language "lang" files.
2004-02-19 10:13:07 +00:00
moodler
9e353ce7e2 Upgrade filter references 2004-02-17 05:28:52 +00:00
stronk7
4866a36714 Initilize selectmod in navmenu() function to avoid some warnings
when showing the menu and no cm has been selected. No risk with this
change, I suppose. :-)
2004-02-16 00:41:52 +00:00
moodler
ac8abb5f6a DOn't set CFG->courelang unless it means something 2004-02-15 14:34:13 +00:00
moodler
e5415d580a Bug fix for languages in emails and possibly elsewhere that could
happen with blank variables.
2004-02-15 14:33:13 +00:00
moodler
52f1b49620 When searching for resources, use button instead of link. 2004-02-15 08:04:33 +00:00
moodler
97ea483380 Editing teachers always can see group picture.
Plus some fixes in print_group_picture()
2004-02-15 07:37:48 +00:00
moodler
3c0561cfe7 New field in the groups table to "hidepicture" from being displayed
in locations like forums etc.

Backups done too, Eloy.  :-)
2004-02-15 07:29:55 +00:00
moodler
ac0024f9f4 Center the groups menu for now 2004-02-15 07:18:28 +00:00
moodler
c3cbfe7fdf New function setup_and_print_groups() makes it much easier to set
up groups everywhere else.
2004-02-15 07:13:08 +00:00
moodler
082e3ebc4f WHen emptying a course, delete groups and events 2004-02-15 05:08:00 +00:00
moodler
241f6f306b MOved the file icons into the proper place (at last) 2004-02-14 16:19:48 +00:00
moodler
0f6f62cbdb Removing the is_windows function ... instead, use the global define PHP_OS 2004-02-14 02:49:56 +00:00
moodler
4f91b2965e Updated get_records_select() to help Eloy out. :-) 2004-02-13 16:32:02 +00:00
moodler
016bfc83bc A new is_windows function 2004-02-13 08:34:39 +00:00
moodler
554143f22c Removed CloseOnEsc completely because it has issues on IE6
and wasn't that useful anyway

http://moodle.org/mod/forum/discuss.php?d=5253#24136
2004-02-12 12:17:02 +00:00
moodler
ddbc548d9f Add new headers to language stuff 2004-02-12 09:40:21 +00:00
moodler
f1d604cbda Added new table cache_filters for all filters to use if they need to 2004-02-12 07:06:07 +00:00
moodler
d6582c7cac A new configuration setting so that the admin can define the site's default
timezone.
2004-02-12 06:08:06 +00:00
moodler
90207a06e3 Use a site-defined timezone if one is defined 2004-02-12 05:55:04 +00:00
moodler
546b301b44 Don't print group pictures if none is defined 2004-02-10 14:36:12 +00:00
moodler
7721c69499 save_user_image ---> save_profile_image so it works for groups too 2004-02-10 14:24:36 +00:00
moodler
35067c438f print_group_picture is more simple again, uses JPEGs
Put the fancy PNG code in a new function for later print_png()
2004-02-10 14:22:20 +00:00
moodler
0e2585ac0f Reject Opera when it is pretending to be IE 2004-02-10 14:20:44 +00:00
moodler
8eaa4c61d5 The text caching is now sensitive on the temporary variable
$CFG->currenttextiscacheable

Any filter can set this to FALSE and the current text will not be cached
2004-02-10 09:59:46 +00:00
moodler
e11dc9b682 Another little hack to complete the course-level forcelanguage 2004-02-10 08:10:04 +00:00
moodler
d523d2ead1 Some configuration options now added to the Configuration page.
opentogoogle

  textfilters

  cachetext

They should upgrade cleanly from anything you may have in config.php
2004-02-10 05:05:28 +00:00
moodler
45121ffbf3 text_cache --> cache_text much better 2004-02-09 13:10:19 +00:00
moodler
f0aa2fed24 Removed a small bit of debugging code 2004-02-09 12:33:44 +00:00
moodler
d363047eb0 TEXT CACHING
------------

I have a site which really needs this, so I went ahead with it already.

This add-on will cache formatted texts in the database and use them
for a specified timeperiod.

By default it is disabled.   Enable it with:

  $CFG->cachetext = 600;   // in seconds
2004-02-09 12:27:34 +00:00
moodler
0cc6fa6a1f Emails can take on course language as well 2004-02-09 08:49:54 +00:00
moodler
b3153e4b7d Small hack to force a particular language within a course.
No interface on course/edit.php ... I want to try this on
moodle.org for a while to try and stop the encoding problems
2004-02-09 07:31:04 +00:00
moodler
6b1ce6b2e0 Some wording changes. 2004-02-08 09:52:24 +00:00
moodler
0ad4eb5f63 Add institution to the data returned about course students 2004-02-06 12:03:30 +00:00
moodler
4da1a0a1db Improvements to the way the log upgrading works.
Centralised with an interface now.
2004-02-05 09:55:50 +00:00
moodler
9b591be622 Better error messages for restricted users 2004-02-04 12:59:05 +00:00
moodler
b5abf3e824 Fixed a Typo - thanks Bruno Vernier 2004-02-04 06:16:59 +00:00