mjollnir_
7088c65545
Merged from MOODLE_14_STABLE: Default course id for htmlarea insert image to 0 rather than empty string to prevent invalid sql. Credit: Patrick Li
2005-05-11 02:05:59 +00:00
defacer
4c58e0289b
Removing dead commented code.
2005-05-10 17:32:01 +00:00
moodler
4c20222852
A quick hack to allow anonymising of all names.
...
You can make everyone have the name "Bruce" if you want. }-)
2005-05-10 06:18:30 +00:00
defacer
c4d951e1f8
Here be DIVs.
2005-05-10 04:00:56 +00:00
defacer
b1aa9a39a2
Switching blocks to table-less format; IT DOESN'T WORK CORRECTLY YET.
...
Changing width="22" for /pix/help.gif to width="17"
2005-05-10 00:20:18 +00:00
moodler
254dfbfa34
This should get you where you were trying to go in the first place
...
when the session timed out.
Not tested though.
2005-05-09 17:45:07 +00:00
moodler
42146c8cf4
Session error redirects to login page bug 3178
2005-05-09 17:42:17 +00:00
gustav_delius
4b97919fcd
I have changed check_php_version() to use version_compare() in an attempt to fix bug 3176
2005-05-09 17:24:03 +00:00
moodler
59552aab4d
Whoops! Bad typo!!! :-(
2005-05-09 16:29:10 +00:00
moodler
417375b7e3
Added $CFG->pagetheme for special this-page-only themes
2005-05-09 12:59:06 +00:00
stronk7
0f29fcccbc
Updated to 0.2.2
2005-05-09 10:37:12 +00:00
stronk7
156f67fd22
Do you like speed? 10%-15% bump with this version! B-)
...
Moved some code to two new specialised functions that
are only executed when something has changed in the
text avoiding some (from 2800 downto 150 in my test course!)
regexp calls and arrays generation.
The existing bug about concept strings contained in other concept
strings (e.g: "Test Quiz" and "Test Quiz II") becoming double-linked
in now out too.
I hope this is the latest revision to filterlib for a looong time.
Tested under PHP 4.3.11 and PHP 5.0.4, it would be very interesting
to test it under other versions/OSs.
2005-05-09 00:28:53 +00:00
stronk7
ed9fdf3e8b
Some wrong isset sentences were forcing to
...
be always casesensitive and fullmatch!
Changed from !isset() to empty() to evaluate true/false correctly.
2005-05-08 17:53:32 +00:00
stronk7
9e92e26590
Solved problem with arrays of linkobjects being processed
...
by preg_quoted() causing real problems under PHP5. Now such
calculatios are cached if possible (PHP5). See bug 3148.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138 )
2005-05-08 17:25:28 +00:00
moodler
a09e99ea1c
Added new information to the HTMLArea popup error when trying to use Paste
...
and made it translatable.
2005-05-08 14:56:34 +00:00
julmis
f9b69d10f9
HTMLArea.formathtml still not working correctly I've comment it out.
2005-05-07 11:53:19 +00:00
moodler
0a194c4c03
Google say they want 404 for prefetch requests
2005-05-07 08:20:34 +00:00
moodler
7cbe6afeaa
Cookies are not used with guests
2005-05-07 03:10:48 +00:00
martinlanghoff
d719609931
Merged from MOODLE_14_STABLE - Block link prefetching from Mozilla and Google Web Accelerator.
2005-05-07 03:07:08 +00:00
moodler
ff17bbebce
Information wasn't being printed on-screen before the javascript redirect
...
was kicking in. It was either a problem with the PHP flush() function or
in a browsers handling of half output XHTML.
Either way the fix was to include the delay in the javascript.
Messages during a redirect should now be displayed correctly.
Bug 3118. (SE)
2005-05-06 09:29:02 +00:00
urs_hunkler
3e8506b62f
On the admin user page you select "forum posts" which becomes the active selection in the second row. This should be visualized in the tabs. Therefore I added the parameter "$activetwo" to the tabs functions to be able to set the class "activetwo" for the active tab in the second row.
2005-05-05 09:32:33 +00:00
moodler
158de84670
Better loggedinas string for guest users
2005-05-05 04:22:26 +00:00
moodler
a756cf1d01
Fixed group link!
2005-05-05 02:15:21 +00:00
stronk7
a8936222b1
Added some comments to remember why they are there... ;-)
2005-05-04 23:14:09 +00:00
stronk7
4e8f2e6ba3
Changed call from preg_replace() to preg_replace_callback() to avoid
...
some double backslashes present yet. This method doesn't addslashes()
automatically like the old one (so kses_stripslashes() is not needed).
All we have to to is to stripslashes() before calling kses and addslashes()
after it. Only in clean_param(), because params arrive always slashed
to Moodle. This seems to be the correct approach documented in:
http://sourceforge.net/project/shownotes.php?group_id=81853&release_id=302996
2005-05-04 23:09:43 +00:00
moodler
0549198cf0
A fix for kses problems with quotes ...
2005-05-04 18:25:35 +00:00
moodler
5395334d00
Added support for all Open Office 1.0 and 2.0 file types (bug 3068)
2005-05-04 15:19:00 +00:00
moodler
f64c1ef666
Fix log entry for failed logins. Bug 3076. (SE)
2005-05-04 07:06:24 +00:00
moodler
5eecb8cb57
Fixes from Mits for bug 3101 to fix multi-byte search results
2005-05-03 16:37:01 +00:00
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