37056 Commits

Author SHA1 Message Date
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
tjhunt
8a9c1c1c2d Add a warning that require_capabiliy can only be used before output is started. 2009-07-04 14:22:11 +00:00
tjhunt
024d4aafbf XHTML strict. 2009-07-04 13:36:19 +00:00
tjhunt
4af1e3b060 outputlib: MDL-19077 better reporting when open/close containers don't match. 2009-07-04 13:36:05 +00:00
dongsheng
bf746326d1 "MDL-13766, add language string for repository plugin" 2009-07-04 11:20:39 +00:00
dongsheng
25cde16c3d "MDL-13766, add language string for file picker" 2009-07-04 11:17:33 +00:00
skodak
4fea29e40e MDL-19689 get_coursemodule_from_id() and get_coursemodule_from_instance() now have $strictness parameter too 2009-07-04 11:15:16 +00:00
skodak
2bad34a309 MDL-19689 fixed strictness constants, thanks Tim 2009-07-04 10:53:57 +00:00
skodak
98c8594a76 MDL-16438 fixed portfolio regression 2009-07-04 09:48:56 +00:00
skodak
6c7f537455 MDL-19689 adding IGNORE_MULTIPLE to get_record - please note this parameter is discouraged 2009-07-04 09:35:03 +00:00
skodak
e6c6531cce MDL-19689 fixed strictness constants, thanks Tim 2009-07-04 09:30:59 +00:00
moodlerobot
a13c6d66e1 Updated the HEAD build version to 20090704 2009-07-04 00:38:53 +00:00
skodak
af12ea93ba MDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family of DML methods 2009-07-03 22:38:56 +00:00
skodak
7d961b6888 MDL-19676 removing premature commit 2009-07-03 21:48:06 +00:00
skodak
86900a93bb MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:40:37 +00:00
skodak
98edf7b647 MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:39:39 +00:00
skodak
6c79b0980f MDL-14589 improved _pluginfile function - added forcedownload param 2009-07-03 13:39:14 +00:00
skodak
2e3da29789 MDL-16089 entry in modules table created before calling install.php because it might be used there already, also if something fails in install.php the db will be in a more consistent state 2009-07-03 13:35:36 +00:00