36560 Commits

Author SHA1 Message Date
tjhunt
5085a59ad7 javascript: MDL-16695 print_footer('empty'); I had the wrong type of quotes.
Thanks to Dongsheng for noticing.
2009-06-19 08:02:11 +00:00
dongsheng
009a97ce00 "MDL-17316, improve non-js filepicker" 2009-06-19 07:22:37 +00:00
moodlerobot
ca1841ee32 Updated the HEAD build version to 20090619 2009-06-19 00:39:02 +00:00
skodak
8754882493 MDL-19528 new dragmath icon by Mauno Korpelainen 2009-06-18 17:23:47 +00:00
tjhunt
571fa82824 themes: MDL-19077 implement the renderer_factory instrastructure.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

The concept is that all the print_... functions in weblib get replaced  by methods
on a moodle_core_renderer class. Then, the theme can choose whether to
use the standard moodle_core_renderer class, or another implemenatation of
its own choosing, to generate different HTML.

Also, becuase Moodle is modular, we may need a moodle_mod_forum_renderer
and so on.

In order for the theme to be able to choose which renderers get created, we
introduce the concept  of a renderer factory, as in the factory design pattern.
The theme will choose which factory should be used, and that then creates
the renderer objects based on the module name.

This commit includes 4 types of factory:
* standard_renderer_factory
* custom_corners_renderer_factory
* theme_overridden_renderer_factory
* template_renderer_factory

All this with unit tests and PHP doc comments.

Note, this new code is not actually used yet. Still todo:
1. actually define the moodle_core_renderer class, and deprecate a lot of weblib functions.
2. make theme_setup initialise everything, so it is used.
2009-06-18 10:43:13 +00:00
dongsheng
78ff29832d "MDL-17316, supported flickr_public plugin working in non-js filepicker" 2009-06-18 07:58:37 +00:00
dongsheng
e78e71fd61 "MDL-16698, use non-js filepicker to pick up files" 2009-06-18 06:52:26 +00:00
dongsheng
ab9cdbb976 "MDL-17316, fix upload form in non-js file picker" 2009-06-18 06:31:51 +00:00
moodlerobot
b556308033 Updated the HEAD build version to 20090618 2009-06-18 00:39:36 +00:00
mits
c4353ccb28 MDL-19552 Fixed a typo. 2009-06-17 17:40:09 +00:00
tjhunt
a978bddea3 javascript: MDL-16695 print_footer('empty'); was not printing the necessary end of page code. 2009-06-17 10:29:42 +00:00
moodler
b03fc39253 Just some whitespace fixes 2009-06-17 08:50:16 +00:00
tjhunt
32941d74c8 Move extra ajaxlib unit tests to the right place. 2009-06-17 07:35:33 +00:00
tjhunt
1ee9d0d764 Fix boilerplate. 2009-06-17 07:32:18 +00:00
tjhunt
8a0cb3a16d Javadoc comment syntax. 2009-06-17 05:34:10 +00:00
moodlerobot
51ad3ca89f Updated the HEAD build version to 20090617 2009-06-17 00:39:23 +00:00
stronk7
f59309921b MDL-19465 accesslib - improve get_user_access_sitewide() performance (~10%) 2009-06-16 15:34:55 +00:00
tjhunt
52902cea23 blocks upgrade: MDL-19511 And repeat the upgrade step, since some poeple will have missed it. 2009-06-16 10:31:33 +00:00
skodak
aeb0f2135e MDL-19526 fixed inserting of < and > 2009-06-16 10:28:56 +00:00
tjhunt
a26146d563 blocks upgrade: MDL-19511 put back important code that Petr commented out!
The actual mistake was the name of the previous column, which is totally irrelevant, but which XMLDB had filled in incorrectly. Grrr!
2009-06-16 10:23:56 +00:00
skodak
e3d84fb05d MDL-19522 dragmath plugin now fully supports localization 2009-06-16 10:23:27 +00:00
jerome
70f01544e1 administration MDL-19525 remove global $userfields usage from uploadpicture_form class, merged from 1.9 2009-06-16 09:09:33 +00:00
skodak
27c718a90e MDL-19523 dragmath embedding xhtml fixed 2009-06-16 08:54:01 +00:00
skodak
170b4f9b68 MDL-19523 dragmath embedding xhtml fixed 2009-06-16 08:53:37 +00:00
skodak
bd479c7c0f MDL-19520 upgrading to latest dragmath, thanks Marc Grober for new version notification 2009-06-16 08:44:50 +00:00
skodak
ae388c4537 MDL-19211 adding forgotten dragmath in legacy editors 2009-06-16 08:00:53 +00:00
dongsheng
aa8ce6e3fd "MDL-13766, use new API to load javascript files, fix xhtml strict issues in javascript, but YUI cannot work in xml strict mode, so do not true on xml strict option in moodle if you want to use file picker" 2009-06-16 02:42:32 +00:00
moodlerobot
a9a6dfe42a Updated the HEAD build version to 20090616 2009-06-16 00:40:27 +00:00
stronk7
ce174f776f MDL-19460 wiki - disable by default undocumented interwiki links. Can be ebabled with $CFG->wiki_allow_interwiki = true; merged from 19_STABLE 2009-06-15 15:11:20 +00:00
poltawski
c7ad563f55 filters/multimedia MDL-19504 - Fullscreen button didn't work
merged from MOODLE_19_STABLE
2009-06-15 11:21:13 +00:00
tjhunt
25ddb7efc9 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
This is the final batch.
2009-06-15 07:57:53 +00:00
tjhunt
bcfc87f5de javascript: MDL-19475 replace require_js calls with $PAGE->requires->js. 2009-06-15 07:00:08 +00:00
fmarier
3e83641fdc MDL-2794 testweblib: adapt the unit tests to the output of new html2text library 2009-06-15 06:08:42 +00:00
tjhunt
c28bf5c9f8 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
Also, some related JavaScript cleanup.

More to follow.
2009-06-15 05:37:57 +00:00
dongsheng
424362f3b5 "MDL-16695, fixed yui js files path" 2009-06-15 05:06:34 +00:00
tjhunt
5c5418fe9d Further fixes to PHPdoc comments. 2009-06-15 04:03:59 +00:00
tjhunt
2c144fc308 Further fixes to PHPdoc comments. 2009-06-15 03:54:00 +00:00
tjhunt
9ca1395054 Try to improve formatting of PHPdoc. 2009-06-15 02:48:40 +00:00
tjhunt
0287fe7e23 Fix package name. 2009-06-15 02:45:26 +00:00
moodlerobot
b9b8205dd5 Updated the HEAD build version to 20090615 2009-06-15 00:39:07 +00:00
skodak
13a220cfb8 MDL-19500 improved editor embedding 2009-06-14 21:35:07 +00:00
stronk7
cab8690d4b MDL-19331 Changes is table name/comments now flag xmldb as changed 2009-06-14 16:34:34 +00:00
skodak
fe54764e04 MDL-19498 importing tinymce 3.2.4.1 2009-06-14 16:19:28 +00:00
skodak
95fa2e7e4b MDL-19498 testing keyword expansion changes in exported libs 2009-06-14 16:14:45 +00:00
moodlerobot
2082c1ff38 Updated the HEAD build version to 20090614 2009-06-14 00:39:29 +00:00
mudrd8mz
488275fc71 Fixed missing ";" - spotted during upgrade 2009-06-13 20:56:14 +00:00
skodak
fc29e51b2d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:34:43 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +00:00
skodak
979425b584 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:04:21 +00:00
skodak
0bcf8b6f0d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:55:51 +00:00