dongsheng
8ec50604b1
Move error() to deprecatelib.php, merged from MOODLE_19_STABLE
2008-04-01 04:15:13 +00:00
scyrma
0d6a8102df
MDL-14103 - remove the call to s() - the string has to already be in html format. (merge - 1.9)
2008-03-31 06:53:35 +00:00
scyrma
a5fe6177d6
MDL-13985 - removed call to get_string, translation of this string made no sense and broke badly. (merge)
2008-03-20 07:05:06 +00:00
nicolasconnault
902d5cc046
MDL-13880 Overridden and excluded grades are now coloured with alternate row colours that override the default alternate row colours (gray). I also fixed the long-standing notice about aggregationposition. See attached patch.
2008-03-20 06:05:44 +00:00
scyrma
317f94b0a2
MDL-13934 - Commit patch by Eloy - prevent display of moodle docs link on redirect pages
2008-03-19 08:19:31 +00:00
scyrma
0f2f6126c3
MDL-12093 - remove added classes - they don't help the issue and clutter the code
2008-03-19 08:16:51 +00:00
skodak
f043289d2f
MDL-13886 whitelist text-decoration in kses cleaning; merged from MOODLE_19_STABLE
2008-03-15 15:01:27 +00:00
tjhunt
111ded5895
Clarify unused argument.
2008-03-07 11:17:44 +00:00
moodler
8cd9482066
Fix the display of the release (merged from 1.9)
2008-03-05 05:36:49 +00:00
skodak
8cd2314b9a
MDL-13705
2008-02-28 21:17:52 +00:00
martinlanghoff
7cfb11db0b
MDL-90 weblib: Introducing mdie() - close sibling of Perl's die()
...
So that commandline scripts can die with a message and
a nonzero errorcode
2008-02-27 02:52:28 +00:00
skodak
183f9cc99c
MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form, patch by Steve Bond; merged from MOOODLE_19_SATBLE
2008-02-25 20:39:42 +00:00
skodak
5087c945ec
MDL-13661 - fixing incorrect use of array_shift; merged from MOODLE_19_STABLE
2008-02-25 20:22:59 +00:00
poltawski
d1731fda35
MDL-9667 - convert_tree_to_html doesn't set css class properly if
...
$tab->linkedwhenselected is set
Patch from Jeff Graham
merged from MOODLE_19_STABLE
2008-02-25 11:58:12 +00:00
moodler
3923874573
Fixed $displaypage notice by initialising it
2008-02-21 06:14:02 +00:00
skodak
d0b8e40d6f
MDL-12538 skip to main does not work if page div contains other attributes; merged from MOODLE_19_STABLE
2008-02-19 13:34:31 +00:00
nicolasconnault
d423b6dc9a
MDL-13459 Didn't use the patch, which puts its finger in too many pies. Instead just implemented a quick-fix, a temporary get_assignable_for_switchrole() function. It only affects the switchroles menu. Merging from MOODLE_19_STABLE
2008-02-15 16:40:45 +00:00
skodak
7f30b5fc2c
MDL-13312 fixed notices caused by previous commit, patch by Gary Anderson; merged from MOODLE_19_STABLE
2008-02-03 12:53:33 +00:00
skodak
1cc54a45d7
MDL-13310 added static cron cache into format_text() to prevent some db access; merged from MOODLE_19_STABLE
2008-02-03 10:57:07 +00:00
skodak
76cbde4138
MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE
2008-02-01 14:10:49 +00:00
fmarier
0cda10df3e
Merged from MOODLE_19_STABLE: MDL-13244 - weblib - Add 'summary' attribute to print_table()
2008-01-31 22:24:45 +00:00
skodak
dd97c32868
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
2008-01-24 20:33:50 +00:00
sam_marshall
8275580db3
MDL-13154 Make it possible to unit test code that calls error() (2.0 only, PHP5 req)
2008-01-24 16:58:32 +00:00
moodler
5df984eb0a
Merged typo fox for popup windows from 19
2008-01-18 05:18:11 +00:00
scyrma
9ea043250b
added some documentation
2008-01-16 08:41:30 +00:00
scyrma
aa68a7b0a2
MDL-13020 : deprecates make_table
2008-01-16 08:17:25 +00:00
scyrma
9e73868793
Fix for MDL-9669 : make it possible to specify 0 as cellpadding and cellspacing
2008-01-16 07:39:03 +00:00
jamiesensei
c56590192a
whitespace clean up, removed all indentation with tabs and trailing white space
2008-01-13 08:30:39 +00:00
jamiesensei
3269de981e
MDL-12906 add an optional parameter $jsconfirmmessage parameter to print_single_button
2008-01-12 08:47:29 +00:00
urs_hunkler
ba92d2f50c
merged from 1.9 :: MDL-12221 :: removed the "nocoursepage" hack, which was an attempt to find out if a page has a layout-table. I developed this hack because Martin said, that he does not see any chance to implement a layout-table check. This hack followed several exception hacks because Moodel pages are inconsistently created. All those exceptions I could delete too.
...
Now I added a JavaScript layout-table check which works great.
2008-01-11 09:29:53 +00:00
mjollnir_
e3cd54731c
MDL-12894 Fixing language string mess (language packs containing \n) & moved them to the controllers,
...
also fixed a few typos and a || instead of && bug. This all relates to the CLI installer.
2008-01-09 23:15:44 +00:00
urs_hunkler
52ea8aa026
Merged from 1.9 and checked :: MDL-12221 :: I added changes to weblib and the forum and glossary view pages, the custom_corners and standard theme to get those pages working.
...
In the view pages I changed the container function call to a simple "echo 'div ...'" to avoid the custom_corners container overhead and page oddity.
In weblib I added "clearfix" handling to the function "print_box_start($classes ...". "clearfix" is handed over to the containing divs. This is a hack, but I didn't know how to handle it without rewriting too much areas.
2008-01-09 15:52:08 +00:00
mjollnir_
2f13f94ccc
New feature: Command line installer. Credit: Dilan Anurudda.
...
This was a Google Summer of Code 2007 Project.
This introduces two new files, admin/cliupgrader.php and lib/installlib.php.
It also introduces a new PEAR library, Console_GetOpt. I have recieved permission from the upstream author to include this in GPL Moodle (essentially dual license it) - notes in lib/pear.
Most stuff that outputs html during install gets suppressed by the use of a constant.
Run the script like php admin/cliupgrade.php --help for info.
Note that this all uses strings from install/ rather than lang, so I have updated stringnames.txt accordingly and they'll all be broken until the cronjob that generates them runs.
2008-01-07 01:54:28 +00:00
nicolasconnault
bbc275c142
MDL-12429 Applied and tested Franois' patches to 1.8, 1.9 and head.
2008-01-04 06:46:52 +00:00
nicolasconnault
7734465963
MDL-12429 Applied and tested Franois' patches to 1.8, 1.9 and head.
2008-01-04 06:45:55 +00:00
skodak
587c7040f5
MDL-12790 highlighting in admin search results breaks html
...
MDL-12791 add defaults parameter to format_admin_setting()
MDL-12792 search in admin settings and defaults
+ minor speedup of fast highlighting and fixed empty span tags
merged from MOODLE_19_STABLE
2008-01-01 15:51:54 +00:00
poltawski
357f787bbc
MDL-7242 eliminate last use of location to refer to city in profile where
...
it causes problems for translators
merged from MOODLE_19_STABLE
2007-12-29 15:38:14 +00:00
skodak
109e3cb281
MDL-11561 improved text filter cache resetting when settings change; fixed bug causing fatal errors if html purifier enabled during upgrade; merged from MOODLE_19_STABLE
2007-12-25 10:03:59 +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
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
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
tjhunt
a66a929e63
New option on print_single_button to all printing of disabled buttons.
2007-12-19 13:31:03 +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
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
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
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
nfreear
93beeb7254
Fixes MDL-12539 "Help link text for all admin/user filters are broken".
2007-12-11 13:58:39 +00:00