11 Commits

Author SHA1 Message Date
Petr Skoda
5668690321 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead 2010-01-26 10:22:58 +00:00
jerome
d7db89834f javascript MDL-16693 Tim's fix for recaptcha 2009-06-24 07:39:57 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt
a836d6d375 Fix whitespace. 2009-06-12 09:09:28 +00:00
samhemelryk
50fcb1d835 lib MDL-19236 Added boilerplates and copyrights 2009-05-26 03:23:32 +00:00
tjhunt
7a1f5e932a MDL-16706 - eliminate miscellaneous inine JavaScript
A few easy files in lib.
2008-09-26 11:24:52 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
nicolasconnault
83947a36a8 MDL-14073 New param for download_file_content: skipcertcheck. ssl now used in recaptchalib 2008-03-31 12:13:46 +00:00
nicolasconnault
9b5f87d27e MDL-13796 Committing new recaptcha element 2008-03-13 15:45:16 +00:00
nicolasconnault
7c572b8c90 MDL-13796 Added help button and help file, used Snoopy in recaptchalib for proxy support, fixed lang strings, refactored validation code, used element property to pass error string around. 2008-03-11 10:34:50 +00:00
nicolasconnault
5d6308d491 MDL-13796 Most of the recaptcha implementation is done. 2008-03-10 17:32:32 +00:00