902 Commits

Author SHA1 Message Date
moodler
fbfc267591 New language file called pix.php for defining alt-text of pix files.
Smileys code is changed over to use this, both in replace_smileys
and in editor/popups/dlg_ins_smile.php

Needs testing please!
2003-11-07 14:55:44 +00:00
moodler
6476f5fca6 Modifications from Mark (main author) to be more robust with
certain types of bad HTML code
2003-11-07 11:01:16 +00:00
moodler
4bd91f99b8 Fixes to include ALT tags in smilies - by Janne Mikkonen 2003-11-07 07:59:23 +00:00
moodler
4110d37f45 Added style as a valid tag 2003-11-07 04:53:54 +00:00
moodler
428aaa2911 Accidentally deleted a $CFG line 2003-11-07 04:14:38 +00:00
moodler
6ff45b597e Use the new html2text function for converting html to text.
This function is still being tested - it seems fast enough so far
but I'm checking it in to do some further testing on moodle.org
for a while.
2003-11-07 03:27:21 +00:00
moodler
b6c120104f A new function for converting HTML into text form 2003-11-07 03:25:09 +00:00
julmis
ff7f7b1028 Print character set based on user settings
- print_string("thischarset")
2003-11-06 12:25:32 +00:00
moodler
7fc0f9e5e4 Add fancy help cursors on help icons 2003-11-06 11:47:23 +00:00
moodler
a328425d17 New feature based on code from Gustav Delius
-> A-Z subsets on the participant list.

http://moodle.org/mod/forum/discuss.php?d=3162

I also made a new datalib function called count_course_students()
2003-11-04 12:09:52 +00:00
moodler
2b23eea312 Removed header redirect for cases where output already occurred
(thougn it shouldn't happen)
2003-11-04 03:35:05 +00:00
julmis
61d5f1854d Hide cut, copy and paste buttons from gecko browsers 2003-11-03 23:53:49 +00:00
julmis
9466f50707 Style improvements to popups 2003-11-03 23:01:13 +00:00
julmis
99a5970cb1 style improvments to popups 2003-11-03 22:59:06 +00:00
moodler
06a179a75c Removing reference 2003-11-03 16:06:13 +00:00
moodler
47037513fe Goodbye Richtext editor!
This does not affect any of the existing modules - I've kept some
stub functions to retain backward compatibility.
2003-11-03 15:17:21 +00:00
moodler
14b6fcdb5f The font style menu is now translatable (Heading, etc) 2003-11-03 05:30:32 +00:00
moodler
8a55c98423 More redirect tweaks 2003-11-03 03:13:14 +00:00
moodler
d0e15bf61f Some cleanups 2003-11-02 07:19:07 +00:00
moodler
d8e6933f72 Explicitly setting mimetype and other things to
- hopefully fix Norton problems
  - hopefully improve caching
2003-11-02 07:01:48 +00:00
moodler
ff01945522 Fixed Mozilla redirection-after-htmlediting bug using Javascript! 2003-11-01 06:59:31 +00:00
julmis
55d035b098 Minor change for iframe width 2003-10-31 21:58:24 +00:00
moodler
5d6c043a39 Using Location header is not subject to the meta-refresh bug in Mozilla 2003-10-31 08:13:44 +00:00
moodler
3f125001bc New feature: Allow students to see their own activity reports.
This is a course setting.  By default it is off.  When on, there
is a new link in the course admin menu for students, and they can
browse the same report that teachers see.

The report icon is temporary.
2003-10-31 05:57:30 +00:00
moodler
b3f247e4d1 Rearranged toolbar a bit - put insert stuff together and toggles at end 2003-10-29 16:42:10 +00:00
moodler
088e092db8 More language fixes, mostly using print_string instead of get_string 2003-10-29 08:21:52 +00:00
moodler
d4a6788523 More editor translations I forgot to alter 2003-10-29 08:13:03 +00:00
moodler
4c46c425db Changes to integrate the new HTML editor into Moodle in an optional way
until it's stable enough to replace Richtext

To enable the new editor, add this line into config.php:

  $CFG->useneweditor = true;
2003-10-29 08:06:11 +00:00
moodler
a800c94891 HTMLArea 3.0, slightly edited by Janne Mikkonen. Alpha version. 2003-10-29 07:51:46 +00:00
moodler
9788367bb9 Sometimes you really want to know if they are a teacher 2003-10-28 14:44:39 +00:00
moodler
57ef348040 If debugging is on, then make SMTP print debugging info 2003-10-28 14:35:00 +00:00
moodler
937ae59c8e Get longtimenosee students according to their course access (not site access) 2003-10-27 14:01:29 +00:00
moodler
29b25b0498 Much better updating of access times to make the accurate straight away 2003-10-27 13:38:08 +00:00
moodler
4d744a220a Added a new column to user_students and user_teachers called "timeaccess"
for recording the last access to the COURSE.

This is updated at the same time as add_to_log and is now used instead
of user->lastaccess when course user listings are required.

This means course listings now show what you expect and open up the way
for a "current users" listing and instant messaging etc ...
2003-10-27 12:38:00 +00:00
moodler
93de2fbcb6 Updates to ADOdb 4.0.1 - some bug fixes 2003-10-25 05:59:58 +00:00
moodler
2eea2ccedc Remove quotes from title - these can cause the stylesheet to not load
properly on Internet Explorer.
2003-10-24 06:27:15 +00:00
moodler
06e3c5c030 Upgraded to AdoDB 4.00 ... starting to think seriously about the
data dictionary conversion ...
2003-10-22 08:52:42 +00:00
moodler
5f546a46f0 Slightly nicer code when redirecting 2003-10-21 06:42:10 +00:00
moodler
482b6e6e38 Same as Eloy's fix, just a few less lines of code. ;-) 2003-10-17 12:30:17 +00:00
stronk7
23f6216b92 Do some isset() checkings with $CFG->sessioncookie.
Previously when debug turned on, login was impossible
due to some notices sent before writing http headers.
2003-10-17 09:54:41 +00:00
moodler
39dda0fc4f Added nolink tag 2003-10-16 14:25:36 +00:00
moodler
6de85459d2 Use $CFG->sessioncookie on MOODLEID cookie as well 2003-10-16 13:23:53 +00:00
moodler
c1f5319532 A new Moodle variable called sessioncookie is now added to the session
cookie name.  This provides a means for multiple Moodles within the
same website to keep separate sessions and not get confused.
2003-10-16 13:19:10 +00:00
moodler
3528bae253 Fixed comments on str_ireplace 2003-10-16 10:20:35 +00:00
moodler
7ec2fc00a0 Improved version of str_ireplace() for older versions of PHP (now handles arrays) 2003-10-16 09:28:27 +00:00
moodler
72c751da80 New class for handling ODBC socket server 2003-10-15 08:49:12 +00:00
moodler
c53be4c013 Some cleaning up ... shouldn't make much difference 2003-10-15 02:48:40 +00:00
moodler
e67b9e31e5 NEW EXPERIMENTAL FEATURE: text filters.
This new feature allows arbitrary text filters to be added to
any HTML that is printed (forum posts, resources etc) ... anything
that uses the standard format_text function.

The first one properly supported is the glossary dynamic linking
feature.
2003-10-13 14:11:17 +00:00
moodler
266a416e16 get_real_size can now pick up 900k 2003-10-13 03:16:25 +00:00
moodler
5204d8316a A new configuration parameter 'allowunenroll' will enable/disable the
"unenrol me" buttons on user pages and course pages.
2003-10-12 18:03:50 +00:00