skodak
863850d2d7
MDL-12858 fix course category depths during upgrade to 1.9; merged from MOODLE_19_STABLE
2007-12-19 17:48:21 +00:00
skodak
220a90c5a1
MDL-11561 admin tree improvements and bugfixing
2007-12-19 17:35:20 +00:00
tjhunt
a66a929e63
New option on print_single_button to all printing of disabled buttons.
2007-12-19 13:31:03 +00:00
mjollnir_
d4564cf018
merged from MOODLE_19_STABLE: moving two functions from admin/roles/manage.php (switch_roles and role_cap_duplicate) to accesslib & added phpdoc. Fixes MDL-12621
2007-12-18 20:51:07 +00:00
nfreear
c076f4beef
Fixes reopened MDL-7493 "Make sure standard themes are visible under "Windows High Contrast Black" mode" - foreground show/hide block icon/ALT text switched with Javscript.
2007-12-18 17:18:19 +00:00
skodak
6265d4630b
MDL-12103 new config option for mail newline chars; merged from MOODLE_19_STABLE
2007-12-17 23:44:25 +00:00
skodak
5730323b4b
MDL-12524 fixed quoting of phrases in mail header (problem with special chars in names of users); merged from MOODLE_19_STABLE
2007-12-17 21:39:03 +00:00
tjhunt
8ad877b6ad
Unset a meaningless id. This probably does not change anything in moodle, but it was part of a bug fix in the OU version of Moodle that seemed correct, so I am merging it over.
2007-12-17 15:29:48 +00:00
moodler
924c520a26
Testing commit message one more time, I think this is it
2007-12-17 01:25:18 +00:00
moodler
9a12b01ce0
Testing a commit
2007-12-17 01:18:21 +00:00
moodler
badaec5507
Testing a commit message
2007-12-17 01:14:39 +00:00
skodak
5afdebff2e
MDL-12596 Timezone problem in PHPMailer RFCDate() Function - patch submitted by Leo Gaggl; merged from MOODLE_19_STABLE
2007-12-16 14:50:58 +00:00
skodak
d9854bee3f
MDL-12602 redirect to course if require_capability() fails for module context; merged from MOODLE_19_STABLE
2007-12-16 13:53:04 +00:00
skodak
eecf76df42
MDL-12599 , MDL-12598 - fixed capability tests in user and overview reports; merged from MOODLE_19_STABLE
2007-12-16 10:54:45 +00:00
poltawski
e8276c1047
Improving phpdocs for when to use format_string()/format_text() based on
...
wiki comments. It wasn't an entirely clear (e.g. mixup in MDL-11800)
Merged from MOODLE_19_STABLE
2007-12-15 18:42:49 +00:00
skodak
32462b2c10
MDL-12592 do not execute theme_setup() if header already printed; merged from MOODLE_19_STABLE
2007-12-15 16:53:39 +00:00
skodak
b3847656ed
MDL-12585 make sure category path, parent and depth are ok before creating contexts; merged from MOODLE_19_STABLE
2007-12-15 15:49:35 +00:00
skodak
3f6ba95bc6
MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE
2007-12-15 13:28:01 +00:00
stronk7
e7a89237de
Modify some timezone fields to accept new olson files. MDL-12024
...
Merged from MOODLE_19_STABLE
2007-12-15 00:49:05 +00:00
skodak
d795bfdbf9
MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE
2007-12-14 21:22:38 +00:00
stronk7
e5e7b2a8fe
Added the sql_cast_char2int() funtion to provide cross-db
...
casting from char/text to integer. MDL-12574
Merged from MOODLE_19_STABLE
2007-12-13 18:02:31 +00:00
tjhunt
0a2c84851c
MDL-12517 - Move checking code into the user interface layer where it belongs. Merged from MOODLE_19_STABLE.
2007-12-13 14:19:24 +00:00
toyomoyo
56af043f38
MDL-12517, notify when grades entered into gradebook is out of bounds
2007-12-13 07:09:27 +00:00
tjhunt
901e25d481
Improve PHP doc comments.
2007-12-12 19:01:59 +00:00
tjhunt
3d96cba76a
Improve PHP doc comments.
2007-12-12 17:10:48 +00:00
toyomoyo
6967ba2846
MDL-12544, hide hidden roles in profile when user has no capability
2007-12-12 07:13:09 +00:00
nfreear
93beeb7254
Fixes MDL-12539 "Help link text for all admin/user filters are broken".
2007-12-11 13:58:39 +00:00
tjhunt
b04ad8649b
Take out debugging output in role_assign. It only tells you that something has worked, and everywhere else we use debugging output to warn people they have called an API wrongly. Therefore, this is just confusing now that we trust this bit of roles code.
2007-12-11 10:37:53 +00:00
scyrma
d0b869a00c
MDL-12528 - getElementById was misspelled.
2007-12-11 05:00:14 +00:00
martinlanghoff
70dd126e0b
MDL-12523 accesslib:cleanup_contexts() - Fix invalid SQL syntax and reserved keywords
...
cleanup_contexts() was not working on Oracle - mostly due to 2 SQL
syntax problems. So probably marginally working elsewhere.
- We should not use AS when naming table/subselect aliases - only
when referring to column aliases in the resultset
- level is a reserved word - oops! - so back to contextlevel
2007-12-10 21:35:58 +00:00
tjhunt
aaa6ac6f2a
MDL-12512 - Gradebook calculations are broken. This was caused by == FALSE that should have been === FALSE deep in the 3rd pary maths lib. Merged from MOODLE_19_STABLE.
2007-12-10 17:37:14 +00:00
tjhunt
0b94215637
Do not suppress errors from developers! it makes debugging a nightmare!
2007-12-10 16:53:17 +00:00
stronk7
0404b472cf
Document MDL-12378
...
Merged from MOODLE_19_STABLE
2007-12-09 18:22:24 +00:00
stronk7
dbe3f5b520
Prevent XHTML breackage. MDL-12378
...
Merged from MOODLE_19_STABLE
2007-12-09 18:20:55 +00:00
stronk7
5383636fbb
Changing wrong UNSIGNEDs to nulls in tests. MDL-11662
...
Merged from MOODLE_19_STABLE
2007-12-08 18:54:24 +00:00
stronk7
4a5d0a39b1
Changing XMLDB_UNSIGNED to nulls for non-numeric types. MDL-11662
...
Merged from MOODLE_19_STABLE
2007-12-08 18:44:12 +00:00
stronk7
051b9588d1
XMLDB_UNSIGNED only applicable to number types. MDL-11662
...
Merged from MOODLE_19_STABLE
2007-12-08 18:20:15 +00:00
sam_marshall
1be64f767b
MDL-11845 Last checkin accidentally omitted a require_once (hopefully finally done now!!)
2007-12-07 11:11:44 +00:00
sam_marshall
ae8c48f726
MDL-11845 Updated the three file downloads from Snoopy to download_file_content (which I didn't know about before :)
2007-12-07 10:24:00 +00:00
nicolasconnault
0c87b5aac0
MDL-11835 Changing default aggregateonlygraded back to true, but set this value to false for upgraded course categories. Also set grade display type to percentage for upgraded items, since this is the default setting in 1.8. Site default is Real display type.
2007-12-07 09:14:51 +00:00
fmarier
2bba926db0
weblib: Fix typo in print_table() which was causing invalid <th> tag
...
MDL-11506
2007-12-07 05:00:22 +00:00
sam_marshall
3e93ea86c0
MDL-11845 Support for config proxy options when downloading language packs (& other components), timezone file
2007-12-06 18:12:42 +00:00
nicolasconnault
6e17e472ee
MDL-11835 Changed upgradelib so that course category aggregation and grade category default aggregation are simple weighted mean
2007-12-06 14:20:37 +00:00
tjhunt
0d7c3b78cd
MDL-12448 - Fix page_generic_activity->init_full() to use get_coursemodule_from_instance(). Merged from MOODLE_19_STABLE.
2007-12-06 11:38:53 +00:00
toyomoyo
176058849a
MDL-12451, in get_users_by_capability(), defaultroleid bit fixes
2007-12-06 03:57:05 +00:00
tjhunt
36c6f4f59e
MDL-12452 - not a fix I fear, just clarifying the comments about how this method is broken.
2007-12-05 17:25:25 +00:00
tjhunt
628f99616d
MDL-12438 - followup - fix typos. Thanks to Dan Poltawski.
2007-12-05 16:50:23 +00:00
toyomoyo
086df9283f
MDL-12437, sorting by names adds teacher to gradebook list
2007-12-05 01:13:29 +00:00
tjhunt
ade79a4768
MDL-12438 - Print a develoer debug message if you call get_records with a non-unique first column. Merged from MOODLE_19_STABLE.
2007-12-04 17:29:47 +00:00
sam_marshall
d5fe85d5cc
MDL-12431 Added ability for filters to contain lang files
2007-12-04 11:47:28 +00:00