Commit graph

17460 commits

Author SHA1 Message Date
mits
cdb17c86f1 polished. 2005-11-15 23:35:28 +00:00
skodak
4d7c4f7f5c Do not use set_default() and isset_param(), becasue those ugly hacks will be removed SOON!! 2005-11-15 23:32:22 +00:00
mits
d9d0456f51 translated new strings. 2005-11-15 23:30:31 +00:00
skodak
5d7a9f5669 PARAM_BOOL now detects on and off values + UNCHECKED_VARS detection; merged from MOODLE_15_STABLE 2005-11-15 23:28:10 +00:00
mits
8b3908b4e6 fixed based on standard theme.
Thank you!!
2005-11-15 23:20:18 +00:00
mjollnir_
39a2761465 Merged from MOODLE_15_STABLE: Fixing bug 4303 - quiz reports dying on large enrolments - getting all users into an array and imploding it into an IN() replaced with joins. This changes the functionality SLIGHTLY in two ways - 1. show students with no attempts now JUST shows students with no attempts, rather than both. Show students with no attempts is now disabled for the site course as is not really relevant and could be ridiculously large 2005-11-15 22:23:43 +00:00
patrickslee
9edf8e04e5 More restrictions on enrol/unenrol of meta courses. Thanks to Bug #4057
Merged from MOODLE_15_STABLE
2005-11-15 21:55:13 +00:00
skodak
84d8c4086e cleaning of parameter name before use SC#188; merged from MOODLE_15_STABLE 2005-11-15 21:49:30 +00:00
skodak
550c8b9cc2 Bug #4049 - Gradebook: Category names with a dot in them don't work correctly; merged from MOODLE_15_STABLE 2005-11-15 21:41:51 +00:00
mjollnir_
d1f1e3f899 Merged from MOODLE_15_STABLE: perf configvar & footer 2005-11-15 21:34:53 +00:00
mits
1f58604b51 translated a new moodle documentation. 2005-11-15 18:42:52 +00:00
skodak
04eb5d5243 XSS prevention in older PHP versions SC#190; merged from MOODLE_15_STABLE 2005-11-15 18:21:22 +00:00
bobopinna
133c5c2792 General review to support XHTML Strict
First step in multi-attempt feature (requested by SCORM 2004)
Removed javascript use as much as possible in button and link
2005-11-15 08:10:26 +00:00
mits
25fc86593c adde ie specific rule based on standard. 2005-11-15 04:10:50 +00:00
patrickslee
b7cd70e017 Added an IE specific rule in layout CSS to prevent command icons hidden behind HTMLArea generated tables
When inserting table in HTMLArea, if the table is set to align to left or right, IE will make the table float so the command button will be hidden behind it.

So a IE specific rule is added in layout CSS to set command buttons clear on both side. This will apply to all themes based on the standard layout. And other browsers are not affected/needed.

Merged from MOODLE_15_STABLE
2005-11-15 03:07:59 +00:00
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