36923 Commits

Author SHA1 Message Date
dongsheng
abdcded6c7 "MDL-13766, use OUTPUT to print box" 2009-07-09 07:17:18 +00:00
tjhunt
793a204e7b themes MDL-19077: Update deprecated stuff in all theme config.php files. 2009-07-09 02:06:22 +00:00
moodlerobot
4f876e658c Updated the HEAD build version to 20090709 2009-07-09 01:44:46 +00:00
mudrd8mz
897b5c820b MDL-19731 get_renderer() accepts optional subtype
The initial patch has been reviewed at the issue page. This commit also
fixes template_renderer_factory::get_renderer() and sets up folders for
subtypes there.
2009-07-08 09:37:06 +00:00
samhemelryk
428acddb72 outputlib MDL-19740 Fixed up outputlib focus handling to deal with the three different ways of requesting focus. 2009-07-08 09:01:20 +00:00
dongsheng
b2f8adf4e5 "MDL-19733, directory name need to be cleaned before saving into database" 2009-07-08 07:45:51 +00:00
samhemelryk
4d49202ffc javascript-UFO MDL-19738 Stopped ufo.js being included in outputlib and included it in each place it was actually being used.
It will no only be loaded when it is being used. If something new comes along they will need to remember to require it.
At the same time cleaned up a few deprecated calls
2009-07-08 04:12:11 +00:00
samhemelryk
e6f7f2b278 lib MDL-19739 Moved call to include dropdown.js out of outputlib and into the same body of code in weblib
that uses it.
This ensures that it is only loaded if it is used, which is only is the browser is opera, or IE
2009-07-08 03:27:27 +00:00
samhemelryk
803dc07443 ajaxlib MDL-19690 Fixed minor bug because of missing global 2009-07-08 01:56:15 +00:00
samhemelryk
405efa5f95 filelib MDL-19707 Modified file_extension_icon to use extisting function mimeinfo and reverted
two uses of file_extension_icon in course-lib that were incorrect
2009-07-08 01:52:16 +00:00
moodlerobot
8abf70817a Updated the HEAD build version to 20090708 2009-07-08 00:36:49 +00:00
samhemelryk
e11a8328b3 javascript MDL-16673 Removed all removeable uses of CFG->javascript
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
samhemelryk
e4e7044acd lib-form MDL-16706 Changed inline JS to use PAGE methods 2009-07-07 08:49:00 +00:00
moodler
f77fcb5a8f Fixing a notice for Tim 2009-07-07 07:43:36 +00:00
moodler
d917700d2d Upgraded this theme to use the new $THEME->pluginsheets 2009-07-07 07:35:59 +00:00
dongsheng
d34bdb4ba1 "MDL-16706, fixed javascript object used to assoicate editorid with file picker clientid" 2009-07-07 07:16:22 +00:00
moodler
024f3f9749 accesslib MDL-19730 fixing regression from MDL-19077 where has_capability fails when $USER->id=0 (so they couldn't see blocks etc) 2009-07-07 07:06:19 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
samhemelryk
0578e8eb38 course-modedit MDL-16089 Fixed bug caused by recent changes, unable to edit resources 2009-07-07 06:05:39 +00:00
tjhunt
69d3cd7f67 themes: MDL-19077 - take out test code I did not mean to include in my last commit. 2009-07-07 05:06:38 +00:00
tjhunt
fdeb7fa192 themes: MDL-19077 - more work on the theme_config class.
* Writing lots more PHPdoc comments for all the settings.
* Strip the comments from the standard theme config.php (see below)
* Move finding the layout template from moodle_core_renderer to the theme_config class
* Move loading meta.php files from moodle_core_renderer to the theme_config class
* MDL-19719 Remove support for $THEME->langsheets, and lang/.../styles.php
* MDL-19719 Put the Vietnamese-specific code into the standard theme
* Support for styles.php in all plugin types (at the theme's discretion). (c/f MDL-16438)
* More PHP doc comments for moodle_core_renderer methods.

About stripping comments from config.php: I'm not sure if this
is a good idea, and I may revert this bit. I am hoping that once
http://phpdocs.moodle.org/HEAD/moodlecore/theme_config.html has
been updated, that will be better than copying and pasting these
comments into every theme. I intend to post in the themes forum
to canvas opinions.
2009-07-07 05:05:06 +00:00
tjhunt
87b6851cf9 Catch another potential type of infinite recursion output initialisation. 2009-07-07 04:37:12 +00:00
samhemelryk
2dcb7d0be0 lib-filelib MDL-19707 Modified file_extension_icon() to accept full filename 2009-07-07 04:03:33 +00:00
samhemelryk
9dffa7af76 lib-filelib MDL-19707 Added file_extension_icon() and file_mimetype_icon()
After talking with Tim we decided that this would be a better solution than adding more methods to $OUTPUT
2009-07-07 03:56:15 +00:00
tjhunt
641e6ecd58 Typo fix. 2009-07-07 03:49:46 +00:00
tjhunt
8f4e377dfe MDL-19690 - pixpath - cannot use $OUTPUT in CSS. Use $PAGE->theme instead. 2009-07-07 03:49:13 +00:00
moodler
1745eab095 tags MDL-19728 Removing tags file and replacing with a tags.txt to explain where to get it 2009-07-07 03:37:58 +00:00
moodler
59aff0441a Last tags file! 2009-07-07 03:33:16 +00:00
nicolasconnault
e060e33dc3 MDL-19727 Replaced boilerplates and removed ID tags. Merged from MOODLE_19_STABLE 2009-07-07 02:26:36 +00:00
nicolasconnault
1cfecb0286 MDL-19404 Getting default values for grade_item object when creating a new grade_category. Merged from MOODLE_19_STABLE 2009-07-07 02:04:15 +00:00
nicolasconnault
5939e44447 MDL-19429 Validating 0 values for grademin, grademax and gradepass for the edit category form. Also checking for grademax < grademin case. Merged from MOODLE_19_STABLE 2009-07-07 01:57:45 +00:00
moodlerobot
9e4c51ee4c Updated the HEAD build version to 20090707 2009-07-07 00:39:14 +00:00
skodak
aef0bc4830 MDL-19725 latest dragmath 0.7.8.1 imported 2009-07-06 21:18:49 +00:00
nicolasconnault
8f2fab88b9 MDL-16438 Fixed parsing of get_plugins_list for grader reports. 2009-07-06 06:56:25 +00:00
tjhunt
a64e25f65d themes: MDL-19077 move deprecated function page_id_and_class to deprecatedlib.php 2009-07-06 05:32:29 +00:00
samhemelryk
1420162a3a form-filemanager MDL-16706 Removed inline JS and added PAGE methods 2009-07-06 03:16:17 +00:00
Moodle HQ git importer
005a41a3ee Fixing drift between CVS and git 2009-07-06 00:38:18 +00:00
moodlerobot
de400ded7f Updated the HEAD build version to 20090706 2009-07-06 00:38:18 +00:00
mudrd8mz
c7f5e16a63 MDL-19716 moodle_url: new parameter to get URL with unescaped ampersands
moodle_url::get_query_string() and moodle_url::out() now accept new
optional parameter. Backwards compatible. This is needed so we can use returned URL
during redirect() which expects unescaped ampersands.
2009-07-05 14:31:58 +00:00
dongsheng
5fdc39c725 "MDL-18830, add watermark to flickr image" 2009-07-05 14:15:18 +00:00
tjhunt
318f05193e MDL-19714 Fatal errors when installing HEAD This is my attempt to fix things by copying code from setup.php to install.php. Seems to work now. 2009-07-05 02:16:56 +00:00
moodlerobot
98e10a5a97 Updated the HEAD build version to 20090705 2009-07-05 00:38:22 +00:00
moodlerobot
5265012ab6 Automatic installer.php lang files by installer_builder (20090705) 2009-07-05 00:28:06 +00:00
skodak
4fd8ef55ea MDL-16597 temporary icon fix 2009-07-04 19:17:48 +00:00
skodak
3bd3e067d6 MDL-16597 at least basic support for displaying of subdirectory content and general cleanup 2009-07-04 19:03:44 +00:00
skodak
3b6076788d MDL-14589 fixed area tree generation 2009-07-04 18:47:56 +00:00
skodak
65635c0144 fixed missing CFG global 2009-07-04 18:21:43 +00:00
mits
e808f59f79 MDL-19713 Fixed a typo. 2009-07-04 17:16:29 +00:00
skodak
d128a46db8 fixed missing OUTPUT global regression 2009-07-04 16:31:33 +00:00
tjhunt
1fb3d044fd Re-order the code, so we process the actions before we do any output. That is the right order anyway, and avoids the problem where require_capability after output is started leads to an exception being thrown. 2009-07-04 14:23:49 +00:00