747 Commits

Author SHA1 Message Date
skodak
6544f8d896 slashargument fix for healthcenter, better diagnostic messages; renamed file.php/pic.jpg option to file.php/1/pic.jpg because the course number is mandatory; merged from MOODLE_16_STABLE 2006-06-30 13:46:25 +00:00
toyomoyo
b7425e2ebc merged fix for 5916 2006-06-26 08:32:39 +00:00
stronk7
7038fe44bf Now docs are showed in a new window based on $CFG->doctonewwindow
Merged from MOODLE_16_STABLE
2006-06-20 13:53:09 +00:00
moodler
a6320cc0b8 Merged helplink fix from stable 2006-06-18 08:10:52 +00:00
moodler
05b7eba955 Merged print_error fix from stable 2006-06-14 03:17:19 +00:00
nfreear
782792047b Fix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php: print_side_block, edits to moodleblock.class.php, Standard style, en_utf8 language pack. 2006-06-09 14:25:18 +00:00
moquist
b40a2b43be Added $return parameters to print_paging_bar() and print_table(). 2006-06-01 05:51:45 +00:00
moodler
80acd6be74 Use global $COURSE in print_header to avoid ugly hack 2006-05-29 08:22:52 +00:00
skodak
fdcd0f0566 fix for printing of multiple group pictures bug #5548; merged from MOODLE_16_STABLE 2006-05-23 19:18:25 +00:00
skodak
cd7d03fa48 fixed register globals issues in course/search.php; merged from MOODLE_16_STABLE 2006-05-20 18:41:59 +00:00
skodak
c23ff4d654 deprecated nvl() function similar to optional_variable(); merged from MOODLE_16_STABLE 2006-05-18 22:12:06 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
skodak
f231e867f0 I hope this is the last patch for header already printed trouble in error() and redirect(); merged from MOODLE_16_STABLE 2006-05-16 20:31:22 +00:00
nfreear
f73e218f40 Merge from STABLE. Fix bug 5477... 2006-05-16 12:27:21 +00:00
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
skodak
70ed990ed2 fixed secure forms handling when POST url contained GET parameters (cookieless mode and some other forms); merged from MOODLE_16_STABLE 2006-05-14 21:21:35 +00:00
skodak
cc50d6664f I hope final fix for warnings when using error() after print_header() with buffering on, solution was to flush all buffers and reenable SID rewrite when needed; merged from MOODLE_16_STABLE 2006-05-14 17:23:29 +00:00
stronk7
bb4a5741d1 Isolating debug and perfdebug behaviours...now
each one controls its own output.
2006-05-01 23:16:48 +00:00
skodak
6d706916bd double header in error() workaround 2006-05-01 21:31:12 +00:00
skodak
d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +00:00
martinlanghoff
78fbaeaeed weblib: validate_email() -- emails with a trailing dot in the local-part (user.@host.com) are invalid 2006-04-20 22:32:00 +00:00
skodak
960855b9a1 fixed double header warning in redirect() 2006-04-17 20:40:33 +00:00
moodler
9e458bb388 Moodle Docs link on home page could be a bit confusing 2006-04-16 16:21:50 +00:00
skodak
f8a5159a2b changes needed for new s() and p() - see bug #2338 2006-04-14 08:02:32 +00:00
skodak
e8d1c9ed2b stripslashes_safe() improvement - now works also for arrays and objects see bug #2338 2006-04-13 21:27:01 +00:00
moodler
87fa2e3f8a Fixes to make print_error more useful, suggested by Sam
It can now take a module argument, and can support different link locations
2006-04-13 05:42:47 +00:00
stronk7
d4a42ff494 New optional parameter to s() and p() allowing to specify
if we want to strip slashes (data coming from forms) or no
(data coming from DB, the default). Bug 2338.
(http://moodle.org/bugs/bug.php?op=show&bugid=2338)
2006-04-12 17:39:23 +00:00
skodak
f27d105cc6 final fix for category and courses edit button 2006-04-12 16:28:11 +00:00
moodler
dd899b917d Fixed up print_error according to original plan
see also http://moodle.org/mod/forum/discuss.php?d=43712
2006-04-12 09:32:19 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
moodler
e575c0597d Added a notify in debugging mode for a double print_header() 2006-04-10 16:00:34 +00:00
moodler
32613b509f Added a little static variable to print_header to prevent it being called twice 2006-04-10 14:40:39 +00:00
moodler
b525bd2009 Better fix for bug 5082. Noticeboxes are now:
#notice.generalbox
2006-04-10 08:32:27 +00:00
moodler
21e2acab15 Added generalbox to noticebox on notices - bug 5082 2006-04-10 08:27:53 +00:00
moodler
30c9e6947d Reverting changes to print_simple_box for now until the new div can be
rolled out without problems.  See bug 4943
2006-04-10 01:39:38 +00:00
nfreear
a2e2bf643a Fix MB 5099, "Make CSS requests expire in IE", fix 'max-age=' as per http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, override $lastmodified parameter (OU-Bugz: 851) 2006-04-07 10:18:03 +00:00
nfreear
408b65dd44 Fix 2, bug 4943: "print_simple_box behaviour changed". Centred is now default alignment; for centred no-width specified, width=30em. 2006-04-06 17:21:04 +00:00
moodler
d2fa35a80d FIxed a typo from long time ago in popup windows from logs 2006-04-05 02:45:13 +00:00
moodler
02024106fa more years in the list 2006-03-30 03:55:24 +00:00
moodler
a05653a0b2 Improvements to print_date_selector, print_time_selector etc to allow them
to be returned as strings
2006-03-27 03:42:44 +00:00
stronk7
6385df35bc Fixed typo. 2006-03-25 23:43:14 +00:00
nfreear
6575bfd4d1 Accessibility: fix bug 4963 in function, print_header. Added 'lang' attribute to $direction, used by standard and other themes. 2006-03-22 17:48:53 +00:00
nfreear
8ceb3e67d5 Part fix, bug 4943: print_simple_box behaviour changed. Now aligns box, and shrinks to fit for left/right-alignment. 2006-03-21 16:29:50 +00:00
moodler
5889c1bb64 Small fix for admin menu layout and also print_table 2006-03-20 15:33:18 +00:00
moodler
a9743837bf SLightly more efficiency to help keep the cached_text table smaller see bug 4677 2006-03-20 02:33:41 +00:00
nfreear
5288e4a5ff Accessibility: tidied, removed commented code functions, print_simple_box_start, _end (followup to OU-Bugz: 737) 2006-03-17 12:27:18 +00:00
nfreear
eab1f9aebd Accessibility: do NOT change, fixed call to trim in function, helpbutton (OU-Bugz: 752) 2006-03-16 11:13:21 +00:00
nfreear
97f76a1aa3 weblib.php: replaced <table> in print_simple_box_start _end with <div>s (OU-Bugz: 737) 2006-03-16 11:03:02 +00:00
toyomoyo
ae8a5ff023 added blog link to print_user 2006-03-16 08:16:08 +00:00
vyshane
a0fd7c1df8 Updated print_textarea() 2006-03-16 03:56:19 +00:00