1035 Commits

Author SHA1 Message Date
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
fmarier
2bba926db0 weblib: Fix typo in print_table() which was causing invalid <th> tag
MDL-11506
2007-12-07 05:00:22 +00:00
nfreear
166db28057 Fixes bug MDL-12416, Help links - img ALT text should contain phrase "new window" to match link TITLE. 2007-12-03 16:41:36 +00:00
toyomoyo
93c61c18cf MDL-10915, additional setting for emoticons 2007-12-03 06:27:21 +00:00
scyrma
2416a6f7c2 Code style corrections. 2007-11-30 03:09:59 +00:00
scyrma
80f29a5947 Possible fix to MDL-12093 : give window without heading and navigation special css classes. 2007-11-29 07:20:13 +00:00
scyrma
fc5e9c4095 MDL-12093 : cleanup & simplify code to get popup windows. 2007-11-29 05:54:35 +00:00
stronk7
ec28a9bf8b Adding new wraplevelXX class for easier containers identification. MDL-12339
Merged from MOODLE_19_STABLE
2007-11-28 18:14:38 +00:00
skodak
0ad439bb42 MDL-12221 custom themes revisited - fixed bug in previous commit, added more developer debug; merged from MOODLE_19_STABLE 2007-11-23 20:26:16 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
sam_marshall
ca70075a39 MDL-12284 Moved require_js to weblib and improved it so that it works if called during header (also tidied up code) 2007-11-20 18:04:03 +00:00
tjhunt
71e197598c MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by &amp; and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE. 2007-11-20 17:31:13 +00:00
mattc-catalyst
6779dc6a02 MDL-12172: fixed get parameters not being submitted in Firefox
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-11-19 01:45:45 +00:00
skodak
64f592adf3 fixed typo throwing warnings during install; merged from MOODLE_19_STABLE 2007-11-17 20:55:44 +00:00
skodak
71198086c3 MDL-12221 initialised $output and fixed whitespace; merged from MOODLE_19_STABLE 2007-11-17 16:37:00 +00:00