11 Commits

Author SHA1 Message Date
Dongsheng Cai
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Dongsheng Cai
2be0842e6b "NOBUG rename username from comment api, it supposed to be secret" 2010-08-25 09:11:36 +00:00
Sam Hemelryk
f36b47efa0 admin blog comment course MDL-22856 Minor cleanups and improvements to styles 2010-08-19 05:56:57 +00:00
Dongsheng Cai
34e20eb422 "MDL-19118, improve comments management" 2010-03-31 09:53:05 +00:00
Dongsheng Cai
b9a689e8e3 "MDL-21952, comments api, fixed delete_record" 2010-03-30 07:38:47 +00:00
Dongsheng Cai
05fe3ab530 "MDL-21958, stop using "_" prefix for private functions" 2010-03-29 05:44:48 +00:00
Dongsheng Cai
1d51d1e001 "MDL-21950 use $PAGE->coures instead of $COURSE" 2010-03-29 05:37:22 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Dongsheng Cai
24048d094e "MDL-21786, add license info to locallib.php" 2010-03-15 08:01:01 +00:00
Dongsheng Cai
36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00