Commit graph

5804 commits

Author SHA1 Message Date
skodak
47af2e43f3 MDL-12720 removing confusing/not implemented CONTEXT_PERSONAL; merged from MOODLE_19_STABLE 2007-12-23 19:48:32 +00:00
skodak
8ebb324b04 MDL-12718 show the print_header navigation warning only if in DEBUG_DEVELOPER mode; merged from MOODLE_19_STABLE 2007-12-23 13:55:10 +00:00
skodak
392e73631e MDL-12716 fixed admin setting for rcache; more robust rcache handling in setup.php; merged from MOODLE_19_STABLE 2007-12-23 13:10:35 +00:00
skodak
a7ad48fd43 MDL-12712 fixed multiselect when nothing selected; merged from MOODLE_19_STABLE 2007-12-22 21:58:10 +00:00
nfreear
1200d3d05d MDL-7493 further fix: strip_tags from title strings because the titles may have HTML in them.
-From Martin D/moodler in moodleblock.class.php - thanks.
2007-12-21 11:12:43 +00:00
stronk7
aaa291bcb9 tidy up phpdoc
Merged from MOODLE_19_STABLE
2007-12-20 23:17:42 +00:00
stronk7
35c1c575d4 After some more tests... apply the new preconfigure_dbconnection()
to core. MDL-12657

Merged from MOODLE_19_STABLE
2007-12-20 23:15:03 +00:00
stronk7
118e0116f3 Adding the new preconfigure_dbconnection() function
to pre-define some BD/ADOdb stuff before connection. MDL-12657

Merged from MOODLE_19_STABLE
2007-12-20 22:52:55 +00:00
skodak
58424a33d5 MDL-12684 fixing wrong link to manual settings page - settings.php not implemented yet, sorry; merged from MOODLE_19_STABLE 2007-12-20 21:00:05 +00:00
poltawski
5dc1e0bebb MDL-12676 - generate navigation if none supplied to print_header_simple()
Merged from MOODLE_19_STABLE, also merged unmerged change from MDL-11812
2007-12-20 15:52:33 +00:00
skodak
3cea9c554a MDL12672 fixed parent::search trouble; merged from MOODLE_19_STABLE 2007-12-20 14:39:12 +00:00
moodler
e0e322d9e7 Something really old we'll need later 2007-12-20 06:45:32 +00:00
mjollnir_
7bb03e8a7b merged from MOODLE_19_STABLE: fixing lying phpdoc comments in role_cap_duplicate function that I moved to accesslib yesterday 2007-12-19 23:32:53 +00:00
skodak
9c305ba15a MDL-12655 set_config() should cast values to string because get_config does that too; merged from MOODLE_19_STABLE 2007-12-19 22:32:43 +00:00
skodak
2876471013 MDL-11561 use 60x8 text area to fit on all screens; merged from MOODLE_19_STABLE 2007-12-19 18:42:44 +00:00
skodak
2fec2300f7 MDL-10401 redirect to site/admin/ if section error found; merged from MOODLE_19_STABLE 2007-12-19 18:05:09 +00:00
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