Sam Hemelryk
c4592a2ac0
Merge branch 'MDL-25971' of git://github.com/timhunt/moodle
2011-01-17 15:12:18 +08:00
Tim Hunt
1a09fa6dfa
html_writer MDL-25971 Support disabled => boolean, as well as disabled => disabled in html_writer::select.
2011-01-13 19:28:54 +00:00
David Mudrak
9ecbf8018f
MDL-25935 user_picture::unalias() now handles null values correctly
2011-01-11 00:27:42 +01:00
David Mudrak
5c0d03ea1c
MDL-25886 method to convert aliased fields returned by user_picture::fields() back to unaliased form
...
The new public static method user_picture::unalias() picks the user
picture fields from the given record and maps the properties back to
unaliased form so that the result can be rendered.
Also fixes a forgotten bug in previous commit and adds a unit test for
both aliasing and unaliasing.
2011-01-07 14:05:25 +01:00
David Mudrak
9958e561d8
MDL-25886 allow user_picture::fields() to be used multiple times within a single query
...
When user table is joined twice or more within a single query, it is
important to be able to provide aliases to all returned files. This
patch adds optional parameter that, if provided, is used as a prefix
for columns aliases. Does not apply to the 'id' column, use $idalias for
that.
2011-01-07 02:12:43 +01:00
Sam Hemelryk
57bedaeeea
output-custommenu MDL-25447 Fixed up the processing of the custom menu removing the hard-coded single step down
2010-12-02 06:11:27 +00:00
Sam Marshall
15e48a1a49
Forum MDL-25170 Discussion move feature should have button so you don't do it by accident (again)
2010-11-15 10:41:26 +00:00
David Mudrak
b9fadae72d
MDL-24507 support for the TinyMCE moodleemoticon plugin
2010-10-27 18:12:26 +00:00
jerome mouneyrac
ba5c144c0b
image gallery MDL-24773 remove YUI 3 external lightbox module
2010-10-25 06:00:14 +00:00
David Mudrak
d63c507370
MDL-24777 new renderable component pix_emoticon
2010-10-23 18:39:23 +00:00
Sam Hemelryk
f3827323e1
output MDLSITE-1070 Added set methods to custom_menu class as properties are protected
2010-10-12 01:22:15 +00:00
David Mudrak
81e62b6fd5
MDL-12192 temporarily disabled support for colonized labels
...
The code must be fixed so that the colon is not displayed when the label
is hidden by accessibility CSS.
2010-09-24 11:19:57 +00:00
Petr Skoda
e839dce138
js_writer is supposed to have static methods only
2010-09-18 13:34:31 +00:00
Andrew Davis
5174f3c5c4
gradebook MDL-23750 category and item page had extra cells due to partial refactoring
2010-08-11 06:54:40 +00:00
Sam Hemelryk
a26f25ae65
custommenu MDL-23707 Fixed trim issue with custom menu item URLs
2010-08-11 06:02:21 +00:00
David Mudrak
6f7b89e212
NOMDL Fixed extra dot generated by user_picture::fields() if both idalias and table prefix are used
2010-07-26 21:42:28 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
Dongsheng Cai
98e7ae6388
"MDL-23434, fixed accepted_types for filepicker"
2010-07-21 05:17:05 +00:00
Dongsheng Cai
be85f7ab94
"MDL-23307, server file plugin display current course files by default"
2010-07-19 17:44:23 +00:00
Dongsheng Cai
ee9a49628d
MDL-14589, fixed filepath
2010-07-12 09:01:12 +00:00
Petr Skoda
50a8bd6c1d
MDL-14589 file api cleanup
2010-07-11 13:30:33 +00:00
David Mudrak
70dc9b380b
MDL-21652 Fix of phpdoc comment. Thanks to Mark Nielsen
2010-07-07 06:49:17 +00:00
David Mudrak
1ce51635f7
MDL-12192 Do not colonize empty labels, thanks to skodak for spotting
2010-07-06 09:58:36 +00:00
Petr Skoda
3a11c09f5b
MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support
2010-07-04 18:36:34 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
David Mudrak
995f2d51d7
MDL-12192 Language specific label separator instead of hardcoded ': '
...
New string is available. Use get_string('labelsep', 'langconfig') to be used
as a separator between a label and the labelled text. If you want to
produce <label> HTML element, you may be interested in the new
html_writer::label() method. Simple selects and URL selects now use it.
There are bambillion places where ': ' is hardcoded as a separator. I do
not think we have to fix them manually now (and mass search and replace
would be tricky) but everybody should stop adding new.
Do not abuse 'labelsep' for any other purposes. Note that it may not be
colon in some languages or sites.
2010-07-02 12:15:36 +00:00
Petr Skoda
d693882f7f
MDL-22910 oh, I have introduced email requirement field into user picture too, sorry
2010-07-01 07:05:03 +00:00
Petr Skoda
eae1948cee
MDL-22910 workaround for inability of Oracle and MS sql to find distinct text fields, improved perf in all dbs
2010-06-30 20:42:11 +00:00
Dongsheng Cai
6eabadd90d
MDL-22805, display section_backup course_backup course_content only, hide empty directory, lock user in course level
2010-06-22 09:04:46 +00:00
Dongsheng Cai
fb2fb46e5b
MDL-22805, new renderer component moodle_file_tree_viewer, remove file_tree_viewer to area_file_tree_viewer, the legecy files/index.php has be replaced with the moodle_file_tree_viewer, it is readonly
2010-06-16 08:07:42 +00:00
David Mudrak
621b4d0873
MDL-22675 XHTML: checkbox requires checked="checked", not "selected"
...
Thanks Andrea Bicciolo for spotting this.
2010-06-06 12:55:48 +00:00
Sam Hemelryk
af7c1e29ab
block-community MDL-19314 Tweaked image gallery CSS and added a firstimageonly property
2010-06-04 02:46:25 +00:00
Sam Hemelryk
2a102b901e
block-community MDL-19314 Fixed gallery lightbox implementation and added proper support for yui3 gallery modules
2010-06-04 01:49:53 +00:00
Dongsheng Cai
6bf197b34c
MDL-22591, user_private plugin, disable it from private file block, hide user_private area from local plugin
2010-05-31 03:03:21 +00:00
Dongsheng Cai
b80ef420d0
MDL-22582, file_tree_viewer implementaion in core renderer
2010-05-26 08:32:31 +00:00
Dongsheng Cai
e425638049
MDL-16493, database module use filepicker to choose file/pciture, url field use file picker to choose link.
2010-05-24 09:05:40 +00:00
Dongsheng Cai
bb496de7c2
MDL-13766, move file picker element to core renderer
2010-05-24 07:55:57 +00:00
Petr Skoda
1a10840ebe
typos in comments
2010-05-22 20:11:40 +00:00
Dongsheng Cai
4d2ee4c2c0
MDL-16597, move print_filemanager to $OUTPUT->file_manager, now theme designers are able to costomize file manager.
2010-05-19 08:05:36 +00:00
Sam Hemelryk
12cc75aed5
custommenu MDL-22398 Fixed notice during install/upgrade with $CFG->custommenuitems
2010-05-11 07:30:04 +00:00
Sam Hemelryk
d2dbd0c0d0
navigation MDL-22398 Added custom menu to Moodle core. Will document in theme's forum
2010-05-10 05:24:00 +00:00
Sam Hemelryk
6605ff8cda
themes MDL-22358 Renamed sideblock class to block
2010-05-06 06:16:07 +00:00
David Mudrak
876521acfe
Fixed debugging info on missing help contents string
2010-05-03 15:36:29 +00:00
Tim Hunt
836c47d7fe
MDL-22155 useful new method html_writer::nonempty_tag.
...
It outputs a tag only if the contents you pass is non-empty.
Also, unit tests for the basic parts of html_writer.
2010-04-23 10:34:07 +00:00
Martin Dougiamas
5435c9dcc4
help strings MDL-21695 changed _hlp to _help and fixed help.php to format those strings properly
2010-04-23 07:46:35 +00:00
Petr Skoda
9c7b24bf49
MDL-21695 fixed help regression
2010-04-14 08:53:30 +00:00
Petr Skoda
259c165d7a
MDL-21695 new help api
2010-04-13 21:51:49 +00:00
Petr Skoda
49f0d48171
MDL-21695 new help_icon structure
2010-04-13 20:45:05 +00:00
Petr Skoda
596509e431
MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help
2010-04-13 20:34:27 +00:00
Petr Skoda
53a78cef28
MDL-21695 help files replaced by standard strings - basic infrastructure in place, no strings converted yet
2010-04-10 09:10:08 +00:00