"MDL-21170, comment system upgraded to yui3"

This commit is contained in:
Dongsheng Cai 2010-01-22 07:35:56 +00:00
parent dada7d66a4
commit adacb0fe71
4 changed files with 346 additions and 207 deletions

View file

@ -349,6 +349,9 @@ class page_requirements_manager {
} else if($name === 'core_filemanager') {
$pathtofilemanager = $CFG->httpswwwroot.'/lib/form/filemanager.js';
$module = array('fullpath'=>$pathtofilemanager, 'requires' => array('base', 'io', 'node', 'json', 'yui2-button', 'yui2-container', 'yui2-layout', 'yui2-menu', 'yui2-treeview'));
} else if($name === 'core_comment') {
$pathtocomment = $CFG->httpswwwroot.'/comment/comment.js';
$module = array('fullpath'=>$pathtocomment, 'requires' => array('base', 'io', 'node', 'json', 'yui2-animation'));
}
} else {
//TODO: look for plugin info?