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
moodler
d4469f2a84
Clean up of insert_record with some better error-checking
2004-02-03 15:18:41 +00:00
moodler
791b42ee1d
Add framename target for logs links
2004-02-03 10:21:20 +00:00
moodler
95d4575736
If there aren't many logs to process, then do it now during the main
...
upgrade, but otherwise, tell the upgrader to run the separate script
at admin/upgrade_logs.php later on.
2004-02-03 04:56:22 +00:00
moodler
35faf19e80
SOme extra information when upgrading old logs
2004-02-03 02:27:33 +00:00
stronk7
0180f73f48
Now, this function can be called twice from the same page.
...
In participants list, when showing teaches, the country of
the students was not showed.
Please, check. I haven't found problems with this, but...
2004-02-01 12:07:36 +00:00
fiedorow
36268d0271
Added all the presentation and content tags from the MathML 1.01 specification
2004-01-31 22:02:01 +00:00
moodler
b56fad0b50
Upgrade process can be long, so flush regularly
2004-01-31 15:33:12 +00:00
moodler
69d79bc31f
OK, some big improvements to the logs.
...
Logs now include a field called modid which contains the coursemodule id.
This makes it now possible to
- see complete logs per-activity
- do backup/restore of logs
The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).
STILL TO DO: alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
moodler
3d35e6b732
Putting in a placeholder when counting or gettig users in group 0
...
(return nothing for now)
2004-01-31 04:03:46 +00:00
moodler
0720313b30
get_course_students can now look for groups as well (doesn't handle
...
group 0 yet)
get_course_users is more robust (fixes the journal report problem etc)
2004-01-31 03:30:31 +00:00
gustav_delius
c7cdd6ec82
moved the database update code to where it belongs
2004-01-30 21:40:31 +00:00
gustav_delius
3d94772d47
better logging of forum mail errors, see http://moodle.org/mod/forum/discuss.php?d=4865 . Required the addition of an extra optional argument $user="" to add_to_log()
2004-01-30 18:21:56 +00:00
moodler
5ea64f4b2f
Error message for restricted users
2004-01-30 09:55:57 +00:00
moodler
fcf9c45033
New paratmeter to insert_record called primarykey (defaults to "id")
...
and removed insert_record_old
2004-01-30 09:04:31 +00:00
moodler
cb98d3120c
New function to restrict defined users
2004-01-30 08:25:49 +00:00
paca70
77e84a85f2
My php 4.3.4/postgres7.4 combination was thinking
...
that returned id-column was string and some modules were thingking that theres
insert error if return value is string.
Right now all id-colums is always integer so
this should be ok.
2004-01-30 07:45:36 +00:00