2000 Commits

Author SHA1 Message Date
moodler
cd76de7edc Some more "protocols" actually CSS tags 2005-05-03 16:09:39 +00:00
thepurpleblob
2d81e9080a Changed include to require for base_block class. Won't get far without this
and puts error message in the right place if there is a problem
2005-05-03 12:23:48 +00:00
julmis
0d0cfc3bc9 Adding addslashes alert strings 2005-05-03 10:00:49 +00:00
moodler
5744be4798 Some comments about why the author isn't there 2005-05-02 16:28:14 +00:00
moodler
6bd20d7335 More tweaking. Now it displays especially nice in Tiger. ;-) 2005-05-02 16:02:09 +00:00
moodler
9d57574775 Slight tweaking to rss formatting 2005-05-02 15:54:24 +00:00
martinlanghoff
47121b3865 Now comments don't break Zone continuation, should fix reported issues with the Europe/Paris zone definition. 2005-05-02 10:26:26 +00:00
moodler
e3cc2a8084 Removed fulldelete function 2005-05-02 06:06:45 +00:00
defacer
8abc54c4f0 Updating the timezone lists with the Manila fix and also the glaring Paris
mess-up. Eagle Eye Eloy strikes again!
2005-05-01 17:13:30 +00:00
defacer
28c66824e7 Fixing two bugs:
1. When user was using "Server's local time", and the server was set up to
   use DST, generated timestamps must have been wrong in DST periods (I
   haven't backtracked to test this, but the code reads this way).

2. On Eloy's Mac (let's not generalize without data), passing is_dst = 0 to
   gmmktime caused it to return WRONG results!

   The PHP docs clearly state that in_dst does NOT affect the return value,
   which is true for me but in Eloy's case it was a lie. Obviously PHP bug here.

Also, moved the if($applydst) check into the else branch because it would do
nothing at all if (abs($timezone) > 13) in any case.


I hope Eloy keeps finding more bugs because he promised me a beer for this fix ;-)
2005-05-01 16:50:35 +00:00
moodler
9e33ce2c2c User ->trackforums now defaults to OFF, to save CPU on default installs 2005-05-01 15:07:52 +00:00
defacer
ff6191b742 On second thought, moving the cache retrieval out of the loop should eliminate
up to ten or so function calls per page view. I don't know how expensive they
are, but let's take what we can.
2005-04-30 03:18:02 +00:00
defacer
9b68732055 Extra check in blocks_preferred_width: don't examine any instance if that
block is not visible. Apart from fixing a bug, this is also they key to
fixing broken behavior with legacy 1.4 blocks.
2005-04-30 03:14:42 +00:00
defacer
61abc65bb9 New function block_is_compatible(), if it returns anything but true and you
decide to do anything with the block your warranty is void.
2005-04-30 03:08:04 +00:00
julmis
c223e47712 Added iframe, object and applet to closingTags list
in needsClosingTag function
2005-04-28 20:56:07 +00:00
julmis
d3a144d3b6 Fixing "removing" (before bold text underlined and so on) necessary spaces
when editor does format html to better shape (increase readability)
2005-04-28 10:40:46 +00:00
julmis
b1839b0492 Make editor width always as same as toolbar's width 2005-04-27 23:11:27 +00:00
paca70
9c8513599b handle tinyints as integers when using postgresql 2005-04-27 19:24:48 +00:00
stronk7
902c63b023 Reducing a bit the number of replacements performed by the filter. ;-) 2005-04-27 18:34:38 +00:00
defacer
0c24431590 Fix for bug 3045:
Now usertimezone() gives a correct human-readable string in all cases.
2005-04-27 03:42:07 +00:00
moodler
f401cc9719 Moved a generic function over 2005-04-26 15:51:31 +00:00
moodler
0b78f2b1bd By default editing teachers should see all groups even if they are in a group 2005-04-26 08:00:56 +00:00
moodler
f9a2e5157f Fixed bug mentioned here http://moodle.org/mod/forum/discuss.php?d=22645 2005-04-26 07:45:09 +00:00
moodler
b71772e25e MOved updating of user forum into the right place 2005-04-25 18:07:14 +00:00
moodler
a00420fb30 Added some new types for Hotpot files 2005-04-25 14:09:19 +00:00
julmis
0e50f9b268 Merged from MOODLE_14_STABLE
Added charset to head part of the page.
2005-04-24 22:03:42 +00:00
skodak
409fad8892 fixed redirection after delete and added check of selected files SC#111 2005-04-24 20:15:06 +00:00
mchurch
bce5c2cd47 Added user prefernce for forum tracking. 2005-04-24 19:52:18 +00:00
moodler
55b734fb84 Better support for language styles 2005-04-24 04:13:18 +00:00
moodler
efca05b447 Added a double-check that should stop the locale-switching that's been happening 2005-04-23 15:16:43 +00:00
moodler
29e91ef724 Embedding the session checking a little better 2005-04-23 15:02:00 +00:00
moodler
2a0cf3cabb Add slashes to text - lesson learned from moodle.org! 2005-04-22 13:17:56 +00:00
moodler
705a2aa45c Reverting Jon's change 2005-04-22 06:24:57 +00:00
defacer
d290029084 Correcting the behavior of update_record.
Fixes bug 2776.
2005-04-22 03:43:09 +00:00
defacer
8180c859f1 Adding repeatid in mdl_event. 2005-04-21 13:36:37 +00:00
moodler
18bf47ef30 Added some more file types for programming (bug 2994) 2005-04-21 12:40:45 +00:00
moodler
7af89bb79c Default value for langcache. Bug 2975 (SE) 2005-04-21 09:16:57 +00:00
skodak
e1c8b46a9d more cleaning of url parameter in redirect() - SC#100 2005-04-20 20:45:43 +00:00
julmis
572fe9ab57 Load htmlarea script only once. 2005-04-20 19:12:28 +00:00
martinlanghoff
444e67e1eb Import of base32.php based on race.php -- hoping for a clearer licensing picture, otherwise will switftlyt rewrite 2005-04-20 09:12:51 +00:00
martinlanghoff
d6ead3a251 Polish and fixes for language cache -- addresses bug 2891 2005-04-20 07:29:28 +00:00
defacer
865da14944 Fix for bug 2902: Now you can set $focus in print_header to anything, and
it will never generate a JS error.
2005-04-20 01:32:18 +00:00
defacer
273a80d7be Fixing bug 2935: HTML typo. 2005-04-19 20:45:15 +00:00
julmis
d8c7ad9025 Fixing formathtml function
- should be working much better now...
2005-04-19 15:34:47 +00:00
thepurpleblob
d30bd73457 delDirContents function added - blasts a complete directory structure. 2005-04-19 15:11:44 +00:00
gustav_delius
52d55cfc51 improved navigation bar for module editing form 2005-04-19 14:58:16 +00:00
julmis
57d5df5f2b Changing a.nodeValue to root[a.nodeName] creates
another bug that is much severe than absolute
links been converted to relative.

So I'm changing it back...
2005-04-19 13:53:54 +00:00
julmis
023d858d46 Trying to fix aboslute link issue!!! 2005-04-19 13:26:54 +00:00
julmis
1546f4cff0 Fixing HTMLArea.getHTML a bit. 2005-04-19 13:00:26 +00:00
julmis
72960a6a6d CleanWord fix
- Don't strip carriage returns
2005-04-19 12:47:29 +00:00