Commit Graph

1537 Commits

Author SHA1 Message Date
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
skodak f89f924e03 fixed debug warning 2006-03-15 20:50:05 +00:00
moodler e7fea10028 Don't use isteacher() 2006-03-15 10:05:19 +00:00
vyshane 540f964d92 Fixed undefined var notice 2006-03-15 08:40:56 +00:00
vyshane 80743e2a5b Fixed bug in use_html_editor() that prevented HTMLArea display if $name is not
provided.
2006-03-15 08:30:03 +00:00
vyshane 035d465cb6 Made added $return argument to print_textarea() function. 2006-03-15 05:38:02 +00:00
vyshane 5f9b13b860 Updated use_html_editor() and print_editor_config() 2006-03-15 03:12:28 +00:00
vyshane 3afc728f5c Changed use_html_editor and print_editor_config functions so that we have an
editor javascript object that we can use when we create the HTMLArea editor.
This object allows us to call e.g. editor.insertHtml().
2006-03-14 05:26:03 +00:00
skodak 4f01826a27 removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb; 3rd party contribs must be fixed to be utf-8 and 1.6dev compatible anyway;
going to add a notice to wiki at http://docs.moodle.org/en/UTF-8_scripts
2006-03-13 22:26:06 +00:00
nfreear 40d34f9e3c Accessibility: fix, weblib.php: print_navigation, class="resize" (Martin D post 10/3, OU-Bugz: 726) 2006-03-13 14:46:05 +00:00
nfreear 531a574aff Accessibility: fix, use $CFG->pixpath, clearer image-names (Martin D post 10/3, OU-Bugz: 718) 2006-03-13 13:32:19 +00:00