mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21189 yui2/3 combo loader implemented - yay! admin settings in the next commit; yui libs stored in more standard locations
This commit is contained in:
parent
60f2c8666a
commit
aa42314ded
842 changed files with 137 additions and 12 deletions
|
@ -37,9 +37,9 @@ if (count($parts) != 2) {
|
|||
list($version, $image) = $parts;
|
||||
|
||||
if ($version == $CFG->yui3version) {
|
||||
$imagepath = "$CFG->dirroot/lib/yui/$CFG->yui3version/assets/skins/sam/$image";
|
||||
$imagepath = "$CFG->dirroot/lib/yui/$CFG->yui3version/build/assets/skins/sam/$image";
|
||||
} else if ($version == $CFG->yui2version) {
|
||||
$imagepath = "$CFG->dirroot/lib/yui/$CFG->yui2version/assets/skins/sam/$image";
|
||||
$imagepath = "$CFG->dirroot/lib/yui/$CFG->yui2version/build/assets/skins/sam/$image";
|
||||
} else {
|
||||
yui_image_not_found();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue