17145 Commits

Author SHA1 Message Date
skodak
24e202cd4f added register_globals off as recommended setting; merged from MOODLE_15_STABLE 2005-11-14 22:58:02 +00:00
skodak
578dcc4019 add GLOBALS overwrite protection and improved magic_quotes_gpc hack SC#191, SC#184, SC#92; merged together with Jon's last patch from MOODLE_15_STABLE
also removed the broken unregister_globals() function
2005-11-14 22:53:44 +00:00
defacer
94cda02214 file unchecked_vars.php was initially added on branch MOODLE_15_STABLE. 2005-11-14 16:21:41 +00:00
thepurpleblob
286174bddf $CFG->filterall has a setting on the filters admin page, so isn't
needed in here any more.
2005-11-14 15:36:01 +00:00
martignoni
7b803ae4e5 New feature: Embargoed Announcements 2005-11-14 12:56:58 +00:00
gbateson
72e0b1f534 correct score calculation in TexToys Rhubarb 2005-11-14 11:32:40 +00:00
mits
5c4b04d97e polished. 2005-11-14 09:14:31 +00:00
defacer
136f43dcda Missing footers, XHTML warnings.
I suppose the "home page" button is not a problem, as the "continue" button
is very obvious on screen.
2005-11-14 04:33:25 +00:00
skodak
91dcec3e79 temporary fix for XSS SC#189; merged from MOODLE_15_STABLE 2005-11-14 00:12:04 +00:00
mjollnir_
bacd847b35 Fixing last commit - mysql upgrade - table_column defaults to 0 for default rather than empty string and mysql doesn't want to allow 0 for defaults for type text columns 2005-11-13 22:58:26 +00:00
patrickslee
abbb3308a2 Made forum search page aware of Embargoed Announcements 2005-11-13 22:52:23 +00:00
mjollnir_
79598cf025 Fixing bug 4244: length of rss title changed to TEXT in db and truncated to 64+ ... in block content. Also fixed BAD BUG where the function name for rss_client block upgrade was misnamed - this would have meant that db no upgrades ran for this block 2005-11-13 22:50:45 +00:00
mjollnir_
860cea3526 Merged from MOODLE_15_STABLE: Getting directory sizes with du - use escapeshellarg on the file/directory as unzipping files on the server can result in filenames that need escaping 2005-11-13 21:19:23 +00:00
urs_hunkler
e236ac3c7c Merged from 1.5. Changed $CFG-theme to current_theme() to make the theme working as course or session theme, see Bug #4315 2005-11-13 17:44:23 +00:00
mits
c6eb9eb06d polished. 2005-11-13 06:07:20 +00:00
defacer
9013e4ad73 Now get_sql_sort can be called static-function-imitation style as well.
Necessary to solve SC#187 gracefully.
2005-11-13 04:42:21 +00:00
defacer
02828119f6 OK, trying to write about this in the SC made me think, thinking made me
find the solution. No hacks, no replicating the table object, I just tweaked
the table class itself to help us.

I 'll post at SC#187 about this, but the bug is now totally fixed.
2005-11-13 04:30:50 +00:00
defacer
86f6539591 Removing code block which, upon closer inspection, does nothing at all.
This is obviously a copy/paste artifact from mod/quiz/report/overview/report.php,
but notice that over there is non-trivial processing going on over there with the
sortorder array!

The sortorder can be used directly in queries, just stick an "ORDER BY " in front.
2005-11-13 04:01:41 +00:00
defacer
9894b8246c Gone through the code carefully. Committed what is basically Skodak's patch
at SC#187 postid 1104 with a small addition, EXCEPT the //HACK ALERT part.

Where does that leave us? The popup does not die anymore, BUT:

1. It throws a notice about $sort not being defined (to be expected)
2. It doesn't use the correct sortorder ($sort is not defined, so default sort)

Please see the discussion at SC#187 before doing more work on this.
2005-11-13 03:37:40 +00:00
defacer
5b48244f24 Carefully going through the code now...
Changing get_records_sql() for one record ALWAYS and associated foreach() to
a get_record_sql() without foreach. Please be considerate with copy/paste. ;-)
2005-11-13 03:20:35 +00:00
defacer
c9977d055d Been playing around Assignment a bit, and Tidy kept complaining... 2005-11-13 02:50:46 +00:00
koenr
29adeb91d0 modified charset to windows-1251 like the rest of the lang pack
Converting to utf8 should run this way...
2005-11-12 20:02:21 +00:00
koenr
9d778166bd corrected locale: as far as I could find it should be ko_KR 2005-11-12 19:21:16 +00:00
lonecatz
a2e86964b6 new translation and fix by sunner@hit 2005-11-12 03:08:15 +00:00
defacer
4fdabdc36f Merging from STABLE:
Better retrieval of table sortorder when not done directly through
the table class, see SC#187.
2005-11-12 03:04:11 +00:00
koenr
e60b454b50 ..and back out again - it's empty and doesn't belong here either 2005-11-12 01:17:07 +00:00
koenr
8da9fecaaa new language pack from Tormod Aagaard <thormodr@start.no>
nynorsk
2005-11-12 01:10:24 +00:00
koenr
83957a4a28 new strings from karoly 2005-11-12 01:05:28 +00:00
koenr
0e5f6c1860 deleted troublecausing unnecessary file
contact adress in readme not valid
2005-11-12 00:22:42 +00:00
koenr
4c04c35ea4 since this is a textdocument, only ascii possible - sorry 2005-11-12 00:20:05 +00:00
koenr
fb68d75270 locale wrong 2005-11-12 00:16:45 +00:00
gbateson
e791e20949 get clue button text from quiz XML file (hitherto, it was always been set to "?") 2005-11-11 06:34:51 +00:00
mits
9d020a118b translated a new help file for meta course. 2005-11-11 04:47:21 +00:00
mits
95230af766 polished. 2005-11-11 04:30:40 +00:00
mits
6c7ef1eb35 polished.
translated new strings and a help file for forum display period.
2005-11-11 02:25:00 +00:00
patrickslee
2d71936b74 Database changes for Embargoed Announcements 2005-11-11 02:04:14 +00:00
skodak
2b38a593f0 fixed simple header bug #3406, patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-11 01:25:38 +00:00
dhawes
35ba289440 bug 4244. Replaced rss_edit with rssedit keyword everywhere. Also added string replace for any feed:// or rss:// url strings with http:// 2005-11-10 23:34:28 +00:00
dhawes
ab848302ee bug 4244. extended max title entry field length to 128 from 64. replaced rss_edit with rssedit keyword everywhere. 2005-11-10 23:33:03 +00:00
patrickslee
fbc21e82be New feature: Embargoed Announcements 2005-11-10 22:50:03 +00:00
skodak
cca4a82f8c fixed loglive paging related bug #4116, patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-10 22:22:52 +00:00
skodak
c851eb9411 fixed paging related bug #2715, based on patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-10 22:08:35 +00:00
skodak
ad489e94c3 fixed login block at http://site/index.php when secure forms on - bug #4305; merged from MOODLE_15_STABLE 2005-11-10 21:41:10 +00:00
patrickslee
3f0a8eb0cc Fixed a misspelling in help index (Merged from MOODLE_15_STABLE) 2005-11-10 20:46:35 +00:00
patrickslee
d7bd3f2991 Added contextual help for meta course (Merged from MOODLE_15_STABLE) 2005-11-10 20:44:47 +00:00
patrickslee
4f1ce12946 file metacourse.html was initially added on branch MOODLE_15_STABLE. 2005-11-10 20:40:56 +00:00
skodak
90e7e9870c typo bug #4308; merged from MOODLE_15_STABLE 2005-11-10 10:18:21 +00:00
gbateson
7867d9dbce fix error on line 700 when student displays hotpot/index.php 2005-11-10 09:00:17 +00:00
moodler
6911cc8880 Merged in the new ADOdb 4.66 from STABLE 2005-11-10 08:06:07 +00:00
moodler
acbdae5b0f file adodb-pdo_pgsql.inc.php was initially added on branch MOODLE_15_STABLE. 2005-11-10 08:04:34 +00:00